diff --git a/provider/cmd/pulumi-resource-confluentcloud/schema.json b/provider/cmd/pulumi-resource-confluentcloud/schema.json index dc787151..c49343d6 100644 --- a/provider/cmd/pulumi-resource-confluentcloud/schema.json +++ b/provider/cmd/pulumi-resource-confluentcloud/schema.json @@ -79,6 +79,10 @@ "description": "The Kafka Cluster API Secret.\n", "secret": true }, + "kafkaId": { + "type": "string", + "description": "The Kafka Cluster ID.\n" + }, "kafkaRestEndpoint": { "type": "string", "description": "The Kafka Cluster REST Endpoint.\n" @@ -86,6 +90,24 @@ "maxRetries": { "type": "integer", "description": "Maximum number of retries of HTTP client. Defaults to 4.\n" + }, + "schemaRegistryApiKey": { + "type": "string", + "description": "The Schema Registry Cluster API Key.\n", + "secret": true + }, + "schemaRegistryApiSecret": { + "type": "string", + "description": "The Schema Registry Cluster API Secret.\n", + "secret": true + }, + "schemaRegistryId": { + "type": "string", + "description": "The Schema Registry Cluster ID.\n" + }, + "schemaRegistryRestEndpoint": { + "type": "string", + "description": "The Schema Registry Cluster REST Endpoint.\n" } } }, @@ -897,6 +919,24 @@ } } }, + "confluentcloud:index/NetworkDnsConfig:NetworkDnsConfig": { + "properties": { + "resolution": { + "type": "string", + "description": "Network DNS resolution.\nWhen resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints.\nWhen resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "resolution" + ] + }, "confluentcloud:index/NetworkEnvironment:NetworkEnvironment": { "properties": { "id": { @@ -1218,118 +1258,69 @@ "id" ] }, - "confluentcloud:index/SchemaRegistryClusterEnvironment:SchemaRegistryClusterEnvironment": { + "confluentcloud:index/SchemaCredentials:SchemaCredentials": { "properties": { - "id": { + "key": { "type": "string", - "description": "The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false } }, - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "confluentcloud:index/SchemaRegistryClusterRegion:SchemaRegistryClusterRegion": { - "properties": { - "id": { + "secret": true + }, + "secret": { "type": "string", - "description": "The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package.\n", + "description": "The Schema Registry API Secret.\n", "language": { "python": { "mapCase": false } }, - "willReplaceOnChanges": true + "secret": true } }, "type": "object", "required": [ - "id" + "key", + "secret" ] }, - "confluentcloud:index/TransitGatewayAttachmentAws:TransitGatewayAttachmentAws": { + "confluentcloud:index/SchemaRegistryClusterConfigCredentials:SchemaRegistryClusterConfigCredentials": { "properties": { - "enableCustomRoutes": { - "type": "boolean", - "description": "Enable custom destination routes in Confluent Cloud. Defaults to `false`.\n", - "language": { - "python": { - "mapCase": false - } - }, - "willReplaceOnChanges": true - }, - "ramResourceShareArn": { + "key": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.\n", - "language": { - "python": { - "mapCase": false - } - }, - "willReplaceOnChanges": true - }, - "routes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false } }, - "willReplaceOnChanges": true - }, - "transitGatewayAttachmentId": { - "type": "string", - "description": "(Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.\n", - "language": { - "python": { - "mapCase": false - } - } + "secret": true }, - "transitGatewayId": { + "secret": { "type": "string", - "description": "The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`.\n", + "description": "The Schema Registry API Secret.\n", "language": { "python": { "mapCase": false } }, - "willReplaceOnChanges": true + "secret": true } }, "type": "object", "required": [ - "ramResourceShareArn", - "transitGatewayId" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "ramResourceShareArn", - "routes", - "transitGatewayAttachmentId", - "transitGatewayId" - ] - } - } + "key", + "secret" + ] }, - "confluentcloud:index/TransitGatewayAttachmentEnvironment:TransitGatewayAttachmentEnvironment": { + "confluentcloud:index/SchemaRegistryClusterConfigSchemaRegistryCluster:SchemaRegistryClusterConfigSchemaRegistryCluster": { "properties": { "id": { "type": "string", - "description": "The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`.\n", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false @@ -1343,11 +1334,11 @@ "id" ] }, - "confluentcloud:index/TransitGatewayAttachmentNetwork:TransitGatewayAttachmentNetwork": { + "confluentcloud:index/SchemaRegistryClusterEnvironment:SchemaRegistryClusterEnvironment": { "properties": { "id": { "type": "string", - "description": "The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`.\n", + "description": "The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package.\n", "language": { "python": { "mapCase": false @@ -1361,181 +1352,181 @@ "id" ] }, - "confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider": { + "confluentcloud:index/SchemaRegistryClusterModeCredentials:SchemaRegistryClusterModeCredentials": { "properties": { - "id": { + "key": { "type": "string", - "description": "The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "id" + "key", + "secret" ] }, - "confluentcloud:index/getKafkaClientQuotaEnvironment:getKafkaClientQuotaEnvironment": { + "confluentcloud:index/SchemaRegistryClusterModeSchemaRegistryCluster:SchemaRegistryClusterModeSchemaRegistryCluster": { "properties": { "id": { "type": "string", - "description": "The ID of the Kafka Client Quota (for example, `cq-abc123`).\n", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ "id" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + ] }, - "confluentcloud:index/getKafkaClientQuotaKafkaCluster:getKafkaClientQuotaKafkaCluster": { + "confluentcloud:index/SchemaRegistryClusterRegion:SchemaRegistryClusterRegion": { "properties": { "id": { "type": "string", - "description": "The ID of the Kafka Client Quota (for example, `cq-abc123`).\n", + "description": "The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package.\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ "id" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + ] }, - "confluentcloud:index/getKafkaClientQuotaThroughput:getKafkaClientQuotaThroughput": { + "confluentcloud:index/SchemaSchemaReference:SchemaSchemaReference": { "properties": { - "egressByteRate": { + "name": { "type": "string", - "description": "(Required String) The egress throughput limit in bytes per second.\n", + "description": "The name of the subject, representing the subject under which the referenced schema is registered.\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, - "ingressByteRate": { + "subjectName": { "type": "string", - "description": "(Required String) The ingress throughput limit in bytes per second.\n", + "description": "The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true + }, + "version": { + "type": "integer", + "description": "The version, representing the exact version of the schema under the registered subject.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ - "egressByteRate", - "ingressByteRate" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "confluentcloud:index/getKafkaClusterBasic:getKafkaClusterBasic": { - "type": "object" + "name", + "subjectName", + "version" + ] }, - "confluentcloud:index/getKafkaClusterDedicated:getKafkaClusterDedicated": { + "confluentcloud:index/SchemaSchemaRegistryCluster:SchemaSchemaRegistryCluster": { "properties": { - "cku": { - "type": "integer", - "description": "(Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs.\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "encryptionKey": { + "id": { "type": "string", - "description": "(Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP.\n", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ - "cku", - "encryptionKey" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "id" + ] }, - "confluentcloud:index/getKafkaClusterEnvironment:getKafkaClusterEnvironment": { + "confluentcloud:index/SubjectConfigCredentials:SubjectConfigCredentials": { "properties": { - "id": { + "key": { "type": "string", - "description": "The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "id" + "key", + "secret" ] }, - "confluentcloud:index/getKafkaClusterNetwork:getKafkaClusterNetwork": { + "confluentcloud:index/SubjectConfigSchemaRegistryCluster:SubjectConfigSchemaRegistryCluster": { "properties": { "id": { "type": "string", - "description": "The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.\n", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ "id" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "confluentcloud:index/getKafkaClusterStandard:getKafkaClusterStandard": { - "type": "object" + ] }, - "confluentcloud:index/getKafkaTopicCredentials:getKafkaTopicCredentials": { + "confluentcloud:index/SubjectModeCredentials:SubjectModeCredentials": { "properties": { "key": { "type": "string", - "description": "The Kafka API Key.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false @@ -1545,7 +1536,7 @@ }, "secret": { "type": "string", - "description": "The Kafka API Secret.\n", + "description": "The Schema Registry API Secret.\n", "language": { "python": { "mapCase": false @@ -1560,50 +1551,127 @@ "secret" ] }, - "confluentcloud:index/getKafkaTopicKafkaCluster:getKafkaTopicKafkaCluster": { + "confluentcloud:index/SubjectModeSchemaRegistryCluster:SubjectModeSchemaRegistryCluster": { "properties": { "id": { "type": "string", - "description": "The ID of the Kafka cluster, for example, `lkc-abc123`.\n", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false } - } - } + }, + "willReplaceOnChanges": true + } }, "type": "object", "required": [ "id" ] }, - "confluentcloud:index/getKsqlClusterCredentialIdentity:getKsqlClusterCredentialIdentity": { + "confluentcloud:index/TransitGatewayAttachmentAws:TransitGatewayAttachmentAws": { "properties": { - "id": { + "ramResourceShareArn": { "type": "string", - "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", + "description": "The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true + }, + "routes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true + }, + "transitGatewayAttachmentId": { + "type": "string", + "description": "(Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.\n", "language": { "python": { "mapCase": false } } + }, + "transitGatewayId": { + "type": "string", + "description": "The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true } }, "type": "object", "required": [ - "id" + "ramResourceShareArn", + "routes", + "transitGatewayId" ], "language": { "nodejs": { - "requiredInputs": [] + "requiredOutputs": [ + "ramResourceShareArn", + "routes", + "transitGatewayAttachmentId", + "transitGatewayId" + ] } } }, - "confluentcloud:index/getKsqlClusterEnvironment:getKsqlClusterEnvironment": { + "confluentcloud:index/TransitGatewayAttachmentEnvironment:TransitGatewayAttachmentEnvironment": { "properties": { "id": { "type": "string", - "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", + "description": "The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/TransitGatewayAttachmentNetwork:TransitGatewayAttachmentNetwork": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.\n", "language": { "python": { "mapCase": false @@ -1616,11 +1684,11 @@ "id" ] }, - "confluentcloud:index/getKsqlClusterKafkaCluster:getKsqlClusterKafkaCluster": { + "confluentcloud:index/getKafkaClientQuotaEnvironment:getKafkaClientQuotaEnvironment": { "properties": { "id": { "type": "string", - "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", + "description": "The ID of the Kafka Client Quota (for example, `cq-abc123`).\n", "language": { "python": { "mapCase": false @@ -1638,29 +1706,42 @@ } } }, - "confluentcloud:index/getNetworkAw:getNetworkAw": { + "confluentcloud:index/getKafkaClientQuotaKafkaCluster:getKafkaClientQuotaKafkaCluster": { "properties": { - "account": { + "id": { "type": "string", - "description": "(Required String) The AWS account ID associated with the Confluent Cloud VPC.\n", + "description": "The ID of the Kafka Client Quota (for example, `cq-abc123`).\n", "language": { "python": { "mapCase": false } } - }, - "privateLinkEndpointService": { + } + }, + "type": "object", + "required": [ + "id" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getKafkaClientQuotaThroughput:getKafkaClientQuotaThroughput": { + "properties": { + "egressByteRate": { "type": "string", - "description": "(Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.\n", + "description": "(Required String) The egress throughput limit in bytes per second.\n", "language": { "python": { "mapCase": false } } }, - "vpc": { + "ingressByteRate": { "type": "string", - "description": "(Required String) The Confluent Cloud VPC ID.\n", + "description": "(Required String) The ingress throughput limit in bytes per second.\n", "language": { "python": { "mapCase": false @@ -1670,9 +1751,8 @@ }, "type": "object", "required": [ - "account", - "privateLinkEndpointService", - "vpc" + "egressByteRate", + "ingressByteRate" ], "language": { "nodejs": { @@ -1680,14 +1760,23 @@ } } }, - "confluentcloud:index/getNetworkAzure:getNetworkAzure": { + "confluentcloud:index/getKafkaClusterBasic:getKafkaClusterBasic": { + "type": "object" + }, + "confluentcloud:index/getKafkaClusterDedicated:getKafkaClusterDedicated": { "properties": { - "privateLinkServiceAliases": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "(Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service).\n", + "cku": { + "type": "integer", + "description": "(Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "encryptionKey": { + "type": "string", + "description": "(Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP.\n", "language": { "python": { "mapCase": false @@ -1697,7 +1786,8 @@ }, "type": "object", "required": [ - "privateLinkServiceAliases" + "cku", + "encryptionKey" ], "language": { "nodejs": { @@ -1705,11 +1795,11 @@ } } }, - "confluentcloud:index/getNetworkEnvironment:getNetworkEnvironment": { + "confluentcloud:index/getKafkaClusterEnvironment:getKafkaClusterEnvironment": { "properties": { "id": { "type": "string", - "description": "The ID of the Environment that the Network belongs to, for example, `env-xyz456`.\n", + "description": "The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.\n", "language": { "python": { "mapCase": false @@ -1722,32 +1812,11 @@ "id" ] }, - "confluentcloud:index/getNetworkGcp:getNetworkGcp": { + "confluentcloud:index/getKafkaClusterNetwork:getKafkaClusterNetwork": { "properties": { - "privateServiceConnectServiceAttachments": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "(Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7).\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "project": { - "type": "string", - "description": "(Required String) The GCP Project ID associated with the Confluent Cloud VPC.\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "vpcNetwork": { + "id": { "type": "string", - "description": "(Required String) The network name of the Confluent Cloud VPC.\n", + "description": "The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`.\n", "language": { "python": { "mapCase": false @@ -1757,9 +1826,7 @@ }, "type": "object", "required": [ - "privateServiceConnectServiceAttachments", - "project", - "vpcNetwork" + "id" ], "language": { "nodejs": { @@ -1767,41 +1834,60 @@ } } }, - "confluentcloud:index/getPeeringAw:getPeeringAw": { + "confluentcloud:index/getKafkaClusterStandard:getKafkaClusterStandard": { + "type": "object" + }, + "confluentcloud:index/getKafkaTopicCredentials:getKafkaTopicCredentials": { "properties": { - "account": { + "key": { "type": "string", - "description": "(Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**.\n", + "description": "The Kafka API Key.\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "customerRegion": { + "secret": { "type": "string", - "description": "(Required String) The region of the Azure peer VNet.\n", + "description": "The Kafka API Secret.\n", "language": { "python": { "mapCase": false } - } - }, - "routes": { - "type": "array", - "items": { - "type": "string" }, - "description": "(Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs \u003e Target VPC \u003e Details** section of the AWS Management Console.\n", + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getKafkaTopicKafkaCluster:getKafkaTopicKafkaCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Kafka cluster, for example, `lkc-abc123`.\n", "language": { "python": { "mapCase": false } } - }, - "vpc": { + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getKsqlClusterCredentialIdentity:getKsqlClusterCredentialIdentity": { + "properties": { + "id": { "type": "string", - "description": "(Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`.\n", + "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", "language": { "python": { "mapCase": false @@ -1811,10 +1897,7 @@ }, "type": "object", "required": [ - "account", - "customerRegion", - "routes", - "vpc" + "id" ], "language": { "nodejs": { @@ -1822,18 +1905,263 @@ } } }, - "confluentcloud:index/getPeeringAzure:getPeeringAzure": { + "confluentcloud:index/getKsqlClusterEnvironment:getKsqlClusterEnvironment": { "properties": { - "customerRegion": { + "id": { "type": "string", - "description": "(Required String) The region of the Azure peer VNet.\n", + "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", "language": { "python": { "mapCase": false } } - }, - "tenant": { + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getKsqlClusterKafkaCluster:getKsqlClusterKafkaCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getNetworkAw:getNetworkAw": { + "properties": { + "account": { + "type": "string", + "description": "(Required String) The AWS account ID associated with the Confluent Cloud VPC.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "privateLinkEndpointService": { + "type": "string", + "description": "(Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "vpc": { + "type": "string", + "description": "(Required String) The Confluent Cloud VPC ID.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "account", + "privateLinkEndpointService", + "vpc" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getNetworkAzure:getNetworkAzure": { + "properties": { + "privateLinkServiceAliases": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service).\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "privateLinkServiceAliases" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getNetworkDnsConfig:getNetworkDnsConfig": { + "properties": { + "resolution": { + "type": "string", + "description": "(Required String) Network DNS resolution.\nWhen resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints.\nWhen resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "resolution" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getNetworkEnvironment:getNetworkEnvironment": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Environment that the Network belongs to, for example, `env-xyz456`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getNetworkGcp:getNetworkGcp": { + "properties": { + "privateServiceConnectServiceAttachments": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "project": { + "type": "string", + "description": "(Required String) The GCP Project ID associated with the Confluent Cloud VPC.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "vpcNetwork": { + "type": "string", + "description": "(Required String) The network name of the Confluent Cloud VPC.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "privateServiceConnectServiceAttachments", + "project", + "vpcNetwork" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getPeeringAw:getPeeringAw": { + "properties": { + "account": { + "type": "string", + "description": "(Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "customerRegion": { + "type": "string", + "description": "(Required String) The region of the Azure peer VNet.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "routes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs \u003e Target VPC \u003e Details** section of the AWS Management Console.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "vpc": { + "type": "string", + "description": "(Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "account", + "customerRegion", + "routes", + "vpc" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getPeeringAzure:getPeeringAzure": { + "properties": { + "customerRegion": { + "type": "string", + "description": "(Required String) The region of the Azure peer VNet.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "tenant": { "type": "string", "description": "(Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**.\n", "language": { @@ -2050,24 +2378,145 @@ } } }, - "confluentcloud:index/getSchemaRegistryClusterEnvironment:getSchemaRegistryClusterEnvironment": { + "confluentcloud:index/getSchemaCredentials:getSchemaCredentials": { "properties": { - "id": { + "key": { "type": "string", - "description": "The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`.\n", + "description": "The Schema Registry API Key.\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "confluentcloud:index/getSchemaRegistryClusterRegion:getSchemaRegistryClusterRegion": { + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterConfigCredentials:getSchemaRegistryClusterConfigCredentials": { + "properties": { + "key": { + "type": "string", + "description": "The Schema Registry API Key.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterConfigSchemaRegistryCluster:getSchemaRegistryClusterConfigSchemaRegistryCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterEnvironment:getSchemaRegistryClusterEnvironment": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterModeCredentials:getSchemaRegistryClusterModeCredentials": { + "properties": { + "key": { + "type": "string", + "description": "The Schema Registry API Key.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterModeSchemaRegistryCluster:getSchemaRegistryClusterModeSchemaRegistryCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getSchemaRegistryClusterRegion:getSchemaRegistryClusterRegion": { "properties": { "id": { "type": "string", @@ -2089,17 +2538,159 @@ } } }, - "confluentcloud:index/getTransitGatewayAttachmentAw:getTransitGatewayAttachmentAw": { + "confluentcloud:index/getSchemaSchemaReference:getSchemaSchemaReference": { "properties": { - "enableCustomRoutes": { - "type": "boolean", - "description": "(Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`.\n", + "name": { + "type": "string", + "description": "(Required String) The name of the subject, representing the subject under which the referenced schema is registered.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name.\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "version": { + "type": "integer", + "description": "(Required Integer) The version of the Schema, for example, `4`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "name", + "subjectName", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "confluentcloud:index/getSchemaSchemaRegistryCluster:getSchemaSchemaRegistryCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getSubjectConfigCredentials:getSubjectConfigCredentials": { + "properties": { + "key": { + "type": "string", + "description": "The Schema Registry API Key.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getSubjectConfigSchemaRegistryCluster:getSubjectConfigSchemaRegistryCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getSubjectModeCredentials:getSubjectModeCredentials": { + "properties": { + "key": { + "type": "string", + "description": "The Schema Registry API Key.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true }, + "secret": { + "type": "string", + "description": "The Schema Registry API Secret.\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "key", + "secret" + ] + }, + "confluentcloud:index/getSubjectModeSchemaRegistryCluster:getSubjectModeSchemaRegistryCluster": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the Schema Registry cluster, for example, `lsrc-abc123`.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "confluentcloud:index/getTransitGatewayAttachmentAw:getTransitGatewayAttachmentAw": { + "properties": { "ramResourceShareArn": { "type": "string", "description": "(Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.\n", @@ -2142,7 +2733,6 @@ }, "type": "object", "required": [ - "enableCustomRoutes", "ramResourceShareArn", "routes", "transitGatewayAttachmentId", @@ -2221,6 +2811,10 @@ "description": "The Kafka Cluster API Secret.\n", "secret": true }, + "kafkaId": { + "type": "string", + "description": "The Kafka Cluster ID.\n" + }, "kafkaRestEndpoint": { "type": "string", "description": "The Kafka Cluster REST Endpoint.\n" @@ -2228,20 +2822,38 @@ "maxRetries": { "type": "integer", "description": "Maximum number of retries of HTTP client. Defaults to 4.\n" - } - }, - "inputProperties": { - "cloudApiKey": { + }, + "schemaRegistryApiKey": { "type": "string", - "description": "The Confluent Cloud API Key.\n", + "description": "The Schema Registry Cluster API Key.\n", "secret": true }, - "cloudApiSecret": { + "schemaRegistryApiSecret": { "type": "string", - "description": "The Confluent Cloud API Secret.\n", + "description": "The Schema Registry Cluster API Secret.\n", "secret": true }, - "endpoint": { + "schemaRegistryId": { + "type": "string", + "description": "The Schema Registry Cluster ID.\n" + }, + "schemaRegistryRestEndpoint": { + "type": "string", + "description": "The Schema Registry Cluster REST Endpoint.\n" + } + }, + "inputProperties": { + "cloudApiKey": { + "type": "string", + "description": "The Confluent Cloud API Key.\n", + "secret": true + }, + "cloudApiSecret": { + "type": "string", + "description": "The Confluent Cloud API Secret.\n", + "secret": true + }, + "endpoint": { "type": "string", "description": "The base endpoint of Confluent Cloud API.\n" }, @@ -2255,6 +2867,10 @@ "description": "The Kafka Cluster API Secret.\n", "secret": true }, + "kafkaId": { + "type": "string", + "description": "The Kafka Cluster ID.\n" + }, "kafkaRestEndpoint": { "type": "string", "description": "The Kafka Cluster REST Endpoint.\n" @@ -2262,12 +2878,30 @@ "maxRetries": { "type": "integer", "description": "Maximum number of retries of HTTP client. Defaults to 4.\n" + }, + "schemaRegistryApiKey": { + "type": "string", + "description": "The Schema Registry Cluster API Key.\n", + "secret": true + }, + "schemaRegistryApiSecret": { + "type": "string", + "description": "The Schema Registry Cluster API Secret.\n", + "secret": true + }, + "schemaRegistryId": { + "type": "string", + "description": "The Schema Registry Cluster ID.\n" + }, + "schemaRegistryRestEndpoint": { + "type": "string", + "description": "The Schema Registry Cluster REST Endpoint.\n" } } }, "resources": { "confluentcloud:index/apiKey:ApiKey": { - "description": "\n\n\n## Import\n\nYou can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `\u003cEnvironment ID\u003e/\u003cKafka API Key ID\u003e`, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export API_KEY_SECRET=\"\u003capi_key_secret\u003e\" Option #1Kafka API Key\n\n```sh\n $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key \"env-abc123/UTT6WDRXX7FHD2GV\"\n```\n\n You can import a Cloud API Key by using Cloud API Key ID, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export API_KEY_SECRET=\"\u003capi_key_secret\u003e\" Option #2Cloud API Key\n\n```sh\n $ pulumi import confluentcloud:index/apiKey:ApiKey example_cloud_api_key \"4UEXOMMWIBE5KZQG\"\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "\n\n\n## Import\n\nYou can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `\u003cEnvironment ID\u003e/\u003cCluster API Key ID\u003e`, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export API_KEY_SECRET=\"\u003capi_key_secret\u003e\" Option #1Cluster API Key\n\n```sh\n $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key \"env-abc123/UTT6WDRXX7FHD2GV\"\n```\n\n You can import a Cloud API Key by using Cloud API Key ID, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export API_KEY_SECRET=\"\u003capi_key_secret\u003e\" Option #2Cloud API Key\n\n```sh\n $ pulumi import confluentcloud:index/apiKey:ApiKey example_cloud_api_key \"4UEXOMMWIBE5KZQG\"\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "description": { "type": "string", @@ -2283,7 +2917,7 @@ }, "managedResource": { "$ref": "#/types/confluentcloud:index/ApiKeyManagedResource:ApiKeyManagedResource", - "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.\n" + "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.\n" }, "owner": { "$ref": "#/types/confluentcloud:index/ApiKeyOwner:ApiKeyOwner", @@ -2316,7 +2950,7 @@ }, "managedResource": { "$ref": "#/types/confluentcloud:index/ApiKeyManagedResource:ApiKeyManagedResource", - "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.\n", + "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.\n", "willReplaceOnChanges": true }, "owner": { @@ -2346,7 +2980,7 @@ }, "managedResource": { "$ref": "#/types/confluentcloud:index/ApiKeyManagedResource:ApiKeyManagedResource", - "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.\n", + "description": "The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.\n", "willReplaceOnChanges": true }, "owner": { @@ -2612,7 +3246,7 @@ } }, "confluentcloud:index/identityPool:IdentityPool": { - "description": "[![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview\u0026body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n`confluentcloud.IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example Identity Pool to be used with Azure AD\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst azure = new confluentcloud.IdentityProvider(\"azure\", {\n displayName: \"My OIDC Provider: Azure AD\",\n description: \"My description\",\n issuer: \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwksUri: \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n});\nconst example = new confluentcloud.IdentityPool(\"example\", {\n identityProvider: {\n id: azure.id,\n },\n displayName: \"My Identity Pool\",\n description: \"Prod Access to Kafka clusters to Release Engineering\",\n identityClaim: \"claims.sub\",\n filter: \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nazure = confluentcloud.IdentityProvider(\"azure\",\n display_name=\"My OIDC Provider: Azure AD\",\n description=\"My description\",\n issuer=\"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwks_uri=\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\nexample = confluentcloud.IdentityPool(\"example\",\n identity_provider=confluentcloud.IdentityPoolIdentityProviderArgs(\n id=azure.id,\n ),\n display_name=\"My Identity Pool\",\n description=\"Prod Access to Kafka clusters to Release Engineering\",\n identity_claim=\"claims.sub\",\n filter=\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var azure = new ConfluentCloud.IdentityProvider(\"azure\", new()\n {\n DisplayName = \"My OIDC Provider: Azure AD\",\n Description = \"My description\",\n Issuer = \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n JwksUri = \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n });\n\n var example = new ConfluentCloud.IdentityPool(\"example\", new()\n {\n IdentityProvider = new ConfluentCloud.Inputs.IdentityPoolIdentityProviderArgs\n {\n Id = azure.Id,\n },\n DisplayName = \"My Identity Pool\",\n Description = \"Prod Access to Kafka clusters to Release Engineering\",\n IdentityClaim = \"claims.sub\",\n Filter = \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tazure, err := confluentcloud.NewIdentityProvider(ctx, \"azure\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Azure AD\"),\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tIssuer: pulumi.String(\"https://login.microsoftonline.com/{tenant_id}/v2.0\"),\n\t\t\tJwksUri: pulumi.String(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewIdentityPool(ctx, \"example\", \u0026confluentcloud.IdentityPoolArgs{\n\t\t\tIdentityProvider: \u0026IdentityPoolIdentityProviderArgs{\n\t\t\t\tId: azure.ID(),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"My Identity Pool\"),\n\t\t\tDescription: pulumi.String(\"Prod Access to Kafka clusters to Release Engineering\"),\n\t\t\tIdentityClaim: pulumi.String(\"claims.sub\"),\n\t\t\tFilter: pulumi.String(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport com.pulumi.confluentcloud.IdentityPool;\nimport com.pulumi.confluentcloud.IdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.IdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var azure = new IdentityProvider(\"azure\", IdentityProviderArgs.builder() \n .displayName(\"My OIDC Provider: Azure AD\")\n .description(\"My description\")\n .issuer(\"https://login.microsoftonline.com/{tenant_id}/v2.0\")\n .jwksUri(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n .build());\n\n var example = new IdentityPool(\"example\", IdentityPoolArgs.builder() \n .identityProvider(IdentityPoolIdentityProviderArgs.builder()\n .id(azure.id())\n .build())\n .displayName(\"My Identity Pool\")\n .description(\"Prod Access to Kafka clusters to Release Engineering\")\n .identityClaim(\"claims.sub\")\n .filter(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n azure:\n type: confluentcloud:IdentityProvider\n properties:\n displayName: 'My OIDC Provider: Azure AD'\n description: My description\n issuer: https://login.microsoftonline.com/{tenant_id}/v2.0\n jwksUri: https://login.microsoftonline.com/common/discovery/v2.0/keys\n example:\n type: confluentcloud:IdentityPool\n properties:\n identityProvider:\n id: ${azure.id}\n displayName: My Identity Pool\n description: Prod Access to Kafka clusters to Release Engineering\n identityClaim: claims.sub\n filter: claims.aud==\"confluent\" \u0026\u0026 claims.group!=\"invalid_group\"\n```\n{{% /example %}}\n{{% example %}}\n### Example Identity Pool to be used with Okta\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst okta = new confluentcloud.IdentityProvider(\"okta\", {\n displayName: \"My OIDC Provider: Okta\",\n description: \"My description\",\n issuer: \"https://mycompany.okta.com/oauth2/default\",\n jwksUri: \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n});\nconst example = new confluentcloud.IdentityPool(\"example\", {\n identityProvider: {\n id: okta.id,\n },\n displayName: \"My Identity Pool\",\n description: \"Prod Access to Kafka clusters to Release Engineering\",\n identityClaim: \"claims.sub\",\n filter: \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nokta = confluentcloud.IdentityProvider(\"okta\",\n display_name=\"My OIDC Provider: Okta\",\n description=\"My description\",\n issuer=\"https://mycompany.okta.com/oauth2/default\",\n jwks_uri=\"https://mycompany.okta.com/oauth2/default/v1/keys\")\nexample = confluentcloud.IdentityPool(\"example\",\n identity_provider=confluentcloud.IdentityPoolIdentityProviderArgs(\n id=okta.id,\n ),\n display_name=\"My Identity Pool\",\n description=\"Prod Access to Kafka clusters to Release Engineering\",\n identity_claim=\"claims.sub\",\n filter=\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var okta = new ConfluentCloud.IdentityProvider(\"okta\", new()\n {\n DisplayName = \"My OIDC Provider: Okta\",\n Description = \"My description\",\n Issuer = \"https://mycompany.okta.com/oauth2/default\",\n JwksUri = \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n });\n\n var example = new ConfluentCloud.IdentityPool(\"example\", new()\n {\n IdentityProvider = new ConfluentCloud.Inputs.IdentityPoolIdentityProviderArgs\n {\n Id = okta.Id,\n },\n DisplayName = \"My Identity Pool\",\n Description = \"Prod Access to Kafka clusters to Release Engineering\",\n IdentityClaim = \"claims.sub\",\n Filter = \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tokta, err := confluentcloud.NewIdentityProvider(ctx, \"okta\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Okta\"),\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tIssuer: pulumi.String(\"https://mycompany.okta.com/oauth2/default\"),\n\t\t\tJwksUri: pulumi.String(\"https://mycompany.okta.com/oauth2/default/v1/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewIdentityPool(ctx, \"example\", \u0026confluentcloud.IdentityPoolArgs{\n\t\t\tIdentityProvider: \u0026IdentityPoolIdentityProviderArgs{\n\t\t\t\tId: okta.ID(),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"My Identity Pool\"),\n\t\t\tDescription: pulumi.String(\"Prod Access to Kafka clusters to Release Engineering\"),\n\t\t\tIdentityClaim: pulumi.String(\"claims.sub\"),\n\t\t\tFilter: pulumi.String(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport com.pulumi.confluentcloud.IdentityPool;\nimport com.pulumi.confluentcloud.IdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.IdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var okta = new IdentityProvider(\"okta\", IdentityProviderArgs.builder() \n .displayName(\"My OIDC Provider: Okta\")\n .description(\"My description\")\n .issuer(\"https://mycompany.okta.com/oauth2/default\")\n .jwksUri(\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n .build());\n\n var example = new IdentityPool(\"example\", IdentityPoolArgs.builder() \n .identityProvider(IdentityPoolIdentityProviderArgs.builder()\n .id(okta.id())\n .build())\n .displayName(\"My Identity Pool\")\n .description(\"Prod Access to Kafka clusters to Release Engineering\")\n .identityClaim(\"claims.sub\")\n .filter(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n okta:\n type: confluentcloud:IdentityProvider\n properties:\n displayName: 'My OIDC Provider: Okta'\n description: My description\n issuer: https://mycompany.okta.com/oauth2/default\n jwksUri: https://mycompany.okta.com/oauth2/default/v1/keys\n example:\n type: confluentcloud:IdentityPool\n properties:\n identityProvider:\n id: ${okta.id}\n displayName: My Identity Pool\n description: Prod Access to Kafka clusters to Release Engineering\n identityClaim: claims.sub\n filter: claims.aud==\"confluent\" \u0026\u0026 claims.group!=\"invalid_group\"\n```\n\n{{% /example %}}\n{{% /examples %}}\n## External Documentation\n\n* [Use identity pools with your OAuth provider](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/identity-pools.html).\n\n\n## Import\n\nYou can import an Identity Pool by using Identity Provider ID and Identity Pool ID, in the format `\u003cIdentity Provider ID\u003e/\u003cIdentity Pool ID\u003e`. The following example shows how to import an Identity Pool$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/identityPool:IdentityPool example op-abc123/pool-xyz456\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example Identity Pool to be used with Azure AD\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst azure = new confluentcloud.IdentityProvider(\"azure\", {\n displayName: \"My OIDC Provider: Azure AD\",\n description: \"My description\",\n issuer: \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwksUri: \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n});\nconst example = new confluentcloud.IdentityPool(\"example\", {\n identityProvider: {\n id: azure.id,\n },\n displayName: \"My Identity Pool\",\n description: \"Prod Access to Kafka clusters to Release Engineering\",\n identityClaim: \"claims.sub\",\n filter: \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nazure = confluentcloud.IdentityProvider(\"azure\",\n display_name=\"My OIDC Provider: Azure AD\",\n description=\"My description\",\n issuer=\"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwks_uri=\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\nexample = confluentcloud.IdentityPool(\"example\",\n identity_provider=confluentcloud.IdentityPoolIdentityProviderArgs(\n id=azure.id,\n ),\n display_name=\"My Identity Pool\",\n description=\"Prod Access to Kafka clusters to Release Engineering\",\n identity_claim=\"claims.sub\",\n filter=\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var azure = new ConfluentCloud.IdentityProvider(\"azure\", new()\n {\n DisplayName = \"My OIDC Provider: Azure AD\",\n Description = \"My description\",\n Issuer = \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n JwksUri = \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n });\n\n var example = new ConfluentCloud.IdentityPool(\"example\", new()\n {\n IdentityProvider = new ConfluentCloud.Inputs.IdentityPoolIdentityProviderArgs\n {\n Id = azure.Id,\n },\n DisplayName = \"My Identity Pool\",\n Description = \"Prod Access to Kafka clusters to Release Engineering\",\n IdentityClaim = \"claims.sub\",\n Filter = \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tazure, err := confluentcloud.NewIdentityProvider(ctx, \"azure\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Azure AD\"),\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tIssuer: pulumi.String(\"https://login.microsoftonline.com/{tenant_id}/v2.0\"),\n\t\t\tJwksUri: pulumi.String(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewIdentityPool(ctx, \"example\", \u0026confluentcloud.IdentityPoolArgs{\n\t\t\tIdentityProvider: \u0026confluentcloud.IdentityPoolIdentityProviderArgs{\n\t\t\t\tId: azure.ID(),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"My Identity Pool\"),\n\t\t\tDescription: pulumi.String(\"Prod Access to Kafka clusters to Release Engineering\"),\n\t\t\tIdentityClaim: pulumi.String(\"claims.sub\"),\n\t\t\tFilter: pulumi.String(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport com.pulumi.confluentcloud.IdentityPool;\nimport com.pulumi.confluentcloud.IdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.IdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var azure = new IdentityProvider(\"azure\", IdentityProviderArgs.builder() \n .displayName(\"My OIDC Provider: Azure AD\")\n .description(\"My description\")\n .issuer(\"https://login.microsoftonline.com/{tenant_id}/v2.0\")\n .jwksUri(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n .build());\n\n var example = new IdentityPool(\"example\", IdentityPoolArgs.builder() \n .identityProvider(IdentityPoolIdentityProviderArgs.builder()\n .id(azure.id())\n .build())\n .displayName(\"My Identity Pool\")\n .description(\"Prod Access to Kafka clusters to Release Engineering\")\n .identityClaim(\"claims.sub\")\n .filter(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n azure:\n type: confluentcloud:IdentityProvider\n properties:\n displayName: 'My OIDC Provider: Azure AD'\n description: My description\n issuer: https://login.microsoftonline.com/{tenant_id}/v2.0\n jwksUri: https://login.microsoftonline.com/common/discovery/v2.0/keys\n example:\n type: confluentcloud:IdentityPool\n properties:\n identityProvider:\n id: ${azure.id}\n displayName: My Identity Pool\n description: Prod Access to Kafka clusters to Release Engineering\n identityClaim: claims.sub\n filter: claims.aud==\"confluent\" \u0026\u0026 claims.group!=\"invalid_group\"\n```\n{{% /example %}}\n{{% example %}}\n### Example Identity Pool to be used with Okta\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst okta = new confluentcloud.IdentityProvider(\"okta\", {\n displayName: \"My OIDC Provider: Okta\",\n description: \"My description\",\n issuer: \"https://mycompany.okta.com/oauth2/default\",\n jwksUri: \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n});\nconst example = new confluentcloud.IdentityPool(\"example\", {\n identityProvider: {\n id: okta.id,\n },\n displayName: \"My Identity Pool\",\n description: \"Prod Access to Kafka clusters to Release Engineering\",\n identityClaim: \"claims.sub\",\n filter: \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nokta = confluentcloud.IdentityProvider(\"okta\",\n display_name=\"My OIDC Provider: Okta\",\n description=\"My description\",\n issuer=\"https://mycompany.okta.com/oauth2/default\",\n jwks_uri=\"https://mycompany.okta.com/oauth2/default/v1/keys\")\nexample = confluentcloud.IdentityPool(\"example\",\n identity_provider=confluentcloud.IdentityPoolIdentityProviderArgs(\n id=okta.id,\n ),\n display_name=\"My Identity Pool\",\n description=\"Prod Access to Kafka clusters to Release Engineering\",\n identity_claim=\"claims.sub\",\n filter=\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var okta = new ConfluentCloud.IdentityProvider(\"okta\", new()\n {\n DisplayName = \"My OIDC Provider: Okta\",\n Description = \"My description\",\n Issuer = \"https://mycompany.okta.com/oauth2/default\",\n JwksUri = \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n });\n\n var example = new ConfluentCloud.IdentityPool(\"example\", new()\n {\n IdentityProvider = new ConfluentCloud.Inputs.IdentityPoolIdentityProviderArgs\n {\n Id = okta.Id,\n },\n DisplayName = \"My Identity Pool\",\n Description = \"Prod Access to Kafka clusters to Release Engineering\",\n IdentityClaim = \"claims.sub\",\n Filter = \"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tokta, err := confluentcloud.NewIdentityProvider(ctx, \"okta\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Okta\"),\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tIssuer: pulumi.String(\"https://mycompany.okta.com/oauth2/default\"),\n\t\t\tJwksUri: pulumi.String(\"https://mycompany.okta.com/oauth2/default/v1/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewIdentityPool(ctx, \"example\", \u0026confluentcloud.IdentityPoolArgs{\n\t\t\tIdentityProvider: \u0026confluentcloud.IdentityPoolIdentityProviderArgs{\n\t\t\t\tId: okta.ID(),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"My Identity Pool\"),\n\t\t\tDescription: pulumi.String(\"Prod Access to Kafka clusters to Release Engineering\"),\n\t\t\tIdentityClaim: pulumi.String(\"claims.sub\"),\n\t\t\tFilter: pulumi.String(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport com.pulumi.confluentcloud.IdentityPool;\nimport com.pulumi.confluentcloud.IdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.IdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var okta = new IdentityProvider(\"okta\", IdentityProviderArgs.builder() \n .displayName(\"My OIDC Provider: Okta\")\n .description(\"My description\")\n .issuer(\"https://mycompany.okta.com/oauth2/default\")\n .jwksUri(\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n .build());\n\n var example = new IdentityPool(\"example\", IdentityPoolArgs.builder() \n .identityProvider(IdentityPoolIdentityProviderArgs.builder()\n .id(okta.id())\n .build())\n .displayName(\"My Identity Pool\")\n .description(\"Prod Access to Kafka clusters to Release Engineering\")\n .identityClaim(\"claims.sub\")\n .filter(\"claims.aud==\\\"confluent\\\" \u0026\u0026 claims.group!=\\\"invalid_group\\\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n okta:\n type: confluentcloud:IdentityProvider\n properties:\n displayName: 'My OIDC Provider: Okta'\n description: My description\n issuer: https://mycompany.okta.com/oauth2/default\n jwksUri: https://mycompany.okta.com/oauth2/default/v1/keys\n example:\n type: confluentcloud:IdentityPool\n properties:\n identityProvider:\n id: ${okta.id}\n displayName: My Identity Pool\n description: Prod Access to Kafka clusters to Release Engineering\n identityClaim: claims.sub\n filter: claims.aud==\"confluent\" \u0026\u0026 claims.group!=\"invalid_group\"\n```\n\n{{% /example %}}\n{{% /examples %}}\n## External Documentation\n\n* [Use identity pools with your OAuth provider](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/identity-pools.html).\n\n\n## Import\n\nYou can import an Identity Pool by using Identity Provider ID and Identity Pool ID, in the format `\u003cIdentity Provider ID\u003e/\u003cIdentity Pool ID\u003e`. The following example shows how to import an Identity Pool$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/identityPool:IdentityPool example op-abc123/pool-xyz456\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "description": { "type": "string", @@ -2701,7 +3335,7 @@ } }, "confluentcloud:index/identityProvider:IdentityProvider": { - "description": "[![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview\u0026body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n`confluentcloud.IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example Identity Provider: Azure AD\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluent from \"@pulumi/confluent\";\n\nconst azure = new confluent.IdentityProvider(\"azure\", {\n description: \"My description\",\n displayName: \"My OIDC Provider: Azure AD\",\n issuer: \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwksUri: \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nazure = confluentcloud.IdentityProvider(\"azure\",\n description=\"My description\",\n display_name=\"My OIDC Provider: Azure AD\",\n issuer=\"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwks_uri=\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var azure = new ConfluentCloud.IdentityProvider(\"azure\", new()\n {\n Description = \"My description\",\n DisplayName = \"My OIDC Provider: Azure AD\",\n Issuer = \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n JwksUri = \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewIdentityProvider(ctx, \"azure\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Azure AD\"),\n\t\t\tIssuer: pulumi.String(\"https://login.microsoftonline.com/{tenant_id}/v2.0\"),\n\t\t\tJwksUri: pulumi.String(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var azure = new IdentityProvider(\"azure\", IdentityProviderArgs.builder() \n .description(\"My description\")\n .displayName(\"My OIDC Provider: Azure AD\")\n .issuer(\"https://login.microsoftonline.com/{tenant_id}/v2.0\")\n .jwksUri(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n azure:\n type: confluentcloud:IdentityProvider\n properties:\n description: My description\n displayName: 'My OIDC Provider: Azure AD'\n issuer: https://login.microsoftonline.com/{tenant_id}/v2.0\n jwksUri: https://login.microsoftonline.com/common/discovery/v2.0/keys\n```\n{{% /example %}}\n{{% example %}}\n### Example Identity Provider: Okta\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluent from \"@pulumi/confluent\";\n\nconst okta = new confluent.IdentityProvider(\"okta\", {\n description: \"My description\",\n displayName: \"My OIDC Provider: Okta\",\n issuer: \"https://mycompany.okta.com/oauth2/default\",\n jwksUri: \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nokta = confluentcloud.IdentityProvider(\"okta\",\n description=\"My description\",\n display_name=\"My OIDC Provider: Okta\",\n issuer=\"https://mycompany.okta.com/oauth2/default\",\n jwks_uri=\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var okta = new ConfluentCloud.IdentityProvider(\"okta\", new()\n {\n Description = \"My description\",\n DisplayName = \"My OIDC Provider: Okta\",\n Issuer = \"https://mycompany.okta.com/oauth2/default\",\n JwksUri = \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewIdentityProvider(ctx, \"okta\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Okta\"),\n\t\t\tIssuer: pulumi.String(\"https://mycompany.okta.com/oauth2/default\"),\n\t\t\tJwksUri: pulumi.String(\"https://mycompany.okta.com/oauth2/default/v1/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var okta = new IdentityProvider(\"okta\", IdentityProviderArgs.builder() \n .description(\"My description\")\n .displayName(\"My OIDC Provider: Okta\")\n .issuer(\"https://mycompany.okta.com/oauth2/default\")\n .jwksUri(\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n okta:\n type: confluentcloud:IdentityProvider\n properties:\n description: My description\n displayName: 'My OIDC Provider: Okta'\n issuer: https://mycompany.okta.com/oauth2/default\n jwksUri: https://mycompany.okta.com/oauth2/default/v1/keys\n```\n\n{{% /example %}}\n{{% /examples %}}\n## External Documentation\n\n* [Authenticating with OAuth](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/overview.html).\n\n\n## Import\n\nYou can import an Identity Provider by using Identity Provider ID, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/identityProvider:IdentityProvider example op-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example Identity Provider: Azure AD\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst azure = new confluentcloud.IdentityProvider(\"azure\", {\n description: \"My description\",\n displayName: \"My OIDC Provider: Azure AD\",\n issuer: \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwksUri: \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nazure = confluentcloud.IdentityProvider(\"azure\",\n description=\"My description\",\n display_name=\"My OIDC Provider: Azure AD\",\n issuer=\"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n jwks_uri=\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var azure = new ConfluentCloud.IdentityProvider(\"azure\", new()\n {\n Description = \"My description\",\n DisplayName = \"My OIDC Provider: Azure AD\",\n Issuer = \"https://login.microsoftonline.com/{tenant_id}/v2.0\",\n JwksUri = \"https://login.microsoftonline.com/common/discovery/v2.0/keys\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewIdentityProvider(ctx, \"azure\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Azure AD\"),\n\t\t\tIssuer: pulumi.String(\"https://login.microsoftonline.com/{tenant_id}/v2.0\"),\n\t\t\tJwksUri: pulumi.String(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var azure = new IdentityProvider(\"azure\", IdentityProviderArgs.builder() \n .description(\"My description\")\n .displayName(\"My OIDC Provider: Azure AD\")\n .issuer(\"https://login.microsoftonline.com/{tenant_id}/v2.0\")\n .jwksUri(\"https://login.microsoftonline.com/common/discovery/v2.0/keys\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n azure:\n type: confluentcloud:IdentityProvider\n properties:\n description: My description\n displayName: 'My OIDC Provider: Azure AD'\n issuer: https://login.microsoftonline.com/{tenant_id}/v2.0\n jwksUri: https://login.microsoftonline.com/common/discovery/v2.0/keys\n```\n{{% /example %}}\n{{% example %}}\n### Example Identity Provider: Okta\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst okta = new confluentcloud.IdentityProvider(\"okta\", {\n description: \"My description\",\n displayName: \"My OIDC Provider: Okta\",\n issuer: \"https://mycompany.okta.com/oauth2/default\",\n jwksUri: \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nokta = confluentcloud.IdentityProvider(\"okta\",\n description=\"My description\",\n display_name=\"My OIDC Provider: Okta\",\n issuer=\"https://mycompany.okta.com/oauth2/default\",\n jwks_uri=\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var okta = new ConfluentCloud.IdentityProvider(\"okta\", new()\n {\n Description = \"My description\",\n DisplayName = \"My OIDC Provider: Okta\",\n Issuer = \"https://mycompany.okta.com/oauth2/default\",\n JwksUri = \"https://mycompany.okta.com/oauth2/default/v1/keys\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewIdentityProvider(ctx, \"okta\", \u0026confluentcloud.IdentityProviderArgs{\n\t\t\tDescription: pulumi.String(\"My description\"),\n\t\t\tDisplayName: pulumi.String(\"My OIDC Provider: Okta\"),\n\t\t\tIssuer: pulumi.String(\"https://mycompany.okta.com/oauth2/default\"),\n\t\t\tJwksUri: pulumi.String(\"https://mycompany.okta.com/oauth2/default/v1/keys\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.IdentityProvider;\nimport com.pulumi.confluentcloud.IdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var okta = new IdentityProvider(\"okta\", IdentityProviderArgs.builder() \n .description(\"My description\")\n .displayName(\"My OIDC Provider: Okta\")\n .issuer(\"https://mycompany.okta.com/oauth2/default\")\n .jwksUri(\"https://mycompany.okta.com/oauth2/default/v1/keys\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n okta:\n type: confluentcloud:IdentityProvider\n properties:\n description: My description\n displayName: 'My OIDC Provider: Okta'\n issuer: https://mycompany.okta.com/oauth2/default\n jwksUri: https://mycompany.okta.com/oauth2/default/v1/keys\n```\n\n{{% /example %}}\n{{% /examples %}}\n## External Documentation\n\n* [Authenticating with OAuth](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/overview.html).\n\n\n## Import\n\nYou can import an Identity Provider by using Identity Provider ID, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/identityProvider:IdentityProvider example op-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "description": { "type": "string", @@ -2778,7 +3412,7 @@ } }, "confluentcloud:index/kafkaAcl:KafkaAcl": { - "description": "\n\n\n## Import\n\nYou can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `\u003cKafka cluster ID\u003e/\u003cKafka ACL resource type\u003e#\u003cKafka ACL resource name\u003e#\u003cKafka ACL pattern type\u003e#\u003cKafka ACL principal\u003e#\u003cKafka ACL host\u003e#\u003cKafka ACL operation\u003e#\u003cKafka ACL permission\u003e`, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster \"lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW\"\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "\n\n\n## Import\n\nYou can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `\u003cKafka cluster ID\u003e/\u003cKafka ACL resource type\u003e#\u003cKafka ACL resource name\u003e#\u003cKafka ACL pattern type\u003e#\u003cKafka ACL principal\u003e#\u003cKafka ACL host\u003e#\u003cKafka ACL operation\u003e#\u003cKafka ACL permission\u003e`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\" $ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster \"lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW\"\n```\n\n Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster \"lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW\"\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "credentials": { "$ref": "#/types/confluentcloud:index/KafkaAclCredentials:KafkaAclCredentials", @@ -2823,7 +3457,6 @@ }, "required": [ "host", - "kafkaCluster", "operation", "patternType", "permission", @@ -2884,7 +3517,6 @@ }, "requiredInputs": [ "host", - "kafkaCluster", "operation", "patternType", "permission", @@ -2949,7 +3581,7 @@ } }, "confluentcloud:index/kafkaClientQuota:KafkaClientQuota": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst example = new confluentcloud.KafkaClientQuota(\"example\", {\n displayName: \"test-quota\",\n description: \"Test Quota\",\n throughput: {\n ingressByteRate: \"100\",\n egressByteRate: \"200\",\n },\n principals: [\n confluent_service_account.app_manager.id,\n confluent_service_account.app_manager_2.id,\n ],\n kafkaCluster: {\n id: confluent_kafka_cluster.dedicated.id,\n },\n environment: {\n id: confluent_environment.development.id,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample = confluentcloud.KafkaClientQuota(\"example\",\n display_name=\"test-quota\",\n description=\"Test Quota\",\n throughput=confluentcloud.KafkaClientQuotaThroughputArgs(\n ingress_byte_rate=\"100\",\n egress_byte_rate=\"200\",\n ),\n principals=[\n confluent_service_account[\"app_manager\"][\"id\"],\n confluent_service_account[\"app_manager_2\"][\"id\"],\n ],\n kafka_cluster=confluentcloud.KafkaClientQuotaKafkaClusterArgs(\n id=confluent_kafka_cluster[\"dedicated\"][\"id\"],\n ),\n environment=confluentcloud.KafkaClientQuotaEnvironmentArgs(\n id=confluent_environment[\"development\"][\"id\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new ConfluentCloud.KafkaClientQuota(\"example\", new()\n {\n DisplayName = \"test-quota\",\n Description = \"Test Quota\",\n Throughput = new ConfluentCloud.Inputs.KafkaClientQuotaThroughputArgs\n {\n IngressByteRate = \"100\",\n EgressByteRate = \"200\",\n },\n Principals = new[]\n {\n confluent_service_account.App_manager.Id,\n confluent_service_account.App_manager_2.Id,\n },\n KafkaCluster = new ConfluentCloud.Inputs.KafkaClientQuotaKafkaClusterArgs\n {\n Id = confluent_kafka_cluster.Dedicated.Id,\n },\n Environment = new ConfluentCloud.Inputs.KafkaClientQuotaEnvironmentArgs\n {\n Id = confluent_environment.Development.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewKafkaClientQuota(ctx, \"example\", \u0026confluentcloud.KafkaClientQuotaArgs{\n\t\t\tDisplayName: pulumi.String(\"test-quota\"),\n\t\t\tDescription: pulumi.String(\"Test Quota\"),\n\t\t\tThroughput: \u0026KafkaClientQuotaThroughputArgs{\n\t\t\t\tIngressByteRate: pulumi.String(\"100\"),\n\t\t\t\tEgressByteRate: pulumi.String(\"200\"),\n\t\t\t},\n\t\t\tPrincipals: pulumi.StringArray{\n\t\t\t\tpulumi.Any(confluent_service_account.App_manager.Id),\n\t\t\t\tpulumi.Any(confluent_service_account.App_manager_2.Id),\n\t\t\t},\n\t\t\tKafkaCluster: \u0026KafkaClientQuotaKafkaClusterArgs{\n\t\t\t\tId: pulumi.Any(confluent_kafka_cluster.Dedicated.Id),\n\t\t\t},\n\t\t\tEnvironment: \u0026KafkaClientQuotaEnvironmentArgs{\n\t\t\t\tId: pulumi.Any(confluent_environment.Development.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.KafkaClientQuota;\nimport com.pulumi.confluentcloud.KafkaClientQuotaArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaThroughputArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new KafkaClientQuota(\"example\", KafkaClientQuotaArgs.builder() \n .displayName(\"test-quota\")\n .description(\"Test Quota\")\n .throughput(KafkaClientQuotaThroughputArgs.builder()\n .ingressByteRate(\"100\")\n .egressByteRate(\"200\")\n .build())\n .principals( \n confluent_service_account.app_manager().id(),\n confluent_service_account.app_manager_2().id())\n .kafkaCluster(KafkaClientQuotaKafkaClusterArgs.builder()\n .id(confluent_kafka_cluster.dedicated().id())\n .build())\n .environment(KafkaClientQuotaEnvironmentArgs.builder()\n .id(confluent_environment.development().id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: confluentcloud:KafkaClientQuota\n properties:\n displayName: test-quota\n description: Test Quota\n throughput:\n ingressByteRate: 100\n egressByteRate: 200\n principals:\n - ${confluent_service_account.app_manager.id}\n - ${confluent_service_account.app_manager_2.id}\n kafkaCluster:\n id: ${confluent_kafka_cluster.dedicated.id}\n environment:\n id: ${confluent_environment.development.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nYou can import a Kafka Client Quota by using Kafka Client Quota ID. The following example shows how to import a Kafka Client Quota ID$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaClientQuota:KafkaClientQuota example cq-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst example = new confluentcloud.KafkaClientQuota(\"example\", {\n displayName: \"test-quota\",\n description: \"Test Quota\",\n throughput: {\n ingressByteRate: \"100\",\n egressByteRate: \"200\",\n },\n principals: [\n confluent_service_account.app_manager.id,\n confluent_service_account.app_manager_2.id,\n ],\n kafkaCluster: {\n id: confluent_kafka_cluster.dedicated.id,\n },\n environment: {\n id: confluent_environment.development.id,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample = confluentcloud.KafkaClientQuota(\"example\",\n display_name=\"test-quota\",\n description=\"Test Quota\",\n throughput=confluentcloud.KafkaClientQuotaThroughputArgs(\n ingress_byte_rate=\"100\",\n egress_byte_rate=\"200\",\n ),\n principals=[\n confluent_service_account[\"app_manager\"][\"id\"],\n confluent_service_account[\"app_manager_2\"][\"id\"],\n ],\n kafka_cluster=confluentcloud.KafkaClientQuotaKafkaClusterArgs(\n id=confluent_kafka_cluster[\"dedicated\"][\"id\"],\n ),\n environment=confluentcloud.KafkaClientQuotaEnvironmentArgs(\n id=confluent_environment[\"development\"][\"id\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new ConfluentCloud.KafkaClientQuota(\"example\", new()\n {\n DisplayName = \"test-quota\",\n Description = \"Test Quota\",\n Throughput = new ConfluentCloud.Inputs.KafkaClientQuotaThroughputArgs\n {\n IngressByteRate = \"100\",\n EgressByteRate = \"200\",\n },\n Principals = new[]\n {\n confluent_service_account.App_manager.Id,\n confluent_service_account.App_manager_2.Id,\n },\n KafkaCluster = new ConfluentCloud.Inputs.KafkaClientQuotaKafkaClusterArgs\n {\n Id = confluent_kafka_cluster.Dedicated.Id,\n },\n Environment = new ConfluentCloud.Inputs.KafkaClientQuotaEnvironmentArgs\n {\n Id = confluent_environment.Development.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewKafkaClientQuota(ctx, \"example\", \u0026confluentcloud.KafkaClientQuotaArgs{\n\t\t\tDisplayName: pulumi.String(\"test-quota\"),\n\t\t\tDescription: pulumi.String(\"Test Quota\"),\n\t\t\tThroughput: \u0026confluentcloud.KafkaClientQuotaThroughputArgs{\n\t\t\t\tIngressByteRate: pulumi.String(\"100\"),\n\t\t\t\tEgressByteRate: pulumi.String(\"200\"),\n\t\t\t},\n\t\t\tPrincipals: pulumi.StringArray{\n\t\t\t\tconfluent_service_account.App_manager.Id,\n\t\t\t\tconfluent_service_account.App_manager_2.Id,\n\t\t\t},\n\t\t\tKafkaCluster: \u0026confluentcloud.KafkaClientQuotaKafkaClusterArgs{\n\t\t\t\tId: pulumi.Any(confluent_kafka_cluster.Dedicated.Id),\n\t\t\t},\n\t\t\tEnvironment: \u0026confluentcloud.KafkaClientQuotaEnvironmentArgs{\n\t\t\t\tId: pulumi.Any(confluent_environment.Development.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.KafkaClientQuota;\nimport com.pulumi.confluentcloud.KafkaClientQuotaArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaThroughputArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClientQuotaEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new KafkaClientQuota(\"example\", KafkaClientQuotaArgs.builder() \n .displayName(\"test-quota\")\n .description(\"Test Quota\")\n .throughput(KafkaClientQuotaThroughputArgs.builder()\n .ingressByteRate(\"100\")\n .egressByteRate(\"200\")\n .build())\n .principals( \n confluent_service_account.app_manager().id(),\n confluent_service_account.app_manager_2().id())\n .kafkaCluster(KafkaClientQuotaKafkaClusterArgs.builder()\n .id(confluent_kafka_cluster.dedicated().id())\n .build())\n .environment(KafkaClientQuotaEnvironmentArgs.builder()\n .id(confluent_environment.development().id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: confluentcloud:KafkaClientQuota\n properties:\n displayName: test-quota\n description: Test Quota\n throughput:\n ingressByteRate: '100'\n egressByteRate: '200'\n principals:\n - ${confluent_service_account.app_manager.id}\n - ${confluent_service_account.app_manager_2.id}\n kafkaCluster:\n id: ${confluent_kafka_cluster.dedicated.id}\n environment:\n id: ${confluent_environment.development.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nYou can import a Kafka Client Quota by using Kafka Client Quota ID. The following example shows how to import a Kafka Client Quota ID$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaClientQuota:KafkaClientQuota example cq-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "description": { "type": "string", @@ -3243,7 +3875,7 @@ } }, "confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst orders = new confluentcloud.KafkaClusterConfig(\"orders\", {\n kafkaCluster: {\n id: confluent_kafka_cluster.dedicated.id,\n },\n restEndpoint: confluent_kafka_cluster.dedicated.rest_endpoint,\n config: {\n \"auto.create.topics.enable\": \"true\",\n \"log.retention.ms\": \"604800123\",\n },\n credentials: {\n key: confluent_api_key[\"app-manager-kafka-api-key\"].id,\n secret: confluent_api_key[\"app-manager-kafka-api-key\"].secret,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\norders = confluentcloud.KafkaClusterConfig(\"orders\",\n kafka_cluster=confluentcloud.KafkaClusterConfigKafkaClusterArgs(\n id=confluent_kafka_cluster[\"dedicated\"][\"id\"],\n ),\n rest_endpoint=confluent_kafka_cluster[\"dedicated\"][\"rest_endpoint\"],\n config={\n \"auto.create.topics.enable\": \"true\",\n \"log.retention.ms\": \"604800123\",\n },\n credentials=confluentcloud.KafkaClusterConfigCredentialsArgs(\n key=confluent_api_key[\"app-manager-kafka-api-key\"][\"id\"],\n secret=confluent_api_key[\"app-manager-kafka-api-key\"][\"secret\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var orders = new ConfluentCloud.KafkaClusterConfig(\"orders\", new()\n {\n KafkaCluster = new ConfluentCloud.Inputs.KafkaClusterConfigKafkaClusterArgs\n {\n Id = confluent_kafka_cluster.Dedicated.Id,\n },\n RestEndpoint = confluent_kafka_cluster.Dedicated.Rest_endpoint,\n Config = \n {\n { \"auto.create.topics.enable\", \"true\" },\n { \"log.retention.ms\", \"604800123\" },\n },\n Credentials = new ConfluentCloud.Inputs.KafkaClusterConfigCredentialsArgs\n {\n Key = confluent_api_key.App_manager_kafka_api_key.Id,\n Secret = confluent_api_key.App_manager_kafka_api_key.Secret,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := confluentcloud.NewKafkaClusterConfig(ctx, \"orders\", \u0026confluentcloud.KafkaClusterConfigArgs{\n\t\t\tKafkaCluster: \u0026KafkaClusterConfigKafkaClusterArgs{\n\t\t\t\tId: pulumi.Any(confluent_kafka_cluster.Dedicated.Id),\n\t\t\t},\n\t\t\tRestEndpoint: pulumi.Any(confluent_kafka_cluster.Dedicated.Rest_endpoint),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"auto.create.topics.enable\": pulumi.String(\"true\"),\n\t\t\t\t\"log.retention.ms\": pulumi.String(\"604800123\"),\n\t\t\t},\n\t\t\tCredentials: \u0026KafkaClusterConfigCredentialsArgs{\n\t\t\t\tKey: pulumi.Any(confluent_api_key.App - manager - kafka - api - key.Id),\n\t\t\t\tSecret: pulumi.Any(confluent_api_key.App - manager - kafka - api - key.Secret),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.KafkaClusterConfig;\nimport com.pulumi.confluentcloud.KafkaClusterConfigArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterConfigKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterConfigCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var orders = new KafkaClusterConfig(\"orders\", KafkaClusterConfigArgs.builder() \n .kafkaCluster(KafkaClusterConfigKafkaClusterArgs.builder()\n .id(confluent_kafka_cluster.dedicated().id())\n .build())\n .restEndpoint(confluent_kafka_cluster.dedicated().rest_endpoint())\n .config(Map.ofEntries(\n Map.entry(\"auto.create.topics.enable\", \"true\"),\n Map.entry(\"log.retention.ms\", \"604800123\")\n ))\n .credentials(KafkaClusterConfigCredentialsArgs.builder()\n .key(confluent_api_key.app-manager-kafka-api-key().id())\n .secret(confluent_api_key.app-manager-kafka-api-key().secret())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n orders:\n type: confluentcloud:KafkaClusterConfig\n properties:\n kafkaCluster:\n id: ${confluent_kafka_cluster.dedicated.id}\n restEndpoint: ${confluent_kafka_cluster.dedicated.rest_endpoint}\n config:\n auto.create.topics.enable: true\n log.retention.ms: 604800123\n credentials:\n key: ${confluent_api_key\"app-manager-kafka-api-key\"[%!s(MISSING)].id}\n secret: ${confluent_api_key\"app-manager-kafka-api-key\"[%!s(MISSING)].secret}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nYou can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "\n\n\n## Import\n\nYou can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123\n```\n\n Option #2Manage a single Kafka cluster in the same Terraform workspace\n\n```sh\n $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "config": { "type": "object", @@ -3266,8 +3898,7 @@ } }, "required": [ - "config", - "kafkaCluster" + "config" ], "inputProperties": { "config": { @@ -3293,8 +3924,7 @@ } }, "requiredInputs": [ - "config", - "kafkaCluster" + "config" ], "stateInputs": { "description": "Input properties used for looking up and filtering KafkaClusterConfig resources.\n", @@ -3407,7 +4037,7 @@ } }, "confluentcloud:index/kafkaTopic:KafkaTopic": { - "description": "\n\n\n## Import\n\nYou can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `\u003cKafka cluster ID\u003e/\u003cKafka topic name\u003e`, for example$ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123\n```\n\n resource \"confluent_kafka_topic\" \"orders\" {\n\n kafka_cluster {\n\n\n\n id = confluent_kafka_cluster.basic-cluster.id\n\n }\n\n topic_name\n\n\n\n\n\n\n\n = \"orders\"\n\n partitions_count\n\n = 4\n\n rest_endpoint\n\n\n\n\n\n= confluent_kafka_cluster.basic-cluster.rest_endpoint\n\n # https://docs.confluent.io/cloud/current/clusters/broker-config.html#custom-topic-settings-for-all-cluster-types-supported-by-kafka-rest-api-and-terraform-provider\n\n config = {\n\n\n\n \"cleanup.policy\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"delete\"\n\n\n\n \"delete.retention.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"86400000\"\n\n\n\n \"max.compaction.lag.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"9223372036854775807\"\n\n\n\n \"max.message.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"2097164\"\n\n\n\n \"message.timestamp.difference.max.ms\" = \"9223372036854775807\"\n\n\n\n \"message.timestamp.type\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"CreateTime\"\n\n\n\n \"min.compaction.lag.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"0\"\n\n\n\n \"min.insync.replicas\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"2\"\n\n\n\n \"retention.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"-1\"\n\n\n\n \"retention.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"604800000\"\n\n\n\n \"segment.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"104857600\"\n\n\n\n \"segment.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"604800000\"\n\n }\n\n credentials {\n\n\n\n key\n\n\n\n= confluent_api_key.app-manager-kafka-api-key.id\n\n\n\n secret = confluent_api_key.app-manager-kafka-api-key.secret\n\n } } !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "\n\n\n## Import\n\nYou can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `\u003cKafka cluster ID\u003e/\u003cKafka topic name\u003e`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY=\"\u003ckafka_api_key\u003e\" $ export IMPORT_KAFKA_API_SECRET=\"\u003ckafka_api_secret\u003e\" $ export IMPORT_KAFKA_REST_ENDPOINT=\"\u003ckafka_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123\n```\n\n Option #2Manage a single Kafka cluster in the same Terraform workspace\n\n```sh\n $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123\n```\n\n resource \"confluent_kafka_topic\" \"orders\" {\n\n kafka_cluster {\n\n\n\n id = confluent_kafka_cluster.basic-cluster.id\n\n }\n\n topic_name\n\n\n\n\n\n\n\n = \"orders\"\n\n partitions_count\n\n = 4\n\n rest_endpoint\n\n\n\n\n\n= confluent_kafka_cluster.basic-cluster.rest_endpoint\n\n # https://docs.confluent.io/cloud/current/clusters/broker-config.html#custom-topic-settings-for-all-cluster-types-supported-by-kafka-rest-api-and-terraform-provider\n\n config = {\n\n\n\n \"cleanup.policy\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"delete\"\n\n\n\n \"delete.retention.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"86400000\"\n\n\n\n \"max.compaction.lag.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"9223372036854775807\"\n\n\n\n \"max.message.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"2097164\"\n\n\n\n \"message.timestamp.difference.max.ms\" = \"9223372036854775807\"\n\n\n\n \"message.timestamp.type\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"CreateTime\"\n\n\n\n \"min.compaction.lag.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"0\"\n\n\n\n \"min.insync.replicas\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"2\"\n\n\n\n \"retention.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"-1\"\n\n\n\n \"retention.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"604800000\"\n\n\n\n \"segment.bytes\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n = \"104857600\"\n\n\n\n \"segment.ms\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n= \"604800000\"\n\n }\n\n credentials {\n\n\n\n key\n\n\n\n= confluent_api_key.app-manager-kafka-api-key.id\n\n\n\n secret = confluent_api_key.app-manager-kafka-api-key.secret\n\n } } !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "config": { "type": "object", @@ -3445,7 +4075,6 @@ "required": [ "config", "httpEndpoint", - "kafkaCluster", "topicName" ], "inputProperties": { @@ -3487,7 +4116,6 @@ } }, "requiredInputs": [ - "kafkaCluster", "topicName" ], "stateInputs": { @@ -3728,6 +4356,10 @@ "type": "string", "description": "The name of the Network.\n" }, + "dnsConfig": { + "$ref": "#/types/confluentcloud:index/NetworkDnsConfig:NetworkDnsConfig", + "description": "Network DNS config. It applies only to the PRIVATELINK network connection type.\n" + }, "dnsDomain": { "type": "string", "description": "(Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link.\n" @@ -3763,7 +4395,7 @@ "items": { "type": "string" }, - "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n" + "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP\nnetworks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n" } }, "required": [ @@ -3773,6 +4405,7 @@ "cloud", "connectionTypes", "displayName", + "dnsConfig", "dnsDomain", "environment", "gcps", @@ -3818,6 +4451,10 @@ "type": "string", "description": "The name of the Network.\n" }, + "dnsConfig": { + "$ref": "#/types/confluentcloud:index/NetworkDnsConfig:NetworkDnsConfig", + "description": "Network DNS config. It applies only to the PRIVATELINK network connection type.\n" + }, "environment": { "$ref": "#/types/confluentcloud:index/NetworkEnvironment:NetworkEnvironment", "description": "Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.\n", @@ -3840,7 +4477,7 @@ "items": { "type": "string" }, - "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n", + "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP\nnetworks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n", "willReplaceOnChanges": true } }, @@ -3889,6 +4526,10 @@ "type": "string", "description": "The name of the Network.\n" }, + "dnsConfig": { + "$ref": "#/types/confluentcloud:index/NetworkDnsConfig:NetworkDnsConfig", + "description": "Network DNS config. It applies only to the PRIVATELINK network connection type.\n" + }, "dnsDomain": { "type": "string", "description": "(Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link.\n" @@ -3926,7 +4567,7 @@ "items": { "type": "string" }, - "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n", + "description": "The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP\nnetworks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n", "willReplaceOnChanges": true } }, @@ -4188,8 +4829,169 @@ "type": "object" } }, + "confluentcloud:index/schema:Schema": { + "description": "\n\n\n## Import\n\nYou can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `\u003cSchema Registry cluster ID\u003e/\u003cSubject name\u003e/\u003cSchema identifier\u003e`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY=\"\u003cschema_registry_api_key\u003e\" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET=\"\u003cschema_registry_api_secret\u003e\" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT=\"\u003cschema_registry_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaCredentials:SchemaCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "format": { + "type": "string", + "description": "The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n" + }, + "schema": { + "type": "string", + "description": "The schema string, for example, `file(\"./schema_version_1.avsc\")`.\n", + "language": { + "csharp": { + "name": "SchemaDetails" + } + } + }, + "schemaIdentifier": { + "type": "integer", + "description": "(Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.\n" + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaReference:SchemaSchemaReference" + }, + "description": "The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaRegistryCluster:SchemaSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)\n" + }, + "version": { + "type": "integer", + "description": "The version, representing the exact version of the schema under the registered subject.\n" + } + }, + "required": [ + "format", + "schema", + "schemaIdentifier", + "subjectName", + "version" + ], + "inputProperties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaCredentials:SchemaCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "format": { + "type": "string", + "description": "The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.\n", + "willReplaceOnChanges": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schema": { + "type": "string", + "description": "The schema string, for example, `file(\"./schema_version_1.avsc\")`.\n", + "language": { + "csharp": { + "name": "SchemaDetails" + } + }, + "willReplaceOnChanges": true + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaReference:SchemaSchemaReference" + }, + "description": "The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaRegistryCluster:SchemaSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { + "type": "string", + "description": "The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "format", + "schema", + "subjectName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Schema resources.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaCredentials:SchemaCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "format": { + "type": "string", + "description": "The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.\n", + "willReplaceOnChanges": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schema": { + "type": "string", + "description": "The schema string, for example, `file(\"./schema_version_1.avsc\")`.\n", + "language": { + "csharp": { + "name": "SchemaDetails" + } + }, + "willReplaceOnChanges": true + }, + "schemaIdentifier": { + "type": "integer", + "description": "(Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.\n" + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaReference:SchemaSchemaReference" + }, + "description": "The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaSchemaRegistryCluster:SchemaSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { + "type": "string", + "description": "The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)\n", + "willReplaceOnChanges": true + }, + "version": { + "type": "integer", + "description": "The version, representing the exact version of the schema under the registered subject.\n" + } + }, + "type": "object" + } + }, "confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst development = new confluentcloud.Environment(\"development\", {});\nconst example = confluentcloud.getSchemaRegistryRegion({\n cloud: \"AWS\",\n region: \"us-east-2\",\n \"package\": \"ESSENTIALS\",\n});\nconst essentials = new confluentcloud.SchemaRegistryCluster(\"essentials\", {\n \"package\": example.then(example =\u003e example[\"package\"]),\n environment: {\n id: development.id,\n },\n region: {\n id: example.then(example =\u003e example.id),\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\ndevelopment = confluentcloud.Environment(\"development\")\nexample = confluentcloud.get_schema_registry_region(cloud=\"AWS\",\n region=\"us-east-2\",\n package=\"ESSENTIALS\")\nessentials = confluentcloud.SchemaRegistryCluster(\"essentials\",\n package=example.package,\n environment=confluentcloud.SchemaRegistryClusterEnvironmentArgs(\n id=development.id,\n ),\n region=confluentcloud.SchemaRegistryClusterRegionArgs(\n id=example.id,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var development = new ConfluentCloud.Environment(\"development\");\n\n var example = ConfluentCloud.GetSchemaRegistryRegion.Invoke(new()\n {\n Cloud = \"AWS\",\n Region = \"us-east-2\",\n Package = \"ESSENTIALS\",\n });\n\n var essentials = new ConfluentCloud.SchemaRegistryCluster(\"essentials\", new()\n {\n Package = example.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult.Package),\n Environment = new ConfluentCloud.Inputs.SchemaRegistryClusterEnvironmentArgs\n {\n Id = development.Id,\n },\n Region = new ConfluentCloud.Inputs.SchemaRegistryClusterRegionArgs\n {\n Id = example.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdevelopment, err := confluentcloud.NewEnvironment(ctx, \"development\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := confluentcloud.GetSchemaRegistryRegion(ctx, \u0026GetSchemaRegistryRegionArgs{\n\t\t\tCloud: \"AWS\",\n\t\t\tRegion: \"us-east-2\",\n\t\t\tPackage: \"ESSENTIALS\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewSchemaRegistryCluster(ctx, \"essentials\", \u0026confluentcloud.SchemaRegistryClusterArgs{\n\t\t\tPackage: pulumi.String(example.Package),\n\t\t\tEnvironment: \u0026SchemaRegistryClusterEnvironmentArgs{\n\t\t\t\tId: development.ID(),\n\t\t\t},\n\t\t\tRegion: \u0026SchemaRegistryClusterRegionArgs{\n\t\t\t\tId: pulumi.String(example.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.Environment;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionArgs;\nimport com.pulumi.confluentcloud.SchemaRegistryCluster;\nimport com.pulumi.confluentcloud.SchemaRegistryClusterArgs;\nimport com.pulumi.confluentcloud.inputs.SchemaRegistryClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.inputs.SchemaRegistryClusterRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var development = new Environment(\"development\");\n\n final var example = ConfluentcloudFunctions.getSchemaRegistryRegion(GetSchemaRegistryRegionArgs.builder()\n .cloud(\"AWS\")\n .region(\"us-east-2\")\n .package_(\"ESSENTIALS\")\n .build());\n\n var essentials = new SchemaRegistryCluster(\"essentials\", SchemaRegistryClusterArgs.builder() \n .package_(example.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult.package()))\n .environment(SchemaRegistryClusterEnvironmentArgs.builder()\n .id(development.id())\n .build())\n .region(SchemaRegistryClusterRegionArgs.builder()\n .id(example.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n development:\n type: confluentcloud:Environment\n essentials:\n type: confluentcloud:SchemaRegistryCluster\n properties:\n package: ${example.package}\n environment:\n id: ${development.id}\n region:\n id: ${example.id}\nvariables:\n example:\n Fn::Invoke:\n Function: confluentcloud:getSchemaRegistryRegion\n Arguments:\n cloud: AWS\n region: us-east-2\n package: ESSENTIALS\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nYou can import a Schema Registry cluster by using Environment ID and Schema Registry cluster ID, in the format `\u003cEnvironment ID\u003e/\u003cSchema Registry cluster ID\u003e`, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster example env-abc123/lsrc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst development = new confluentcloud.Environment(\"development\", {});\nconst example = confluentcloud.getSchemaRegistryRegion({\n cloud: \"AWS\",\n region: \"us-east-2\",\n \"package\": \"ESSENTIALS\",\n});\nconst essentials = new confluentcloud.SchemaRegistryCluster(\"essentials\", {\n \"package\": example.then(example =\u003e example[\"package\"]),\n environment: {\n id: development.id,\n },\n region: {\n id: example.then(example =\u003e example.id),\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\ndevelopment = confluentcloud.Environment(\"development\")\nexample = confluentcloud.get_schema_registry_region(cloud=\"AWS\",\n region=\"us-east-2\",\n package=\"ESSENTIALS\")\nessentials = confluentcloud.SchemaRegistryCluster(\"essentials\",\n package=example.package,\n environment=confluentcloud.SchemaRegistryClusterEnvironmentArgs(\n id=development.id,\n ),\n region=confluentcloud.SchemaRegistryClusterRegionArgs(\n id=example.id,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var development = new ConfluentCloud.Environment(\"development\");\n\n var example = ConfluentCloud.GetSchemaRegistryRegion.Invoke(new()\n {\n Cloud = \"AWS\",\n Region = \"us-east-2\",\n Package = \"ESSENTIALS\",\n });\n\n var essentials = new ConfluentCloud.SchemaRegistryCluster(\"essentials\", new()\n {\n Package = example.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult.Package),\n Environment = new ConfluentCloud.Inputs.SchemaRegistryClusterEnvironmentArgs\n {\n Id = development.Id,\n },\n Region = new ConfluentCloud.Inputs.SchemaRegistryClusterRegionArgs\n {\n Id = example.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdevelopment, err := confluentcloud.NewEnvironment(ctx, \"development\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := confluentcloud.GetSchemaRegistryRegion(ctx, \u0026confluentcloud.GetSchemaRegistryRegionArgs{\n\t\t\tCloud: \"AWS\",\n\t\t\tRegion: \"us-east-2\",\n\t\t\tPackage: \"ESSENTIALS\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewSchemaRegistryCluster(ctx, \"essentials\", \u0026confluentcloud.SchemaRegistryClusterArgs{\n\t\t\tPackage: *pulumi.String(example.Package),\n\t\t\tEnvironment: \u0026confluentcloud.SchemaRegistryClusterEnvironmentArgs{\n\t\t\t\tId: development.ID(),\n\t\t\t},\n\t\t\tRegion: \u0026confluentcloud.SchemaRegistryClusterRegionArgs{\n\t\t\t\tId: *pulumi.String(example.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.Environment;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionArgs;\nimport com.pulumi.confluentcloud.SchemaRegistryCluster;\nimport com.pulumi.confluentcloud.SchemaRegistryClusterArgs;\nimport com.pulumi.confluentcloud.inputs.SchemaRegistryClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.inputs.SchemaRegistryClusterRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var development = new Environment(\"development\");\n\n final var example = ConfluentcloudFunctions.getSchemaRegistryRegion(GetSchemaRegistryRegionArgs.builder()\n .cloud(\"AWS\")\n .region(\"us-east-2\")\n .package_(\"ESSENTIALS\")\n .build());\n\n var essentials = new SchemaRegistryCluster(\"essentials\", SchemaRegistryClusterArgs.builder() \n .package_(example.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult.package()))\n .environment(SchemaRegistryClusterEnvironmentArgs.builder()\n .id(development.id())\n .build())\n .region(SchemaRegistryClusterRegionArgs.builder()\n .id(example.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n development:\n type: confluentcloud:Environment\n essentials:\n type: confluentcloud:SchemaRegistryCluster\n properties:\n package: ${example.package}\n environment:\n id: ${development.id}\n region:\n id: ${example.id}\nvariables:\n example:\n fn::invoke:\n Function: confluentcloud:getSchemaRegistryRegion\n Arguments:\n cloud: AWS\n region: us-east-2\n package: ESSENTIALS\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nYou can import a Schema Registry cluster by using Environment ID and Schema Registry cluster ID, in the format `\u003cEnvironment ID\u003e/\u003cSchema Registry cluster ID\u003e`, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster example env-abc123/lsrc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { "apiVersion": { "type": "string", @@ -4293,6 +5095,142 @@ "type": "object" } }, + "confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig": { + "description": "\n\n\n## Import\n\nYou can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format `\u003cSchema Registry cluster ID\u003e`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY=\"\u003cschema_registry_api_key\u003e\" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET=\"\u003cschema_registry_api_secret\u003e\" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT=\"\u003cschema_registry_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigCredentials:SchemaRegistryClusterConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigSchemaRegistryCluster:SchemaRegistryClusterConfigSchemaRegistryCluster" + } + }, + "required": [ + "compatibilityLevel" + ], + "inputProperties": { + "compatibilityLevel": { + "type": "string", + "description": "The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigCredentials:SchemaRegistryClusterConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigSchemaRegistryCluster:SchemaRegistryClusterConfigSchemaRegistryCluster", + "willReplaceOnChanges": true + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering SchemaRegistryClusterConfig resources.\n", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigCredentials:SchemaRegistryClusterConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterConfigSchemaRegistryCluster:SchemaRegistryClusterConfigSchemaRegistryCluster", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, + "confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode": { + "description": "\n\n\n## Import\n\nYou can import a Mode by using the Schema Registry cluster ID, Subject name in the format `\u003cSchema Registry cluster ID\u003e`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY=\"\u003cschema_registry_api_key\u003e\" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET=\"\u003cschema_registry_api_secret\u003e\" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT=\"\u003cschema_registry_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeCredentials:SchemaRegistryClusterModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "mode": { + "type": "string", + "description": "The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeSchemaRegistryCluster:SchemaRegistryClusterModeSchemaRegistryCluster" + } + }, + "required": [ + "mode" + ], + "inputProperties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeCredentials:SchemaRegistryClusterModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "mode": { + "type": "string", + "description": "The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeSchemaRegistryCluster:SchemaRegistryClusterModeSchemaRegistryCluster", + "willReplaceOnChanges": true + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering SchemaRegistryClusterMode resources.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeCredentials:SchemaRegistryClusterModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "mode": { + "type": "string", + "description": "The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SchemaRegistryClusterModeSchemaRegistryCluster:SchemaRegistryClusterModeSchemaRegistryCluster", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "confluentcloud:index/serviceAccount:ServiceAccount": { "description": "\n\n\n## Import\n\nYou can import a Service Account by using Service Account ID, for example$ export CONFLUENT_CLOUD_API_KEY=\"\u003ccloud_api_key\u003e\" $ export CONFLUENT_CLOUD_API_SECRET=\"\u003ccloud_api_secret\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/serviceAccount:ServiceAccount my_sa sa-abc123\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", "properties": { @@ -4323,31 +5261,203 @@ "type": "string", "description": "A free-form description of the Service Account.\n" }, - "displayName": { + "displayName": { + "type": "string", + "description": "A human-readable name for the Service Account.\n", + "willReplaceOnChanges": true + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering ServiceAccount resources.\n", + "properties": { + "apiVersion": { + "type": "string", + "description": "(Required String) An API Version of the schema version of the Service Account, for example, `iam/v2`.\n" + }, + "description": { + "type": "string", + "description": "A free-form description of the Service Account.\n" + }, + "displayName": { + "type": "string", + "description": "A human-readable name for the Service Account.\n", + "willReplaceOnChanges": true + }, + "kind": { + "type": "string", + "description": "(Required String) A kind of the Service Account, for example, `ServiceAccount`.\n" + } + }, + "type": "object" + } + }, + "confluentcloud:index/subjectConfig:SubjectConfig": { + "description": "\n\n\n## Import\n\nYou can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `\u003cSchema Registry cluster ID\u003e/\u003cSubject name\u003e`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY=\"\u003cschema_registry_api_key\u003e\" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET=\"\u003cschema_registry_api_secret\u003e\" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT=\"\u003cschema_registry_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectConfigCredentials:SubjectConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectConfigSchemaRegistryCluster:SubjectConfigSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n" + } + }, + "required": [ + "compatibilityLevel", + "subjectName" + ], + "inputProperties": { + "compatibilityLevel": { + "type": "string", + "description": "The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectConfigCredentials:SubjectConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectConfigSchemaRegistryCluster:SubjectConfigSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "subjectName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SubjectConfig resources.\n", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectConfigCredentials:SubjectConfigCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectConfigSchemaRegistryCluster:SubjectConfigSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, + "confluentcloud:index/subjectMode:SubjectMode": { + "description": "\n\n\n## Import\n\nYou can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `\u003cSchema Registry cluster ID\u003e/\u003cSubject name\u003e`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY=\"\u003cschema_registry_api_key\u003e\" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET=\"\u003cschema_registry_api_secret\u003e\" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT=\"\u003cschema_registry_rest_endpoint\u003e\"\n\n```sh\n $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject\n```\n\n !\u003e **Warning:** Do not forget to delete terminal command history afterwards for security purposes. ", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectModeCredentials:SubjectModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "mode": { + "type": "string", + "description": "The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectModeSchemaRegistryCluster:SubjectModeSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n" + } + }, + "required": [ + "mode", + "subjectName" + ], + "inputProperties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectModeCredentials:SubjectModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true + }, + "mode": { + "type": "string", + "description": "The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectModeSchemaRegistryCluster:SubjectModeSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { "type": "string", - "description": "A human-readable name for the Service Account.\n", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n", "willReplaceOnChanges": true } }, + "requiredInputs": [ + "subjectName" + ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServiceAccount resources.\n", + "description": "Input properties used for looking up and filtering SubjectMode resources.\n", "properties": { - "apiVersion": { - "type": "string", - "description": "(Required String) An API Version of the schema version of the Service Account, for example, `iam/v2`.\n" + "credentials": { + "$ref": "#/types/confluentcloud:index/SubjectModeCredentials:SubjectModeCredentials", + "description": "The Cluster API Credentials.\n", + "secret": true }, - "description": { + "mode": { "type": "string", - "description": "A free-form description of the Service Account.\n" + "description": "The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" }, - "displayName": { + "restEndpoint": { "type": "string", - "description": "A human-readable name for the Service Account.\n", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", "willReplaceOnChanges": true }, - "kind": { + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/SubjectModeSchemaRegistryCluster:SubjectModeSchemaRegistryCluster", + "willReplaceOnChanges": true + }, + "subjectName": { "type": "string", - "description": "(Required String) A kind of the Service Account, for example, `ServiceAccount`.\n" + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -4432,7 +5542,7 @@ }, "functions": { "confluentcloud:index/getEnvironment:getEnvironment": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Environment` describes an Environment data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdEnvironment = confluentcloud.getEnvironment({\n id: \"env-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdEnvironment;\nconst exampleUsingNameEnvironment = confluentcloud.getEnvironment({\n displayName: \"stag\",\n});\nconst exampleUsingNameServiceAccount = confluentcloud.getServiceAccount({\n displayName: \"test_sa\",\n});\nconst test_role_binding = new confluentcloud.RoleBinding(\"test-role-binding\", {\n principal: exampleUsingNameServiceAccount.then(exampleUsingNameServiceAccount =\u003e `User:${exampleUsingNameServiceAccount.id}`),\n roleName: \"EnvironmentAdmin\",\n crnPattern: exampleUsingNameEnvironment.then(exampleUsingNameEnvironment =\u003e exampleUsingNameEnvironment.resourceName),\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_environment = confluentcloud.get_environment(id=\"env-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_environment)\nexample_using_name_environment = confluentcloud.get_environment(display_name=\"stag\")\nexample_using_name_service_account = confluentcloud.get_service_account(display_name=\"test_sa\")\ntest_role_binding = confluentcloud.RoleBinding(\"test-role-binding\",\n principal=f\"User:{example_using_name_service_account.id}\",\n role_name=\"EnvironmentAdmin\",\n crn_pattern=example_using_name_environment.resource_name)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdEnvironment = ConfluentCloud.GetEnvironment.Invoke(new()\n {\n Id = \"env-abc123\",\n });\n\n var exampleUsingNameEnvironment = ConfluentCloud.GetEnvironment.Invoke(new()\n {\n DisplayName = \"stag\",\n });\n\n var exampleUsingNameServiceAccount = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n DisplayName = \"test_sa\",\n });\n\n var test_role_binding = new ConfluentCloud.RoleBinding(\"test-role-binding\", new()\n {\n Principal = $\"User:{exampleUsingNameServiceAccount.Apply(getServiceAccountResult =\u003e getServiceAccountResult.Id)}\",\n RoleName = \"EnvironmentAdmin\",\n CrnPattern = exampleUsingNameEnvironment.Apply(getEnvironmentResult =\u003e getEnvironmentResult.ResourceName),\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdEnvironment.Apply(getEnvironmentResult =\u003e getEnvironmentResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdEnvironment, err := confluentcloud.LookupEnvironment(ctx, \u0026GetEnvironmentArgs{\n\t\t\tId: pulumi.StringRef(\"env-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdEnvironment)\n\t\texampleUsingNameEnvironment, err := confluentcloud.LookupEnvironment(ctx, \u0026GetEnvironmentArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"stag\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, \u0026GetServiceAccountArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"test_sa\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewRoleBinding(ctx, \"test-role-binding\", \u0026confluentcloud.RoleBindingArgs{\n\t\t\tPrincipal: pulumi.String(fmt.Sprintf(\"User:%v\", exampleUsingNameServiceAccount.Id)),\n\t\t\tRoleName: pulumi.String(\"EnvironmentAdmin\"),\n\t\t\tCrnPattern: pulumi.String(exampleUsingNameEnvironment.ResourceName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetEnvironmentArgs;\nimport com.pulumi.confluentcloud.inputs.GetServiceAccountArgs;\nimport com.pulumi.confluentcloud.RoleBinding;\nimport com.pulumi.confluentcloud.RoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdEnvironment = ConfluentcloudFunctions.getEnvironment(GetEnvironmentArgs.builder()\n .id(\"env-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdEnvironment.applyValue(getEnvironmentResult -\u003e getEnvironmentResult));\n final var exampleUsingNameEnvironment = ConfluentcloudFunctions.getEnvironment(GetEnvironmentArgs.builder()\n .displayName(\"stag\")\n .build());\n\n final var exampleUsingNameServiceAccount = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .displayName(\"test_sa\")\n .build());\n\n var test_role_binding = new RoleBinding(\"test-role-binding\", RoleBindingArgs.builder() \n .principal(String.format(\"User:%s\", exampleUsingNameServiceAccount.applyValue(getServiceAccountResult -\u003e getServiceAccountResult.id())))\n .roleName(\"EnvironmentAdmin\")\n .crnPattern(exampleUsingNameEnvironment.applyValue(getEnvironmentResult -\u003e getEnvironmentResult.resourceName()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test-role-binding:\n type: confluentcloud:RoleBinding\n properties:\n principal: User:${exampleUsingNameServiceAccount.id}\n roleName: EnvironmentAdmin\n crnPattern: ${exampleUsingNameEnvironment.resourceName}\nvariables:\n exampleUsingIdEnvironment:\n Fn::Invoke:\n Function: confluentcloud:getEnvironment\n Arguments:\n id: env-abc123\n exampleUsingNameEnvironment:\n Fn::Invoke:\n Function: confluentcloud:getEnvironment\n Arguments:\n displayName: stag\n exampleUsingNameServiceAccount:\n Fn::Invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n displayName: test_sa\noutputs:\n exampleUsingId: ${exampleUsingIdEnvironment}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Environment` describes an Environment data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdEnvironment = confluentcloud.getEnvironment({\n id: \"env-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdEnvironment;\nconst exampleUsingNameEnvironment = confluentcloud.getEnvironment({\n displayName: \"stag\",\n});\nconst exampleUsingNameServiceAccount = confluentcloud.getServiceAccount({\n displayName: \"test_sa\",\n});\nconst test_role_binding = new confluentcloud.RoleBinding(\"test-role-binding\", {\n principal: exampleUsingNameServiceAccount.then(exampleUsingNameServiceAccount =\u003e `User:${exampleUsingNameServiceAccount.id}`),\n roleName: \"EnvironmentAdmin\",\n crnPattern: exampleUsingNameEnvironment.then(exampleUsingNameEnvironment =\u003e exampleUsingNameEnvironment.resourceName),\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_environment = confluentcloud.get_environment(id=\"env-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_environment)\nexample_using_name_environment = confluentcloud.get_environment(display_name=\"stag\")\nexample_using_name_service_account = confluentcloud.get_service_account(display_name=\"test_sa\")\ntest_role_binding = confluentcloud.RoleBinding(\"test-role-binding\",\n principal=f\"User:{example_using_name_service_account.id}\",\n role_name=\"EnvironmentAdmin\",\n crn_pattern=example_using_name_environment.resource_name)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdEnvironment = ConfluentCloud.GetEnvironment.Invoke(new()\n {\n Id = \"env-abc123\",\n });\n\n var exampleUsingNameEnvironment = ConfluentCloud.GetEnvironment.Invoke(new()\n {\n DisplayName = \"stag\",\n });\n\n var exampleUsingNameServiceAccount = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n DisplayName = \"test_sa\",\n });\n\n var test_role_binding = new ConfluentCloud.RoleBinding(\"test-role-binding\", new()\n {\n Principal = $\"User:{exampleUsingNameServiceAccount.Apply(getServiceAccountResult =\u003e getServiceAccountResult.Id)}\",\n RoleName = \"EnvironmentAdmin\",\n CrnPattern = exampleUsingNameEnvironment.Apply(getEnvironmentResult =\u003e getEnvironmentResult.ResourceName),\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdEnvironment.Apply(getEnvironmentResult =\u003e getEnvironmentResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdEnvironment, err := confluentcloud.LookupEnvironment(ctx, \u0026confluentcloud.LookupEnvironmentArgs{\n\t\t\tId: pulumi.StringRef(\"env-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdEnvironment)\n\t\texampleUsingNameEnvironment, err := confluentcloud.LookupEnvironment(ctx, \u0026confluentcloud.LookupEnvironmentArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"stag\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, \u0026confluentcloud.LookupServiceAccountArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"test_sa\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewRoleBinding(ctx, \"test-role-binding\", \u0026confluentcloud.RoleBindingArgs{\n\t\t\tPrincipal: pulumi.String(fmt.Sprintf(\"User:%v\", exampleUsingNameServiceAccount.Id)),\n\t\t\tRoleName: pulumi.String(\"EnvironmentAdmin\"),\n\t\t\tCrnPattern: *pulumi.String(exampleUsingNameEnvironment.ResourceName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetEnvironmentArgs;\nimport com.pulumi.confluentcloud.inputs.GetServiceAccountArgs;\nimport com.pulumi.confluentcloud.RoleBinding;\nimport com.pulumi.confluentcloud.RoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdEnvironment = ConfluentcloudFunctions.getEnvironment(GetEnvironmentArgs.builder()\n .id(\"env-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdEnvironment.applyValue(getEnvironmentResult -\u003e getEnvironmentResult));\n final var exampleUsingNameEnvironment = ConfluentcloudFunctions.getEnvironment(GetEnvironmentArgs.builder()\n .displayName(\"stag\")\n .build());\n\n final var exampleUsingNameServiceAccount = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .displayName(\"test_sa\")\n .build());\n\n var test_role_binding = new RoleBinding(\"test-role-binding\", RoleBindingArgs.builder() \n .principal(String.format(\"User:%s\", exampleUsingNameServiceAccount.applyValue(getServiceAccountResult -\u003e getServiceAccountResult.id())))\n .roleName(\"EnvironmentAdmin\")\n .crnPattern(exampleUsingNameEnvironment.applyValue(getEnvironmentResult -\u003e getEnvironmentResult.resourceName()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test-role-binding:\n type: confluentcloud:RoleBinding\n properties:\n principal: User:${exampleUsingNameServiceAccount.id}\n roleName: EnvironmentAdmin\n crnPattern: ${exampleUsingNameEnvironment.resourceName}\nvariables:\n exampleUsingIdEnvironment:\n fn::invoke:\n Function: confluentcloud:getEnvironment\n Arguments:\n id: env-abc123\n exampleUsingNameEnvironment:\n fn::invoke:\n Function: confluentcloud:getEnvironment\n Arguments:\n displayName: stag\n exampleUsingNameServiceAccount:\n fn::invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n displayName: test_sa\noutputs:\n exampleUsingId: ${exampleUsingIdEnvironment}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getEnvironment.\n", "properties": { @@ -4472,7 +5582,7 @@ } }, "confluentcloud:index/getIdentityPool:getIdentityPool": { - "description": "[![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview\u0026body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n`confluentcloud.IdentityPool` describes an Identity Pool data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdIdentityPool = confluentcloud.getIdentityPool({\n id: \"pool-xyz456\",\n identityProvider: {\n id: \"op-abc123\",\n },\n});\nexport const exampleUsingId = exampleUsingIdIdentityPool;\nconst exampleUsingNameIdentityPool = confluentcloud.getIdentityPool({\n displayName: \"My Identity Pool\",\n identityProvider: {\n id: \"op-abc123\",\n },\n});\nexport const exampleUsingName = exampleUsingNameIdentityPool;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_identity_pool = confluentcloud.get_identity_pool(id=\"pool-xyz456\",\n identity_provider=confluentcloud.GetIdentityPoolIdentityProviderArgs(\n id=\"op-abc123\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_identity_pool)\nexample_using_name_identity_pool = confluentcloud.get_identity_pool(display_name=\"My Identity Pool\",\n identity_provider=confluentcloud.GetIdentityPoolIdentityProviderArgs(\n id=\"op-abc123\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_identity_pool)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdIdentityPool = ConfluentCloud.GetIdentityPool.Invoke(new()\n {\n Id = \"pool-xyz456\",\n IdentityProvider = new ConfluentCloud.Inputs.GetIdentityPoolIdentityProviderInputArgs\n {\n Id = \"op-abc123\",\n },\n });\n\n var exampleUsingNameIdentityPool = ConfluentCloud.GetIdentityPool.Invoke(new()\n {\n DisplayName = \"My Identity Pool\",\n IdentityProvider = new ConfluentCloud.Inputs.GetIdentityPoolIdentityProviderInputArgs\n {\n Id = \"op-abc123\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdIdentityPool.Apply(getIdentityPoolResult =\u003e getIdentityPoolResult),\n [\"exampleUsingName\"] = exampleUsingNameIdentityPool.Apply(getIdentityPoolResult =\u003e getIdentityPoolResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, \u0026GetIdentityPoolArgs{\n\t\t\tId: pulumi.StringRef(\"pool-xyz456\"),\n\t\t\tIdentityProvider: GetIdentityPoolIdentityProvider{\n\t\t\t\tId: \"op-abc123\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdIdentityPool)\n\t\texampleUsingNameIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, \u0026GetIdentityPoolArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"My Identity Pool\"),\n\t\t\tIdentityProvider: GetIdentityPoolIdentityProvider{\n\t\t\t\tId: \"op-abc123\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameIdentityPool)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetIdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.GetIdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdIdentityPool = ConfluentcloudFunctions.getIdentityPool(GetIdentityPoolArgs.builder()\n .id(\"pool-xyz456\")\n .identityProvider(GetIdentityPoolIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdIdentityPool.applyValue(getIdentityPoolResult -\u003e getIdentityPoolResult));\n final var exampleUsingNameIdentityPool = ConfluentcloudFunctions.getIdentityPool(GetIdentityPoolArgs.builder()\n .displayName(\"My Identity Pool\")\n .identityProvider(GetIdentityPoolIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameIdentityPool.applyValue(getIdentityPoolResult -\u003e getIdentityPoolResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdIdentityPool:\n Fn::Invoke:\n Function: confluentcloud:getIdentityPool\n Arguments:\n id: pool-xyz456\n identityProvider:\n id: op-abc123\n exampleUsingNameIdentityPool:\n Fn::Invoke:\n Function: confluentcloud:getIdentityPool\n Arguments:\n displayName: My Identity Pool\n identityProvider:\n id: op-abc123\noutputs:\n exampleUsingId: ${exampleUsingIdIdentityPool}\n exampleUsingName: ${exampleUsingNameIdentityPool}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.IdentityPool` describes an Identity Pool data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdIdentityPool = confluentcloud.getIdentityPool({\n id: \"pool-xyz456\",\n identityProvider: {\n id: \"op-abc123\",\n },\n});\nexport const exampleUsingId = exampleUsingIdIdentityPool;\nconst exampleUsingNameIdentityPool = confluentcloud.getIdentityPool({\n displayName: \"My Identity Pool\",\n identityProvider: {\n id: \"op-abc123\",\n },\n});\nexport const exampleUsingName = exampleUsingNameIdentityPool;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_identity_pool = confluentcloud.get_identity_pool(id=\"pool-xyz456\",\n identity_provider=confluentcloud.GetIdentityPoolIdentityProviderArgs(\n id=\"op-abc123\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_identity_pool)\nexample_using_name_identity_pool = confluentcloud.get_identity_pool(display_name=\"My Identity Pool\",\n identity_provider=confluentcloud.GetIdentityPoolIdentityProviderArgs(\n id=\"op-abc123\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_identity_pool)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdIdentityPool = ConfluentCloud.GetIdentityPool.Invoke(new()\n {\n Id = \"pool-xyz456\",\n IdentityProvider = new ConfluentCloud.Inputs.GetIdentityPoolIdentityProviderInputArgs\n {\n Id = \"op-abc123\",\n },\n });\n\n var exampleUsingNameIdentityPool = ConfluentCloud.GetIdentityPool.Invoke(new()\n {\n DisplayName = \"My Identity Pool\",\n IdentityProvider = new ConfluentCloud.Inputs.GetIdentityPoolIdentityProviderInputArgs\n {\n Id = \"op-abc123\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdIdentityPool.Apply(getIdentityPoolResult =\u003e getIdentityPoolResult),\n [\"exampleUsingName\"] = exampleUsingNameIdentityPool.Apply(getIdentityPoolResult =\u003e getIdentityPoolResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, \u0026confluentcloud.LookupIdentityPoolArgs{\n\t\t\tId: pulumi.StringRef(\"pool-xyz456\"),\n\t\t\tIdentityProvider: confluentcloud.GetIdentityPoolIdentityProvider{\n\t\t\t\tId: \"op-abc123\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdIdentityPool)\n\t\texampleUsingNameIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, \u0026confluentcloud.LookupIdentityPoolArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"My Identity Pool\"),\n\t\t\tIdentityProvider: confluentcloud.GetIdentityPoolIdentityProvider{\n\t\t\t\tId: \"op-abc123\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameIdentityPool)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetIdentityPoolArgs;\nimport com.pulumi.confluentcloud.inputs.GetIdentityPoolIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdIdentityPool = ConfluentcloudFunctions.getIdentityPool(GetIdentityPoolArgs.builder()\n .id(\"pool-xyz456\")\n .identityProvider(GetIdentityPoolIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdIdentityPool.applyValue(getIdentityPoolResult -\u003e getIdentityPoolResult));\n final var exampleUsingNameIdentityPool = ConfluentcloudFunctions.getIdentityPool(GetIdentityPoolArgs.builder()\n .displayName(\"My Identity Pool\")\n .identityProvider(GetIdentityPoolIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameIdentityPool.applyValue(getIdentityPoolResult -\u003e getIdentityPoolResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdIdentityPool:\n fn::invoke:\n Function: confluentcloud:getIdentityPool\n Arguments:\n id: pool-xyz456\n identityProvider:\n id: op-abc123\n exampleUsingNameIdentityPool:\n fn::invoke:\n Function: confluentcloud:getIdentityPool\n Arguments:\n displayName: My Identity Pool\n identityProvider:\n id: op-abc123\noutputs:\n exampleUsingId: ${exampleUsingIdIdentityPool}\n exampleUsingName: ${exampleUsingNameIdentityPool}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdentityPool.\n", "properties": { @@ -4485,7 +5595,8 @@ "description": "The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.\n" }, "identityProvider": { - "$ref": "#/types/confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider" + "$ref": "#/types/confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider", + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -4517,7 +5628,8 @@ "description": "(Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see [Registered Claim Names](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1) for more details). This appears in the audit log records, showing, for example, that \"identity Z used identity pool X to access topic A\".\n" }, "identityProvider": { - "$ref": "#/types/confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider" + "$ref": "#/types/confluentcloud:index/getIdentityPoolIdentityProvider:getIdentityPoolIdentityProvider", + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -4532,7 +5644,7 @@ } }, "confluentcloud:index/getIdentityProvider:getIdentityProvider": { - "description": "[![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview\u0026body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n`confluentcloud.IdentityProvider` describes an Identity Provider data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdIdentityProvider = confluentcloud.getIdentityProvider({\n id: \"op-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdIdentityProvider;\nconst exampleUsingNameIdentityProvider = confluentcloud.getIdentityProvider({\n displayName: \"My OIDC Provider: Azure AD\",\n});\nexport const exampleUsingName = exampleUsingNameIdentityProvider;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_identity_provider = confluentcloud.get_identity_provider(id=\"op-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_identity_provider)\nexample_using_name_identity_provider = confluentcloud.get_identity_provider(display_name=\"My OIDC Provider: Azure AD\")\npulumi.export(\"exampleUsingName\", example_using_name_identity_provider)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdIdentityProvider = ConfluentCloud.GetIdentityProvider.Invoke(new()\n {\n Id = \"op-abc123\",\n });\n\n var exampleUsingNameIdentityProvider = ConfluentCloud.GetIdentityProvider.Invoke(new()\n {\n DisplayName = \"My OIDC Provider: Azure AD\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdIdentityProvider.Apply(getIdentityProviderResult =\u003e getIdentityProviderResult),\n [\"exampleUsingName\"] = exampleUsingNameIdentityProvider.Apply(getIdentityProviderResult =\u003e getIdentityProviderResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, \u0026GetIdentityProviderArgs{\n\t\t\tId: pulumi.StringRef(\"op-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdIdentityProvider)\n\t\texampleUsingNameIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, \u0026GetIdentityProviderArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"My OIDC Provider: Azure AD\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameIdentityProvider)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdIdentityProvider = ConfluentcloudFunctions.getIdentityProvider(GetIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdIdentityProvider.applyValue(getIdentityProviderResult -\u003e getIdentityProviderResult));\n final var exampleUsingNameIdentityProvider = ConfluentcloudFunctions.getIdentityProvider(GetIdentityProviderArgs.builder()\n .displayName(\"My OIDC Provider: Azure AD\")\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameIdentityProvider.applyValue(getIdentityProviderResult -\u003e getIdentityProviderResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdIdentityProvider:\n Fn::Invoke:\n Function: confluentcloud:getIdentityProvider\n Arguments:\n id: op-abc123\n exampleUsingNameIdentityProvider:\n Fn::Invoke:\n Function: confluentcloud:getIdentityProvider\n Arguments:\n displayName: 'My OIDC Provider: Azure AD'\noutputs:\n exampleUsingId: ${exampleUsingIdIdentityProvider}\n exampleUsingName: ${exampleUsingNameIdentityProvider}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.IdentityProvider` describes an Identity Provider data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdIdentityProvider = confluentcloud.getIdentityProvider({\n id: \"op-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdIdentityProvider;\nconst exampleUsingNameIdentityProvider = confluentcloud.getIdentityProvider({\n displayName: \"My OIDC Provider: Azure AD\",\n});\nexport const exampleUsingName = exampleUsingNameIdentityProvider;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_identity_provider = confluentcloud.get_identity_provider(id=\"op-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_identity_provider)\nexample_using_name_identity_provider = confluentcloud.get_identity_provider(display_name=\"My OIDC Provider: Azure AD\")\npulumi.export(\"exampleUsingName\", example_using_name_identity_provider)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdIdentityProvider = ConfluentCloud.GetIdentityProvider.Invoke(new()\n {\n Id = \"op-abc123\",\n });\n\n var exampleUsingNameIdentityProvider = ConfluentCloud.GetIdentityProvider.Invoke(new()\n {\n DisplayName = \"My OIDC Provider: Azure AD\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdIdentityProvider.Apply(getIdentityProviderResult =\u003e getIdentityProviderResult),\n [\"exampleUsingName\"] = exampleUsingNameIdentityProvider.Apply(getIdentityProviderResult =\u003e getIdentityProviderResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, \u0026confluentcloud.LookupIdentityProviderArgs{\n\t\t\tId: pulumi.StringRef(\"op-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdIdentityProvider)\n\t\texampleUsingNameIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, \u0026confluentcloud.LookupIdentityProviderArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"My OIDC Provider: Azure AD\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameIdentityProvider)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetIdentityProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdIdentityProvider = ConfluentcloudFunctions.getIdentityProvider(GetIdentityProviderArgs.builder()\n .id(\"op-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdIdentityProvider.applyValue(getIdentityProviderResult -\u003e getIdentityProviderResult));\n final var exampleUsingNameIdentityProvider = ConfluentcloudFunctions.getIdentityProvider(GetIdentityProviderArgs.builder()\n .displayName(\"My OIDC Provider: Azure AD\")\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameIdentityProvider.applyValue(getIdentityProviderResult -\u003e getIdentityProviderResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdIdentityProvider:\n fn::invoke:\n Function: confluentcloud:getIdentityProvider\n Arguments:\n id: op-abc123\n exampleUsingNameIdentityProvider:\n fn::invoke:\n Function: confluentcloud:getIdentityProvider\n Arguments:\n displayName: 'My OIDC Provider: Azure AD'\noutputs:\n exampleUsingId: ${exampleUsingIdIdentityProvider}\n exampleUsingName: ${exampleUsingNameIdentityProvider}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdentityProvider.\n", "properties": { @@ -4582,7 +5694,7 @@ } }, "confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota": { - "description": "[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access\u0026amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n\u003e **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. \n**Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion.\n\n`confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.\n\n\u003e **Note:** See [Control application usage with Client Quotas](https://docs.confluent.io/cloud/current/clusters/client-quotas.html#control-application-usage-with-client-quotas) for more details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleKafkaClientQuota = confluentcloud.getKafkaClientQuota({\n id: \"cq-abc123\",\n});\nexport const example = exampleKafkaClientQuota;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_kafka_client_quota = confluentcloud.get_kafka_client_quota(id=\"cq-abc123\")\npulumi.export(\"example\", example_kafka_client_quota)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleKafkaClientQuota = ConfluentCloud.GetKafkaClientQuota.Invoke(new()\n {\n Id = \"cq-abc123\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleKafkaClientQuota.Apply(getKafkaClientQuotaResult =\u003e getKafkaClientQuotaResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleKafkaClientQuota, err := confluentcloud.LookupKafkaClientQuota(ctx, \u0026GetKafkaClientQuotaArgs{\n\t\t\tId: \"cq-abc123\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleKafkaClientQuota)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClientQuotaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleKafkaClientQuota = ConfluentcloudFunctions.getKafkaClientQuota(GetKafkaClientQuotaArgs.builder()\n .id(\"cq-abc123\")\n .build());\n\n ctx.export(\"example\", exampleKafkaClientQuota.applyValue(getKafkaClientQuotaResult -\u003e getKafkaClientQuotaResult));\n }\n}\n```\n```yaml\nvariables:\n exampleKafkaClientQuota:\n Fn::Invoke:\n Function: confluentcloud:getKafkaClientQuota\n Arguments:\n id: cq-abc123\noutputs:\n example: ${exampleKafkaClientQuota}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.\n\n\u003e **Note:** See [Control application usage with Client Quotas](https://docs.confluent.io/cloud/current/clusters/client-quotas.html#control-application-usage-with-client-quotas) for more details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleKafkaClientQuota = confluentcloud.getKafkaClientQuota({\n id: \"cq-abc123\",\n});\nexport const example = exampleKafkaClientQuota;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_kafka_client_quota = confluentcloud.get_kafka_client_quota(id=\"cq-abc123\")\npulumi.export(\"example\", example_kafka_client_quota)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleKafkaClientQuota = ConfluentCloud.GetKafkaClientQuota.Invoke(new()\n {\n Id = \"cq-abc123\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleKafkaClientQuota.Apply(getKafkaClientQuotaResult =\u003e getKafkaClientQuotaResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleKafkaClientQuota, err := confluentcloud.LookupKafkaClientQuota(ctx, \u0026confluentcloud.LookupKafkaClientQuotaArgs{\n\t\t\tId: \"cq-abc123\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleKafkaClientQuota)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClientQuotaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleKafkaClientQuota = ConfluentcloudFunctions.getKafkaClientQuota(GetKafkaClientQuotaArgs.builder()\n .id(\"cq-abc123\")\n .build());\n\n ctx.export(\"example\", exampleKafkaClientQuota.applyValue(getKafkaClientQuotaResult -\u003e getKafkaClientQuotaResult));\n }\n}\n```\n```yaml\nvariables:\n exampleKafkaClientQuota:\n fn::invoke:\n Function: confluentcloud:getKafkaClientQuota\n Arguments:\n id: cq-abc123\noutputs:\n example: ${exampleKafkaClientQuota}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getKafkaClientQuota.\n", "properties": { @@ -4601,7 +5713,7 @@ "properties": { "description": { "type": "string", - "description": "(Required String) The description of the Kafka Client Quota.\n- `throughput` (Required Configuration Block) supports the following:\n" + "description": "(Required String) The description of the Kafka Client Quota.\n" }, "displayName": { "type": "string", @@ -4611,7 +5723,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKafkaClientQuotaEnvironment:getKafkaClientQuotaEnvironment" - } + }, + "description": "(Required Configuration Block) supports the following:\n" }, "id": { "type": "string", @@ -4621,20 +5734,22 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKafkaClientQuotaKafkaCluster:getKafkaClientQuotaKafkaCluster" - } + }, + "description": "(Required Configuration Block) supports the following:\n" }, "principals": { "type": "array", "items": { "type": "string" }, - "description": "(Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, \"default\", to represent the default quota for all users and service accounts.\n- `kafka_cluster` (Required Configuration Block) supports the following:\n" + "description": "(Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, \"default\", to represent the default quota for all users and service accounts.\n" }, "throughputs": { "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKafkaClientQuotaThroughput:getKafkaClientQuotaThroughput" - } + }, + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -4650,7 +5765,7 @@ } }, "confluentcloud:index/getKafkaCluster:getKafkaCluster": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KafkaCluster` describes a Kafka cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingId = confluentcloud.getKafkaCluster({\n id: \"lkc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nconst test_sa = new confluentcloud.ServiceAccount(\"test-sa\", {description: exampleUsingId.then(exampleUsingId =\u003e `app_mgr for ${exampleUsingId.displayName}`)});\nconst exampleUsingNameKafkaCluster = confluentcloud.getKafkaCluster({\n displayName: \"basic_kafka_cluster\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameKafkaCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id = confluentcloud.get_kafka_cluster(id=\"lkc-abc123\",\n environment=confluentcloud.GetKafkaClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\ntest_sa = confluentcloud.ServiceAccount(\"test-sa\", description=f\"app_mgr for {example_using_id.display_name}\")\nexample_using_name_kafka_cluster = confluentcloud.get_kafka_cluster(display_name=\"basic_kafka_cluster\",\n environment=confluentcloud.GetKafkaClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_kafka_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingId = ConfluentCloud.GetKafkaCluster.Invoke(new()\n {\n Id = \"lkc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetKafkaClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var test_sa = new ConfluentCloud.ServiceAccount(\"test-sa\", new()\n {\n Description = $\"app_mgr for {exampleUsingId.Apply(getKafkaClusterResult =\u003e getKafkaClusterResult.DisplayName)}\",\n });\n\n var exampleUsingNameKafkaCluster = ConfluentCloud.GetKafkaCluster.Invoke(new()\n {\n DisplayName = \"basic_kafka_cluster\",\n Environment = new ConfluentCloud.Inputs.GetKafkaClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingName\"] = exampleUsingNameKafkaCluster.Apply(getKafkaClusterResult =\u003e getKafkaClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingId, err := confluentcloud.LookupKafkaCluster(ctx, \u0026GetKafkaClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lkc-abc123\"),\n\t\t\tEnvironment: GetKafkaClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewServiceAccount(ctx, \"test-sa\", \u0026confluentcloud.ServiceAccountArgs{\n\t\t\tDescription: pulumi.String(fmt.Sprintf(\"app_mgr for %v\", exampleUsingId.DisplayName)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameKafkaCluster, err := confluentcloud.LookupKafkaCluster(ctx, \u0026GetKafkaClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"basic_kafka_cluster\"),\n\t\t\tEnvironment: GetKafkaClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameKafkaCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.ServiceAccount;\nimport com.pulumi.confluentcloud.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingId = ConfluentcloudFunctions.getKafkaCluster(GetKafkaClusterArgs.builder()\n .id(\"lkc-abc123\")\n .environment(GetKafkaClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n var test_sa = new ServiceAccount(\"test-sa\", ServiceAccountArgs.builder() \n .description(String.format(\"app_mgr for %s\", exampleUsingId.applyValue(getKafkaClusterResult -\u003e getKafkaClusterResult.displayName())))\n .build());\n\n final var exampleUsingNameKafkaCluster = ConfluentcloudFunctions.getKafkaCluster(GetKafkaClusterArgs.builder()\n .displayName(\"basic_kafka_cluster\")\n .environment(GetKafkaClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameKafkaCluster.applyValue(getKafkaClusterResult -\u003e getKafkaClusterResult));\n }\n}\n```\n```yaml\nresources:\n test-sa:\n type: confluentcloud:ServiceAccount\n properties:\n description: app_mgr for ${exampleUsingId.displayName}\nvariables:\n exampleUsingId:\n Fn::Invoke:\n Function: confluentcloud:getKafkaCluster\n Arguments:\n id: lkc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameKafkaCluster:\n Fn::Invoke:\n Function: confluentcloud:getKafkaCluster\n Arguments:\n displayName: basic_kafka_cluster\n environment:\n id: env-xyz456\noutputs:\n exampleUsingName: ${exampleUsingNameKafkaCluster}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KafkaCluster` describes a Kafka cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingId = confluentcloud.getKafkaCluster({\n id: \"lkc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nconst test_sa = new confluentcloud.ServiceAccount(\"test-sa\", {description: exampleUsingId.then(exampleUsingId =\u003e `app_mgr for ${exampleUsingId.displayName}`)});\nconst exampleUsingNameKafkaCluster = confluentcloud.getKafkaCluster({\n displayName: \"basic_kafka_cluster\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameKafkaCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id = confluentcloud.get_kafka_cluster(id=\"lkc-abc123\",\n environment=confluentcloud.GetKafkaClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\ntest_sa = confluentcloud.ServiceAccount(\"test-sa\", description=f\"app_mgr for {example_using_id.display_name}\")\nexample_using_name_kafka_cluster = confluentcloud.get_kafka_cluster(display_name=\"basic_kafka_cluster\",\n environment=confluentcloud.GetKafkaClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_kafka_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingId = ConfluentCloud.GetKafkaCluster.Invoke(new()\n {\n Id = \"lkc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetKafkaClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var test_sa = new ConfluentCloud.ServiceAccount(\"test-sa\", new()\n {\n Description = $\"app_mgr for {exampleUsingId.Apply(getKafkaClusterResult =\u003e getKafkaClusterResult.DisplayName)}\",\n });\n\n var exampleUsingNameKafkaCluster = ConfluentCloud.GetKafkaCluster.Invoke(new()\n {\n DisplayName = \"basic_kafka_cluster\",\n Environment = new ConfluentCloud.Inputs.GetKafkaClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingName\"] = exampleUsingNameKafkaCluster.Apply(getKafkaClusterResult =\u003e getKafkaClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingId, err := confluentcloud.LookupKafkaCluster(ctx, \u0026confluentcloud.LookupKafkaClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lkc-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetKafkaClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewServiceAccount(ctx, \"test-sa\", \u0026confluentcloud.ServiceAccountArgs{\n\t\t\tDescription: pulumi.String(fmt.Sprintf(\"app_mgr for %v\", exampleUsingId.DisplayName)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameKafkaCluster, err := confluentcloud.LookupKafkaCluster(ctx, \u0026confluentcloud.LookupKafkaClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"basic_kafka_cluster\"),\n\t\t\tEnvironment: confluentcloud.GetKafkaClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameKafkaCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetKafkaClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.ServiceAccount;\nimport com.pulumi.confluentcloud.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingId = ConfluentcloudFunctions.getKafkaCluster(GetKafkaClusterArgs.builder()\n .id(\"lkc-abc123\")\n .environment(GetKafkaClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n var test_sa = new ServiceAccount(\"test-sa\", ServiceAccountArgs.builder() \n .description(String.format(\"app_mgr for %s\", exampleUsingId.applyValue(getKafkaClusterResult -\u003e getKafkaClusterResult.displayName())))\n .build());\n\n final var exampleUsingNameKafkaCluster = ConfluentcloudFunctions.getKafkaCluster(GetKafkaClusterArgs.builder()\n .displayName(\"basic_kafka_cluster\")\n .environment(GetKafkaClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameKafkaCluster.applyValue(getKafkaClusterResult -\u003e getKafkaClusterResult));\n }\n}\n```\n```yaml\nresources:\n test-sa:\n type: confluentcloud:ServiceAccount\n properties:\n description: app_mgr for ${exampleUsingId.displayName}\nvariables:\n exampleUsingId:\n fn::invoke:\n Function: confluentcloud:getKafkaCluster\n Arguments:\n id: lkc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameKafkaCluster:\n fn::invoke:\n Function: confluentcloud:getKafkaCluster\n Arguments:\n displayName: basic_kafka_cluster\n environment:\n id: env-xyz456\noutputs:\n exampleUsingName: ${exampleUsingNameKafkaCluster}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getKafkaCluster.\n", "properties": { @@ -4738,7 +5853,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKafkaClusterNetwork:getKafkaClusterNetwork" - } + }, + "description": "(Optional Configuration Block) supports the following:\n" }, "rbacCrn": { "type": "string", @@ -4778,7 +5894,6 @@ } }, "confluentcloud:index/getKafkaTopic:getKafkaTopic": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KafkaTopic` describes a Kafka Topic data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst orders = confluentcloud.getKafkaTopic({\n kafkaCluster: {\n id: confluent_kafka_cluster[\"basic-cluster\"].id,\n },\n topicName: \"orders\",\n restEndpoint: confluent_kafka_cluster[\"basic-cluster\"].rest_endpoint,\n credentials: {\n key: \"\u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\",\n secret: \"\u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\",\n },\n});\nexport const config = orders.then(orders =\u003e orders.config);\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\norders = confluentcloud.get_kafka_topic(kafka_cluster=confluentcloud.GetKafkaTopicKafkaClusterArgs(\n id=confluent_kafka_cluster[\"basic-cluster\"][\"id\"],\n ),\n topic_name=\"orders\",\n rest_endpoint=confluent_kafka_cluster[\"basic-cluster\"][\"rest_endpoint\"],\n credentials=confluentcloud.GetKafkaTopicCredentialsArgs(\n key=\"\u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\",\n secret=\"\u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\",\n ))\npulumi.export(\"config\", orders.config)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var orders = ConfluentCloud.GetKafkaTopic.Invoke(new()\n {\n KafkaCluster = new ConfluentCloud.Inputs.GetKafkaTopicKafkaClusterInputArgs\n {\n Id = confluent_kafka_cluster.Basic_cluster.Id,\n },\n TopicName = \"orders\",\n RestEndpoint = confluent_kafka_cluster.Basic_cluster.Rest_endpoint,\n Credentials = new ConfluentCloud.Inputs.GetKafkaTopicCredentialsInputArgs\n {\n Key = \"\u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\",\n Secret = \"\u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"config\"] = orders.Apply(getKafkaTopicResult =\u003e getKafkaTopicResult.Config),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\torders, err := confluentcloud.LookupKafkaTopic(ctx, \u0026GetKafkaTopicArgs{\n\t\t\tKafkaCluster: GetKafkaTopicKafkaCluster{\n\t\t\t\tId: confluent_kafka_cluster.Basic - cluster.Id,\n\t\t\t},\n\t\t\tTopicName: \"orders\",\n\t\t\tRestEndpoint: confluent_kafka_cluster.Basic - cluster.Rest_endpoint,\n\t\t\tCredentials: GetKafkaTopicCredentials{\n\t\t\t\tKey: \"\u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\",\n\t\t\t\tSecret: \"\u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"config\", orders.Config)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKafkaTopicArgs;\nimport com.pulumi.confluentcloud.inputs.GetKafkaTopicKafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetKafkaTopicCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var orders = ConfluentcloudFunctions.getKafkaTopic(GetKafkaTopicArgs.builder()\n .kafkaCluster(GetKafkaTopicKafkaClusterArgs.builder()\n .id(confluent_kafka_cluster.basic-cluster().id())\n .build())\n .topicName(\"orders\")\n .restEndpoint(confluent_kafka_cluster.basic-cluster().rest_endpoint())\n .credentials(GetKafkaTopicCredentialsArgs.builder()\n .key(\"\u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\")\n .secret(\"\u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\")\n .build())\n .build());\n\n ctx.export(\"config\", orders.applyValue(getKafkaTopicResult -\u003e getKafkaTopicResult.config()));\n }\n}\n```\n```yaml\nvariables:\n orders:\n Fn::Invoke:\n Function: confluentcloud:getKafkaTopic\n Arguments:\n kafkaCluster:\n id: ${confluent_kafka_cluster\"basic-cluster\"[%!s(MISSING)].id}\n topicName: orders\n restEndpoint: ${confluent_kafka_cluster\"basic-cluster\"[%!s(MISSING)].rest_endpoint}\n credentials:\n key: \u003cKafka API Key for confluent_kafka_cluster.basic-cluster\u003e\n secret: \u003cKafka API Secret for confluent_kafka_cluster.basic-cluster\u003e\noutputs:\n config: ${orders.config}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getKafkaTopic.\n", "properties": { @@ -4800,7 +5915,6 @@ }, "type": "object", "required": [ - "kafkaCluster", "restEndpoint", "topicName" ] @@ -4840,7 +5954,6 @@ "type": "object", "required": [ "config", - "kafkaCluster", "partitionsCount", "restEndpoint", "topicName", @@ -4849,7 +5962,7 @@ } }, "confluentcloud:index/getKsqlCluster:getKsqlCluster": { - "description": "## # confluentcloud.KsqlCluster Data Source\n\n[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KsqlCluster` describes a ksqlDB cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdKsqlCluster = confluentcloud.getKsqlCluster({\n id: \"lksqlc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdKsqlCluster;\nconst exampleUsingNameKsqlCluster = confluentcloud.getKsqlCluster({\n displayName: \"ksqldb_cluster\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameKsqlCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_ksql_cluster = confluentcloud.get_ksql_cluster(id=\"lksqlc-abc123\",\n environment=confluentcloud.GetKsqlClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_ksql_cluster)\nexample_using_name_ksql_cluster = confluentcloud.get_ksql_cluster(display_name=\"ksqldb_cluster\",\n environment=confluentcloud.GetKsqlClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_ksql_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdKsqlCluster = ConfluentCloud.GetKsqlCluster.Invoke(new()\n {\n Id = \"lksqlc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetKsqlClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameKsqlCluster = ConfluentCloud.GetKsqlCluster.Invoke(new()\n {\n DisplayName = \"ksqldb_cluster\",\n Environment = new ConfluentCloud.Inputs.GetKsqlClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdKsqlCluster.Apply(getKsqlClusterResult =\u003e getKsqlClusterResult),\n [\"exampleUsingName\"] = exampleUsingNameKsqlCluster.Apply(getKsqlClusterResult =\u003e getKsqlClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, \u0026GetKsqlClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lksqlc-abc123\"),\n\t\t\tEnvironment: GetKsqlClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdKsqlCluster)\n\t\texampleUsingNameKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, \u0026GetKsqlClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"ksqldb_cluster\"),\n\t\t\tEnvironment: GetKsqlClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameKsqlCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKsqlClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetKsqlClusterEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdKsqlCluster = ConfluentcloudFunctions.getKsqlCluster(GetKsqlClusterArgs.builder()\n .id(\"lksqlc-abc123\")\n .environment(GetKsqlClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdKsqlCluster.applyValue(getKsqlClusterResult -\u003e getKsqlClusterResult));\n final var exampleUsingNameKsqlCluster = ConfluentcloudFunctions.getKsqlCluster(GetKsqlClusterArgs.builder()\n .displayName(\"ksqldb_cluster\")\n .environment(GetKsqlClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameKsqlCluster.applyValue(getKsqlClusterResult -\u003e getKsqlClusterResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdKsqlCluster:\n Fn::Invoke:\n Function: confluentcloud:getKsqlCluster\n Arguments:\n id: lksqlc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameKsqlCluster:\n Fn::Invoke:\n Function: confluentcloud:getKsqlCluster\n Arguments:\n displayName: ksqldb_cluster\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdKsqlCluster}\n exampleUsingName: ${exampleUsingNameKsqlCluster}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "## # confluentcloud.KsqlCluster Data Source\n\n[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.KsqlCluster` describes a ksqlDB cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdKsqlCluster = confluentcloud.getKsqlCluster({\n id: \"lksqlc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdKsqlCluster;\nconst exampleUsingNameKsqlCluster = confluentcloud.getKsqlCluster({\n displayName: \"ksqldb_cluster\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameKsqlCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_ksql_cluster = confluentcloud.get_ksql_cluster(id=\"lksqlc-abc123\",\n environment=confluentcloud.GetKsqlClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_ksql_cluster)\nexample_using_name_ksql_cluster = confluentcloud.get_ksql_cluster(display_name=\"ksqldb_cluster\",\n environment=confluentcloud.GetKsqlClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_ksql_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdKsqlCluster = ConfluentCloud.GetKsqlCluster.Invoke(new()\n {\n Id = \"lksqlc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetKsqlClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameKsqlCluster = ConfluentCloud.GetKsqlCluster.Invoke(new()\n {\n DisplayName = \"ksqldb_cluster\",\n Environment = new ConfluentCloud.Inputs.GetKsqlClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdKsqlCluster.Apply(getKsqlClusterResult =\u003e getKsqlClusterResult),\n [\"exampleUsingName\"] = exampleUsingNameKsqlCluster.Apply(getKsqlClusterResult =\u003e getKsqlClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, \u0026confluentcloud.LookupKsqlClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lksqlc-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetKsqlClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdKsqlCluster)\n\t\texampleUsingNameKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, \u0026confluentcloud.LookupKsqlClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"ksqldb_cluster\"),\n\t\t\tEnvironment: confluentcloud.GetKsqlClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameKsqlCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetKsqlClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetKsqlClusterEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdKsqlCluster = ConfluentcloudFunctions.getKsqlCluster(GetKsqlClusterArgs.builder()\n .id(\"lksqlc-abc123\")\n .environment(GetKsqlClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdKsqlCluster.applyValue(getKsqlClusterResult -\u003e getKsqlClusterResult));\n final var exampleUsingNameKsqlCluster = ConfluentcloudFunctions.getKsqlCluster(GetKsqlClusterArgs.builder()\n .displayName(\"ksqldb_cluster\")\n .environment(GetKsqlClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameKsqlCluster.applyValue(getKsqlClusterResult -\u003e getKsqlClusterResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdKsqlCluster:\n fn::invoke:\n Function: confluentcloud:getKsqlCluster\n Arguments:\n id: lksqlc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameKsqlCluster:\n fn::invoke:\n Function: confluentcloud:getKsqlCluster\n Arguments:\n displayName: ksqldb_cluster\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdKsqlCluster}\n exampleUsingName: ${exampleUsingNameKsqlCluster}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getKsqlCluster.\n", "properties": { @@ -4881,11 +5994,12 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKsqlClusterCredentialIdentity:getKsqlClusterCredentialIdentity" - } + }, + "description": "(Optional Configuration Block) supports the following:\n" }, "csu": { "type": "integer", - "description": "(Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster.\n- `use_detailed_processing_log` (Optional Boolean) Controls whether the row data should be included in the processing log topic.\n" + "description": "(Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster.\n" }, "displayName": { "type": "string" @@ -4901,7 +6015,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getKsqlClusterKafkaCluster:getKsqlClusterKafkaCluster" - } + }, + "description": "(Optional Configuration Block) supports the following:\n" }, "kind": { "type": "string", @@ -4913,8 +6028,7 @@ }, "restEndpoint": { "type": "string", - "description": "(Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`.\n- `kafka_cluster` (Optional Configuration Block) supports the following:\n", - "deprecationMessage": "use rest_endpoint instead" + "description": "(Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`.\n" }, "storage": { "type": "integer", @@ -4925,7 +6039,8 @@ "description": "(Required String) Topic name prefix used by this ksqlDB cluster. Used to assign ACLs for this ksqlDB cluster to use, for example, `pksqlc-00000`.\n" }, "useDetailedProcessingLog": { - "type": "boolean" + "type": "boolean", + "description": "(Optional Boolean) Controls whether the row data should be included in the processing log topic.\n" } }, "type": "object", @@ -4947,7 +6062,7 @@ } }, "confluentcloud:index/getNetwork:getNetwork": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Network` describes a Network data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingId = confluentcloud.getNetwork({\n id: \"n-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nconst test_sa = new confluentcloud.ServiceAccount(\"test-sa\", {description: exampleUsingId.then(exampleUsingId =\u003e `test_sa for ${exampleUsingId.displayName}`)});\nconst exampleUsingNameNetwork = confluentcloud.getNetwork({\n displayName: \"my_network\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameNetwork;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id = confluentcloud.get_network(id=\"n-abc123\",\n environment=confluentcloud.GetNetworkEnvironmentArgs(\n id=\"env-xyz456\",\n ))\ntest_sa = confluentcloud.ServiceAccount(\"test-sa\", description=f\"test_sa for {example_using_id.display_name}\")\nexample_using_name_network = confluentcloud.get_network(display_name=\"my_network\",\n environment=confluentcloud.GetNetworkEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_network)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingId = ConfluentCloud.GetNetwork.Invoke(new()\n {\n Id = \"n-abc123\",\n Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var test_sa = new ConfluentCloud.ServiceAccount(\"test-sa\", new()\n {\n Description = $\"test_sa for {exampleUsingId.Apply(getNetworkResult =\u003e getNetworkResult.DisplayName)}\",\n });\n\n var exampleUsingNameNetwork = ConfluentCloud.GetNetwork.Invoke(new()\n {\n DisplayName = \"my_network\",\n Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingName\"] = exampleUsingNameNetwork.Apply(getNetworkResult =\u003e getNetworkResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingId, err := confluentcloud.LookupNetwork(ctx, \u0026GetNetworkArgs{\n\t\t\tId: pulumi.StringRef(\"n-abc123\"),\n\t\t\tEnvironment: GetNetworkEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewServiceAccount(ctx, \"test-sa\", \u0026confluentcloud.ServiceAccountArgs{\n\t\t\tDescription: pulumi.String(fmt.Sprintf(\"test_sa for %v\", exampleUsingId.DisplayName)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameNetwork, err := confluentcloud.LookupNetwork(ctx, \u0026GetNetworkArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_network\"),\n\t\t\tEnvironment: GetNetworkEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameNetwork)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetNetworkArgs;\nimport com.pulumi.confluentcloud.inputs.GetNetworkEnvironmentArgs;\nimport com.pulumi.confluentcloud.ServiceAccount;\nimport com.pulumi.confluentcloud.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingId = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()\n .id(\"n-abc123\")\n .environment(GetNetworkEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n var test_sa = new ServiceAccount(\"test-sa\", ServiceAccountArgs.builder() \n .description(String.format(\"test_sa for %s\", exampleUsingId.applyValue(getNetworkResult -\u003e getNetworkResult.displayName())))\n .build());\n\n final var exampleUsingNameNetwork = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()\n .displayName(\"my_network\")\n .environment(GetNetworkEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameNetwork.applyValue(getNetworkResult -\u003e getNetworkResult));\n }\n}\n```\n```yaml\nresources:\n test-sa:\n type: confluentcloud:ServiceAccount\n properties:\n description: test_sa for ${exampleUsingId.displayName}\nvariables:\n exampleUsingId:\n Fn::Invoke:\n Function: confluentcloud:getNetwork\n Arguments:\n id: n-abc123\n environment:\n id: env-xyz456\n exampleUsingNameNetwork:\n Fn::Invoke:\n Function: confluentcloud:getNetwork\n Arguments:\n displayName: my_network\n environment:\n id: env-xyz456\noutputs:\n exampleUsingName: ${exampleUsingNameNetwork}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Network` describes a Network data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingId = confluentcloud.getNetwork({\n id: \"n-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nconst test_sa = new confluentcloud.ServiceAccount(\"test-sa\", {description: exampleUsingId.then(exampleUsingId =\u003e `test_sa for ${exampleUsingId.displayName}`)});\nconst exampleUsingNameNetwork = confluentcloud.getNetwork({\n displayName: \"my_network\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameNetwork;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id = confluentcloud.get_network(id=\"n-abc123\",\n environment=confluentcloud.GetNetworkEnvironmentArgs(\n id=\"env-xyz456\",\n ))\ntest_sa = confluentcloud.ServiceAccount(\"test-sa\", description=f\"test_sa for {example_using_id.display_name}\")\nexample_using_name_network = confluentcloud.get_network(display_name=\"my_network\",\n environment=confluentcloud.GetNetworkEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_network)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingId = ConfluentCloud.GetNetwork.Invoke(new()\n {\n Id = \"n-abc123\",\n Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var test_sa = new ConfluentCloud.ServiceAccount(\"test-sa\", new()\n {\n Description = $\"test_sa for {exampleUsingId.Apply(getNetworkResult =\u003e getNetworkResult.DisplayName)}\",\n });\n\n var exampleUsingNameNetwork = ConfluentCloud.GetNetwork.Invoke(new()\n {\n DisplayName = \"my_network\",\n Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingName\"] = exampleUsingNameNetwork.Apply(getNetworkResult =\u003e getNetworkResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingId, err := confluentcloud.LookupNetwork(ctx, \u0026confluentcloud.LookupNetworkArgs{\n\t\t\tId: pulumi.StringRef(\"n-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetNetworkEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewServiceAccount(ctx, \"test-sa\", \u0026confluentcloud.ServiceAccountArgs{\n\t\t\tDescription: pulumi.String(fmt.Sprintf(\"test_sa for %v\", exampleUsingId.DisplayName)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsingNameNetwork, err := confluentcloud.LookupNetwork(ctx, \u0026confluentcloud.LookupNetworkArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_network\"),\n\t\t\tEnvironment: confluentcloud.GetNetworkEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameNetwork)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetNetworkArgs;\nimport com.pulumi.confluentcloud.inputs.GetNetworkEnvironmentArgs;\nimport com.pulumi.confluentcloud.ServiceAccount;\nimport com.pulumi.confluentcloud.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingId = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()\n .id(\"n-abc123\")\n .environment(GetNetworkEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n var test_sa = new ServiceAccount(\"test-sa\", ServiceAccountArgs.builder() \n .description(String.format(\"test_sa for %s\", exampleUsingId.applyValue(getNetworkResult -\u003e getNetworkResult.displayName())))\n .build());\n\n final var exampleUsingNameNetwork = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()\n .displayName(\"my_network\")\n .environment(GetNetworkEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameNetwork.applyValue(getNetworkResult -\u003e getNetworkResult));\n }\n}\n```\n```yaml\nresources:\n test-sa:\n type: confluentcloud:ServiceAccount\n properties:\n description: test_sa for ${exampleUsingId.displayName}\nvariables:\n exampleUsingId:\n fn::invoke:\n Function: confluentcloud:getNetwork\n Arguments:\n id: n-abc123\n environment:\n id: env-xyz456\n exampleUsingNameNetwork:\n fn::invoke:\n Function: confluentcloud:getNetwork\n Arguments:\n displayName: my_network\n environment:\n id: env-xyz456\noutputs:\n exampleUsingName: ${exampleUsingNameNetwork}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNetwork.\n", "properties": { @@ -4969,6 +6084,13 @@ "type": "string", "description": "A human-readable name for the Network.\n" }, + "dnsConfigs": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/getNetworkDnsConfig:getNetworkDnsConfig" + }, + "description": "(Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:\n" + }, "environment": { "$ref": "#/types/confluentcloud:index/getNetworkEnvironment:getNetworkEnvironment" }, @@ -5025,6 +6147,13 @@ "type": "string", "description": "(Required String) The name of the Network.\n" }, + "dnsConfigs": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/getNetworkDnsConfig:getNetworkDnsConfig" + }, + "description": "(Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:\n" + }, "dnsDomain": { "type": "string" }, @@ -5061,7 +6190,7 @@ "items": { "type": "string" }, - "description": "(Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n" + "description": "(Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks\nused with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP\nnetworks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.\nOn AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.\nOn GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.\nOn Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.\n" } }, "type": "object", @@ -5072,6 +6201,7 @@ "cloud", "connectionTypes", "displayName", + "dnsConfigs", "dnsDomain", "environment", "gcps", @@ -5084,7 +6214,7 @@ } }, "confluentcloud:index/getOrganization:getOrganization": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getOrganization` describes an Organization data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleOrganization = confluentcloud.getOrganization({});\nexport const example = exampleOrganization;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_organization = confluentcloud.get_organization()\npulumi.export(\"example\", example_organization)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleOrganization = ConfluentCloud.GetOrganization.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleOrganization.Apply(getOrganizationResult =\u003e getOrganizationResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleOrganization, err := confluentcloud.GetOrganization(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleOrganization)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleOrganization = ConfluentcloudFunctions.getOrganization();\n\n ctx.export(\"example\", exampleOrganization.applyValue(getOrganizationResult -\u003e getOrganizationResult));\n }\n}\n```\n```yaml\nvariables:\n exampleOrganization:\n Fn::Invoke:\n Function: confluentcloud:getOrganization\n Arguments: {}\noutputs:\n example: ${exampleOrganization}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getOrganization` describes an Organization data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleOrganization = confluentcloud.getOrganization({});\nexport const example = exampleOrganization;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_organization = confluentcloud.get_organization()\npulumi.export(\"example\", example_organization)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleOrganization = ConfluentCloud.GetOrganization.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleOrganization.Apply(getOrganizationResult =\u003e getOrganizationResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleOrganization, err := confluentcloud.GetOrganization(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleOrganization)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleOrganization = ConfluentcloudFunctions.getOrganization();\n\n ctx.export(\"example\", exampleOrganization.applyValue(getOrganizationResult -\u003e getOrganizationResult));\n }\n}\n```\n```yaml\nvariables:\n exampleOrganization:\n fn::invoke:\n Function: confluentcloud:getOrganization\n Arguments: {}\noutputs:\n example: ${exampleOrganization}\n```\n{{% /example %}}\n{{% /examples %}}", "outputs": { "description": "A collection of values returned by getOrganization.\n", "properties": { @@ -5105,7 +6235,7 @@ } }, "confluentcloud:index/getPeering:getPeering": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Peering` describes a Peering data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdPeering = confluentcloud.getPeering({\n id: \"peer-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdPeering;\nconst exampleUsingNamePeering = confluentcloud.getPeering({\n displayName: \"my_peering\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNamePeering;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_peering = confluentcloud.get_peering(id=\"peer-abc123\",\n environment=confluentcloud.GetPeeringEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_peering)\nexample_using_name_peering = confluentcloud.get_peering(display_name=\"my_peering\",\n environment=confluentcloud.GetPeeringEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_peering)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdPeering = ConfluentCloud.GetPeering.Invoke(new()\n {\n Id = \"peer-abc123\",\n Environment = new ConfluentCloud.Inputs.GetPeeringEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNamePeering = ConfluentCloud.GetPeering.Invoke(new()\n {\n DisplayName = \"my_peering\",\n Environment = new ConfluentCloud.Inputs.GetPeeringEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdPeering.Apply(getPeeringResult =\u003e getPeeringResult),\n [\"exampleUsingName\"] = exampleUsingNamePeering.Apply(getPeeringResult =\u003e getPeeringResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdPeering, err := confluentcloud.LookupPeering(ctx, \u0026GetPeeringArgs{\n\t\t\tId: pulumi.StringRef(\"peer-abc123\"),\n\t\t\tEnvironment: GetPeeringEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdPeering)\n\t\texampleUsingNamePeering, err := confluentcloud.LookupPeering(ctx, \u0026GetPeeringArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_peering\"),\n\t\t\tEnvironment: GetPeeringEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNamePeering)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetPeeringArgs;\nimport com.pulumi.confluentcloud.inputs.GetPeeringEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdPeering = ConfluentcloudFunctions.getPeering(GetPeeringArgs.builder()\n .id(\"peer-abc123\")\n .environment(GetPeeringEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdPeering.applyValue(getPeeringResult -\u003e getPeeringResult));\n final var exampleUsingNamePeering = ConfluentcloudFunctions.getPeering(GetPeeringArgs.builder()\n .displayName(\"my_peering\")\n .environment(GetPeeringEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNamePeering.applyValue(getPeeringResult -\u003e getPeeringResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdPeering:\n Fn::Invoke:\n Function: confluentcloud:getPeering\n Arguments:\n id: peer-abc123\n environment:\n id: env-xyz456\n exampleUsingNamePeering:\n Fn::Invoke:\n Function: confluentcloud:getPeering\n Arguments:\n displayName: my_peering\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdPeering}\n exampleUsingName: ${exampleUsingNamePeering}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.Peering` describes a Peering data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdPeering = confluentcloud.getPeering({\n id: \"peer-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdPeering;\nconst exampleUsingNamePeering = confluentcloud.getPeering({\n displayName: \"my_peering\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNamePeering;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_peering = confluentcloud.get_peering(id=\"peer-abc123\",\n environment=confluentcloud.GetPeeringEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_peering)\nexample_using_name_peering = confluentcloud.get_peering(display_name=\"my_peering\",\n environment=confluentcloud.GetPeeringEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_peering)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdPeering = ConfluentCloud.GetPeering.Invoke(new()\n {\n Id = \"peer-abc123\",\n Environment = new ConfluentCloud.Inputs.GetPeeringEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNamePeering = ConfluentCloud.GetPeering.Invoke(new()\n {\n DisplayName = \"my_peering\",\n Environment = new ConfluentCloud.Inputs.GetPeeringEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdPeering.Apply(getPeeringResult =\u003e getPeeringResult),\n [\"exampleUsingName\"] = exampleUsingNamePeering.Apply(getPeeringResult =\u003e getPeeringResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdPeering, err := confluentcloud.LookupPeering(ctx, \u0026confluentcloud.LookupPeeringArgs{\n\t\t\tId: pulumi.StringRef(\"peer-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetPeeringEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdPeering)\n\t\texampleUsingNamePeering, err := confluentcloud.LookupPeering(ctx, \u0026confluentcloud.LookupPeeringArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_peering\"),\n\t\t\tEnvironment: confluentcloud.GetPeeringEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNamePeering)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetPeeringArgs;\nimport com.pulumi.confluentcloud.inputs.GetPeeringEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdPeering = ConfluentcloudFunctions.getPeering(GetPeeringArgs.builder()\n .id(\"peer-abc123\")\n .environment(GetPeeringEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdPeering.applyValue(getPeeringResult -\u003e getPeeringResult));\n final var exampleUsingNamePeering = ConfluentcloudFunctions.getPeering(GetPeeringArgs.builder()\n .displayName(\"my_peering\")\n .environment(GetPeeringEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNamePeering.applyValue(getPeeringResult -\u003e getPeeringResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdPeering:\n fn::invoke:\n Function: confluentcloud:getPeering\n Arguments:\n id: peer-abc123\n environment:\n id: env-xyz456\n exampleUsingNamePeering:\n fn::invoke:\n Function: confluentcloud:getPeering\n Arguments:\n displayName: my_peering\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdPeering}\n exampleUsingName: ${exampleUsingNamePeering}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPeering.\n", "properties": { @@ -5114,7 +6244,8 @@ "description": "A human-readable name for the Peering.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getPeeringEnvironment:getPeeringEnvironment" + "$ref": "#/types/confluentcloud:index/getPeeringEnvironment:getPeeringEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "id": { "type": "string", @@ -5145,10 +6276,11 @@ }, "displayName": { "type": "string", - "description": "(Optional String) The name of the Peering.\n- `environment` (Required Configuration Block) supports the following:\n" + "description": "(Optional String) The name of the Peering.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getPeeringEnvironment:getPeeringEnvironment" + "$ref": "#/types/confluentcloud:index/getPeeringEnvironment:getPeeringEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "gcps": { "type": "array", @@ -5165,7 +6297,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getPeeringNetwork:getPeeringNetwork" - } + }, + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -5181,7 +6314,7 @@ } }, "confluentcloud:index/getPrivateLinkAccess:getPrivateLinkAccess": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.PrivateLinkAccess` describes a Private Link Access data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdPrivateLinkAccess = confluentcloud.getPrivateLinkAccess({\n id: \"pla-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdPrivateLinkAccess;\nconst exampleUsingNamePrivateLinkAccess = confluentcloud.getPrivateLinkAccess({\n displayName: \"my_pla\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNamePrivateLinkAccess;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_private_link_access = confluentcloud.get_private_link_access(id=\"pla-abc123\",\n environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_private_link_access)\nexample_using_name_private_link_access = confluentcloud.get_private_link_access(display_name=\"my_pla\",\n environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_private_link_access)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdPrivateLinkAccess = ConfluentCloud.GetPrivateLinkAccess.Invoke(new()\n {\n Id = \"pla-abc123\",\n Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNamePrivateLinkAccess = ConfluentCloud.GetPrivateLinkAccess.Invoke(new()\n {\n DisplayName = \"my_pla\",\n Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdPrivateLinkAccess.Apply(getPrivateLinkAccessResult =\u003e getPrivateLinkAccessResult),\n [\"exampleUsingName\"] = exampleUsingNamePrivateLinkAccess.Apply(getPrivateLinkAccessResult =\u003e getPrivateLinkAccessResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdPrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, \u0026GetPrivateLinkAccessArgs{\n\t\t\tId: pulumi.StringRef(\"pla-abc123\"),\n\t\t\tEnvironment: GetPrivateLinkAccessEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdPrivateLinkAccess)\n\t\texampleUsingNamePrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, \u0026GetPrivateLinkAccessArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_pla\"),\n\t\t\tEnvironment: GetPrivateLinkAccessEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNamePrivateLinkAccess)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessArgs;\nimport com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdPrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()\n .id(\"pla-abc123\")\n .environment(GetPrivateLinkAccessEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdPrivateLinkAccess.applyValue(getPrivateLinkAccessResult -\u003e getPrivateLinkAccessResult));\n final var exampleUsingNamePrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()\n .displayName(\"my_pla\")\n .environment(GetPrivateLinkAccessEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNamePrivateLinkAccess.applyValue(getPrivateLinkAccessResult -\u003e getPrivateLinkAccessResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdPrivateLinkAccess:\n Fn::Invoke:\n Function: confluentcloud:getPrivateLinkAccess\n Arguments:\n id: pla-abc123\n environment:\n id: env-xyz456\n exampleUsingNamePrivateLinkAccess:\n Fn::Invoke:\n Function: confluentcloud:getPrivateLinkAccess\n Arguments:\n displayName: my_pla\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdPrivateLinkAccess}\n exampleUsingName: ${exampleUsingNamePrivateLinkAccess}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.PrivateLinkAccess` describes a Private Link Access data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdPrivateLinkAccess = confluentcloud.getPrivateLinkAccess({\n id: \"pla-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdPrivateLinkAccess;\nconst exampleUsingNamePrivateLinkAccess = confluentcloud.getPrivateLinkAccess({\n displayName: \"my_pla\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNamePrivateLinkAccess;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_private_link_access = confluentcloud.get_private_link_access(id=\"pla-abc123\",\n environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_private_link_access)\nexample_using_name_private_link_access = confluentcloud.get_private_link_access(display_name=\"my_pla\",\n environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_private_link_access)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdPrivateLinkAccess = ConfluentCloud.GetPrivateLinkAccess.Invoke(new()\n {\n Id = \"pla-abc123\",\n Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNamePrivateLinkAccess = ConfluentCloud.GetPrivateLinkAccess.Invoke(new()\n {\n DisplayName = \"my_pla\",\n Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdPrivateLinkAccess.Apply(getPrivateLinkAccessResult =\u003e getPrivateLinkAccessResult),\n [\"exampleUsingName\"] = exampleUsingNamePrivateLinkAccess.Apply(getPrivateLinkAccessResult =\u003e getPrivateLinkAccessResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdPrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, \u0026confluentcloud.LookupPrivateLinkAccessArgs{\n\t\t\tId: pulumi.StringRef(\"pla-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetPrivateLinkAccessEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdPrivateLinkAccess)\n\t\texampleUsingNamePrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, \u0026confluentcloud.LookupPrivateLinkAccessArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_pla\"),\n\t\t\tEnvironment: confluentcloud.GetPrivateLinkAccessEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNamePrivateLinkAccess)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessArgs;\nimport com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdPrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()\n .id(\"pla-abc123\")\n .environment(GetPrivateLinkAccessEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdPrivateLinkAccess.applyValue(getPrivateLinkAccessResult -\u003e getPrivateLinkAccessResult));\n final var exampleUsingNamePrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()\n .displayName(\"my_pla\")\n .environment(GetPrivateLinkAccessEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNamePrivateLinkAccess.applyValue(getPrivateLinkAccessResult -\u003e getPrivateLinkAccessResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdPrivateLinkAccess:\n fn::invoke:\n Function: confluentcloud:getPrivateLinkAccess\n Arguments:\n id: pla-abc123\n environment:\n id: env-xyz456\n exampleUsingNamePrivateLinkAccess:\n fn::invoke:\n Function: confluentcloud:getPrivateLinkAccess\n Arguments:\n displayName: my_pla\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdPrivateLinkAccess}\n exampleUsingName: ${exampleUsingNamePrivateLinkAccess}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPrivateLinkAccess.\n", "properties": { @@ -5190,7 +6323,8 @@ "description": "A human-readable name for the Private Link Access.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getPrivateLinkAccessEnvironment:getPrivateLinkAccessEnvironment" + "$ref": "#/types/confluentcloud:index/getPrivateLinkAccessEnvironment:getPrivateLinkAccessEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "id": { "type": "string", @@ -5221,10 +6355,11 @@ }, "displayName": { "type": "string", - "description": "(Optional String) The name of the Private Link Access.\n- `environment` (Required Configuration Block) supports the following:\n" + "description": "(Optional String) The name of the Private Link Access.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getPrivateLinkAccessEnvironment:getPrivateLinkAccessEnvironment" + "$ref": "#/types/confluentcloud:index/getPrivateLinkAccessEnvironment:getPrivateLinkAccessEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "gcps": { "type": "array", @@ -5241,7 +6376,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getPrivateLinkAccessNetwork:getPrivateLinkAccessNetwork" - } + }, + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -5257,7 +6393,7 @@ } }, "confluentcloud:index/getRoleBinding:getRoleBinding": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.RoleBinding` describes a Role Binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleRoleBinding = confluentcloud.getRoleBinding({\n id: \"rb-abc123\",\n});\nexport const example = exampleRoleBinding;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_role_binding = confluentcloud.get_role_binding(id=\"rb-abc123\")\npulumi.export(\"example\", example_role_binding)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleRoleBinding = ConfluentCloud.GetRoleBinding.Invoke(new()\n {\n Id = \"rb-abc123\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleRoleBinding.Apply(getRoleBindingResult =\u003e getRoleBindingResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleRoleBinding, err := confluentcloud.LookupRoleBinding(ctx, \u0026GetRoleBindingArgs{\n\t\t\tId: \"rb-abc123\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleRoleBinding)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetRoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleRoleBinding = ConfluentcloudFunctions.getRoleBinding(GetRoleBindingArgs.builder()\n .id(\"rb-abc123\")\n .build());\n\n ctx.export(\"example\", exampleRoleBinding.applyValue(getRoleBindingResult -\u003e getRoleBindingResult));\n }\n}\n```\n```yaml\nvariables:\n exampleRoleBinding:\n Fn::Invoke:\n Function: confluentcloud:getRoleBinding\n Arguments:\n id: rb-abc123\noutputs:\n example: ${exampleRoleBinding}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.RoleBinding` describes a Role Binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleRoleBinding = confluentcloud.getRoleBinding({\n id: \"rb-abc123\",\n});\nexport const example = exampleRoleBinding;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_role_binding = confluentcloud.get_role_binding(id=\"rb-abc123\")\npulumi.export(\"example\", example_role_binding)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleRoleBinding = ConfluentCloud.GetRoleBinding.Invoke(new()\n {\n Id = \"rb-abc123\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleRoleBinding.Apply(getRoleBindingResult =\u003e getRoleBindingResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleRoleBinding, err := confluentcloud.LookupRoleBinding(ctx, \u0026confluentcloud.LookupRoleBindingArgs{\n\t\t\tId: \"rb-abc123\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleRoleBinding)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetRoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleRoleBinding = ConfluentcloudFunctions.getRoleBinding(GetRoleBindingArgs.builder()\n .id(\"rb-abc123\")\n .build());\n\n ctx.export(\"example\", exampleRoleBinding.applyValue(getRoleBindingResult -\u003e getRoleBindingResult));\n }\n}\n```\n```yaml\nvariables:\n exampleRoleBinding:\n fn::invoke:\n Function: confluentcloud:getRoleBinding\n Arguments:\n id: rb-abc123\noutputs:\n example: ${exampleRoleBinding}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getRoleBinding.\n", "properties": { @@ -5299,8 +6435,95 @@ ] } }, + "confluentcloud:index/getSchema:getSchema": { + "inputs": { + "description": "A collection of arguments for invoking getSchema.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaCredentials:getSchemaCredentials", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaIdentifier": { + "type": "integer", + "description": "The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaSchemaRegistryCluster:getSchemaSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name.\n" + } + }, + "type": "object", + "required": [ + "schemaIdentifier", + "subjectName" + ] + }, + "outputs": { + "description": "A collection of values returned by getSchema.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaCredentials:getSchemaCredentials", + "secret": true + }, + "format": { + "type": "string", + "description": "(Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "restEndpoint": { + "type": "string" + }, + "schema": { + "type": "string", + "description": "(Required String) The schema string, for example, `file(\"./schema_version_1.avsc\")`.\n" + }, + "schemaIdentifier": { + "type": "integer" + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/types/confluentcloud:index/getSchemaSchemaReference:getSchemaSchemaReference" + }, + "description": "(Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):\n" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaSchemaRegistryCluster:getSchemaSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "(Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)\n" + }, + "version": { + "type": "integer", + "description": "(Required Integer) The version of the Schema, for example, `4`.\n" + } + }, + "type": "object", + "required": [ + "format", + "schema", + "schemaIdentifier", + "schemaReferences", + "subjectName", + "version", + "id" + ] + } + }, "confluentcloud:index/getSchemaRegistryCluster:getSchemaRegistryCluster": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.SchemaRegistryCluster` describes a Schema Registry cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({\n id: \"lsrc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdSchemaRegistryCluster;\nconst exampleUsingNameSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({\n displayName: \"Stream Governance Package\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameSchemaRegistryCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_schema_registry_cluster = confluentcloud.get_schema_registry_cluster(id=\"lsrc-abc123\",\n environment=confluentcloud.GetSchemaRegistryClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_schema_registry_cluster)\nexample_using_name_schema_registry_cluster = confluentcloud.get_schema_registry_cluster(display_name=\"Stream Governance Package\",\n environment=confluentcloud.GetSchemaRegistryClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_schema_registry_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdSchemaRegistryCluster = ConfluentCloud.GetSchemaRegistryCluster.Invoke(new()\n {\n Id = \"lsrc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetSchemaRegistryClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameSchemaRegistryCluster = ConfluentCloud.GetSchemaRegistryCluster.Invoke(new()\n {\n DisplayName = \"Stream Governance Package\",\n Environment = new ConfluentCloud.Inputs.GetSchemaRegistryClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdSchemaRegistryCluster.Apply(getSchemaRegistryClusterResult =\u003e getSchemaRegistryClusterResult),\n [\"exampleUsingName\"] = exampleUsingNameSchemaRegistryCluster.Apply(getSchemaRegistryClusterResult =\u003e getSchemaRegistryClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, \u0026GetSchemaRegistryClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lsrc-abc123\"),\n\t\t\tEnvironment: GetSchemaRegistryClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdSchemaRegistryCluster)\n\t\texampleUsingNameSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, \u0026GetSchemaRegistryClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"Stream Governance Package\"),\n\t\t\tEnvironment: GetSchemaRegistryClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameSchemaRegistryCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdSchemaRegistryCluster = ConfluentcloudFunctions.getSchemaRegistryCluster(GetSchemaRegistryClusterArgs.builder()\n .id(\"lsrc-abc123\")\n .environment(GetSchemaRegistryClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdSchemaRegistryCluster.applyValue(getSchemaRegistryClusterResult -\u003e getSchemaRegistryClusterResult));\n final var exampleUsingNameSchemaRegistryCluster = ConfluentcloudFunctions.getSchemaRegistryCluster(GetSchemaRegistryClusterArgs.builder()\n .displayName(\"Stream Governance Package\")\n .environment(GetSchemaRegistryClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameSchemaRegistryCluster.applyValue(getSchemaRegistryClusterResult -\u003e getSchemaRegistryClusterResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdSchemaRegistryCluster:\n Fn::Invoke:\n Function: confluentcloud:getSchemaRegistryCluster\n Arguments:\n id: lsrc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameSchemaRegistryCluster:\n Fn::Invoke:\n Function: confluentcloud:getSchemaRegistryCluster\n Arguments:\n displayName: Stream Governance Package\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdSchemaRegistryCluster}\n exampleUsingName: ${exampleUsingNameSchemaRegistryCluster}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.SchemaRegistryCluster` describes a Schema Registry cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({\n id: \"lsrc-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdSchemaRegistryCluster;\nconst exampleUsingNameSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({\n displayName: \"Stream Governance Package\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameSchemaRegistryCluster;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_schema_registry_cluster = confluentcloud.get_schema_registry_cluster(id=\"lsrc-abc123\",\n environment=confluentcloud.GetSchemaRegistryClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_schema_registry_cluster)\nexample_using_name_schema_registry_cluster = confluentcloud.get_schema_registry_cluster(display_name=\"Stream Governance Package\",\n environment=confluentcloud.GetSchemaRegistryClusterEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_schema_registry_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdSchemaRegistryCluster = ConfluentCloud.GetSchemaRegistryCluster.Invoke(new()\n {\n Id = \"lsrc-abc123\",\n Environment = new ConfluentCloud.Inputs.GetSchemaRegistryClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameSchemaRegistryCluster = ConfluentCloud.GetSchemaRegistryCluster.Invoke(new()\n {\n DisplayName = \"Stream Governance Package\",\n Environment = new ConfluentCloud.Inputs.GetSchemaRegistryClusterEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdSchemaRegistryCluster.Apply(getSchemaRegistryClusterResult =\u003e getSchemaRegistryClusterResult),\n [\"exampleUsingName\"] = exampleUsingNameSchemaRegistryCluster.Apply(getSchemaRegistryClusterResult =\u003e getSchemaRegistryClusterResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, \u0026confluentcloud.LookupSchemaRegistryClusterArgs{\n\t\t\tId: pulumi.StringRef(\"lsrc-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetSchemaRegistryClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdSchemaRegistryCluster)\n\t\texampleUsingNameSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, \u0026confluentcloud.LookupSchemaRegistryClusterArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"Stream Governance Package\"),\n\t\t\tEnvironment: confluentcloud.GetSchemaRegistryClusterEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameSchemaRegistryCluster)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterArgs;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdSchemaRegistryCluster = ConfluentcloudFunctions.getSchemaRegistryCluster(GetSchemaRegistryClusterArgs.builder()\n .id(\"lsrc-abc123\")\n .environment(GetSchemaRegistryClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdSchemaRegistryCluster.applyValue(getSchemaRegistryClusterResult -\u003e getSchemaRegistryClusterResult));\n final var exampleUsingNameSchemaRegistryCluster = ConfluentcloudFunctions.getSchemaRegistryCluster(GetSchemaRegistryClusterArgs.builder()\n .displayName(\"Stream Governance Package\")\n .environment(GetSchemaRegistryClusterEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameSchemaRegistryCluster.applyValue(getSchemaRegistryClusterResult -\u003e getSchemaRegistryClusterResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdSchemaRegistryCluster:\n fn::invoke:\n Function: confluentcloud:getSchemaRegistryCluster\n Arguments:\n id: lsrc-abc123\n environment:\n id: env-xyz456\n exampleUsingNameSchemaRegistryCluster:\n fn::invoke:\n Function: confluentcloud:getSchemaRegistryCluster\n Arguments:\n displayName: Stream Governance Package\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdSchemaRegistryCluster}\n exampleUsingName: ${exampleUsingNameSchemaRegistryCluster}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getSchemaRegistryCluster.\n", "properties": { @@ -5344,13 +6567,14 @@ }, "package": { "type": "string", - "description": "(Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`.\n- `region` (Required Configuration Block) supports the following:\n" + "description": "(Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`.\n" }, "regions": { "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterRegion:getSchemaRegistryClusterRegion" - } + }, + "description": "(Required Configuration Block) supports the following:\n" }, "resourceName": { "type": "string", @@ -5375,8 +6599,104 @@ ] } }, + "confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig": { + "inputs": { + "description": "A collection of arguments for invoking getSchemaRegistryClusterConfig.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterConfigCredentials:getSchemaRegistryClusterConfigCredentials", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterConfigSchemaRegistryCluster:getSchemaRegistryClusterConfigSchemaRegistryCluster" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getSchemaRegistryClusterConfig.\n", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "(Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterConfigCredentials:getSchemaRegistryClusterConfigCredentials", + "secret": true + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "restEndpoint": { + "type": "string" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterConfigSchemaRegistryCluster:getSchemaRegistryClusterConfigSchemaRegistryCluster" + } + }, + "type": "object", + "required": [ + "compatibilityLevel", + "id" + ] + } + }, + "confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode": { + "inputs": { + "description": "A collection of arguments for invoking getSchemaRegistryClusterMode.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterModeCredentials:getSchemaRegistryClusterModeCredentials", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterModeSchemaRegistryCluster:getSchemaRegistryClusterModeSchemaRegistryCluster" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getSchemaRegistryClusterMode.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterModeCredentials:getSchemaRegistryClusterModeCredentials", + "secret": true + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "mode": { + "type": "string", + "description": "(Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSchemaRegistryClusterModeSchemaRegistryCluster:getSchemaRegistryClusterModeSchemaRegistryCluster" + } + }, + "type": "object", + "required": [ + "mode", + "id" + ] + } + }, "confluentcloud:index/getSchemaRegistryRegion:getSchemaRegistryRegion": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getSchemaRegistryRegion` describes a Schema Registry cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleSchemaRegistryRegion = confluentcloud.getSchemaRegistryRegion({\n cloud: \"AWS\",\n region: \"us-east-2\",\n \"package\": \"ESSENTIALS\",\n});\nexport const example = exampleSchemaRegistryRegion;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_schema_registry_region = confluentcloud.get_schema_registry_region(cloud=\"AWS\",\n region=\"us-east-2\",\n package=\"ESSENTIALS\")\npulumi.export(\"example\", example_schema_registry_region)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSchemaRegistryRegion = ConfluentCloud.GetSchemaRegistryRegion.Invoke(new()\n {\n Cloud = \"AWS\",\n Region = \"us-east-2\",\n Package = \"ESSENTIALS\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleSchemaRegistryRegion.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleSchemaRegistryRegion, err := confluentcloud.GetSchemaRegistryRegion(ctx, \u0026GetSchemaRegistryRegionArgs{\n\t\t\tCloud: \"AWS\",\n\t\t\tRegion: \"us-east-2\",\n\t\t\tPackage: \"ESSENTIALS\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleSchemaRegistryRegion)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleSchemaRegistryRegion = ConfluentcloudFunctions.getSchemaRegistryRegion(GetSchemaRegistryRegionArgs.builder()\n .cloud(\"AWS\")\n .region(\"us-east-2\")\n .package_(\"ESSENTIALS\")\n .build());\n\n ctx.export(\"example\", exampleSchemaRegistryRegion.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult));\n }\n}\n```\n```yaml\nvariables:\n exampleSchemaRegistryRegion:\n Fn::Invoke:\n Function: confluentcloud:getSchemaRegistryRegion\n Arguments:\n cloud: AWS\n region: us-east-2\n package: ESSENTIALS\noutputs:\n example: ${exampleSchemaRegistryRegion}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getSchemaRegistryRegion` describes a Schema Registry cluster data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleSchemaRegistryRegion = confluentcloud.getSchemaRegistryRegion({\n cloud: \"AWS\",\n region: \"us-east-2\",\n \"package\": \"ESSENTIALS\",\n});\nexport const example = exampleSchemaRegistryRegion;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_schema_registry_region = confluentcloud.get_schema_registry_region(cloud=\"AWS\",\n region=\"us-east-2\",\n package=\"ESSENTIALS\")\npulumi.export(\"example\", example_schema_registry_region)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSchemaRegistryRegion = ConfluentCloud.GetSchemaRegistryRegion.Invoke(new()\n {\n Cloud = \"AWS\",\n Region = \"us-east-2\",\n Package = \"ESSENTIALS\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"example\"] = exampleSchemaRegistryRegion.Apply(getSchemaRegistryRegionResult =\u003e getSchemaRegistryRegionResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleSchemaRegistryRegion, err := confluentcloud.GetSchemaRegistryRegion(ctx, \u0026confluentcloud.GetSchemaRegistryRegionArgs{\n\t\t\tCloud: \"AWS\",\n\t\t\tRegion: \"us-east-2\",\n\t\t\tPackage: \"ESSENTIALS\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"example\", exampleSchemaRegistryRegion)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleSchemaRegistryRegion = ConfluentcloudFunctions.getSchemaRegistryRegion(GetSchemaRegistryRegionArgs.builder()\n .cloud(\"AWS\")\n .region(\"us-east-2\")\n .package_(\"ESSENTIALS\")\n .build());\n\n ctx.export(\"example\", exampleSchemaRegistryRegion.applyValue(getSchemaRegistryRegionResult -\u003e getSchemaRegistryRegionResult));\n }\n}\n```\n```yaml\nvariables:\n exampleSchemaRegistryRegion:\n fn::invoke:\n Function: confluentcloud:getSchemaRegistryRegion\n Arguments:\n cloud: AWS\n region: us-east-2\n package: ESSENTIALS\noutputs:\n example: ${exampleSchemaRegistryRegion}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getSchemaRegistryRegion.\n", "properties": { @@ -5427,7 +6747,7 @@ } }, "confluentcloud:index/getServiceAccount:getServiceAccount": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.ServiceAccount` describes a Service Account data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdServiceAccount = confluentcloud.getServiceAccount({\n id: \"sa-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdServiceAccount;\nconst exampleUsingName = confluentcloud.getServiceAccount({\n displayName: \"test_sa\",\n});\nconst test_env = new confluentcloud.Environment(\"test-env\", {});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_service_account = confluentcloud.get_service_account(id=\"sa-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_service_account)\nexample_using_name = confluentcloud.get_service_account(display_name=\"test_sa\")\ntest_env = confluentcloud.Environment(\"test-env\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdServiceAccount = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n Id = \"sa-abc123\",\n });\n\n var exampleUsingName = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n DisplayName = \"test_sa\",\n });\n\n var test_env = new ConfluentCloud.Environment(\"test-env\");\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdServiceAccount.Apply(getServiceAccountResult =\u003e getServiceAccountResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, \u0026GetServiceAccountArgs{\n\t\t\tId: pulumi.StringRef(\"sa-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdServiceAccount)\n\t\t_, err = confluentcloud.LookupServiceAccount(ctx, \u0026GetServiceAccountArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"test_sa\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewEnvironment(ctx, \"test-env\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetServiceAccountArgs;\nimport com.pulumi.confluentcloud.Environment;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdServiceAccount = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .id(\"sa-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdServiceAccount.applyValue(getServiceAccountResult -\u003e getServiceAccountResult));\n final var exampleUsingName = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .displayName(\"test_sa\")\n .build());\n\n var test_env = new Environment(\"test-env\");\n\n }\n}\n```\n```yaml\nresources:\n test-env:\n type: confluentcloud:Environment\nvariables:\n exampleUsingIdServiceAccount:\n Fn::Invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n id: sa-abc123\n exampleUsingName:\n Fn::Invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n displayName: test_sa\noutputs:\n exampleUsingId: ${exampleUsingIdServiceAccount}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.ServiceAccount` describes a Service Account data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdServiceAccount = confluentcloud.getServiceAccount({\n id: \"sa-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdServiceAccount;\nconst exampleUsingName = confluentcloud.getServiceAccount({\n displayName: \"test_sa\",\n});\nconst test_env = new confluentcloud.Environment(\"test-env\", {});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_service_account = confluentcloud.get_service_account(id=\"sa-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_service_account)\nexample_using_name = confluentcloud.get_service_account(display_name=\"test_sa\")\ntest_env = confluentcloud.Environment(\"test-env\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdServiceAccount = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n Id = \"sa-abc123\",\n });\n\n var exampleUsingName = ConfluentCloud.GetServiceAccount.Invoke(new()\n {\n DisplayName = \"test_sa\",\n });\n\n var test_env = new ConfluentCloud.Environment(\"test-env\");\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdServiceAccount.Apply(getServiceAccountResult =\u003e getServiceAccountResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, \u0026confluentcloud.LookupServiceAccountArgs{\n\t\t\tId: pulumi.StringRef(\"sa-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdServiceAccount)\n\t\t_, err = confluentcloud.LookupServiceAccount(ctx, \u0026confluentcloud.LookupServiceAccountArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"test_sa\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewEnvironment(ctx, \"test-env\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetServiceAccountArgs;\nimport com.pulumi.confluentcloud.Environment;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdServiceAccount = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .id(\"sa-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdServiceAccount.applyValue(getServiceAccountResult -\u003e getServiceAccountResult));\n final var exampleUsingName = ConfluentcloudFunctions.getServiceAccount(GetServiceAccountArgs.builder()\n .displayName(\"test_sa\")\n .build());\n\n var test_env = new Environment(\"test-env\");\n\n }\n}\n```\n```yaml\nresources:\n test-env:\n type: confluentcloud:Environment\nvariables:\n exampleUsingIdServiceAccount:\n fn::invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n id: sa-abc123\n exampleUsingName:\n fn::invoke:\n Function: confluentcloud:getServiceAccount\n Arguments:\n displayName: test_sa\noutputs:\n exampleUsingId: ${exampleUsingIdServiceAccount}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getServiceAccount.\n", "properties": { @@ -5476,8 +6796,126 @@ ] } }, + "confluentcloud:index/getSubjectConfig:getSubjectConfig": { + "inputs": { + "description": "A collection of arguments for invoking getSubjectConfig.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSubjectConfigCredentials:getSubjectConfigCredentials", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSubjectConfigSchemaRegistryCluster:getSubjectConfigSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n" + } + }, + "type": "object", + "required": [ + "subjectName" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubjectConfig.\n", + "properties": { + "compatibilityLevel": { + "type": "string", + "description": "(Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.\n" + }, + "credentials": { + "$ref": "#/types/confluentcloud:index/getSubjectConfigCredentials:getSubjectConfigCredentials", + "secret": true + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "restEndpoint": { + "type": "string" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSubjectConfigSchemaRegistryCluster:getSubjectConfigSchemaRegistryCluster" + }, + "subjectName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "compatibilityLevel", + "subjectName", + "id" + ] + } + }, + "confluentcloud:index/getSubjectMode:getSubjectMode": { + "inputs": { + "description": "A collection of arguments for invoking getSubjectMode.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSubjectModeCredentials:getSubjectModeCredentials", + "secret": true + }, + "restEndpoint": { + "type": "string", + "description": "The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).\n", + "willReplaceOnChanges": true + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSubjectModeSchemaRegistryCluster:getSubjectModeSchemaRegistryCluster" + }, + "subjectName": { + "type": "string", + "description": "The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.\n" + } + }, + "type": "object", + "required": [ + "subjectName" + ] + }, + "outputs": { + "description": "A collection of values returned by getSubjectMode.\n", + "properties": { + "credentials": { + "$ref": "#/types/confluentcloud:index/getSubjectModeCredentials:getSubjectModeCredentials", + "secret": true + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "mode": { + "type": "string", + "description": "(Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.\n" + }, + "restEndpoint": { + "type": "string" + }, + "schemaRegistryCluster": { + "$ref": "#/types/confluentcloud:index/getSubjectModeSchemaRegistryCluster:getSubjectModeSchemaRegistryCluster" + }, + "subjectName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "mode", + "subjectName", + "id" + ] + } + }, "confluentcloud:index/getTransitGatewayAttachment:getTransitGatewayAttachment": { - "description": "[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access\u0026body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)\n\n\u003e **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. \n**Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion.\n\n`confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({\n id: \"tgwa-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdTransitGatewayAttachment;\nconst exampleUsingNameTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({\n displayName: \"my_tgwa\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameTransitGatewayAttachment;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_transit_gateway_attachment = confluentcloud.get_transit_gateway_attachment(id=\"tgwa-abc123\",\n environment=confluentcloud.GetTransitGatewayAttachmentEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_transit_gateway_attachment)\nexample_using_name_transit_gateway_attachment = confluentcloud.get_transit_gateway_attachment(display_name=\"my_tgwa\",\n environment=confluentcloud.GetTransitGatewayAttachmentEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_transit_gateway_attachment)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdTransitGatewayAttachment = ConfluentCloud.GetTransitGatewayAttachment.Invoke(new()\n {\n Id = \"tgwa-abc123\",\n Environment = new ConfluentCloud.Inputs.GetTransitGatewayAttachmentEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameTransitGatewayAttachment = ConfluentCloud.GetTransitGatewayAttachment.Invoke(new()\n {\n DisplayName = \"my_tgwa\",\n Environment = new ConfluentCloud.Inputs.GetTransitGatewayAttachmentEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdTransitGatewayAttachment.Apply(getTransitGatewayAttachmentResult =\u003e getTransitGatewayAttachmentResult),\n [\"exampleUsingName\"] = exampleUsingNameTransitGatewayAttachment.Apply(getTransitGatewayAttachmentResult =\u003e getTransitGatewayAttachmentResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, \u0026GetTransitGatewayAttachmentArgs{\n\t\t\tId: pulumi.StringRef(\"tgwa-abc123\"),\n\t\t\tEnvironment: GetTransitGatewayAttachmentEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdTransitGatewayAttachment)\n\t\texampleUsingNameTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, \u0026GetTransitGatewayAttachmentArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_tgwa\"),\n\t\t\tEnvironment: GetTransitGatewayAttachmentEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameTransitGatewayAttachment)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentArgs;\nimport com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdTransitGatewayAttachment = ConfluentcloudFunctions.getTransitGatewayAttachment(GetTransitGatewayAttachmentArgs.builder()\n .id(\"tgwa-abc123\")\n .environment(GetTransitGatewayAttachmentEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdTransitGatewayAttachment.applyValue(getTransitGatewayAttachmentResult -\u003e getTransitGatewayAttachmentResult));\n final var exampleUsingNameTransitGatewayAttachment = ConfluentcloudFunctions.getTransitGatewayAttachment(GetTransitGatewayAttachmentArgs.builder()\n .displayName(\"my_tgwa\")\n .environment(GetTransitGatewayAttachmentEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameTransitGatewayAttachment.applyValue(getTransitGatewayAttachmentResult -\u003e getTransitGatewayAttachmentResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdTransitGatewayAttachment:\n Fn::Invoke:\n Function: confluentcloud:getTransitGatewayAttachment\n Arguments:\n id: tgwa-abc123\n environment:\n id: env-xyz456\n exampleUsingNameTransitGatewayAttachment:\n Fn::Invoke:\n Function: confluentcloud:getTransitGatewayAttachment\n Arguments:\n displayName: my_tgwa\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdTransitGatewayAttachment}\n exampleUsingName: ${exampleUsingNameTransitGatewayAttachment}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({\n id: \"tgwa-abc123\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingId = exampleUsingIdTransitGatewayAttachment;\nconst exampleUsingNameTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({\n displayName: \"my_tgwa\",\n environment: {\n id: \"env-xyz456\",\n },\n});\nexport const exampleUsingName = exampleUsingNameTransitGatewayAttachment;\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_transit_gateway_attachment = confluentcloud.get_transit_gateway_attachment(id=\"tgwa-abc123\",\n environment=confluentcloud.GetTransitGatewayAttachmentEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingId\", example_using_id_transit_gateway_attachment)\nexample_using_name_transit_gateway_attachment = confluentcloud.get_transit_gateway_attachment(display_name=\"my_tgwa\",\n environment=confluentcloud.GetTransitGatewayAttachmentEnvironmentArgs(\n id=\"env-xyz456\",\n ))\npulumi.export(\"exampleUsingName\", example_using_name_transit_gateway_attachment)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdTransitGatewayAttachment = ConfluentCloud.GetTransitGatewayAttachment.Invoke(new()\n {\n Id = \"tgwa-abc123\",\n Environment = new ConfluentCloud.Inputs.GetTransitGatewayAttachmentEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n var exampleUsingNameTransitGatewayAttachment = ConfluentCloud.GetTransitGatewayAttachment.Invoke(new()\n {\n DisplayName = \"my_tgwa\",\n Environment = new ConfluentCloud.Inputs.GetTransitGatewayAttachmentEnvironmentInputArgs\n {\n Id = \"env-xyz456\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdTransitGatewayAttachment.Apply(getTransitGatewayAttachmentResult =\u003e getTransitGatewayAttachmentResult),\n [\"exampleUsingName\"] = exampleUsingNameTransitGatewayAttachment.Apply(getTransitGatewayAttachmentResult =\u003e getTransitGatewayAttachmentResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, \u0026confluentcloud.LookupTransitGatewayAttachmentArgs{\n\t\t\tId: pulumi.StringRef(\"tgwa-abc123\"),\n\t\t\tEnvironment: confluentcloud.GetTransitGatewayAttachmentEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdTransitGatewayAttachment)\n\t\texampleUsingNameTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, \u0026confluentcloud.LookupTransitGatewayAttachmentArgs{\n\t\t\tDisplayName: pulumi.StringRef(\"my_tgwa\"),\n\t\t\tEnvironment: confluentcloud.GetTransitGatewayAttachmentEnvironment{\n\t\t\t\tId: \"env-xyz456\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingName\", exampleUsingNameTransitGatewayAttachment)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentArgs;\nimport com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentEnvironmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdTransitGatewayAttachment = ConfluentcloudFunctions.getTransitGatewayAttachment(GetTransitGatewayAttachmentArgs.builder()\n .id(\"tgwa-abc123\")\n .environment(GetTransitGatewayAttachmentEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdTransitGatewayAttachment.applyValue(getTransitGatewayAttachmentResult -\u003e getTransitGatewayAttachmentResult));\n final var exampleUsingNameTransitGatewayAttachment = ConfluentcloudFunctions.getTransitGatewayAttachment(GetTransitGatewayAttachmentArgs.builder()\n .displayName(\"my_tgwa\")\n .environment(GetTransitGatewayAttachmentEnvironmentArgs.builder()\n .id(\"env-xyz456\")\n .build())\n .build());\n\n ctx.export(\"exampleUsingName\", exampleUsingNameTransitGatewayAttachment.applyValue(getTransitGatewayAttachmentResult -\u003e getTransitGatewayAttachmentResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsingIdTransitGatewayAttachment:\n fn::invoke:\n Function: confluentcloud:getTransitGatewayAttachment\n Arguments:\n id: tgwa-abc123\n environment:\n id: env-xyz456\n exampleUsingNameTransitGatewayAttachment:\n fn::invoke:\n Function: confluentcloud:getTransitGatewayAttachment\n Arguments:\n displayName: my_tgwa\n environment:\n id: env-xyz456\noutputs:\n exampleUsingId: ${exampleUsingIdTransitGatewayAttachment}\n exampleUsingName: ${exampleUsingNameTransitGatewayAttachment}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getTransitGatewayAttachment.\n", "properties": { @@ -5486,7 +6924,8 @@ "description": "A human-readable name for the Transit Gateway Attachment.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getTransitGatewayAttachmentEnvironment:getTransitGatewayAttachmentEnvironment" + "$ref": "#/types/confluentcloud:index/getTransitGatewayAttachmentEnvironment:getTransitGatewayAttachmentEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "id": { "type": "string", @@ -5510,10 +6949,11 @@ }, "displayName": { "type": "string", - "description": "(Required String) The name of the Transit Gateway Attachment.\n- `environment` (Required Configuration Block) supports the following:\n" + "description": "(Required String) The name of the Transit Gateway Attachment.\n" }, "environment": { - "$ref": "#/types/confluentcloud:index/getTransitGatewayAttachmentEnvironment:getTransitGatewayAttachmentEnvironment" + "$ref": "#/types/confluentcloud:index/getTransitGatewayAttachmentEnvironment:getTransitGatewayAttachmentEnvironment", + "description": "(Required Configuration Block) supports the following:\n" }, "id": { "type": "string", @@ -5523,7 +6963,8 @@ "type": "array", "items": { "$ref": "#/types/confluentcloud:index/getTransitGatewayAttachmentNetwork:getTransitGatewayAttachmentNetwork" - } + }, + "description": "(Required Configuration Block) supports the following:\n" } }, "type": "object", @@ -5537,7 +6978,7 @@ } }, "confluentcloud:index/getUser:getUser": { - "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getUser` describes a User data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdUser = confluentcloud.getUser({\n id: \"u-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdUser;\nconst exampleUsingEmail = confluentcloud.getUser({\n email: \"test123@gmail.com\",\n});\nconst test_env = new confluentcloud.Environment(\"test-env\", {});\nconst standard_cluster_on_aws = new confluentcloud.KafkaCluster(\"standard-cluster-on-aws\", {\n availability: \"SINGLE_ZONE\",\n cloud: \"AWS\",\n region: \"us-west-2\",\n standard: {},\n environment: {\n id: test_env.id,\n },\n});\nconst test_role_binding = new confluentcloud.RoleBinding(\"test-role-binding\", {\n principal: exampleUsingEmail.then(exampleUsingEmail =\u003e `User:${exampleUsingEmail.id}`),\n roleName: \"CloudClusterAdmin\",\n crnPattern: standard_cluster_on_aws.rbacCrn,\n});\nconst exampleUsingFullName = confluentcloud.getUser({\n fullName: \"John Doe\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_user = confluentcloud.get_user(id=\"u-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_user)\nexample_using_email = confluentcloud.get_user(email=\"test123@gmail.com\")\ntest_env = confluentcloud.Environment(\"test-env\")\nstandard_cluster_on_aws = confluentcloud.KafkaCluster(\"standard-cluster-on-aws\",\n availability=\"SINGLE_ZONE\",\n cloud=\"AWS\",\n region=\"us-west-2\",\n standard=confluentcloud.KafkaClusterStandardArgs(),\n environment=confluentcloud.KafkaClusterEnvironmentArgs(\n id=test_env.id,\n ))\ntest_role_binding = confluentcloud.RoleBinding(\"test-role-binding\",\n principal=f\"User:{example_using_email.id}\",\n role_name=\"CloudClusterAdmin\",\n crn_pattern=standard_cluster_on_aws.rbac_crn)\nexample_using_full_name = confluentcloud.get_user(full_name=\"John Doe\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdUser = ConfluentCloud.GetUser.Invoke(new()\n {\n Id = \"u-abc123\",\n });\n\n var exampleUsingEmail = ConfluentCloud.GetUser.Invoke(new()\n {\n Email = \"test123@gmail.com\",\n });\n\n var test_env = new ConfluentCloud.Environment(\"test-env\");\n\n var standard_cluster_on_aws = new ConfluentCloud.KafkaCluster(\"standard-cluster-on-aws\", new()\n {\n Availability = \"SINGLE_ZONE\",\n Cloud = \"AWS\",\n Region = \"us-west-2\",\n Standard = ,\n Environment = new ConfluentCloud.Inputs.KafkaClusterEnvironmentArgs\n {\n Id = test_env.Id,\n },\n });\n\n var test_role_binding = new ConfluentCloud.RoleBinding(\"test-role-binding\", new()\n {\n Principal = $\"User:{exampleUsingEmail.Apply(getUserResult =\u003e getUserResult.Id)}\",\n RoleName = \"CloudClusterAdmin\",\n CrnPattern = standard_cluster_on_aws.RbacCrn,\n });\n\n var exampleUsingFullName = ConfluentCloud.GetUser.Invoke(new()\n {\n FullName = \"John Doe\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdUser.Apply(getUserResult =\u003e getUserResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdUser, err := confluentcloud.GetUser(ctx, \u0026GetUserArgs{\n\t\t\tId: pulumi.StringRef(\"u-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdUser)\n\t\texampleUsingEmail, err := confluentcloud.GetUser(ctx, \u0026GetUserArgs{\n\t\t\tEmail: pulumi.StringRef(\"test123@gmail.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewEnvironment(ctx, \"test-env\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewKafkaCluster(ctx, \"standard-cluster-on-aws\", \u0026confluentcloud.KafkaClusterArgs{\n\t\t\tAvailability: pulumi.String(\"SINGLE_ZONE\"),\n\t\t\tCloud: pulumi.String(\"AWS\"),\n\t\t\tRegion: pulumi.String(\"us-west-2\"),\n\t\t\tStandard: nil,\n\t\t\tEnvironment: \u0026KafkaClusterEnvironmentArgs{\n\t\t\t\tId: test_env.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewRoleBinding(ctx, \"test-role-binding\", \u0026confluentcloud.RoleBindingArgs{\n\t\t\tPrincipal: pulumi.String(fmt.Sprintf(\"User:%v\", exampleUsingEmail.Id)),\n\t\t\tRoleName: pulumi.String(\"CloudClusterAdmin\"),\n\t\t\tCrnPattern: standard_cluster_on_aws.RbacCrn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.GetUser(ctx, \u0026GetUserArgs{\n\t\t\tFullName: pulumi.StringRef(\"John Doe\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetUserArgs;\nimport com.pulumi.confluentcloud.Environment;\nimport com.pulumi.confluentcloud.KafkaCluster;\nimport com.pulumi.confluentcloud.KafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterStandardArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.RoleBinding;\nimport com.pulumi.confluentcloud.RoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdUser = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .id(\"u-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdUser.applyValue(getUserResult -\u003e getUserResult));\n final var exampleUsingEmail = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .email(\"test123@gmail.com\")\n .build());\n\n var test_env = new Environment(\"test-env\");\n\n var standard_cluster_on_aws = new KafkaCluster(\"standard-cluster-on-aws\", KafkaClusterArgs.builder() \n .availability(\"SINGLE_ZONE\")\n .cloud(\"AWS\")\n .region(\"us-west-2\")\n .standard()\n .environment(KafkaClusterEnvironmentArgs.builder()\n .id(test_env.id())\n .build())\n .build());\n\n var test_role_binding = new RoleBinding(\"test-role-binding\", RoleBindingArgs.builder() \n .principal(String.format(\"User:%s\", exampleUsingEmail.applyValue(getUserResult -\u003e getUserResult.id())))\n .roleName(\"CloudClusterAdmin\")\n .crnPattern(standard_cluster_on_aws.rbacCrn())\n .build());\n\n final var exampleUsingFullName = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .fullName(\"John Doe\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test-env:\n type: confluentcloud:Environment\n standard-cluster-on-aws:\n type: confluentcloud:KafkaCluster\n properties:\n availability: SINGLE_ZONE\n cloud: AWS\n region: us-west-2\n standard: {}\n environment:\n id: ${[\"test-env\"].id}\n test-role-binding:\n type: confluentcloud:RoleBinding\n properties:\n principal: User:${exampleUsingEmail.id}\n roleName: CloudClusterAdmin\n crnPattern: ${[\"standard-cluster-on-aws\"].rbacCrn}\nvariables:\n exampleUsingIdUser:\n Fn::Invoke:\n Function: confluentcloud:getUser\n Arguments:\n id: u-abc123\n exampleUsingEmail:\n Fn::Invoke:\n Function: confluentcloud:getUser\n Arguments:\n email: test123@gmail.com\n exampleUsingFullName:\n Fn::Invoke:\n Function: confluentcloud:getUser\n Arguments:\n fullName: John Doe\noutputs:\n exampleUsingId: ${exampleUsingIdUser}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)\n\n`confluentcloud.getUser` describes a User data source.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as confluentcloud from \"@pulumi/confluentcloud\";\n\nconst exampleUsingIdUser = confluentcloud.getUser({\n id: \"u-abc123\",\n});\nexport const exampleUsingId = exampleUsingIdUser;\nconst exampleUsingEmail = confluentcloud.getUser({\n email: \"test123@gmail.com\",\n});\nconst test_env = new confluentcloud.Environment(\"test-env\", {});\nconst standard_cluster_on_aws = new confluentcloud.KafkaCluster(\"standard-cluster-on-aws\", {\n availability: \"SINGLE_ZONE\",\n cloud: \"AWS\",\n region: \"us-west-2\",\n standard: {},\n environment: {\n id: test_env.id,\n },\n});\nconst test_role_binding = new confluentcloud.RoleBinding(\"test-role-binding\", {\n principal: exampleUsingEmail.then(exampleUsingEmail =\u003e `User:${exampleUsingEmail.id}`),\n roleName: \"CloudClusterAdmin\",\n crnPattern: standard_cluster_on_aws.rbacCrn,\n});\nconst exampleUsingFullName = confluentcloud.getUser({\n fullName: \"John Doe\",\n});\n```\n```python\nimport pulumi\nimport pulumi_confluentcloud as confluentcloud\n\nexample_using_id_user = confluentcloud.get_user(id=\"u-abc123\")\npulumi.export(\"exampleUsingId\", example_using_id_user)\nexample_using_email = confluentcloud.get_user(email=\"test123@gmail.com\")\ntest_env = confluentcloud.Environment(\"test-env\")\nstandard_cluster_on_aws = confluentcloud.KafkaCluster(\"standard-cluster-on-aws\",\n availability=\"SINGLE_ZONE\",\n cloud=\"AWS\",\n region=\"us-west-2\",\n standard=confluentcloud.KafkaClusterStandardArgs(),\n environment=confluentcloud.KafkaClusterEnvironmentArgs(\n id=test_env.id,\n ))\ntest_role_binding = confluentcloud.RoleBinding(\"test-role-binding\",\n principal=f\"User:{example_using_email.id}\",\n role_name=\"CloudClusterAdmin\",\n crn_pattern=standard_cluster_on_aws.rbac_crn)\nexample_using_full_name = confluentcloud.get_user(full_name=\"John Doe\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing ConfluentCloud = Pulumi.ConfluentCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsingIdUser = ConfluentCloud.GetUser.Invoke(new()\n {\n Id = \"u-abc123\",\n });\n\n var exampleUsingEmail = ConfluentCloud.GetUser.Invoke(new()\n {\n Email = \"test123@gmail.com\",\n });\n\n var test_env = new ConfluentCloud.Environment(\"test-env\");\n\n var standard_cluster_on_aws = new ConfluentCloud.KafkaCluster(\"standard-cluster-on-aws\", new()\n {\n Availability = \"SINGLE_ZONE\",\n Cloud = \"AWS\",\n Region = \"us-west-2\",\n Standard = null,\n Environment = new ConfluentCloud.Inputs.KafkaClusterEnvironmentArgs\n {\n Id = test_env.Id,\n },\n });\n\n var test_role_binding = new ConfluentCloud.RoleBinding(\"test-role-binding\", new()\n {\n Principal = $\"User:{exampleUsingEmail.Apply(getUserResult =\u003e getUserResult.Id)}\",\n RoleName = \"CloudClusterAdmin\",\n CrnPattern = standard_cluster_on_aws.RbacCrn,\n });\n\n var exampleUsingFullName = ConfluentCloud.GetUser.Invoke(new()\n {\n FullName = \"John Doe\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsingId\"] = exampleUsingIdUser.Apply(getUserResult =\u003e getUserResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsingIdUser, err := confluentcloud.GetUser(ctx, \u0026confluentcloud.GetUserArgs{\n\t\t\tId: pulumi.StringRef(\"u-abc123\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsingId\", exampleUsingIdUser)\n\t\texampleUsingEmail, err := confluentcloud.GetUser(ctx, \u0026confluentcloud.GetUserArgs{\n\t\t\tEmail: pulumi.StringRef(\"test123@gmail.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewEnvironment(ctx, \"test-env\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewKafkaCluster(ctx, \"standard-cluster-on-aws\", \u0026confluentcloud.KafkaClusterArgs{\n\t\t\tAvailability: pulumi.String(\"SINGLE_ZONE\"),\n\t\t\tCloud: pulumi.String(\"AWS\"),\n\t\t\tRegion: pulumi.String(\"us-west-2\"),\n\t\t\tStandard: nil,\n\t\t\tEnvironment: \u0026confluentcloud.KafkaClusterEnvironmentArgs{\n\t\t\t\tId: test_env.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.NewRoleBinding(ctx, \"test-role-binding\", \u0026confluentcloud.RoleBindingArgs{\n\t\t\tPrincipal: pulumi.String(fmt.Sprintf(\"User:%v\", exampleUsingEmail.Id)),\n\t\t\tRoleName: pulumi.String(\"CloudClusterAdmin\"),\n\t\t\tCrnPattern: standard_cluster_on_aws.RbacCrn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = confluentcloud.GetUser(ctx, \u0026confluentcloud.GetUserArgs{\n\t\t\tFullName: pulumi.StringRef(\"John Doe\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.confluentcloud.ConfluentcloudFunctions;\nimport com.pulumi.confluentcloud.inputs.GetUserArgs;\nimport com.pulumi.confluentcloud.Environment;\nimport com.pulumi.confluentcloud.KafkaCluster;\nimport com.pulumi.confluentcloud.KafkaClusterArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterStandardArgs;\nimport com.pulumi.confluentcloud.inputs.KafkaClusterEnvironmentArgs;\nimport com.pulumi.confluentcloud.RoleBinding;\nimport com.pulumi.confluentcloud.RoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleUsingIdUser = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .id(\"u-abc123\")\n .build());\n\n ctx.export(\"exampleUsingId\", exampleUsingIdUser.applyValue(getUserResult -\u003e getUserResult));\n final var exampleUsingEmail = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .email(\"test123@gmail.com\")\n .build());\n\n var test_env = new Environment(\"test-env\");\n\n var standard_cluster_on_aws = new KafkaCluster(\"standard-cluster-on-aws\", KafkaClusterArgs.builder() \n .availability(\"SINGLE_ZONE\")\n .cloud(\"AWS\")\n .region(\"us-west-2\")\n .standard()\n .environment(KafkaClusterEnvironmentArgs.builder()\n .id(test_env.id())\n .build())\n .build());\n\n var test_role_binding = new RoleBinding(\"test-role-binding\", RoleBindingArgs.builder() \n .principal(String.format(\"User:%s\", exampleUsingEmail.applyValue(getUserResult -\u003e getUserResult.id())))\n .roleName(\"CloudClusterAdmin\")\n .crnPattern(standard_cluster_on_aws.rbacCrn())\n .build());\n\n final var exampleUsingFullName = ConfluentcloudFunctions.getUser(GetUserArgs.builder()\n .fullName(\"John Doe\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test-env:\n type: confluentcloud:Environment\n standard-cluster-on-aws:\n type: confluentcloud:KafkaCluster\n properties:\n availability: SINGLE_ZONE\n cloud: AWS\n region: us-west-2\n standard: {}\n environment:\n id: ${[\"test-env\"].id}\n test-role-binding:\n type: confluentcloud:RoleBinding\n properties:\n principal: User:${exampleUsingEmail.id}\n roleName: CloudClusterAdmin\n crnPattern: ${[\"standard-cluster-on-aws\"].rbacCrn}\nvariables:\n exampleUsingIdUser:\n fn::invoke:\n Function: confluentcloud:getUser\n Arguments:\n id: u-abc123\n exampleUsingEmail:\n fn::invoke:\n Function: confluentcloud:getUser\n Arguments:\n email: test123@gmail.com\n exampleUsingFullName:\n fn::invoke:\n Function: confluentcloud:getUser\n Arguments:\n fullName: John Doe\noutputs:\n exampleUsingId: ${exampleUsingIdUser}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getUser.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index fcf00df2..4e8b1a1f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,65 +3,79 @@ module github.com/pulumi/pulumi-confluentcloud/provider go 1.19 replace ( - github.com/confluentinc/terraform-provider-confluent => github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e + github.com/confluentinc/terraform-provider-confluent => github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79 github.com/confluentinc/terraform-provider-confluent/shim => ./shim github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 ) require ( github.com/confluentinc/terraform-provider-confluent/shim v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.32.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1 ) require ( - cloud.google.com/go v0.100.2 // indirect - cloud.google.com/go/compute v1.6.0 // indirect + cloud.google.com/go v0.103.0 // indirect + cloud.google.com/go/compute v1.7.0 // indirect cloud.google.com/go/iam v0.3.0 // indirect - cloud.google.com/go/kms v1.1.0 // indirect + cloud.google.com/go/kms v1.4.0 // indirect cloud.google.com/go/logging v1.0.0 // indirect - cloud.google.com/go/storage v1.22.1 // indirect - github.com/Azure/azure-pipeline-go v0.2.3 // indirect - github.com/Azure/azure-sdk-for-go v57.0.0+incompatible // indirect - github.com/Azure/azure-storage-blob-go v0.14.0 // indirect + cloud.google.com/go/storage v1.24.0 // indirect + github.com/AlecAivazis/survey/v2 v2.0.5 // indirect + github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.20 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.15 // indirect - github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 // indirect - github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 // indirect + github.com/Azure/go-autorest/autorest v0.11.28 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect + github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/Masterminds/goutils v1.1.0 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/sprig v2.22.0+incompatible // indirect github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/Microsoft/hcsshim v0.9.3 // indirect + github.com/Microsoft/hcsshim v0.9.5 // indirect github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.40.34 // indirect - github.com/aws/aws-sdk-go-v2 v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/config v1.7.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.4.0 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kms v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 // indirect - github.com/aws/smithy-go v1.8.0 // indirect + github.com/aws/aws-sdk-go v1.44.68 // indirect + github.com/aws/aws-sdk-go-v2 v1.17.1 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect + github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect + github.com/aws/smithy-go v1.13.4 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect github.com/cenkalti/backoff/v3 v3.2.2 // indirect - github.com/cenkalti/backoff/v4 v4.1.2 // indirect + github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cheggaaa/pb v1.0.29 // indirect github.com/confluentinc/ccloud-sdk-go-v2/apikeys v0.3.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.6.0 // indirect @@ -72,17 +86,18 @@ require ( github.com/confluentinc/ccloud-sdk-go-v2/kafkarest v0.8.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0 // indirect - github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0 // indirect + github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 // indirect + github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 // indirect github.com/confluentinc/terraform-provider-confluent v1.19.0 // indirect github.com/containerd/cgroups v1.0.3 // indirect - github.com/containerd/containerd v1.6.1 // indirect + github.com/containerd/containerd v1.6.12 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/docker/distribution v2.7.1+incompatible // indirect - github.com/docker/docker v20.10.11+incompatible // indirect + github.com/docker/distribution v2.8.0+incompatible // indirect + github.com/docker/docker v20.10.17+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.4.0 // indirect github.com/dustin/go-humanize v1.0.0 // indirect @@ -96,7 +111,8 @@ require ( github.com/go-git/go-git/v5 v5.4.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt/v4 v4.0.0 // indirect + github.com/golang-jwt/jwt v3.2.1+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.2 // indirect @@ -106,8 +122,8 @@ require ( github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.3.0 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/gax-go/v2 v2.3.0 // indirect - github.com/googleapis/go-type-adapters v1.0.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect + github.com/googleapis/gax-go/v2 v2.4.0 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect @@ -115,18 +131,23 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect github.com/hashicorp/go-getter v1.6.1 // indirect - github.com/hashicorp/go-hclog v1.2.1 // indirect + github.com/hashicorp/go-hclog v1.2.2 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.4.4 // indirect - github.com/hashicorp/go-retryablehttp v0.7.0 // indirect + github.com/hashicorp/go-plugin v1.4.5 // indirect + github.com/hashicorp/go-retryablehttp v0.7.1 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect + github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect + github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect + github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect github.com/hashicorp/go-sockaddr v1.0.2 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hc-install v0.4.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.14.0 // indirect + github.com/hashicorp/hcl/v2 v2.15.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.17.2 // indirect @@ -137,23 +158,23 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 // indirect github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c // indirect github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect - github.com/hashicorp/vault/api v1.1.1 // indirect - github.com/hashicorp/vault/sdk v0.2.1 // indirect - github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect + github.com/hashicorp/vault/api v1.8.2 // indirect + github.com/hashicorp/vault/sdk v0.6.1 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.12 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/inconshreveable/mousetrap v1.0.1 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.1.0 // indirect - github.com/klauspost/compress v1.13.5 // indirect + github.com/klauspost/compress v1.15.1 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect github.com/magiconair/properties v1.8.5 // indirect github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-ieproxy v0.0.1 // indirect github.com/mattn/go-isatty v0.0.14 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect @@ -172,8 +193,9 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/morikuni/aec v1.0.0 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect github.com/natefinch/atomic v1.0.1 // indirect - github.com/oklog/run v1.0.0 // indirect + github.com/oklog/run v1.1.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect github.com/opencontainers/runc v1.1.2 // indirect @@ -181,18 +203,19 @@ require ( github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/posener/complete v1.2.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.6.0 // indirect - github.com/pulumi/pulumi-yaml v0.5.8 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.40.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.40.2 // indirect + github.com/posener/complete v1.2.3 // indirect + github.com/pulumi/pulumi-java/pkg v0.7.1 // indirect + github.com/pulumi/pulumi-yaml v1.0.4 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.51.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.51.0 // indirect github.com/pulumi/schema-tools v0.1.0 // indirect github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect github.com/rivo/uniseg v0.2.0 // indirect - github.com/rogpeppe/go-internal v1.8.1 // indirect + github.com/rogpeppe/go-internal v1.9.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -204,9 +227,9 @@ require ( github.com/sirupsen/logrus v1.8.1 // indirect github.com/spf13/afero v1.6.0 // indirect github.com/spf13/cast v1.4.1 // indirect - github.com/spf13/cobra v1.5.0 // indirect + github.com/spf13/cobra v1.6.1 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.0 // indirect + github.com/stretchr/testify v1.8.1 // indirect github.com/testcontainers/testcontainers-go v0.13.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect @@ -221,31 +244,29 @@ require ( github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.10.0 // indirect + github.com/zclconf/go-cty v1.12.1 // indirect go.opencensus.io v0.23.0 // indirect go.uber.org/atomic v1.9.0 // indirect - gocloud.dev v0.24.0 // indirect - gocloud.dev/secrets/hashivault v0.24.0 // indirect + gocloud.dev v0.27.0 // indirect + gocloud.dev/secrets/hashivault v0.27.0 // indirect golang.org/x/crypto v0.0.0-20220824171710-5757bc0c5503 // indirect golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect - golang.org/x/mod v0.6.0-dev.0.20211013180041-c96bc1413d57 // indirect - golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect - golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect + golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect + golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b // indirect + golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c // indirect + golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect golang.org/x/sys v0.0.0-20220823224334-20c2bfdbfe24 // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect - golang.org/x/text v0.3.7 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect - golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect - google.golang.org/api v0.74.0 // indirect + golang.org/x/text v0.4.0 // indirect + golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect + golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect + google.golang.org/api v0.91.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335 // indirect - google.golang.org/grpc v1.49.0 // indirect + google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78 // indirect + google.golang.org/grpc v1.51.0 // indirect google.golang.org/protobuf v1.28.1 // indirect - gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect diff --git a/provider/go.sum b/provider/go.sum index 8983a866..c453500e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1,5 +1,4 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -19,7 +18,6 @@ cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOY cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= @@ -27,18 +25,17 @@ cloud.google.com/go v0.82.0/go.mod h1:vlKccHJGuFBFufnAnuB08dfEH9Y3H7dzDzRECFdC2T cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.88.0/go.mod h1:dnKwfYbP9hQhefiUvpbcAyoGSHUrOxR20JVElLiUvEY= -cloud.google.com/go v0.89.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.92.2/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.92.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.0/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.2 h1:t9Iw5QH5v4XtlEQaCtUY7x6sCABps8sW0acw7e2WQ6Y= +cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= +cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.103.0 h1:YXtxp9ymmZjlGzxV7VrYQ8aaQuAgcqxSy6YhDX4I458= +cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -48,55 +45,69 @@ cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM7 cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= -cloud.google.com/go/compute v1.6.0 h1:XdQIN5mdPTSBVwSIVDuY5e8ZzVAccsHvD3qTEz4zIps= cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute v1.7.0 h1:v/k9Eueb8aAJ0vZuxKMrgm6kPhCLZU9HxFU+AFDs9Uk= +cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/firestore v1.5.0/go.mod h1:c4nNYR1qdq7eaZ+jSc5fonrQN2k3M7sWATcYTiakjEo= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0 h1:exkAomrVUuzx9kWFI1wm3KI0uoDeUFPB4kKGzx6x+Gc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= -cloud.google.com/go/kms v0.1.0/go.mod h1:8Qp8PCAypHg4FdmlyW1QRAv09BGQ9Uzh7JnmIZxPk+c= -cloud.google.com/go/kms v1.1.0 h1:1yc4rLqCkVDS9Zvc7m+3mJ47kw0Uo5Q5+sMjcmUVUeM= -cloud.google.com/go/kms v1.1.0/go.mod h1:WdbppnCDMDpOvoYBMn1+gNmOeEoZYqAv+HeuKARGCXI= +cloud.google.com/go/kms v1.4.0 h1:iElbfoE61VeLhnZcGOltqL8HIly8Nhbe5t6JlH9GXjo= +cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= cloud.google.com/go/logging v1.0.0 h1:kaunpnoEh9L4hu6JUsBa8Y20LBfKnCuDhKUgdZp7oK8= cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= -cloud.google.com/go/monitoring v0.1.0/go.mod h1:Hpm3XfzJv+UTiXzCG5Ffp0wijzHTC7Cv4eR7o3x/fEE= +cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= +cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.16.0/go.mod h1:6A8EfoWZ/lUvCWStKGwAWauJZSiuV0Mkmu6WilK/TxQ= -cloud.google.com/go/secretmanager v0.1.0/go.mod h1:3nGKHvnzDUVit7U0S9KAKJ4aOsO1xtwRG+7ey5LK1bM= +cloud.google.com/go/pubsub v1.24.0/go.mod h1:rWv09Te1SsRpRGPiWOMDKraMQTJyJps4MkUCoMGUgqw= +cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.16.1/go.mod h1:LaNorbty3ehnU3rEjXSNV/NRgQA0O8Y+uh6bPe5UOk4= -cloud.google.com/go/storage v1.22.1 h1:F6IlQJZrZM++apn9V5/VfS3gbTUYg98PS3EMQAzqtfg= cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= -cloud.google.com/go/trace v0.1.0/go.mod h1:wxEwsoeRVPbeSkt7ZC9nWCgmoKQRAoySN7XHW2AmI7g= +cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.24.0 h1:a4N0gIkx83uoVFGz8B2eAV3OhN90QoWF5OZWLKl39ig= +cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= +cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= +cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= +code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= -contrib.go.opencensus.io/exporter/stackdriver v0.13.8/go.mod h1:huNtlWx75MwO7qMs0KrMxPZXzNNWebav1Sq/pm02JdQ= +contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= +github.com/AlecAivazis/survey/v2 v2.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= -github.com/Azure/azure-amqp-common-go/v3 v3.1.0/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= -github.com/Azure/azure-amqp-common-go/v3 v3.1.1/go.mod h1:YsDaPfaO9Ub2XeSKdIy2DfwuiQlHQCauHJwSqtrkECI= -github.com/Azure/azure-pipeline-go v0.2.3 h1:7U9HBg1JFK3jHl5qmo4CTZKFTVgMwdFHMVtCdfBE21U= -github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= +github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v51.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v57.0.0+incompatible h1:isVki3PbIFrwKvKdVP1byxo73/pt+Nn174YxW1k4PNw= -github.com/Azure/azure-sdk-for-go v57.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-service-bus-go v0.10.16/go.mod h1:MlkLwGGf1ewcx5jZadn0gUEty+tTg0RaElr6bPf+QhI= -github.com/Azure/azure-storage-blob-go v0.14.0 h1:1BCg74AmVdYwO3dlKwtFU1V0wU2PZdREkXvAmZJRUlM= -github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck= -github.com/Azure/go-amqp v0.13.0/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= -github.com/Azure/go-amqp v0.13.11/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= -github.com/Azure/go-amqp v0.13.12/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= +github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmVGurPWMHDX2YNXVQMrBpEE= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= +github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= +github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= @@ -105,28 +116,30 @@ github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSW github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.20 h1:s8H1PbCZSqg/DH7JMlOz6YMig6htWLNPsjDdlLqCx3M= -github.com/Azure/go-autorest/autorest v0.11.20/go.mod h1:o3tqFY+QR40VOlk+pV4d77mORO64jOXSgEnPQgLK6JY= +github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= +github.com/Azure/go-autorest/autorest v0.11.25/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.28 h1:ndAExarwr5Y+GaHE6VCaY1kyS/HwwGGyuimVhWsHOEM= +github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.11/go.mod h1:nBKAnTomx8gDtl+3ZCJv2v0KACFHWTB2drffI1B68Pk= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.14/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.15 h1:X+p2GF0GWyOiSmqohIaEeuNFNDY4I4EOlVuUQvFdWMk= -github.com/Azure/go-autorest/autorest/adal v0.9.15/go.mod h1:tGMin8I49Yij6AQ+rvV+Xa/zwxYQB5hmsd6DkfAx2+A= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 h1:TzPg6B6fTZ0G1zBf3T54aI7p3cAT6u//TOXGPmFMOXg= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.8/go.mod h1:kxyKZTSfKh8OVFWPAgOgQ/frrJgeYQJPyR5fLFmXko4= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 h1:DOhB+nXkF7LN0JfBGB5YtCF6QLK8mLe4psaHF7ZQEKM= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.3/go.mod h1:yAQ2b6eP/CmLPnmLvxtT1ALIY3OR1oFcCqVBi8vHiTc= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.21 h1:jjQnVFXPfekaqb8vIsv2G1lxshoW+oGv4MDlhRtnYZk= +github.com/Azure/go-autorest/autorest/adal v0.9.21/go.mod h1:zua7mBUaCc5YnSLKYgGJR/w5ePdMDA6H56upLsHzA9U= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11/go.mod h1:84w/uV8E37feW2NCJ08uT9VBfjfUHpgLVnG2InYD6cg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.5/go.mod h1:ADQAXrkgm7acgWVUNamOgh8YNrv4p27l3Wc55oVfpzg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6/go.mod h1:piCfgPho7BiIDdEQ1+g4VmKyD5y+p/XtSNqE6Hc4QD0= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= github.com/Azure/go-autorest/autorest/validation v0.3.1 h1:AgyqjAd94fwNAoTjl/WQXg4VvFeRFpO+UhNyRXqF1ac= @@ -136,15 +149,19 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/GoogleCloudPlatform/cloudsql-proxy v1.24.0/go.mod h1:3tx938GhY4FC+E1KT/jNjDw7Z5qxAEtIiERJ2sXjnII= +github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= @@ -169,8 +186,8 @@ github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwT github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= -github.com/Microsoft/hcsshim v0.9.3 h1:k371PzBuRrz2b+ebGuI2nVgVhgsVX60jMfSw80NECxo= -github.com/Microsoft/hcsshim v0.9.3/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= +github.com/Microsoft/hcsshim v0.9.5 h1:AbV+VPfTrIVffukazHcpxmz/sRiE6YaMDzHWR9BXZHo= +github.com/Microsoft/hcsshim v0.9.5/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= @@ -185,10 +202,14 @@ github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbt github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= @@ -199,11 +220,14 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= @@ -217,45 +241,78 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkE github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.3.0/go.mod h1:zXjbSimjXTd7vOpY8B0/2LpvNvDoXBuplAD+gJD3GYs= github.com/armon/go-metrics v0.3.3/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.4.0 h1:yCQqn7dwca4ITXb+CbubHmedzaQYHhNhrEXLYUeEe8Q= +github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.30.27/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.40.34 h1:SBYmodndE2d4AYucuuJnOXk4MD1SFbucoIdpwKVKeSA= -github.com/aws/aws-sdk-go v1.40.34/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= -github.com/aws/aws-sdk-go-v2 v1.9.0 h1:+S+dSqQCN3MSU5vJRu1HqHrq00cJn6heIMU7X9hcsoo= -github.com/aws/aws-sdk-go-v2 v1.9.0/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= -github.com/aws/aws-sdk-go-v2/config v1.7.0 h1:J2cZ7qe+3IpqBEXnHUrFrOjoB9BlsXg7j53vxcl5IVg= -github.com/aws/aws-sdk-go-v2/config v1.7.0/go.mod h1:w9+nMZ7soXCe5nT46Ri354SNhXDQ6v+V5wqDjnZE+GY= -github.com/aws/aws-sdk-go-v2/credentials v1.4.0 h1:kmvesfjY861FzlCU9mvAfe01D9aeXcG2ZuC+k9F2YLM= -github.com/aws/aws-sdk-go-v2/credentials v1.4.0/go.mod h1:dgGR+Qq7Wjcd4AOAW5Rf5Tnv3+x7ed6kETXyS9WCuAY= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0 h1:OxTAgH8Y4BXHD6PGCJ8DHx2kaZPCQfSTqmDsdRZFezE= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0/go.mod h1:CpNzHK9VEFUCknu50kkB8z58AH2B5DvPP7ea1LHve/Y= -github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 h1:d95cddM3yTm4qffj3P6EnP+TzX1SSkWaQypXSgT/hpA= -github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2/go.mod h1:BQV0agm+JEhqR+2RT5e1XTFIDcAAV0eW6z2trp+iduw= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 h1:VNJ5NLBteVXEwE2F1zEXVmyIH58mZ6kIQGJoC7C+vkg= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0/go.mod h1:R1KK+vY8AfalhG1AOu5e35pOD2SdoPKQCFLTvnxiohk= -github.com/aws/aws-sdk-go-v2/service/kms v1.5.0 h1:10e9mzaaYIIePEuxUzW5YJ8LKHNG/NX63evcvS3ux9U= -github.com/aws/aws-sdk-go-v2/service/kms v1.5.0/go.mod h1:w7JuP9Oq1IKMFQPkNe3V6s9rOssXzOVEMNEqK1L1bao= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.6.0/go.mod h1:B+7C5UKdVq1ylkI/A6O8wcurFtaux0R1njePNPtKwoA= -github.com/aws/aws-sdk-go-v2/service/ssm v1.10.0/go.mod h1:4dXS5YNqI3SNbetQ7X7vfsMlX6ZnboJA2dulBwJx7+g= -github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 h1:sHXMIKYS6YiLPzmKSvDpPmOpJDHxmAUgbiF49YNVztg= -github.com/aws/aws-sdk-go-v2/service/sso v1.4.0/go.mod h1:+1fpWnL96DL23aXPpMGbsmKe8jLTEfbjuQoA4WS1VaA= -github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 h1:1at4e5P+lvHNl2nUktdM2/v+rpICg/QSEr9TO/uW9vU= -github.com/aws/aws-sdk-go-v2/service/sts v1.7.0/go.mod h1:0qcSMCyASQPN2sk/1KQLQ2Fh6yq8wm0HSDAimPhzCoM= -github.com/aws/smithy-go v1.8.0 h1:AEwwwXQZtUwP5Mz506FeXXrKBe0jA8gVM+1gEcSRooc= -github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.68 h1:7zNr5+HLG0TMq+ZcZ8KhT4eT2KyL7v+u7/jANKEIinM= +github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= +github.com/aws/aws-sdk-go-v2 v1.17.1 h1:02c72fDJr87N8RAC2s3Qu0YuvMRZKNZJ9F+lAehCazk= +github.com/aws/aws-sdk-go-v2 v1.17.1/go.mod h1:JLnGeGONAyi2lWXI1p0PCIOIy333JMVK1U7Hf0aRFLw= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= +github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= +github.com/aws/aws-sdk-go-v2/config v1.15.15/go.mod h1:A1Lzyy/o21I5/s2FbyX5AevQfSVXpvvIDCoVFD0BC4E= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10 h1:7gGcMQePejwiKoDWjB9cWnpfVdnz/e5JwJFuT6OrroI= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10/go.mod h1:g5eIM5XRs/OzIIK81QMBl+dAuDyoLN0VYaLP+tBqEOk= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 h1:hz8tc+OW17YqxyFFPSkvfSikbqWcyyHRyPVSTzC0+aI= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloDcFvK2+vshZvx4Zmj7UMDfusuz5s= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25 h1:nBO/RFxeq/IS5G9Of+ZrgucRciie2qpLy++3UGZ+q2E= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25/go.mod h1:Zb29PYkf42vVYQY6pvSyJCJcFHlPIiY+YKdPtwnvMkY= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19 h1:oRHDrwCTVT8ZXi4sr9Ld+EXk7N/KGssOr2ygNeojEhw= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19/go.mod h1:6Q0546uHDp421okhmmGfbxzq2hBqbXFNpi4k+Q1JnQA= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10/go.mod h1:Qks+dxK3O+Z2deAhNo6cJ8ls1bam3tUGUAcgxQP1c70= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 h1:sHfDuhbOuuWSIAEDd3pma6p0JgUcR2iePxtCE8gfCxQ= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9/go.mod h1:yQowTpvdZkFVuHrLBXmczat4W+WJKg/PafBZnGBLga0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 h1:sJdKvydGYDML9LTFcp6qq6Z5fIjN0Rdq2Gvw1hUg8tc= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9/go.mod h1:Rc5+wn2k8gFSi3V1Ch4mhxOzjMh+bYSXVFfVaqowQOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 h1:y07kzPdcjuuyDVYWf1CCsQQ6kcAWMbFy+yIJ71xQBS0= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1/go.mod h1:4PZMUkc9rXHWGVB5J9vKaZy3D7Nai79ORworQ3ASMiM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 h1:NvzGue25jKnuAsh6yQ+TZ4ResMcnp49AWgWGm2L4b5o= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2/go.mod h1:u+566cosFI+d+motIz3USXEh6sN8Nq4GrNXSg2RXVMo= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.14/go.mod h1:xakbH8KMsQQKqzX87uyyzTHshc/0/Df8bsTneTS5pFU= +github.com/aws/aws-sdk-go-v2/service/sns v1.17.10/go.mod h1:uITsRNVMeCB3MkWpXxXw0eDz8pW4TYLzj+eyQtbhSxM= +github.com/aws/aws-sdk-go-v2/service/sqs v1.19.1/go.mod h1:A94o564Gj+Yn+7QO1eLFeI7UVv3riy/YBFOfICVqFvU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.27.6/go.mod h1:fiFzQgj4xNOg4/wqmAiPvzgDMXPD+cUEplX/CYn+0j0= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 h1:DQpf+al+aWozOEmVEdml67qkVZ6vdtGUi71BZZWw40k= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9SYh+iMDymm94JbVcgvSYSzU= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.13.4 h1:/RN2z1txIJWeXeOkzX+Hk/4Uuvv7dWtCjbmVJcrskyk= +github.com/aws/smithy-go v1.13.4/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -279,12 +336,15 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2 github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -github.com/cenkalti/backoff/v4 v4.1.2 h1:6Yo7N8UP2K6LWZnW94DLVSSrbobcWdVzAYOisuDPIFo= github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4= +github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= @@ -299,8 +359,11 @@ github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXH github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= @@ -309,6 +372,7 @@ github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= @@ -319,10 +383,13 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/confluentinc/ccloud-sdk-go-v2/apikeys v0.3.0 h1:7AixGTQ3QRYRfmVEJRIs06e0kWuHtc3ObxUr4HZx3p0= github.com/confluentinc/ccloud-sdk-go-v2/apikeys v0.3.0/go.mod h1:wNa9Qg2e2v/+PQsUyKh+qB22hhLkPR6Ahy6rP+1jmGI= github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.6.0 h1:qOBunYd2bWo/IikZ60xMDcp/KfZ/ZahCOoeTjxXOoRU= @@ -341,10 +408,12 @@ github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0 h1:dtLqrG3nltpe2xucO8Bj17HP github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0/go.mod h1:0LAvd4VqlaRwKU4yvDEkVCtV43yNezt56+hBe9Lmg7Q= github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0 h1:DaipFGVdZjAE8eSztUrA/4b74kj6k5lZ0EJmK1RqccU= github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0/go.mod h1:ufn9In8kDsyJ7Nru2ygpAaWdGw7DSDTOTtDhQVSmZjs= -github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0 h1:y9dsFQ6GATM+5r56FklLlnZGQfMdwPsFj+EnliQpe6U= -github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0/go.mod h1:EcmHhRib8dDuO5ZsO+qS3scX9xEP5E/IXOVoItp5X2s= +github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0 h1:u09Qix5FXjPUudT+dy5iJZQpBdMJ4i01Fujh48eyIVk= +github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0/go.mod h1:EcmHhRib8dDuO5ZsO+qS3scX9xEP5E/IXOVoItp5X2s= github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 h1:WcJs6RbY8nU5HapaG0ZCH9ftFBtZyuKMIuNAkdVmc2o= github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0/go.mod h1:zREJ+OOZz0rEXCaPx0JbCVj2EfNnYs/c6qhPDfhldI0= +github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0 h1:X3snoY6twxQ0Z/vbysQrHhdRVkNdpFE/Os7JpMKfXWw= +github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0/go.mod h1:TiRHikjkVYJlhHI8TH2eKeXupQDGQWqkN+JUnv93NRA= github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 h1:ezCzDCOOavjTPVKvdET0QjAXm1u9iRJjg2s5lkSMrps= github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0/go.mod h1:qY4Y/QCDKI0eR+HLVJWGFstsTAiI83+sowKOyoRFhF0= github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= @@ -374,7 +443,6 @@ github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go. github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.4/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= @@ -387,18 +455,18 @@ github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTV github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= github.com/containerd/containerd v1.5.9/go.mod h1:fvQqCfadDGga5HZyn3j4+dx56qj2I9YwBrlSdalvJYQ= -github.com/containerd/containerd v1.6.1 h1:oa2uY0/0G+JX4X7hpGCYvkp9FjUancz56kSNnb1sG3o= github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= +github.com/containerd/containerd v1.6.12 h1:kJ9b3mOFKf8yqo05Ob+tMoxvt1pbVWhnB0re9Y+k+8c= +github.com/containerd/containerd v1.6.12/go.mod h1:K4Bw7gjgh4TnkmQY+py/PYQGp4e7xgnHAeg87VeWb3A= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20200709052629-daa8e1ccc0bc/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/continuity v0.2.2 h1:QSqfxcn8c+12slxwu00AtzXrsami0MJb/MQs9lOLHLA= github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= @@ -461,6 +529,7 @@ github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= @@ -482,28 +551,36 @@ github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjI github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= +github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= +github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs= +github.com/digitalocean/godo v1.81.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/dnephin/pflag v1.0.7/go.mod h1:uxE91IoWURlOiTUIA8Mq5ZZkAv3dPUfZNaT80Zm7OQE= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug= github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.8.0+incompatible h1:l9EaZDICImO1ngI+uTifW+ZYvvz7fKISBAKpg+MbWbY= +github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v1.4.2-0.20200319182547-c7ad2b866182/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.11+incompatible h1:OqzI/g/W54LczvhnccGqniFoQghHx3pklbLuhfXpqGo= github.com/docker/docker v20.10.11+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.14+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.17+incompatible h1:JYCuMrWaVNophQTOrMMoSwudOVEfcegoZZrleKc1xwE= +github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= @@ -511,6 +588,7 @@ github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6Uezg github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= +github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= @@ -519,6 +597,10 @@ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3 github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= @@ -526,6 +608,7 @@ github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -534,38 +617,52 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= +github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= -github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/frankban/quicktest v1.13.0 h1:yNZif1OkDfNoDfb9zZa9aXIpejNR4F23Wely0c+Qdqk= +github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 h1:Uc+IZ7gYqAf/rSGFplbWBSHaGolEQlNLgMgSE3ccnIQ= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813/go.mod h1:P+oSoE9yhSRvsmYyZsshflcR6ePWYLql6UU1amW13IM= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= @@ -584,20 +681,28 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-ldap/ldap/v3 v3.1.3/go.mod h1:3rbOH3jRS2u6jg2rJnKAMLE/xQyCKIveG2Sa/Cohzb8= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= +github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -606,50 +711,97 @@ github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1 github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= +github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= +github.com/go-openapi/runtime v0.23.1/go.mod h1:AKurw9fNre+h3ELZfk6ILsfvPN+bvvlaU/M9q/r9hpk= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= +github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= +github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/strfmt v0.21.2/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg= github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= +github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= +github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= +github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= +github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= +github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= +github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= +github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= +github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= +github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= +github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= +github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= +github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= +github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= +github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= +github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= +github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-yaml v1.9.5/go.mod h1:U/jl18uSupI5rdI2jmuCswEA2htH9eXfferR3KfscvA= github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= +github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= @@ -688,6 +840,7 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= @@ -695,6 +848,7 @@ github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEW github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -711,12 +865,13 @@ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8 github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= +github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE= github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk= -github.com/google/go-replayers/httpreplay v1.0.0 h1:8SmT8fUYM4nueF+UnXIX8LJxNTb1vpPuknXz+yTWzL4= -github.com/google/go-replayers/httpreplay v1.0.0/go.mod h1:LJhKoTwS5Wy5Ld/peq8dFFG5OfJyHEz7ft+DsTUv25M= +github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY= +github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -725,8 +880,9 @@ github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:x github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1 h1:d8MncMlErDFTwQGBK1xhv026j9kqhvw1Qv9IbWT1VLQ= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -736,14 +892,14 @@ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210715191844-86eeefc3e471/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= +github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= @@ -756,29 +912,36 @@ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= +github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.1.0 h1:zO8WHNx/MYiAKJ3d5spxZXZE6KHmIQGQcAzwUzV7qQw= +github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= -github.com/googleapis/gax-go/v2 v2.3.0 h1:nRJtk3y8Fm770D42QV6T90ZnvFZyk7agSo3Q+Z9p3WI= github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/gax-go/v2 v2.4.0 h1:dS9eYAjhrE2RjmzYw2XAPvcXfmcQLtFEQWn0CR82awk= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= -github.com/googleapis/go-type-adapters v1.0.0 h1:9XdMn+d/G57qq1s8dNc5IesGCXHf6V2HZ2JwRxfA2tA= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= +github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gophercloud/gophercloud v0.25.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grafana/regexp v0.0.0-20220304095617-2e8d9baf4ac2/go.mod h1:M5qHK+eWfAv8VR/265dIuEpL3fNfeC21tXXp9itM24A= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= @@ -787,10 +950,20 @@ github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgf github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= +github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= +github.com/hashicorp/cronexpr v1.1.1/go.mod h1:P4wA0KBl9C5q2hABiMO7cp6jcIg96CDh1Efb3g1PWA4= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= @@ -809,12 +982,16 @@ github.com/hashicorp/go-getter v1.6.1/go.mod h1:IZCrswsZPeWv9IkVnLElzRU/gz/QPi6p github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.12.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v0.16.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.1 h1:YQsLlGDJgwhXFpucSPyVbCBviQtjlHv3jLTlp8YmtEw= +github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v1.2.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.2.2 h1:ihRI7YFwcZdiSD7SIenIhHfQH3OuDvWerAUBZbeQS3M= +github.com/hashicorp/go-hclog v1.2.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.1.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.2.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= @@ -823,19 +1000,31 @@ github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.4.4 h1:NVdrSdFRt3SkZtNckJ6tog7gbpRrcbOjQi/rgF7JYWQ= +github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= +github.com/hashicorp/go-plugin v1.4.5 h1:oTE/oQR4eghggRg8VY7PAz3dr++VwDNBGCcOfIvHpBo= +github.com/hashicorp/go-plugin v1.4.5/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-retryablehttp v0.6.2/go.mod h1:gEx6HMUGxYYhJScX7W1Il64m6cc2C1mDaW3NQ9sY1FY= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.0 h1:eu1EI/mbirUgP5C8hVsTNaGZreBDlYiwC1FZWkvQPQ4= -github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= +github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-rootcerts v1.0.1/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= +github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 h1:p4AKXPPS24tO8Wc8i1gLvSKdmkiSY5xuju57czJ/IJQ= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 h1:om4Al8Oy7kCm/B86rLCLah4Dt5Aa0Fr5rYBG60OzwHQ= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= +github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= @@ -853,7 +1042,8 @@ github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09 github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hc-install v0.4.0 h1:cZkRFr1WVa0Ty6x5fTvL1TuO1flul231rWkGH92oYYk= github.com/hashicorp/hc-install v0.4.0/go.mod h1:5d155H8EC5ewegao9A4PUTMNPZaq+TbOzkJJZ4vrXeI= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= @@ -861,15 +1051,20 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= github.com/hashicorp/hcl/v2 v2.13.0/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= -github.com/hashicorp/hcl/v2 v2.14.0 h1:jX6+Q38Ly9zaAJlAjnFVyeNSNCKKW8D0wvyg7vij5Wc= -github.com/hashicorp/hcl/v2 v2.14.0/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= +github.com/hashicorp/hcl/v2 v2.15.0 h1:CPDXO6+uORPjKflkWCCwoWc9uRp+zSIPcCQ+BrxV7m8= +github.com/hashicorp/hcl/v2 v2.15.0/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79oXjopTyH6E8LF0CEMq67STgrlmBRIyijA0tuR5o= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= github.com/hashicorp/terraform-exec v0.17.2 h1:EU7i3Fh7vDUI9nNRdMATCEfnm9axzTnad8zszYZ73Go= github.com/hashicorp/terraform-exec v0.17.2/go.mod h1:tuIbsL2l4MlwwIZx9HPM+LOV9vVyEfBYu2GsO1uH3/8= @@ -889,15 +1084,19 @@ github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b57 github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0= github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/vault/api v1.0.5-0.20200519221902-385fac77e20f/go.mod h1:euTFbi2YJgwcju3imEt919lhJKF68nN1cQPq3aA+kBE= -github.com/hashicorp/vault/api v1.1.1 h1:907ld+Z9cALyvbZK2qUX9cLwvSaEQsMVQB3x2KE8+AI= -github.com/hashicorp/vault/api v1.1.1/go.mod h1:29UXcn/1cLOPHQNMWA7bCz2By4PSd0VKPAydKXS5yN0= -github.com/hashicorp/vault/sdk v0.1.14-0.20200519221530-14615acda45f/go.mod h1:WX57W2PwkrOPQ6rVQk+dy5/htHIaB4aBM70EwKThu10= -github.com/hashicorp/vault/sdk v0.2.1 h1:S4O6Iv/dyKlE9AUTXGa7VOvZmsCvg36toPKgV4f2P4M= -github.com/hashicorp/vault/sdk v0.2.1/go.mod h1:WfUiO1vYzfBkz1TmoE4ZGU7HD0T0Cl/rZwaxjBkgN4U= +github.com/hashicorp/vault/api v1.7.2/go.mod h1:xbfA+1AvxFseDzxxdWaL0uO99n1+tndus4GCrtouy0M= +github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM= +github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE= +github.com/hashicorp/vault/sdk v0.5.1/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.5.3/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.6.1 h1:sjZC1z4j5Rh2GXYbkxn5BLK05S1p7+MhW4AgdUmgRUA= +github.com/hashicorp/vault/sdk v0.6.1/go.mod h1:Ck4JuAC6usTphfrrRJCRH+7/N7O2ozZzkm/fzQFt4uM= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= +github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= +github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= @@ -906,10 +1105,13 @@ github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= @@ -918,20 +1120,61 @@ github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= +github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= +github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.12.1/go.mod h1:ZkhRC59Llhrq3oSfrikvwQ5NaxYExr6twkdkMLaKono= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.11.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= +github.com/jackc/pgx/v4 v4.16.1/go.mod h1:SIhx0D5hoADaiXZVyv+3gSm3LCIIINTVO0PficsvWGQ= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.2.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -944,6 +1187,7 @@ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFF github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -954,6 +1198,8 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= +github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= @@ -968,8 +1214,10 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.5 h1:9O69jUPDcsT9fEm74W92rZL9FQY7rCdaXVneq+yyzl4= -github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.1 h1:y9FcTHGyrebwfP0ZZqFiaxTaiDnUrGkJkI+f583BL1A= +github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -978,10 +1226,12 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -989,8 +1239,18 @@ github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LE github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= +github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= +github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls= @@ -1000,6 +1260,9 @@ github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= +github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= @@ -1012,11 +1275,10 @@ github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-ieproxy v0.0.1 h1:qiyop7gCflfhwCzGyeT0gro3sF9AIg9HU98JORTkqfI= -github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= @@ -1035,10 +1297,16 @@ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182aff github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= github.com/mitchellh/cli v1.1.2 h1:PvH+lL2B7IQ101xQL63Of8yFS2y+aDlsFcsqNc+u/Kw= github.com/mitchellh/cli v1.1.2/go.mod h1:6iaV0fGdElS6dPBx0EApTxHrcWvmJphyh2n8YBLPPZ4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= @@ -1064,10 +1332,10 @@ github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1D github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= @@ -1097,10 +1365,15 @@ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lN github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -1108,6 +1381,13 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRW github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= @@ -1115,13 +1395,16 @@ github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= +github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -1133,6 +1416,7 @@ github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9k github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= @@ -1140,6 +1424,7 @@ github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -1172,65 +1457,98 @@ github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqi github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/posener/complete v1.2.1 h1:LrvDIY//XNo65Lq84G/akBuMGlawHvGBABv8f/ZN6DI= github.com/posener/complete v1.2.1/go.mod h1:6gapUrK/U1TAN7ciCoNRIdVC5sbdBTUh1DKN0g6uH7E= +github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= +github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= +github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= +github.com/prometheus/alertmanager v0.24.0/go.mod h1:r6fy/D7FRuZh5YbnX6J3MBY0eI4Pb5yPYS7/bPSXXqI= github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE= +github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/common/assets v0.1.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/assets v0.2.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= +github.com/prometheus/exporter-toolkit v0.7.1/go.mod h1:ZUBIj498ePooX9t/2xtDjeQYwvRpiPP2lh5u4iblj2g= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= @@ -1241,32 +1559,43 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= +github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.6.0 h1:haiSQJlhrQIBBcR0r0aQCIF8i69e4znzRnHpaNQUchE= -github.com/pulumi/pulumi-java/pkg v0.6.0/go.mod h1:xSK2B792P8zjwYZTHYapMM1RJdue2BpRFQNYObWO0C8= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.32.0 h1:6L5HOeLAL8hHTpilpN8MXiLwkOQ8EvQDbAvf92nXG1c= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.32.0/go.mod h1:A9zPf7L/1wX6qVBdLmPKLFO9cS27KED5OjkS7s2p3Mc= -github.com/pulumi/pulumi-yaml v0.5.8 h1:bJp8g6A0wU+5c56Cft8GEQ7/8prGggBlZuDTcgTS40o= -github.com/pulumi/pulumi-yaml v0.5.8/go.mod h1:rJCp0HXvJGG+hs40wII9yYxuCeBBr2+e8FytW0YnINM= -github.com/pulumi/pulumi/pkg/v3 v3.40.2 h1:0uDJHd74nM5tvp9JrRr2ODGirpOPH9DRa6WpvlXrlEY= -github.com/pulumi/pulumi/pkg/v3 v3.40.2/go.mod h1:2deaFjnn816pgaHr4pyrHGgQjIBq2Vyv47wReijquTQ= -github.com/pulumi/pulumi/sdk/v3 v3.40.2 h1:y3ldnshfB1Hz+XrCmHkpF5igpCHepKSdvd2Mu/8xvng= -github.com/pulumi/pulumi/sdk/v3 v3.40.2/go.mod h1:N5jL+cw5KiOeMn9bwvRuPQEAhbE3KPq2wSb/Kw+6HuY= +github.com/pulumi/pulumi-java/pkg v0.7.1 h1:3tl36+I5BRYVXbq10mqDeh3X5kdJBaNDYiATOfEfgSY= +github.com/pulumi/pulumi-java/pkg v0.7.1/go.mod h1:XdN2jYNlcQewr0MFecZfBnY3gnGcvV+WoPTzQqH48k4= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1 h1:LhpJzV5b+7SpEVpYhS6IVYCKk+jO0WPY6yEfm7vJUYE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1/go.mod h1:RC9XOYwRU6c+1TtZKwwzpojz6POHz8Mbtx9qZcU+lPA= +github.com/pulumi/pulumi-yaml v1.0.4 h1:p+989rW3AqkkxbzxtxccHKAN4xCJi3K2cRpvA2K84tw= +github.com/pulumi/pulumi-yaml v1.0.4/go.mod h1:Szj8ud4Vqyq3oO1n3kzIUfaP3AiCjYZM4FYjOVWwJn8= +github.com/pulumi/pulumi/pkg/v3 v3.51.0 h1:FAgWGex4SIMvu3wCIoANjhI4uEUXk4IgHM/HMVZnZ0M= +github.com/pulumi/pulumi/pkg/v3 v3.51.0/go.mod h1:bFQ7L/kRgR7NIcVM4ET0Jm7n0k2oCeiEIUQtcEibKLs= +github.com/pulumi/pulumi/sdk/v3 v3.51.0 h1:i9xhvte67aNNk9q9M8/KV7An3zWp6Na8huKRznZx1lw= +github.com/pulumi/pulumi/sdk/v3 v3.51.0/go.mod h1:tqQ4z9ocyM/UI2VQ7ZReWR3w6dF5ffEozoHipOMcDh4= github.com/pulumi/schema-tools v0.1.0 h1:o1nVQaJEnmcA+3trxe+0sIDlrILxEIOvgUQ2Ze4OFsk= github.com/pulumi/schema-tools v0.1.0/go.mod h1:feL1siLWdcCNUm+irXoHyNHbGaqoX7pfYojpGZe2ziY= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 h1:JMw+t5I+6E8Lna7JF+ghAoOLOl23UIbshJyRNP+K1HU= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9/go.mod h1:mYPs/uchNcBq7AclQv9QUtSf9iNcfp1Ag21jqTlDf2M= -github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e h1:wm1+xCh3ZGgIuHR5YqRDZnnGq7drPULgX4o3j+U0npg= -github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e/go.mod h1:B7qu0d6DsMec1CWbjN9ZQYjgHxAfOCeZNWXbCOYnpGo= +github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79 h1:8KLEVKTOJpibGtnZwOXMBoOke03Lbrs/FTc67OhmQbU= +github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79/go.mod h1:NQNAOZUPrvG8UP+6qKS5TMp1F+9NOR7bUeu68hItLLw= +github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg= -github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1280,9 +1609,11 @@ github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiB github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/samber/lo v1.20.0 h1:20FtphdORvp4yxklurzZv2HX+g+0urEMQziODC5bV70= github.com/samber/lo v1.20.0/go.mod h1:2I7tgIv8Q1SG2xEIkRq0F2i2zgxVpnyPOP0d3Gj2r+A= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= @@ -1297,11 +1628,16 @@ github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAm github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= +github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= @@ -1313,20 +1649,23 @@ github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:s github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= -github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= +github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= +github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1339,12 +1678,16 @@ github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/y github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/objx v0.4.0 h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -1355,18 +1698,22 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= +github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= +github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0= github.com/testcontainers/testcontainers-go v0.13.0 h1:OUujSlEGsXVo/ykPVZk3KanBNGN0TYb/7oKIPVn15JA= github.com/testcontainers/testcontainers-go v0.13.0/go.mod h1:z1abufU633Eb/FmSBTzV6ntZAC1eZBYPtaFsn4nPuDk= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -1404,6 +1751,7 @@ github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvC github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= github.com/walkerus/go-wiremock v1.2.0 h1:c8Y6ihQdTact5Z7NvYLBTu8n19hXocEDvqOgTbkBwhU= github.com/walkerus/go-wiremock v1.2.0/go.mod h1:LLgrMO0k+kiwm5YvnXbvNL/EgqBKFcOoJXpA+ZwuKDk= github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= @@ -1411,6 +1759,9 @@ github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= github.com/xanzy/ssh-agent v0.3.2 h1:eKj4SX2Fe7mui28ZgnFW5fmTz1EIr7ugo5s6wDxdHBM= github.com/xanzy/ssh-agent v0.3.2/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= @@ -1419,12 +1770,15 @@ github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= @@ -1433,15 +1787,18 @@ github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLE github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.10.0 h1:mp9ZXQeIcN8kAwuqorjH+Q+njbJKjLrvB2yIh4q7U+0= github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= +github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= @@ -1450,65 +1807,99 @@ go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lL go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= +go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= +go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= +go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= +go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= +go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.7.0/go.mod h1:M1hVZHNxcbkAlcvrOMlpQ4YOO3Awf+4N2dxkZL3xm04= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.1/go.mod h1:YJ/JbY5ag/tSQFXzH3mtDmHqzF3aFn3DI/aB1n7pt4w= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.7.0/go.mod h1:ceUgdyfNv4h4gLxHR0WNfDiiVmZFodZhZSbOLhpxqXE= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.1/go.mod h1:UJJXJj0rltNIemDMwkOJyggsvyMG9QHfJeFH0HS5JjM= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.7.0/go.mod h1:E+/KKhwOSw8yoPxSSuUHG6vKppkvhN+S1Jc7Nib3k3o= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.1/go.mod h1:DAKwdo06hFLc0U88O10x4xnb5sc7dDRDqRuiN+io8JE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1:aFXT9Ng2seM9eizF+LfKiyPBGy8xIZKwhusC1gIu3hA= go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= +go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= +go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E= +go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= +go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= +go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= +go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= +go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= +go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -gocloud.dev v0.24.0 h1:cNtHD07zQQiv02OiwwDyVMuHmR7iQt2RLkzoAgz7wBs= -gocloud.dev v0.24.0/go.mod h1:uA+als++iBX5ShuG4upQo/3Zoz49iIPlYUWHV5mM8w8= -gocloud.dev/secrets/hashivault v0.24.0 h1:rutqnevHcRze+92YMGmjCH3gX+qES8IArg5qPhr8ZnM= -gocloud.dev/secrets/hashivault v0.24.0/go.mod h1:I4EieZgy8VTp5iVK2jSPlTidjENujhKq2Y/wXz8r8V0= +go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= +gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= +gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo= +gocloud.dev/secrets/hashivault v0.27.0/go.mod h1:offqsI5oj0B0bVHZdfk/88uIb3NnN93ia8py0yvRlHY= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -1516,20 +1907,30 @@ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220824171710-5757bc0c5503 h1:vJ2V3lFLg+bBhgroYuRfyN583UzVveQmIXjc8T/y3to= golang.org/x/crypto v0.0.0-20220824171710-5757bc0c5503/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1570,8 +1971,10 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.6.0-dev.0.20211013180041-c96bc1413d57 h1:LQmS1nU0twXLA96Kt7U9qtHJEbBk3z6Q0V4UXjZkpr4= -golang.org/x/mod v0.6.0-dev.0.20211013180041-c96bc1413d57/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1583,6 +1986,7 @@ golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -1597,9 +2001,9 @@ golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1613,11 +2017,11 @@ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -1629,21 +2033,31 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= +golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211108170745-6635138e15ea/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220325170049-de3da57026de h1:pZB1TWnKi+o4bENlbzAgLrEbY4RMYmUIRobMcSmfeYc= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b h1:3ogNYyK4oIQdIKzTu68hQrr4iuVxF3AxKl9Aj/eDrw0= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1652,7 +2066,6 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -1661,23 +2074,31 @@ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c h1:q3gFqPqH7NVofKo3c3yETAP//pPI+G5mvB7qqj1Y5kY= +golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 h1:uVc8UZUe6tr40fFVnUP5Oj+veunVezqYl9z7DYw9xzw= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1685,12 +2106,14 @@ golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1698,6 +2121,7 @@ golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1708,19 +2132,22 @@ golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1740,14 +2167,12 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1765,13 +2190,14 @@ golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210223095934-7937bea0104d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1786,6 +2212,7 @@ golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1793,19 +2220,32 @@ golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220823224334-20c2bfdbfe24 h1:TyKJRhyo17yWxOMCTHKWrc5rddHORMlnZ/j57umaUd8= golang.org/x/sys v0.0.0-20220823224334-20c2bfdbfe24/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -1822,8 +2262,9 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1831,9 +2272,14 @@ golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 h1:ftMN5LMiBFjbzleLqtoBZk7KdJwhuybIU+FckUHgoyQ= +golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1843,10 +2289,15 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= @@ -1854,9 +2305,12 @@ golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1866,6 +2320,7 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -1896,21 +2351,29 @@ golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.8-0.20211029000441-d6a9af8af023 h1:0c3L82FDQ5rt1bjTBlchS8t6RQ6299/+5bWMnRLh+uI= +golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= +golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -1929,7 +2392,6 @@ google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSr google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.37.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= @@ -1938,20 +2400,29 @@ google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59t google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.52.0/go.mod h1:Him/adpjt0sxtkWViy0b6xyKW/SD71CwdJ7HqJo7SrU= google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E= +google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= -google.golang.org/api v0.74.0 h1:ExR2D+5TYIrMphWgs5JCgwRhEDlPDXXrLwHHMgPHTXE= google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= +google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= +google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= +google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.91.0 h1:731+JzuwaJoZXRQGmPoBiV+SrsAfUaIkdMCWTcQNPyA= +google.golang.org/api v0.91.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= @@ -1967,6 +2438,7 @@ google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= @@ -2006,8 +2478,6 @@ google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2023,20 +2493,20 @@ google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxH google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210721163202-f1cecdd8b78a/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210722135532-667f2b7c528f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211018162055-cf77aa76bad2/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -2048,18 +2518,33 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335 h1:2D0OT6tPVdrQTOnVe1VQjfJPTED6EZ7fdJ/f6Db6OsY= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78 h1:QntLWYqZeuBtJkth3m/6DLznnI0AHJr+AgJXvVh/izw= +google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= @@ -2085,14 +2570,17 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= -google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -2111,8 +2599,6 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f h1:AQkMzsSzHWrgZWqGRpuRaRPDmyNibcXlpGcnQJ7HxZw= -gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f/go.mod h1:CaHjv79TCgAvXMSFJSVgonHXYWxnhzI3eoHtnX5UgUo= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -2126,9 +2612,12 @@ gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qS gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= @@ -2136,6 +2625,7 @@ gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76 gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/telebot.v3 v3.0.0/go.mod h1:7rExV8/0mDDNu9epSrDm/8j22KLaActH1Tbee6YjzWg= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= @@ -2150,6 +2640,7 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= @@ -2160,6 +2651,7 @@ gotest.tools/gotestsum v1.7.0/go.mod h1:V1m4Jw3eBerhI/A6qCxUE07RnCg7ACkKj9BYcAm0 gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -2171,11 +2663,15 @@ k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= +k8s.io/api v0.23.5/go.mod h1:Na4XuKng8PXJ2JsploYYrivXrINeTaycCGcYgF91Xm8= +k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= +k8s.io/apimachinery v0.23.5/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= +k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= @@ -2184,6 +2680,8 @@ k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= +k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= +k8s.io/client-go v0.24.2/go.mod h1:zg4Xaoo+umDsfCWr4fCnmLEtQXyCNXCvJuSsglNcV30= k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= @@ -2197,24 +2695,33 @@ k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= +k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v0.4.7 h1:MTNRktPuv5FNqOO151TM9mDTa+XHcX6ypYeISDVD14g= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= @@ -2222,11 +2729,16 @@ rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/provider/resources.go b/provider/resources.go index 9a3fafb5..56011fa8 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -95,30 +95,47 @@ func Provider() tfbridge.ProviderInfo { Fields: map[string]*tfbridge.SchemaInfo{ "display_name": tfbridge.AutoName("displayName", 255, "-"), }}, - "confluent_identity_pool": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdentityPool")}, - "confluent_identity_provider": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdentityProvider")}, - "confluent_ksql_cluster": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "KsqlCluster")}, - "confluent_schema_registry_cluster": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SchemaRegistryCluster")}, - "confluent_transit_gateway_attachment": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "TransitGatewayAttachment")}, + "confluent_identity_pool": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdentityPool")}, + "confluent_identity_provider": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdentityProvider")}, + "confluent_ksql_cluster": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "KsqlCluster")}, + "confluent_schema": { + Tok: tfbridge.MakeResource(mainPkg, mainMod, "Schema"), + Fields: map[string]*tfbridge.SchemaInfo{ + "schema": { + CSharpName: "SchemaDetails", + }, + }, + }, + "confluent_schema_registry_cluster": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SchemaRegistryCluster")}, + "confluent_schema_registry_cluster_config": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SchemaRegistryClusterConfig")}, + "confluent_schema_registry_cluster_mode": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SchemaRegistryClusterMode")}, + "confluent_subject_config": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SubjectConfig")}, + "confluent_subject_mode": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SubjectMode")}, + "confluent_transit_gateway_attachment": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "TransitGatewayAttachment")}, }, DataSources: map[string]*tfbridge.DataSourceInfo{ - "confluent_environment": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getEnvironment")}, - "confluent_kafka_client_quota": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaClientQuota")}, - "confluent_kafka_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaCluster")}, - "confluent_kafka_topic": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaTopic")}, - "confluent_network": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getNetwork")}, - "confluent_organization": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrganization")}, - "confluent_service_account": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getServiceAccount")}, - "confluent_user": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getUser")}, - "confluent_peering": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getPeering")}, - "confluent_private_link_access": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getPrivateLinkAccess")}, - "confluent_role_binding": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getRoleBinding")}, - "confluent_identity_pool": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdentityPool")}, - "confluent_identity_provider": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdentityProvider")}, - "confluent_ksql_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKsqlCluster")}, - "confluent_schema_registry_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryCluster")}, - "confluent_schema_registry_region": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryRegion")}, - "confluent_transit_gateway_attachment": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getTransitGatewayAttachment")}, + "confluent_environment": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getEnvironment")}, + "confluent_kafka_client_quota": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaClientQuota")}, + "confluent_kafka_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaCluster")}, + "confluent_kafka_topic": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKafkaTopic")}, + "confluent_network": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getNetwork")}, + "confluent_organization": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrganization")}, + "confluent_service_account": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getServiceAccount")}, + "confluent_user": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getUser")}, + "confluent_peering": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getPeering")}, + "confluent_private_link_access": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getPrivateLinkAccess")}, + "confluent_role_binding": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getRoleBinding")}, + "confluent_identity_pool": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdentityPool")}, + "confluent_identity_provider": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdentityProvider")}, + "confluent_ksql_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getKsqlCluster")}, + "confluent_schema": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchema")}, + "confluent_schema_registry_cluster": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryCluster")}, + "confluent_schema_registry_cluster_config": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryClusterConfig")}, + "confluent_schema_registry_cluster_mode": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryClusterMode")}, + "confluent_schema_registry_region": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSchemaRegistryRegion")}, + "confluent_subject_config": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSubjectConfig")}, + "confluent_subject_mode": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSubjectMode")}, + "confluent_transit_gateway_attachment": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getTransitGatewayAttachment")}, }, JavaScript: &tfbridge.JavaScriptInfo{ Dependencies: map[string]string{ diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 854a6a9d..627f0a03 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -7,12 +7,12 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.16.0 ) -replace github.com/confluentinc/terraform-provider-confluent => github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e +replace github.com/confluentinc/terraform-provider-confluent => github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79 require ( github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect - github.com/Microsoft/go-winio v0.5.1 // indirect - github.com/Microsoft/hcsshim v0.9.3 // indirect + github.com/Microsoft/go-winio v0.5.2 // indirect + github.com/Microsoft/hcsshim v0.9.5 // indirect github.com/agext/levenshtein v1.2.2 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/cenkalti/backoff/v4 v4.1.2 // indirect @@ -25,13 +25,14 @@ require ( github.com/confluentinc/ccloud-sdk-go-v2/kafkarest v0.8.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0 // indirect - github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0 // indirect + github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 // indirect + github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0 // indirect github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 // indirect github.com/containerd/cgroups v1.0.3 // indirect - github.com/containerd/containerd v1.6.1 // indirect + github.com/containerd/containerd v1.6.12 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/docker/distribution v2.7.1+incompatible // indirect + github.com/docker/distribution v2.8.0+incompatible // indirect github.com/docker/docker v20.10.11+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.4.0 // indirect @@ -87,15 +88,15 @@ require ( github.com/walkerus/go-wiremock v1.2.0 // indirect github.com/zclconf/go-cty v1.10.0 // indirect go.opencensus.io v0.23.0 // indirect - golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect + golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect - golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect + golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect - golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect + golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect golang.org/x/text v0.3.7 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect - google.golang.org/grpc v1.45.0 // indirect + google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect + google.golang.org/grpc v1.47.0 // indirect google.golang.org/protobuf v1.28.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 9bc13c69..a032686b 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -1,5 +1,4 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -15,11 +14,6 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -28,7 +22,6 @@ cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4g cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -39,24 +32,19 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -68,8 +56,8 @@ github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugX github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.1 h1:aPJp2QD7OOrhO5tQXqQoGSJc+DjDtWTGLOmNyAm6FgY= -github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= @@ -77,16 +65,13 @@ github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg3 github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= -github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= -github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= -github.com/Microsoft/hcsshim v0.9.3 h1:k371PzBuRrz2b+ebGuI2nVgVhgsVX60jMfSw80NECxo= -github.com/Microsoft/hcsshim v0.9.3/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= +github.com/Microsoft/hcsshim v0.9.5 h1:AbV+VPfTrIVffukazHcpxmz/sRiE6YaMDzHWR9BXZHo= +github.com/Microsoft/hcsshim v0.9.5/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= @@ -104,9 +89,7 @@ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuy github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= -github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= @@ -115,14 +98,10 @@ github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/ github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -130,13 +109,11 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= @@ -144,11 +121,8 @@ github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInq github.com/cenkalti/backoff/v4 v4.1.2 h1:6Yo7N8UP2K6LWZnW94DLVSSrbobcWdVzAYOisuDPIFo= github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= @@ -163,17 +137,13 @@ github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= -github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/confluentinc/ccloud-sdk-go-v2/apikeys v0.3.0 h1:7AixGTQ3QRYRfmVEJRIs06e0kWuHtc3ObxUr4HZx3p0= github.com/confluentinc/ccloud-sdk-go-v2/apikeys v0.3.0/go.mod h1:wNa9Qg2e2v/+PQsUyKh+qB22hhLkPR6Ahy6rP+1jmGI= github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.6.0 h1:qOBunYd2bWo/IikZ60xMDcp/KfZ/ZahCOoeTjxXOoRU= @@ -192,10 +162,12 @@ github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0 h1:dtLqrG3nltpe2xucO8Bj17HP github.com/confluentinc/ccloud-sdk-go-v2/ksql v0.1.0/go.mod h1:0LAvd4VqlaRwKU4yvDEkVCtV43yNezt56+hBe9Lmg7Q= github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0 h1:DaipFGVdZjAE8eSztUrA/4b74kj6k5lZ0EJmK1RqccU= github.com/confluentinc/ccloud-sdk-go-v2/mds v0.3.0/go.mod h1:ufn9In8kDsyJ7Nru2ygpAaWdGw7DSDTOTtDhQVSmZjs= -github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0 h1:y9dsFQ6GATM+5r56FklLlnZGQfMdwPsFj+EnliQpe6U= -github.com/confluentinc/ccloud-sdk-go-v2/networking v0.4.0/go.mod h1:EcmHhRib8dDuO5ZsO+qS3scX9xEP5E/IXOVoItp5X2s= +github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0 h1:u09Qix5FXjPUudT+dy5iJZQpBdMJ4i01Fujh48eyIVk= +github.com/confluentinc/ccloud-sdk-go-v2/networking v0.5.0/go.mod h1:EcmHhRib8dDuO5ZsO+qS3scX9xEP5E/IXOVoItp5X2s= github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 h1:WcJs6RbY8nU5HapaG0ZCH9ftFBtZyuKMIuNAkdVmc2o= github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0/go.mod h1:zREJ+OOZz0rEXCaPx0JbCVj2EfNnYs/c6qhPDfhldI0= +github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0 h1:X3snoY6twxQ0Z/vbysQrHhdRVkNdpFE/Os7JpMKfXWw= +github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.1.0/go.mod h1:TiRHikjkVYJlhHI8TH2eKeXupQDGQWqkN+JUnv93NRA= github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 h1:ezCzDCOOavjTPVKvdET0QjAXm1u9iRJjg2s5lkSMrps= github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0/go.mod h1:qY4Y/QCDKI0eR+HLVJWGFstsTAiI83+sowKOyoRFhF0= github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= @@ -235,10 +207,9 @@ github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09Zvgq github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= -github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= github.com/containerd/containerd v1.5.9/go.mod h1:fvQqCfadDGga5HZyn3j4+dx56qj2I9YwBrlSdalvJYQ= -github.com/containerd/containerd v1.6.1 h1:oa2uY0/0G+JX4X7hpGCYvkp9FjUancz56kSNnb1sG3o= -github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= +github.com/containerd/containerd v1.6.12 h1:kJ9b3mOFKf8yqo05Ob+tMoxvt1pbVWhnB0re9Y+k+8c= +github.com/containerd/containerd v1.6.12/go.mod h1:K4Bw7gjgh4TnkmQY+py/PYQGp4e7xgnHAeg87VeWb3A= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= @@ -246,8 +217,7 @@ github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cE github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/continuity v0.2.2 h1:QSqfxcn8c+12slxwu00AtzXrsami0MJb/MQs9lOLHLA= -github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= @@ -256,8 +226,6 @@ github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1S github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= -github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= -github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= @@ -267,7 +235,6 @@ github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= -github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= @@ -290,20 +257,15 @@ github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNR github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= -github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= -github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= @@ -339,8 +301,9 @@ github.com/dnephin/pflag v1.0.7/go.mod h1:uxE91IoWURlOiTUIA8Mq5ZZkAv3dPUfZNaT80Z github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug= github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.8.0+incompatible h1:l9EaZDICImO1ngI+uTifW+ZYvvz7fKISBAKpg+MbWbY= +github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v20.10.11+incompatible h1:OqzI/g/W54LczvhnccGqniFoQghHx3pklbLuhfXpqGo= github.com/docker/docker v20.10.11+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= @@ -366,27 +329,21 @@ github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3 github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= -github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= @@ -404,38 +361,26 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg= github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= @@ -468,7 +413,6 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -486,12 +430,10 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -509,10 +451,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -520,10 +460,6 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -535,8 +471,6 @@ github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= @@ -548,13 +482,10 @@ github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= @@ -571,8 +502,6 @@ github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrj github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= @@ -581,18 +510,13 @@ github.com/hashicorp/go-plugin v1.4.3 h1:DXmvivbWD5qdiBts9TpBC7BYL1Aia5sxbRgQB+v github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-retryablehttp v0.7.0 h1:eu1EI/mbirUgP5C8hVsTNaGZreBDlYiwC1FZWkvQPQ4= github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.4.0 h1:aAQzgqIrRKRa7w75CKpbBxYsmUoPjzVm1W59ca1L0J4= github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.3.2 h1:oiQdJZvXmkNcRcEOOfM5n+VTsvNjWQeOjfAoO6dKSH8= @@ -602,9 +526,6 @@ github.com/hashicorp/hcl/v2 v2.12.0 h1:PsYxySWpMD4KPaoJLnsHwtK5Qptvj/4Q6s0t4sUxZ github.com/hashicorp/hcl/v2 v2.12.0/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/terraform-exec v0.16.1 h1:NAwZFJW2L2SaCBVZoVaH8LPImLOGbPLkSHy0IYbs2uE= github.com/hashicorp/terraform-exec v0.16.1/go.mod h1:aj0lVshy8l+MHhFNoijNHtqTJQI3Xlowv5EOsEaGO7M= github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY= @@ -624,7 +545,6 @@ github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1 github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -632,9 +552,7 @@ github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= -github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= @@ -645,18 +563,13 @@ github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -682,21 +595,18 @@ github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LE github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= @@ -705,29 +615,21 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= -github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= @@ -735,25 +637,20 @@ github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/moby/sys/mount v0.2.0 h1:WhCW5B355jtxndN5ovugJlMFJawbUODuW8fSnEH6SSM= github.com/moby/sys/mount v0.2.0/go.mod h1:aAivFE2LB3W4bACsUXChRHQ0qKWsetY4Y9V7sxOougM= github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.5.0 h1:2Ks8/r6lopsxWi9m58nlwjaeSzUX9iiL1vj5qB/9ObI= github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= -github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= -github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= -github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= @@ -761,13 +658,11 @@ github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2 github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= @@ -781,18 +676,13 @@ github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+ github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= -github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -801,7 +691,6 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8 github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 h1:rc3tiVYb5z54aKaDfakKn0dDjIyPpTtszkjuMzyt7ec= github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= @@ -811,7 +700,6 @@ github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= -github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.2 h1:2VSZwLx5k/BfsBxMMipG/LYUnmqOD/BPkIVgQUcTlLw= github.com/opencontainers/runc v1.1.2/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= @@ -825,11 +713,8 @@ github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqi github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -838,7 +723,6 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= @@ -846,7 +730,6 @@ github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDf github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -858,8 +741,6 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= @@ -871,23 +752,18 @@ github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+Gx github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e h1:wm1+xCh3ZGgIuHR5YqRDZnnGq7drPULgX4o3j+U0npg= -github.com/pulumi/terraform-provider-confluent v0.0.0-20221205182427-7f5cfa878b3e/go.mod h1:B7qu0d6DsMec1CWbjN9ZQYjgHxAfOCeZNWXbCOYnpGo= +github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79 h1:8KLEVKTOJpibGtnZwOXMBoOke03Lbrs/FTc67OhmQbU= +github.com/pulumi/terraform-provider-confluent v0.0.0-20230125231056-4dd6eb473c79/go.mod h1:NQNAOZUPrvG8UP+6qKS5TMp1F+9NOR7bUeu68hItLLw= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/samber/lo v1.20.0 h1:20FtphdORvp4yxklurzZv2HX+g+0urEMQziODC5bV70= github.com/samber/lo v1.20.0/go.mod h1:2I7tgIv8Q1SG2xEIkRq0F2i2zgxVpnyPOP0d3Gj2r+A= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= @@ -906,9 +782,7 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= @@ -916,7 +790,6 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -925,9 +798,7 @@ github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -940,7 +811,6 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -950,8 +820,6 @@ github.com/testcontainers/testcontainers-go v0.13.0/go.mod h1:z1abufU633Eb/FmSBT github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= @@ -960,11 +828,9 @@ github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= -github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= @@ -1003,56 +869,23 @@ go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= -go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= -go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= -go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= -go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= -go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -1064,12 +897,11 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1094,8 +926,6 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -1104,8 +934,6 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1113,9 +941,7 @@ golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1144,43 +970,28 @@ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211108170745-6635138e15ea/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM= -golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f h1:Qmd2pbz05z7z6lm0DrgQVVPuBm92jqujBKMHMOlOQEw= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1194,11 +1005,9 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1249,16 +1058,12 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1269,39 +1074,25 @@ golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1318,9 +1109,7 @@ golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1343,8 +1132,6 @@ golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDq golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1373,17 +1160,10 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1406,11 +1186,6 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1444,7 +1219,6 @@ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1455,22 +1229,9 @@ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7Fc google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa h1:I0YcKz0I7OAhddo7ya8kMnvprhcWM045PmkBdMO9zN0= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 h1:hrbNEivu7Zn1pxvHk6MBrq9iE22woVILTHqexqBxe6I= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1488,20 +1249,13 @@ google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKa google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.45.0 h1:NEpgUqV3Z+ZjkqMsxMg11IaDrXY4RY6CQukSGK0uI1M= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0 h1:9n77onPX5F3qfFCqjy9dhn8PbNQsIKeVU04J9G7umt8= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1531,7 +1285,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= @@ -1550,9 +1303,9 @@ gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/gotestsum v1.7.0/go.mod h1:V1m4Jw3eBerhI/A6qCxUE07RnCg7ACkKj9BYcAm09V8= @@ -1569,55 +1322,40 @@ honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= -k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= -k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= -k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= -k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= -k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= -k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= -k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= -k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/sdk/dotnet/ApiKey.cs b/sdk/dotnet/ApiKey.cs index edaa78ac..bf37d748 100644 --- a/sdk/dotnet/ApiKey.cs +++ b/sdk/dotnet/ApiKey.cs @@ -12,7 +12,7 @@ namespace Pulumi.ConfluentCloud /// /// ## Import /// - /// You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `<Environment ID>/<Kafka API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Kafka API Key + /// You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key /// /// ```sh /// $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV" @@ -48,7 +48,7 @@ public partial class ApiKey : global::Pulumi.CustomResource public Output DisplayName { get; private set; } = null!; /// - /// The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + /// The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. /// [Output("managedResource")] public Output ManagedResource { get; private set; } = null!; @@ -134,7 +134,7 @@ public sealed class ApiKeyArgs : global::Pulumi.ResourceArgs public Input? DisplayName { get; set; } /// - /// The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + /// The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. /// [Input("managedResource")] public Input? ManagedResource { get; set; } @@ -172,7 +172,7 @@ public sealed class ApiKeyState : global::Pulumi.ResourceArgs public Input? DisplayName { get; set; } /// - /// The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + /// The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. /// [Input("managedResource")] public Input? ManagedResource { get; set; } diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 9c103303..ed7670f1 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -82,6 +82,16 @@ public static string? KafkaApiSecret set => _kafkaApiSecret.Set(value); } + private static readonly __Value _kafkaId = new __Value(() => __config.Get("kafkaId")); + /// + /// The Kafka Cluster ID. + /// + public static string? KafkaId + { + get => _kafkaId.Get(); + set => _kafkaId.Set(value); + } + private static readonly __Value _kafkaRestEndpoint = new __Value(() => __config.Get("kafkaRestEndpoint")); /// /// The Kafka Cluster REST Endpoint. @@ -102,5 +112,45 @@ public static int? MaxRetries set => _maxRetries.Set(value); } + private static readonly __Value _schemaRegistryApiKey = new __Value(() => __config.Get("schemaRegistryApiKey")); + /// + /// The Schema Registry Cluster API Key. + /// + public static string? SchemaRegistryApiKey + { + get => _schemaRegistryApiKey.Get(); + set => _schemaRegistryApiKey.Set(value); + } + + private static readonly __Value _schemaRegistryApiSecret = new __Value(() => __config.Get("schemaRegistryApiSecret")); + /// + /// The Schema Registry Cluster API Secret. + /// + public static string? SchemaRegistryApiSecret + { + get => _schemaRegistryApiSecret.Get(); + set => _schemaRegistryApiSecret.Set(value); + } + + private static readonly __Value _schemaRegistryId = new __Value(() => __config.Get("schemaRegistryId")); + /// + /// The Schema Registry Cluster ID. + /// + public static string? SchemaRegistryId + { + get => _schemaRegistryId.Get(); + set => _schemaRegistryId.Set(value); + } + + private static readonly __Value _schemaRegistryRestEndpoint = new __Value(() => __config.Get("schemaRegistryRestEndpoint")); + /// + /// The Schema Registry Cluster REST Endpoint. + /// + public static string? SchemaRegistryRestEndpoint + { + get => _schemaRegistryRestEndpoint.Get(); + set => _schemaRegistryRestEndpoint.Set(value); + } + } } diff --git a/sdk/dotnet/GetIdentityPool.cs b/sdk/dotnet/GetIdentityPool.cs index d2cf7545..69b60fe3 100644 --- a/sdk/dotnet/GetIdentityPool.cs +++ b/sdk/dotnet/GetIdentityPool.cs @@ -12,7 +12,7 @@ namespace Pulumi.ConfluentCloud public static class GetIdentityPool { /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityPool` describes an Identity Pool data source. /// @@ -59,7 +59,7 @@ public static Task InvokeAsync(GetIdentityPoolArgs args, => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getIdentityPool:getIdentityPool", args ?? new GetIdentityPoolArgs(), options.WithDefaults()); /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityPool` describes an Identity Pool data source. /// @@ -121,6 +121,9 @@ public sealed class GetIdentityPoolArgs : global::Pulumi.InvokeArgs [Input("id")] public string? Id { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("identityProvider", required: true)] public Inputs.GetIdentityPoolIdentityProviderArgs IdentityProvider { get; set; } = null!; @@ -144,6 +147,9 @@ public sealed class GetIdentityPoolInvokeArgs : global::Pulumi.InvokeArgs [Input("id")] public Input? Id { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("identityProvider", required: true)] public Input IdentityProvider { get; set; } = null!; @@ -177,6 +183,9 @@ public sealed class GetIdentityPoolResult /// (Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see [Registered Claim Names](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1) for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". /// public readonly string IdentityClaim; + /// + /// (Required Configuration Block) supports the following: + /// public readonly Outputs.GetIdentityPoolIdentityProviderResult IdentityProvider; [OutputConstructor] diff --git a/sdk/dotnet/GetIdentityProvider.cs b/sdk/dotnet/GetIdentityProvider.cs index b2a8ba85..184b5b84 100644 --- a/sdk/dotnet/GetIdentityProvider.cs +++ b/sdk/dotnet/GetIdentityProvider.cs @@ -12,7 +12,7 @@ namespace Pulumi.ConfluentCloud public static class GetIdentityProvider { /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityProvider` describes an Identity Provider data source. /// @@ -51,7 +51,7 @@ public static Task InvokeAsync(GetIdentityProviderArg => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getIdentityProvider:getIdentityProvider", args ?? new GetIdentityProviderArgs(), options.WithDefaults()); /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityProvider` describes an Identity Provider data source. /// diff --git a/sdk/dotnet/GetKafkaClientQuota.cs b/sdk/dotnet/GetKafkaClientQuota.cs index b075b51b..e24d7a7c 100644 --- a/sdk/dotnet/GetKafkaClientQuota.cs +++ b/sdk/dotnet/GetKafkaClientQuota.cs @@ -12,10 +12,7 @@ namespace Pulumi.ConfluentCloud public static class GetKafkaClientQuota { /// - /// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - /// - /// > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. - /// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. /// @@ -50,10 +47,7 @@ public static Task InvokeAsync(GetKafkaClientQuotaArg => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota", args ?? new GetKafkaClientQuotaArgs(), options.WithDefaults()); /// - /// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - /// - /// > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. - /// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. /// @@ -123,24 +117,31 @@ public sealed class GetKafkaClientQuotaResult { /// /// (Required String) The description of the Kafka Client Quota. - /// - `throughput` (Required Configuration Block) supports the following: /// public readonly string Description; /// /// (Required String) The name of the Kafka Client Quota. /// public readonly string DisplayName; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Environments; /// /// (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`. /// public readonly string Id; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray KafkaClusters; /// /// (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - /// - `kafka_cluster` (Required Configuration Block) supports the following: /// public readonly ImmutableArray Principals; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Throughputs; [OutputConstructor] diff --git a/sdk/dotnet/GetKafkaCluster.cs b/sdk/dotnet/GetKafkaCluster.cs index 2cda4be9..e15a2202 100644 --- a/sdk/dotnet/GetKafkaCluster.cs +++ b/sdk/dotnet/GetKafkaCluster.cs @@ -262,6 +262,9 @@ public sealed class GetKafkaClusterResult /// (Required String) A kind of the Kafka cluster, for example, `Cluster`. /// public readonly string Kind; + /// + /// (Optional Configuration Block) supports the following: + /// public readonly ImmutableArray Networks; /// /// (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`. diff --git a/sdk/dotnet/GetKafkaTopic.cs b/sdk/dotnet/GetKafkaTopic.cs index 970d51df..ca082e06 100644 --- a/sdk/dotnet/GetKafkaTopic.cs +++ b/sdk/dotnet/GetKafkaTopic.cs @@ -11,89 +11,9 @@ namespace Pulumi.ConfluentCloud { public static class GetKafkaTopic { - /// - /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - /// - /// `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using Pulumi; - /// using ConfluentCloud = Pulumi.ConfluentCloud; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var orders = ConfluentCloud.GetKafkaTopic.Invoke(new() - /// { - /// KafkaCluster = new ConfluentCloud.Inputs.GetKafkaTopicKafkaClusterInputArgs - /// { - /// Id = confluent_kafka_cluster.Basic_cluster.Id, - /// }, - /// TopicName = "orders", - /// RestEndpoint = confluent_kafka_cluster.Basic_cluster.Rest_endpoint, - /// Credentials = new ConfluentCloud.Inputs.GetKafkaTopicCredentialsInputArgs - /// { - /// Key = "<Kafka API Key for confluent_kafka_cluster.basic-cluster>", - /// Secret = "<Kafka API Secret for confluent_kafka_cluster.basic-cluster>", - /// }, - /// }); - /// - /// return new Dictionary<string, object?> - /// { - /// ["config"] = orders.Apply(getKafkaTopicResult => getKafkaTopicResult.Config), - /// }; - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// public static Task InvokeAsync(GetKafkaTopicArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getKafkaTopic:getKafkaTopic", args ?? new GetKafkaTopicArgs(), options.WithDefaults()); - /// - /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - /// - /// `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using Pulumi; - /// using ConfluentCloud = Pulumi.ConfluentCloud; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var orders = ConfluentCloud.GetKafkaTopic.Invoke(new() - /// { - /// KafkaCluster = new ConfluentCloud.Inputs.GetKafkaTopicKafkaClusterInputArgs - /// { - /// Id = confluent_kafka_cluster.Basic_cluster.Id, - /// }, - /// TopicName = "orders", - /// RestEndpoint = confluent_kafka_cluster.Basic_cluster.Rest_endpoint, - /// Credentials = new ConfluentCloud.Inputs.GetKafkaTopicCredentialsInputArgs - /// { - /// Key = "<Kafka API Key for confluent_kafka_cluster.basic-cluster>", - /// Secret = "<Kafka API Secret for confluent_kafka_cluster.basic-cluster>", - /// }, - /// }); - /// - /// return new Dictionary<string, object?> - /// { - /// ["config"] = orders.Apply(getKafkaTopicResult => getKafkaTopicResult.Config), - /// }; - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// public static Output Invoke(GetKafkaTopicInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getKafkaTopic:getKafkaTopic", args ?? new GetKafkaTopicInvokeArgs(), options.WithDefaults()); } @@ -109,8 +29,8 @@ public Inputs.GetKafkaTopicCredentialsArgs? Credentials set => _credentials = value; } - [Input("kafkaCluster", required: true)] - public Inputs.GetKafkaTopicKafkaClusterArgs KafkaCluster { get; set; } = null!; + [Input("kafkaCluster")] + public Inputs.GetKafkaTopicKafkaClusterArgs? KafkaCluster { get; set; } /// /// The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -144,8 +64,8 @@ public Input? Credentials } } - [Input("kafkaCluster", required: true)] - public Input KafkaCluster { get; set; } = null!; + [Input("kafkaCluster")] + public Input? KafkaCluster { get; set; } /// /// The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -178,7 +98,7 @@ public sealed class GetKafkaTopicResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; - public readonly Outputs.GetKafkaTopicKafkaClusterResult KafkaCluster; + public readonly Outputs.GetKafkaTopicKafkaClusterResult? KafkaCluster; /// /// (Required Number) The number of partitions to create in the topic. Defaults to `6`. /// @@ -194,7 +114,7 @@ private GetKafkaTopicResult( string id, - Outputs.GetKafkaTopicKafkaClusterResult kafkaCluster, + Outputs.GetKafkaTopicKafkaClusterResult? kafkaCluster, int partitionsCount, diff --git a/sdk/dotnet/GetKsqlCluster.cs b/sdk/dotnet/GetKsqlCluster.cs index cf414b83..3f2589bb 100644 --- a/sdk/dotnet/GetKsqlCluster.cs +++ b/sdk/dotnet/GetKsqlCluster.cs @@ -165,10 +165,12 @@ public sealed class GetKsqlClusterResult /// (Required String) An API Version of the schema version of the ksqlDB cluster, for example, `ksqldbcm/v2`. /// public readonly string ApiVersion; + /// + /// (Optional Configuration Block) supports the following: + /// public readonly ImmutableArray CredentialIdentities; /// /// (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - /// - `use_detailed_processing_log` (Optional Boolean) Controls whether the row data should be included in the processing log topic. /// public readonly int Csu; public readonly string DisplayName; @@ -177,6 +179,9 @@ public sealed class GetKsqlClusterResult /// (Required String) The ID of the service or user account that the ksqlDB cluster belongs to, for example, `sa-abc123`. /// public readonly string Id; + /// + /// (Optional Configuration Block) supports the following: + /// public readonly ImmutableArray KafkaClusters; /// /// (Required String) A kind of the ksqlDB cluster, for example, `Cluster`. @@ -188,7 +193,6 @@ public sealed class GetKsqlClusterResult public readonly string ResourceName; /// /// (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - /// - `kafka_cluster` (Optional Configuration Block) supports the following: /// public readonly string RestEndpoint; /// @@ -199,6 +203,9 @@ public sealed class GetKsqlClusterResult /// (Required String) Topic name prefix used by this ksqlDB cluster. Used to assign ACLs for this ksqlDB cluster to use, for example, `pksqlc-00000`. /// public readonly string TopicPrefix; + /// + /// (Optional Boolean) Controls whether the row data should be included in the processing log topic. + /// public readonly bool UseDetailedProcessingLog; [OutputConstructor] diff --git a/sdk/dotnet/GetNetwork.cs b/sdk/dotnet/GetNetwork.cs index 2ebe4440..ce3bf291 100644 --- a/sdk/dotnet/GetNetwork.cs +++ b/sdk/dotnet/GetNetwork.cs @@ -147,6 +147,18 @@ public List Azures [Input("displayName")] public string? DisplayName { get; set; } + [Input("dnsConfigs")] + private List? _dnsConfigs; + + /// + /// (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + /// + public List DnsConfigs + { + get => _dnsConfigs ?? (_dnsConfigs = new List()); + set => _dnsConfigs = value; + } + [Input("environment", required: true)] public Inputs.GetNetworkEnvironmentArgs Environment { get; set; } = null!; @@ -206,6 +218,18 @@ public InputList Azures [Input("displayName")] public Input? DisplayName { get; set; } + [Input("dnsConfigs")] + private InputList? _dnsConfigs; + + /// + /// (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + /// + public InputList DnsConfigs + { + get => _dnsConfigs ?? (_dnsConfigs = new InputList()); + set => _dnsConfigs = value; + } + [Input("environment", required: true)] public Input Environment { get; set; } = null!; @@ -261,6 +285,10 @@ public sealed class GetNetworkResult /// (Required String) The name of the Network. /// public readonly string DisplayName; + /// + /// (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + /// + public readonly ImmutableArray DnsConfigs; public readonly string DnsDomain; public readonly Outputs.GetNetworkEnvironmentResult Environment; /// @@ -282,7 +310,8 @@ public sealed class GetNetworkResult public readonly ImmutableDictionary ZonalSubdomains; /// /// (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - /// used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + /// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + /// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. /// On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. /// On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. /// On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -303,6 +332,8 @@ private GetNetworkResult( string displayName, + ImmutableArray dnsConfigs, + string dnsDomain, Outputs.GetNetworkEnvironmentResult environment, @@ -325,6 +356,7 @@ private GetNetworkResult( Cloud = cloud; ConnectionTypes = connectionTypes; DisplayName = displayName; + DnsConfigs = dnsConfigs; DnsDomain = dnsDomain; Environment = environment; Gcps = gcps; diff --git a/sdk/dotnet/GetPeering.cs b/sdk/dotnet/GetPeering.cs index 00bef51a..f2ed89e7 100644 --- a/sdk/dotnet/GetPeering.cs +++ b/sdk/dotnet/GetPeering.cs @@ -115,6 +115,9 @@ public sealed class GetPeeringArgs : global::Pulumi.InvokeArgs [Input("displayName")] public string? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Inputs.GetPeeringEnvironmentArgs Environment { get; set; } = null!; @@ -138,6 +141,9 @@ public sealed class GetPeeringInvokeArgs : global::Pulumi.InvokeArgs [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Input Environment { get; set; } = null!; @@ -167,9 +173,11 @@ public sealed class GetPeeringResult public readonly ImmutableArray Azures; /// /// (Optional String) The name of the Peering. - /// - `environment` (Required Configuration Block) supports the following: /// public readonly string DisplayName; + /// + /// (Required Configuration Block) supports the following: + /// public readonly Outputs.GetPeeringEnvironmentResult Environment; /// /// (Optional Configuration Block) The Azure-specific Peering details if available. It supports the following: @@ -179,6 +187,9 @@ public sealed class GetPeeringResult /// (Required String) The ID of the Network that the Peering belongs to, for example, `n-abc123`. /// public readonly string Id; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Networks; [OutputConstructor] diff --git a/sdk/dotnet/GetPrivateLinkAccess.cs b/sdk/dotnet/GetPrivateLinkAccess.cs index 2023e44b..bba78754 100644 --- a/sdk/dotnet/GetPrivateLinkAccess.cs +++ b/sdk/dotnet/GetPrivateLinkAccess.cs @@ -115,6 +115,9 @@ public sealed class GetPrivateLinkAccessArgs : global::Pulumi.InvokeArgs [Input("displayName")] public string? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Inputs.GetPrivateLinkAccessEnvironmentArgs Environment { get; set; } = null!; @@ -138,6 +141,9 @@ public sealed class GetPrivateLinkAccessInvokeArgs : global::Pulumi.InvokeArgs [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Input Environment { get; set; } = null!; @@ -167,9 +173,11 @@ public sealed class GetPrivateLinkAccessResult public readonly ImmutableArray Azures; /// /// (Optional String) The name of the Private Link Access. - /// - `environment` (Required Configuration Block) supports the following: /// public readonly string DisplayName; + /// + /// (Required Configuration Block) supports the following: + /// public readonly Outputs.GetPrivateLinkAccessEnvironmentResult Environment; /// /// (Optional Configuration Block) The GCP-specific Private Service Connect details if available. It supports the following: @@ -179,6 +187,9 @@ public sealed class GetPrivateLinkAccessResult /// (Required String) The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`. /// public readonly string Id; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Networks; [OutputConstructor] diff --git a/sdk/dotnet/GetSchema.cs b/sdk/dotnet/GetSchema.cs new file mode 100644 index 00000000..6f7382e0 --- /dev/null +++ b/sdk/dotnet/GetSchema.cs @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + public static class GetSchema + { + public static Task InvokeAsync(GetSchemaArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getSchema:getSchema", args ?? new GetSchemaArgs(), options.WithDefaults()); + + public static Output Invoke(GetSchemaInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getSchema:getSchema", args ?? new GetSchemaInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSchemaArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Inputs.GetSchemaCredentialsArgs? _credentials; + public Inputs.GetSchemaCredentialsArgs? Credentials + { + get => _credentials; + set => _credentials = value; + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public string? RestEndpoint { get; set; } + + /// + /// The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + /// + [Input("schemaIdentifier", required: true)] + public int SchemaIdentifier { get; set; } + + [Input("schemaRegistryCluster")] + public Inputs.GetSchemaSchemaRegistryClusterArgs? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + /// + [Input("subjectName", required: true)] + public string SubjectName { get; set; } = null!; + + public GetSchemaArgs() + { + } + public static new GetSchemaArgs Empty => new GetSchemaArgs(); + } + + public sealed class GetSchemaInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Input? _credentials; + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + /// + /// The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + /// + [Input("schemaIdentifier", required: true)] + public Input SchemaIdentifier { get; set; } = null!; + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public GetSchemaInvokeArgs() + { + } + public static new GetSchemaInvokeArgs Empty => new GetSchemaInvokeArgs(); + } + + + [OutputType] + public sealed class GetSchemaResult + { + public readonly Outputs.GetSchemaCredentialsResult? Credentials; + /// + /// (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + /// + public readonly string Format; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? RestEndpoint; + /// + /// (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + /// + public readonly string Schema; + public readonly int SchemaIdentifier; + /// + /// (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + /// + public readonly ImmutableArray SchemaReferences; + public readonly Outputs.GetSchemaSchemaRegistryClusterResult? SchemaRegistryCluster; + /// + /// (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + public readonly string SubjectName; + /// + /// (Required Integer) The version of the Schema, for example, `4`. + /// + public readonly int Version; + + [OutputConstructor] + private GetSchemaResult( + Outputs.GetSchemaCredentialsResult? credentials, + + string format, + + string id, + + string? restEndpoint, + + string schema, + + int schemaIdentifier, + + ImmutableArray schemaReferences, + + Outputs.GetSchemaSchemaRegistryClusterResult? schemaRegistryCluster, + + string subjectName, + + int version) + { + Credentials = credentials; + Format = format; + Id = id; + RestEndpoint = restEndpoint; + Schema = schema; + SchemaIdentifier = schemaIdentifier; + SchemaReferences = schemaReferences; + SchemaRegistryCluster = schemaRegistryCluster; + SubjectName = subjectName; + Version = version; + } + } +} diff --git a/sdk/dotnet/GetSchemaRegistryCluster.cs b/sdk/dotnet/GetSchemaRegistryCluster.cs index 9d545087..a607017a 100644 --- a/sdk/dotnet/GetSchemaRegistryCluster.cs +++ b/sdk/dotnet/GetSchemaRegistryCluster.cs @@ -173,9 +173,11 @@ public sealed class GetSchemaRegistryClusterResult public readonly string Kind; /// /// (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - /// - `region` (Required Configuration Block) supports the following: /// public readonly string Package; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Regions; /// /// (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123`. diff --git a/sdk/dotnet/GetSchemaRegistryClusterConfig.cs b/sdk/dotnet/GetSchemaRegistryClusterConfig.cs new file mode 100644 index 00000000..875b348a --- /dev/null +++ b/sdk/dotnet/GetSchemaRegistryClusterConfig.cs @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + public static class GetSchemaRegistryClusterConfig + { + public static Task InvokeAsync(GetSchemaRegistryClusterConfigArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", args ?? new GetSchemaRegistryClusterConfigArgs(), options.WithDefaults()); + + public static Output Invoke(GetSchemaRegistryClusterConfigInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", args ?? new GetSchemaRegistryClusterConfigInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSchemaRegistryClusterConfigArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Inputs.GetSchemaRegistryClusterConfigCredentialsArgs? _credentials; + public Inputs.GetSchemaRegistryClusterConfigCredentialsArgs? Credentials + { + get => _credentials; + set => _credentials = value; + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public string? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Inputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs? SchemaRegistryCluster { get; set; } + + public GetSchemaRegistryClusterConfigArgs() + { + } + public static new GetSchemaRegistryClusterConfigArgs Empty => new GetSchemaRegistryClusterConfigArgs(); + } + + public sealed class GetSchemaRegistryClusterConfigInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Input? _credentials; + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public GetSchemaRegistryClusterConfigInvokeArgs() + { + } + public static new GetSchemaRegistryClusterConfigInvokeArgs Empty => new GetSchemaRegistryClusterConfigInvokeArgs(); + } + + + [OutputType] + public sealed class GetSchemaRegistryClusterConfigResult + { + /// + /// (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + public readonly string CompatibilityLevel; + public readonly Outputs.GetSchemaRegistryClusterConfigCredentialsResult? Credentials; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? RestEndpoint; + public readonly Outputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterResult? SchemaRegistryCluster; + + [OutputConstructor] + private GetSchemaRegistryClusterConfigResult( + string compatibilityLevel, + + Outputs.GetSchemaRegistryClusterConfigCredentialsResult? credentials, + + string id, + + string? restEndpoint, + + Outputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterResult? schemaRegistryCluster) + { + CompatibilityLevel = compatibilityLevel; + Credentials = credentials; + Id = id; + RestEndpoint = restEndpoint; + SchemaRegistryCluster = schemaRegistryCluster; + } + } +} diff --git a/sdk/dotnet/GetSchemaRegistryClusterMode.cs b/sdk/dotnet/GetSchemaRegistryClusterMode.cs new file mode 100644 index 00000000..5759997e --- /dev/null +++ b/sdk/dotnet/GetSchemaRegistryClusterMode.cs @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + public static class GetSchemaRegistryClusterMode + { + public static Task InvokeAsync(GetSchemaRegistryClusterModeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", args ?? new GetSchemaRegistryClusterModeArgs(), options.WithDefaults()); + + public static Output Invoke(GetSchemaRegistryClusterModeInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", args ?? new GetSchemaRegistryClusterModeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSchemaRegistryClusterModeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Inputs.GetSchemaRegistryClusterModeCredentialsArgs? _credentials; + public Inputs.GetSchemaRegistryClusterModeCredentialsArgs? Credentials + { + get => _credentials; + set => _credentials = value; + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public string? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Inputs.GetSchemaRegistryClusterModeSchemaRegistryClusterArgs? SchemaRegistryCluster { get; set; } + + public GetSchemaRegistryClusterModeArgs() + { + } + public static new GetSchemaRegistryClusterModeArgs Empty => new GetSchemaRegistryClusterModeArgs(); + } + + public sealed class GetSchemaRegistryClusterModeInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Input? _credentials; + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public GetSchemaRegistryClusterModeInvokeArgs() + { + } + public static new GetSchemaRegistryClusterModeInvokeArgs Empty => new GetSchemaRegistryClusterModeInvokeArgs(); + } + + + [OutputType] + public sealed class GetSchemaRegistryClusterModeResult + { + public readonly Outputs.GetSchemaRegistryClusterModeCredentialsResult? Credentials; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + public readonly string Mode; + public readonly string? RestEndpoint; + public readonly Outputs.GetSchemaRegistryClusterModeSchemaRegistryClusterResult? SchemaRegistryCluster; + + [OutputConstructor] + private GetSchemaRegistryClusterModeResult( + Outputs.GetSchemaRegistryClusterModeCredentialsResult? credentials, + + string id, + + string mode, + + string? restEndpoint, + + Outputs.GetSchemaRegistryClusterModeSchemaRegistryClusterResult? schemaRegistryCluster) + { + Credentials = credentials; + Id = id; + Mode = mode; + RestEndpoint = restEndpoint; + SchemaRegistryCluster = schemaRegistryCluster; + } + } +} diff --git a/sdk/dotnet/GetSubjectConfig.cs b/sdk/dotnet/GetSubjectConfig.cs new file mode 100644 index 00000000..555c3fde --- /dev/null +++ b/sdk/dotnet/GetSubjectConfig.cs @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + public static class GetSubjectConfig + { + public static Task InvokeAsync(GetSubjectConfigArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getSubjectConfig:getSubjectConfig", args ?? new GetSubjectConfigArgs(), options.WithDefaults()); + + public static Output Invoke(GetSubjectConfigInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getSubjectConfig:getSubjectConfig", args ?? new GetSubjectConfigInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubjectConfigArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Inputs.GetSubjectConfigCredentialsArgs? _credentials; + public Inputs.GetSubjectConfigCredentialsArgs? Credentials + { + get => _credentials; + set => _credentials = value; + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public string? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Inputs.GetSubjectConfigSchemaRegistryClusterArgs? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public string SubjectName { get; set; } = null!; + + public GetSubjectConfigArgs() + { + } + public static new GetSubjectConfigArgs Empty => new GetSubjectConfigArgs(); + } + + public sealed class GetSubjectConfigInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Input? _credentials; + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public GetSubjectConfigInvokeArgs() + { + } + public static new GetSubjectConfigInvokeArgs Empty => new GetSubjectConfigInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubjectConfigResult + { + /// + /// (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + public readonly string CompatibilityLevel; + public readonly Outputs.GetSubjectConfigCredentialsResult? Credentials; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? RestEndpoint; + public readonly Outputs.GetSubjectConfigSchemaRegistryClusterResult? SchemaRegistryCluster; + public readonly string SubjectName; + + [OutputConstructor] + private GetSubjectConfigResult( + string compatibilityLevel, + + Outputs.GetSubjectConfigCredentialsResult? credentials, + + string id, + + string? restEndpoint, + + Outputs.GetSubjectConfigSchemaRegistryClusterResult? schemaRegistryCluster, + + string subjectName) + { + CompatibilityLevel = compatibilityLevel; + Credentials = credentials; + Id = id; + RestEndpoint = restEndpoint; + SchemaRegistryCluster = schemaRegistryCluster; + SubjectName = subjectName; + } + } +} diff --git a/sdk/dotnet/GetSubjectMode.cs b/sdk/dotnet/GetSubjectMode.cs new file mode 100644 index 00000000..5d3eed6d --- /dev/null +++ b/sdk/dotnet/GetSubjectMode.cs @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + public static class GetSubjectMode + { + public static Task InvokeAsync(GetSubjectModeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getSubjectMode:getSubjectMode", args ?? new GetSubjectModeArgs(), options.WithDefaults()); + + public static Output Invoke(GetSubjectModeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("confluentcloud:index/getSubjectMode:getSubjectMode", args ?? new GetSubjectModeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSubjectModeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Inputs.GetSubjectModeCredentialsArgs? _credentials; + public Inputs.GetSubjectModeCredentialsArgs? Credentials + { + get => _credentials; + set => _credentials = value; + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public string? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Inputs.GetSubjectModeSchemaRegistryClusterArgs? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public string SubjectName { get; set; } = null!; + + public GetSubjectModeArgs() + { + } + public static new GetSubjectModeArgs Empty => new GetSubjectModeArgs(); + } + + public sealed class GetSubjectModeInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("credentials")] + private Input? _credentials; + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public GetSubjectModeInvokeArgs() + { + } + public static new GetSubjectModeInvokeArgs Empty => new GetSubjectModeInvokeArgs(); + } + + + [OutputType] + public sealed class GetSubjectModeResult + { + public readonly Outputs.GetSubjectModeCredentialsResult? Credentials; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + public readonly string Mode; + public readonly string? RestEndpoint; + public readonly Outputs.GetSubjectModeSchemaRegistryClusterResult? SchemaRegistryCluster; + public readonly string SubjectName; + + [OutputConstructor] + private GetSubjectModeResult( + Outputs.GetSubjectModeCredentialsResult? credentials, + + string id, + + string mode, + + string? restEndpoint, + + Outputs.GetSubjectModeSchemaRegistryClusterResult? schemaRegistryCluster, + + string subjectName) + { + Credentials = credentials; + Id = id; + Mode = mode; + RestEndpoint = restEndpoint; + SchemaRegistryCluster = schemaRegistryCluster; + SubjectName = subjectName; + } + } +} diff --git a/sdk/dotnet/GetTransitGatewayAttachment.cs b/sdk/dotnet/GetTransitGatewayAttachment.cs index 35f3dcf8..3dc77bf0 100644 --- a/sdk/dotnet/GetTransitGatewayAttachment.cs +++ b/sdk/dotnet/GetTransitGatewayAttachment.cs @@ -12,10 +12,7 @@ namespace Pulumi.ConfluentCloud public static class GetTransitGatewayAttachment { /// - /// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - /// - /// > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. - /// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. /// @@ -62,10 +59,7 @@ public static Task InvokeAsync(GetTransitGate => global::Pulumi.Deployment.Instance.InvokeAsync("confluentcloud:index/getTransitGatewayAttachment:getTransitGatewayAttachment", args ?? new GetTransitGatewayAttachmentArgs(), options.WithDefaults()); /// - /// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - /// - /// > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. - /// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. /// @@ -121,6 +115,9 @@ public sealed class GetTransitGatewayAttachmentArgs : global::Pulumi.InvokeArgs [Input("displayName")] public string? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Inputs.GetTransitGatewayAttachmentEnvironmentArgs Environment { get; set; } = null!; @@ -144,6 +141,9 @@ public sealed class GetTransitGatewayAttachmentInvokeArgs : global::Pulumi.Invok [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// (Required Configuration Block) supports the following: + /// [Input("environment", required: true)] public Input Environment { get; set; } = null!; @@ -169,14 +169,19 @@ public sealed class GetTransitGatewayAttachmentResult public readonly ImmutableArray Aws; /// /// (Required String) The name of the Transit Gateway Attachment. - /// - `environment` (Required Configuration Block) supports the following: /// public readonly string DisplayName; + /// + /// (Required Configuration Block) supports the following: + /// public readonly Outputs.GetTransitGatewayAttachmentEnvironmentResult Environment; /// /// (Required String) The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. /// public readonly string Id; + /// + /// (Required Configuration Block) supports the following: + /// public readonly ImmutableArray Networks; [OutputConstructor] diff --git a/sdk/dotnet/GetUser.cs b/sdk/dotnet/GetUser.cs index 5cd256b3..3d10d251 100644 --- a/sdk/dotnet/GetUser.cs +++ b/sdk/dotnet/GetUser.cs @@ -44,7 +44,7 @@ public static class GetUser /// Availability = "SINGLE_ZONE", /// Cloud = "AWS", /// Region = "us-west-2", - /// Standard = , + /// Standard = null, /// Environment = new ConfluentCloud.Inputs.KafkaClusterEnvironmentArgs /// { /// Id = test_env.Id, @@ -108,7 +108,7 @@ public static Task InvokeAsync(GetUserArgs? args = null, InvokeOp /// Availability = "SINGLE_ZONE", /// Cloud = "AWS", /// Region = "us-west-2", - /// Standard = , + /// Standard = null, /// Environment = new ConfluentCloud.Inputs.KafkaClusterEnvironmentArgs /// { /// Id = test_env.Id, diff --git a/sdk/dotnet/IdentityPool.cs b/sdk/dotnet/IdentityPool.cs index e36c2b6b..af6b2839 100644 --- a/sdk/dotnet/IdentityPool.cs +++ b/sdk/dotnet/IdentityPool.cs @@ -10,7 +10,7 @@ namespace Pulumi.ConfluentCloud { /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. /// diff --git a/sdk/dotnet/IdentityProvider.cs b/sdk/dotnet/IdentityProvider.cs index ad95e154..1aa9ae81 100644 --- a/sdk/dotnet/IdentityProvider.cs +++ b/sdk/dotnet/IdentityProvider.cs @@ -10,7 +10,7 @@ namespace Pulumi.ConfluentCloud { /// - /// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) /// /// `confluentcloud.IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. /// diff --git a/sdk/dotnet/Inputs/GetNetworkDnsConfig.cs b/sdk/dotnet/Inputs/GetNetworkDnsConfig.cs new file mode 100644 index 00000000..ea2e8135 --- /dev/null +++ b/sdk/dotnet/Inputs/GetNetworkDnsConfig.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetNetworkDnsConfigArgs : global::Pulumi.InvokeArgs + { + /// + /// (Required String) Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + [Input("resolution", required: true)] + public string Resolution { get; set; } = null!; + + public GetNetworkDnsConfigArgs() + { + } + public static new GetNetworkDnsConfigArgs Empty => new GetNetworkDnsConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetNetworkDnsConfigArgs.cs b/sdk/dotnet/Inputs/GetNetworkDnsConfigArgs.cs new file mode 100644 index 00000000..97fdc669 --- /dev/null +++ b/sdk/dotnet/Inputs/GetNetworkDnsConfigArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetNetworkDnsConfigInputArgs : global::Pulumi.ResourceArgs + { + /// + /// (Required String) Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + [Input("resolution", required: true)] + public Input Resolution { get; set; } = null!; + + public GetNetworkDnsConfigInputArgs() + { + } + public static new GetNetworkDnsConfigInputArgs Empty => new GetNetworkDnsConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaCredentials.cs b/sdk/dotnet/Inputs/GetSchemaCredentials.cs new file mode 100644 index 00000000..321ac5b8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaCredentials.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaCredentialsArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + private string? _key; + + /// + /// The Schema Registry API Key. + /// + public string? Key + { + get => _key; + set => _key = value; + } + + [Input("secret", required: true)] + private string? _secret; + + /// + /// The Schema Registry API Secret. + /// + public string? Secret + { + get => _secret; + set => _secret = value; + } + + public GetSchemaCredentialsArgs() + { + } + public static new GetSchemaCredentialsArgs Empty => new GetSchemaCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaCredentialsArgs.cs b/sdk/dotnet/Inputs/GetSchemaCredentialsArgs.cs new file mode 100644 index 00000000..bf479b4a --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaCredentialsInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetSchemaCredentialsInputArgs() + { + } + public static new GetSchemaCredentialsInputArgs Empty => new GetSchemaCredentialsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentials.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentials.cs new file mode 100644 index 00000000..048b753e --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentials.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterConfigCredentialsArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + private string? _key; + + /// + /// The Schema Registry API Key. + /// + public string? Key + { + get => _key; + set => _key = value; + } + + [Input("secret", required: true)] + private string? _secret; + + /// + /// The Schema Registry API Secret. + /// + public string? Secret + { + get => _secret; + set => _secret = value; + } + + public GetSchemaRegistryClusterConfigCredentialsArgs() + { + } + public static new GetSchemaRegistryClusterConfigCredentialsArgs Empty => new GetSchemaRegistryClusterConfigCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentialsArgs.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentialsArgs.cs new file mode 100644 index 00000000..cb3538aa --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterConfigCredentialsInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetSchemaRegistryClusterConfigCredentialsInputArgs() + { + } + public static new GetSchemaRegistryClusterConfigCredentialsInputArgs Empty => new GetSchemaRegistryClusterConfigCredentialsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.cs new file mode 100644 index 00000000..85a3235d --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs() + { + } + public static new GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs Empty => new GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..bbf333da --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterConfigSchemaRegistryClusterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetSchemaRegistryClusterConfigSchemaRegistryClusterInputArgs() + { + } + public static new GetSchemaRegistryClusterConfigSchemaRegistryClusterInputArgs Empty => new GetSchemaRegistryClusterConfigSchemaRegistryClusterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentials.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentials.cs new file mode 100644 index 00000000..de870a23 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentials.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterModeCredentialsArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + private string? _key; + + /// + /// The Schema Registry API Key. + /// + public string? Key + { + get => _key; + set => _key = value; + } + + [Input("secret", required: true)] + private string? _secret; + + /// + /// The Schema Registry API Secret. + /// + public string? Secret + { + get => _secret; + set => _secret = value; + } + + public GetSchemaRegistryClusterModeCredentialsArgs() + { + } + public static new GetSchemaRegistryClusterModeCredentialsArgs Empty => new GetSchemaRegistryClusterModeCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentialsArgs.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentialsArgs.cs new file mode 100644 index 00000000..bfb0f703 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterModeCredentialsInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetSchemaRegistryClusterModeCredentialsInputArgs() + { + } + public static new GetSchemaRegistryClusterModeCredentialsInputArgs Empty => new GetSchemaRegistryClusterModeCredentialsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.cs new file mode 100644 index 00000000..5ead151b --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterModeSchemaRegistryClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetSchemaRegistryClusterModeSchemaRegistryClusterArgs() + { + } + public static new GetSchemaRegistryClusterModeSchemaRegistryClusterArgs Empty => new GetSchemaRegistryClusterModeSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..1e83dea6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaRegistryClusterModeSchemaRegistryClusterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetSchemaRegistryClusterModeSchemaRegistryClusterInputArgs() + { + } + public static new GetSchemaRegistryClusterModeSchemaRegistryClusterInputArgs Empty => new GetSchemaRegistryClusterModeSchemaRegistryClusterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaSchemaRegistryCluster.cs b/sdk/dotnet/Inputs/GetSchemaSchemaRegistryCluster.cs new file mode 100644 index 00000000..778e5aec --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaSchemaRegistryCluster.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaSchemaRegistryClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetSchemaSchemaRegistryClusterArgs() + { + } + public static new GetSchemaSchemaRegistryClusterArgs Empty => new GetSchemaSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSchemaSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/GetSchemaSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..29e0143f --- /dev/null +++ b/sdk/dotnet/Inputs/GetSchemaSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSchemaSchemaRegistryClusterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetSchemaSchemaRegistryClusterInputArgs() + { + } + public static new GetSchemaSchemaRegistryClusterInputArgs Empty => new GetSchemaSchemaRegistryClusterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectConfigCredentials.cs b/sdk/dotnet/Inputs/GetSubjectConfigCredentials.cs new file mode 100644 index 00000000..61e54eb9 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectConfigCredentials.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectConfigCredentialsArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + private string? _key; + + /// + /// The Schema Registry API Key. + /// + public string? Key + { + get => _key; + set => _key = value; + } + + [Input("secret", required: true)] + private string? _secret; + + /// + /// The Schema Registry API Secret. + /// + public string? Secret + { + get => _secret; + set => _secret = value; + } + + public GetSubjectConfigCredentialsArgs() + { + } + public static new GetSubjectConfigCredentialsArgs Empty => new GetSubjectConfigCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectConfigCredentialsArgs.cs b/sdk/dotnet/Inputs/GetSubjectConfigCredentialsArgs.cs new file mode 100644 index 00000000..0f8c00dc --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectConfigCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectConfigCredentialsInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetSubjectConfigCredentialsInputArgs() + { + } + public static new GetSubjectConfigCredentialsInputArgs Empty => new GetSubjectConfigCredentialsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryCluster.cs b/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryCluster.cs new file mode 100644 index 00000000..30145437 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryCluster.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectConfigSchemaRegistryClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetSubjectConfigSchemaRegistryClusterArgs() + { + } + public static new GetSubjectConfigSchemaRegistryClusterArgs Empty => new GetSubjectConfigSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..8a9d1d5d --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectConfigSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectConfigSchemaRegistryClusterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetSubjectConfigSchemaRegistryClusterInputArgs() + { + } + public static new GetSubjectConfigSchemaRegistryClusterInputArgs Empty => new GetSubjectConfigSchemaRegistryClusterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectModeCredentials.cs b/sdk/dotnet/Inputs/GetSubjectModeCredentials.cs new file mode 100644 index 00000000..f705d714 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectModeCredentials.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectModeCredentialsArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + private string? _key; + + /// + /// The Schema Registry API Key. + /// + public string? Key + { + get => _key; + set => _key = value; + } + + [Input("secret", required: true)] + private string? _secret; + + /// + /// The Schema Registry API Secret. + /// + public string? Secret + { + get => _secret; + set => _secret = value; + } + + public GetSubjectModeCredentialsArgs() + { + } + public static new GetSubjectModeCredentialsArgs Empty => new GetSubjectModeCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectModeCredentialsArgs.cs b/sdk/dotnet/Inputs/GetSubjectModeCredentialsArgs.cs new file mode 100644 index 00000000..1ab78d5d --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectModeCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectModeCredentialsInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetSubjectModeCredentialsInputArgs() + { + } + public static new GetSubjectModeCredentialsInputArgs Empty => new GetSubjectModeCredentialsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryCluster.cs b/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryCluster.cs new file mode 100644 index 00000000..3e38c952 --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryCluster.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectModeSchemaRegistryClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetSubjectModeSchemaRegistryClusterArgs() + { + } + public static new GetSubjectModeSchemaRegistryClusterArgs Empty => new GetSubjectModeSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..dd48df7f --- /dev/null +++ b/sdk/dotnet/Inputs/GetSubjectModeSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class GetSubjectModeSchemaRegistryClusterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetSubjectModeSchemaRegistryClusterInputArgs() + { + } + public static new GetSubjectModeSchemaRegistryClusterInputArgs Empty => new GetSubjectModeSchemaRegistryClusterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/NetworkDnsConfigArgs.cs b/sdk/dotnet/Inputs/NetworkDnsConfigArgs.cs new file mode 100644 index 00000000..3cefc0a6 --- /dev/null +++ b/sdk/dotnet/Inputs/NetworkDnsConfigArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class NetworkDnsConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + [Input("resolution", required: true)] + public Input Resolution { get; set; } = null!; + + public NetworkDnsConfigArgs() + { + } + public static new NetworkDnsConfigArgs Empty => new NetworkDnsConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/NetworkDnsConfigGetArgs.cs b/sdk/dotnet/Inputs/NetworkDnsConfigGetArgs.cs new file mode 100644 index 00000000..ded4382b --- /dev/null +++ b/sdk/dotnet/Inputs/NetworkDnsConfigGetArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class NetworkDnsConfigGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + [Input("resolution", required: true)] + public Input Resolution { get; set; } = null!; + + public NetworkDnsConfigGetArgs() + { + } + public static new NetworkDnsConfigGetArgs Empty => new NetworkDnsConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaCredentialsArgs.cs b/sdk/dotnet/Inputs/SchemaCredentialsArgs.cs new file mode 100644 index 00000000..dfb80f0b --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaCredentialsArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaCredentialsArgs() + { + } + public static new SchemaCredentialsArgs Empty => new SchemaCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaCredentialsGetArgs.cs b/sdk/dotnet/Inputs/SchemaCredentialsGetArgs.cs new file mode 100644 index 00000000..88b23453 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaCredentialsGetArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaCredentialsGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaCredentialsGetArgs() + { + } + public static new SchemaCredentialsGetArgs Empty => new SchemaCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsArgs.cs new file mode 100644 index 00000000..1e56d0ce --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterConfigCredentialsArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaRegistryClusterConfigCredentialsArgs() + { + } + public static new SchemaRegistryClusterConfigCredentialsArgs Empty => new SchemaRegistryClusterConfigCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsGetArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsGetArgs.cs new file mode 100644 index 00000000..6d07f6b2 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigCredentialsGetArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterConfigCredentialsGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaRegistryClusterConfigCredentialsGetArgs() + { + } + public static new SchemaRegistryClusterConfigCredentialsGetArgs Empty => new SchemaRegistryClusterConfigCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..4f35a672 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterConfigSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaRegistryClusterConfigSchemaRegistryClusterArgs() + { + } + public static new SchemaRegistryClusterConfigSchemaRegistryClusterArgs Empty => new SchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs.cs new file mode 100644 index 00000000..94ce8d93 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs() + { + } + public static new SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs Empty => new SchemaRegistryClusterConfigSchemaRegistryClusterGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsArgs.cs new file mode 100644 index 00000000..a296663d --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterModeCredentialsArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaRegistryClusterModeCredentialsArgs() + { + } + public static new SchemaRegistryClusterModeCredentialsArgs Empty => new SchemaRegistryClusterModeCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsGetArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsGetArgs.cs new file mode 100644 index 00000000..eb023d1b --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterModeCredentialsGetArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterModeCredentialsGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SchemaRegistryClusterModeCredentialsGetArgs() + { + } + public static new SchemaRegistryClusterModeCredentialsGetArgs Empty => new SchemaRegistryClusterModeCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..fddc1479 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterModeSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaRegistryClusterModeSchemaRegistryClusterArgs() + { + } + public static new SchemaRegistryClusterModeSchemaRegistryClusterArgs Empty => new SchemaRegistryClusterModeSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterGetArgs.cs b/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterGetArgs.cs new file mode 100644 index 00000000..f39f127f --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaRegistryClusterModeSchemaRegistryClusterGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaRegistryClusterModeSchemaRegistryClusterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaRegistryClusterModeSchemaRegistryClusterGetArgs() + { + } + public static new SchemaRegistryClusterModeSchemaRegistryClusterGetArgs Empty => new SchemaRegistryClusterModeSchemaRegistryClusterGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaSchemaReferenceArgs.cs b/sdk/dotnet/Inputs/SchemaSchemaReferenceArgs.cs new file mode 100644 index 00000000..eaf2ff57 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaSchemaReferenceArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaSchemaReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the subject, representing the subject under which the referenced schema is registered. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + /// + /// The version, representing the exact version of the schema under the registered subject. + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + public SchemaSchemaReferenceArgs() + { + } + public static new SchemaSchemaReferenceArgs Empty => new SchemaSchemaReferenceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaSchemaReferenceGetArgs.cs b/sdk/dotnet/Inputs/SchemaSchemaReferenceGetArgs.cs new file mode 100644 index 00000000..d3c6fef4 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaSchemaReferenceGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaSchemaReferenceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the subject, representing the subject under which the referenced schema is registered. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + /// + /// The version, representing the exact version of the schema under the registered subject. + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + public SchemaSchemaReferenceGetArgs() + { + } + public static new SchemaSchemaReferenceGetArgs Empty => new SchemaSchemaReferenceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..986fb220 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaSchemaRegistryClusterArgs() + { + } + public static new SchemaSchemaRegistryClusterArgs Empty => new SchemaSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterGetArgs.cs b/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterGetArgs.cs new file mode 100644 index 00000000..be39b0f6 --- /dev/null +++ b/sdk/dotnet/Inputs/SchemaSchemaRegistryClusterGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SchemaSchemaRegistryClusterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SchemaSchemaRegistryClusterGetArgs() + { + } + public static new SchemaSchemaRegistryClusterGetArgs Empty => new SchemaSchemaRegistryClusterGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectConfigCredentialsArgs.cs b/sdk/dotnet/Inputs/SubjectConfigCredentialsArgs.cs new file mode 100644 index 00000000..252c2f51 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectConfigCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectConfigCredentialsArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SubjectConfigCredentialsArgs() + { + } + public static new SubjectConfigCredentialsArgs Empty => new SubjectConfigCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectConfigCredentialsGetArgs.cs b/sdk/dotnet/Inputs/SubjectConfigCredentialsGetArgs.cs new file mode 100644 index 00000000..24f7bdfa --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectConfigCredentialsGetArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectConfigCredentialsGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SubjectConfigCredentialsGetArgs() + { + } + public static new SubjectConfigCredentialsGetArgs Empty => new SubjectConfigCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..f6106ad9 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectConfigSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SubjectConfigSchemaRegistryClusterArgs() + { + } + public static new SubjectConfigSchemaRegistryClusterArgs Empty => new SubjectConfigSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterGetArgs.cs b/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterGetArgs.cs new file mode 100644 index 00000000..b7712e50 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectConfigSchemaRegistryClusterGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectConfigSchemaRegistryClusterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SubjectConfigSchemaRegistryClusterGetArgs() + { + } + public static new SubjectConfigSchemaRegistryClusterGetArgs Empty => new SubjectConfigSchemaRegistryClusterGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectModeCredentialsArgs.cs b/sdk/dotnet/Inputs/SubjectModeCredentialsArgs.cs new file mode 100644 index 00000000..68d5f5b5 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectModeCredentialsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectModeCredentialsArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SubjectModeCredentialsArgs() + { + } + public static new SubjectModeCredentialsArgs Empty => new SubjectModeCredentialsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectModeCredentialsGetArgs.cs b/sdk/dotnet/Inputs/SubjectModeCredentialsGetArgs.cs new file mode 100644 index 00000000..f504782f --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectModeCredentialsGetArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectModeCredentialsGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + private Input? _key; + + /// + /// The Schema Registry API Key. + /// + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("secret", required: true)] + private Input? _secret; + + /// + /// The Schema Registry API Secret. + /// + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public SubjectModeCredentialsGetArgs() + { + } + public static new SubjectModeCredentialsGetArgs Empty => new SubjectModeCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterArgs.cs b/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterArgs.cs new file mode 100644 index 00000000..06371fa5 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectModeSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SubjectModeSchemaRegistryClusterArgs() + { + } + public static new SubjectModeSchemaRegistryClusterArgs Empty => new SubjectModeSchemaRegistryClusterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterGetArgs.cs b/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterGetArgs.cs new file mode 100644 index 00000000..a0a45446 --- /dev/null +++ b/sdk/dotnet/Inputs/SubjectModeSchemaRegistryClusterGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Inputs +{ + + public sealed class SubjectModeSchemaRegistryClusterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SubjectModeSchemaRegistryClusterGetArgs() + { + } + public static new SubjectModeSchemaRegistryClusterGetArgs Empty => new SubjectModeSchemaRegistryClusterGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsArgs.cs b/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsArgs.cs index 1e931eca..fc1099d2 100644 --- a/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsArgs.cs +++ b/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsArgs.cs @@ -12,19 +12,13 @@ namespace Pulumi.ConfluentCloud.Inputs public sealed class TransitGatewayAttachmentAwsArgs : global::Pulumi.ResourceArgs { - /// - /// Enable custom destination routes in Confluent Cloud. Defaults to `false`. - /// - [Input("enableCustomRoutes")] - public Input? EnableCustomRoutes { get; set; } - /// /// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. /// [Input("ramResourceShareArn", required: true)] public Input RamResourceShareArn { get; set; } = null!; - [Input("routes")] + [Input("routes", required: true)] private InputList? _routes; /// diff --git a/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsGetArgs.cs b/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsGetArgs.cs index 6851b118..271d575c 100644 --- a/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsGetArgs.cs +++ b/sdk/dotnet/Inputs/TransitGatewayAttachmentAwsGetArgs.cs @@ -12,19 +12,13 @@ namespace Pulumi.ConfluentCloud.Inputs public sealed class TransitGatewayAttachmentAwsGetArgs : global::Pulumi.ResourceArgs { - /// - /// Enable custom destination routes in Confluent Cloud. Defaults to `false`. - /// - [Input("enableCustomRoutes")] - public Input? EnableCustomRoutes { get; set; } - /// /// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. /// [Input("ramResourceShareArn", required: true)] public Input RamResourceShareArn { get; set; } = null!; - [Input("routes")] + [Input("routes", required: true)] private InputList? _routes; /// diff --git a/sdk/dotnet/KafkaAcl.cs b/sdk/dotnet/KafkaAcl.cs index 1b842671..2b1a8564 100644 --- a/sdk/dotnet/KafkaAcl.cs +++ b/sdk/dotnet/KafkaAcl.cs @@ -12,7 +12,13 @@ namespace Pulumi.ConfluentCloud /// /// ## Import /// - /// You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `<Kafka cluster ID>/<Kafka ACL resource type>#<Kafka ACL resource name>#<Kafka ACL pattern type>#<Kafka ACL principal>#<Kafka ACL host>#<Kafka ACL operation>#<Kafka ACL permission>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + /// You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `<Kafka cluster ID>/<Kafka ACL resource type>#<Kafka ACL resource name>#<Kafka ACL pattern type>#<Kafka ACL principal>#<Kafka ACL host>#<Kafka ACL operation>#<Kafka ACL permission>`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" + /// ``` + /// + /// Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" /// /// ```sh /// $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" @@ -36,7 +42,7 @@ public partial class KafkaAcl : global::Pulumi.CustomResource public Output Host { get; private set; } = null!; [Output("kafkaCluster")] - public Output KafkaCluster { get; private set; } = null!; + public Output KafkaCluster { get; private set; } = null!; /// /// The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. @@ -152,8 +158,8 @@ public Input? Credentials [Input("host", required: true)] public Input Host { get; set; } = null!; - [Input("kafkaCluster", required: true)] - public Input KafkaCluster { get; set; } = null!; + [Input("kafkaCluster")] + public Input? KafkaCluster { get; set; } /// /// The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. diff --git a/sdk/dotnet/KafkaClusterConfig.cs b/sdk/dotnet/KafkaClusterConfig.cs index 2cb174ba..16a8deef 100644 --- a/sdk/dotnet/KafkaClusterConfig.cs +++ b/sdk/dotnet/KafkaClusterConfig.cs @@ -10,44 +10,15 @@ namespace Pulumi.ConfluentCloud { /// - /// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - /// - /// `confluentcloud.KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using Pulumi; - /// using ConfluentCloud = Pulumi.ConfluentCloud; + /// ## Import /// - /// return await Deployment.RunAsync(() => - /// { - /// var orders = new ConfluentCloud.KafkaClusterConfig("orders", new() - /// { - /// KafkaCluster = new ConfluentCloud.Inputs.KafkaClusterConfigKafkaClusterArgs - /// { - /// Id = confluent_kafka_cluster.Dedicated.Id, - /// }, - /// RestEndpoint = confluent_kafka_cluster.Dedicated.Rest_endpoint, - /// Config = - /// { - /// { "auto.create.topics.enable", "true" }, - /// { "log.retention.ms", "604800123" }, - /// }, - /// Credentials = new ConfluentCloud.Inputs.KafkaClusterConfigCredentialsArgs - /// { - /// Key = confluent_api_key.App_manager_kafka_api_key.Id, - /// Secret = confluent_api_key.App_manager_kafka_api_key.Secret, - /// }, - /// }); + /// You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" /// - /// }); + /// ```sh + /// $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 /// ``` /// - /// ## Import - /// - /// You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + /// Option #2Manage a single Kafka cluster in the same Terraform workspace /// /// ```sh /// $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 @@ -71,7 +42,7 @@ public partial class KafkaClusterConfig : global::Pulumi.CustomResource public Output Credentials { get; private set; } = null!; [Output("kafkaCluster")] - public Output KafkaCluster { get; private set; } = null!; + public Output KafkaCluster { get; private set; } = null!; /// /// The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -157,8 +128,8 @@ public Input? Credentials } } - [Input("kafkaCluster", required: true)] - public Input KafkaCluster { get; set; } = null!; + [Input("kafkaCluster")] + public Input? KafkaCluster { get; set; } /// /// The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). diff --git a/sdk/dotnet/KafkaTopic.cs b/sdk/dotnet/KafkaTopic.cs index 3759aa93..b8f6b017 100644 --- a/sdk/dotnet/KafkaTopic.cs +++ b/sdk/dotnet/KafkaTopic.cs @@ -12,7 +12,13 @@ namespace Pulumi.ConfluentCloud /// /// ## Import /// - /// You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + /// You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 + /// ``` + /// + /// Option #2Manage a single Kafka cluster in the same Terraform workspace /// /// ```sh /// $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 @@ -122,7 +128,7 @@ public partial class KafkaTopic : global::Pulumi.CustomResource public Output HttpEndpoint { get; private set; } = null!; [Output("kafkaCluster")] - public Output KafkaCluster { get; private set; } = null!; + public Output KafkaCluster { get; private set; } = null!; /// /// The number of partitions to create in the topic. Defaults to `6`. @@ -226,8 +232,8 @@ public Input? Credentials [Input("httpEndpoint")] public Input? HttpEndpoint { get; set; } - [Input("kafkaCluster", required: true)] - public Input KafkaCluster { get; set; } = null!; + [Input("kafkaCluster")] + public Input? KafkaCluster { get; set; } /// /// The number of partitions to create in the topic. Defaults to `6`. diff --git a/sdk/dotnet/Network.cs b/sdk/dotnet/Network.cs index 8f05cfa8..fab0e6b7 100644 --- a/sdk/dotnet/Network.cs +++ b/sdk/dotnet/Network.cs @@ -59,6 +59,12 @@ public partial class Network : global::Pulumi.CustomResource [Output("displayName")] public Output DisplayName { get; private set; } = null!; + /// + /// Network DNS config. It applies only to the PRIVATELINK network connection type. + /// + [Output("dnsConfig")] + public Output DnsConfig { get; private set; } = null!; + /// /// (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. /// @@ -97,7 +103,8 @@ public partial class Network : global::Pulumi.CustomResource /// /// The 3 availability zones for this network. They can optionally be specified for AWS networks - /// used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + /// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + /// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. /// On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. /// On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. /// On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -205,6 +212,12 @@ public InputList ConnectionTypes [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// Network DNS config. It applies only to the PRIVATELINK network connection type. + /// + [Input("dnsConfig")] + public Input? DnsConfig { get; set; } + /// /// Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. /// @@ -234,7 +247,8 @@ public InputList Gcps /// /// The 3 availability zones for this network. They can optionally be specified for AWS networks - /// used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + /// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + /// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. /// On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. /// On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. /// On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -307,6 +321,12 @@ public InputList ConnectionTypes [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// Network DNS config. It applies only to the PRIVATELINK network connection type. + /// + [Input("dnsConfig")] + public Input? DnsConfig { get; set; } + /// /// (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. /// @@ -360,7 +380,8 @@ public InputMap ZonalSubdomains /// /// The 3 availability zones for this network. They can optionally be specified for AWS networks - /// used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + /// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + /// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. /// On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. /// On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. /// On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/dotnet/Outputs/GetNetworkDnsConfigResult.cs b/sdk/dotnet/Outputs/GetNetworkDnsConfigResult.cs new file mode 100644 index 00000000..6bf51b30 --- /dev/null +++ b/sdk/dotnet/Outputs/GetNetworkDnsConfigResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetNetworkDnsConfigResult + { + /// + /// (Required String) Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + public readonly string Resolution; + + [OutputConstructor] + private GetNetworkDnsConfigResult(string resolution) + { + Resolution = resolution; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaCredentialsResult.cs b/sdk/dotnet/Outputs/GetSchemaCredentialsResult.cs new file mode 100644 index 00000000..4cdf86a6 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaCredentialsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaCredentialsResult + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private GetSchemaCredentialsResult( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigCredentialsResult.cs b/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigCredentialsResult.cs new file mode 100644 index 00000000..39a5c43f --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigCredentialsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaRegistryClusterConfigCredentialsResult + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private GetSchemaRegistryClusterConfigCredentialsResult( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterResult.cs b/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterResult.cs new file mode 100644 index 00000000..e0e9b786 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaRegistryClusterConfigSchemaRegistryClusterResult + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private GetSchemaRegistryClusterConfigSchemaRegistryClusterResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeCredentialsResult.cs b/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeCredentialsResult.cs new file mode 100644 index 00000000..1c196c61 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeCredentialsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaRegistryClusterModeCredentialsResult + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private GetSchemaRegistryClusterModeCredentialsResult( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeSchemaRegistryClusterResult.cs b/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeSchemaRegistryClusterResult.cs new file mode 100644 index 00000000..46132b4a --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaRegistryClusterModeSchemaRegistryClusterResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaRegistryClusterModeSchemaRegistryClusterResult + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private GetSchemaRegistryClusterModeSchemaRegistryClusterResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaSchemaReferenceResult.cs b/sdk/dotnet/Outputs/GetSchemaSchemaReferenceResult.cs new file mode 100644 index 00000000..92e658a3 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaSchemaReferenceResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaSchemaReferenceResult + { + /// + /// (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + /// + public readonly string Name; + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + /// + public readonly string SubjectName; + /// + /// (Required Integer) The version of the Schema, for example, `4`. + /// + public readonly int Version; + + [OutputConstructor] + private GetSchemaSchemaReferenceResult( + string name, + + string subjectName, + + int version) + { + Name = name; + SubjectName = subjectName; + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSchemaSchemaRegistryClusterResult.cs b/sdk/dotnet/Outputs/GetSchemaSchemaRegistryClusterResult.cs new file mode 100644 index 00000000..1aa25853 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSchemaSchemaRegistryClusterResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSchemaSchemaRegistryClusterResult + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private GetSchemaSchemaRegistryClusterResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSubjectConfigCredentialsResult.cs b/sdk/dotnet/Outputs/GetSubjectConfigCredentialsResult.cs new file mode 100644 index 00000000..5c7fcea8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSubjectConfigCredentialsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSubjectConfigCredentialsResult + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private GetSubjectConfigCredentialsResult( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSubjectConfigSchemaRegistryClusterResult.cs b/sdk/dotnet/Outputs/GetSubjectConfigSchemaRegistryClusterResult.cs new file mode 100644 index 00000000..eb373b7b --- /dev/null +++ b/sdk/dotnet/Outputs/GetSubjectConfigSchemaRegistryClusterResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSubjectConfigSchemaRegistryClusterResult + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private GetSubjectConfigSchemaRegistryClusterResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSubjectModeCredentialsResult.cs b/sdk/dotnet/Outputs/GetSubjectModeCredentialsResult.cs new file mode 100644 index 00000000..3b1e0e22 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSubjectModeCredentialsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSubjectModeCredentialsResult + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private GetSubjectModeCredentialsResult( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSubjectModeSchemaRegistryClusterResult.cs b/sdk/dotnet/Outputs/GetSubjectModeSchemaRegistryClusterResult.cs new file mode 100644 index 00000000..747e6228 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSubjectModeSchemaRegistryClusterResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class GetSubjectModeSchemaRegistryClusterResult + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private GetSubjectModeSchemaRegistryClusterResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetTransitGatewayAttachmentAwResult.cs b/sdk/dotnet/Outputs/GetTransitGatewayAttachmentAwResult.cs index ac2795a1..7f8a74e0 100644 --- a/sdk/dotnet/Outputs/GetTransitGatewayAttachmentAwResult.cs +++ b/sdk/dotnet/Outputs/GetTransitGatewayAttachmentAwResult.cs @@ -13,10 +13,6 @@ namespace Pulumi.ConfluentCloud.Outputs [OutputType] public sealed class GetTransitGatewayAttachmentAwResult { - /// - /// (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - /// - public readonly bool EnableCustomRoutes; /// /// (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. /// @@ -36,8 +32,6 @@ public sealed class GetTransitGatewayAttachmentAwResult [OutputConstructor] private GetTransitGatewayAttachmentAwResult( - bool enableCustomRoutes, - string ramResourceShareArn, ImmutableArray routes, @@ -46,7 +40,6 @@ private GetTransitGatewayAttachmentAwResult( string transitGatewayId) { - EnableCustomRoutes = enableCustomRoutes; RamResourceShareArn = ramResourceShareArn; Routes = routes; TransitGatewayAttachmentId = transitGatewayAttachmentId; diff --git a/sdk/dotnet/Outputs/NetworkDnsConfig.cs b/sdk/dotnet/Outputs/NetworkDnsConfig.cs new file mode 100644 index 00000000..aa72d675 --- /dev/null +++ b/sdk/dotnet/Outputs/NetworkDnsConfig.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class NetworkDnsConfig + { + /// + /// Network DNS resolution. + /// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + /// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + /// + public readonly string Resolution; + + [OutputConstructor] + private NetworkDnsConfig(string resolution) + { + Resolution = resolution; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaCredentials.cs b/sdk/dotnet/Outputs/SchemaCredentials.cs new file mode 100644 index 00000000..68c5ea5c --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaCredentials.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaCredentials + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private SchemaCredentials( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaRegistryClusterConfigCredentials.cs b/sdk/dotnet/Outputs/SchemaRegistryClusterConfigCredentials.cs new file mode 100644 index 00000000..5c7a5e85 --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaRegistryClusterConfigCredentials.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaRegistryClusterConfigCredentials + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private SchemaRegistryClusterConfigCredentials( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.cs b/sdk/dotnet/Outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.cs new file mode 100644 index 00000000..92076818 --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaRegistryClusterConfigSchemaRegistryCluster + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private SchemaRegistryClusterConfigSchemaRegistryCluster(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaRegistryClusterModeCredentials.cs b/sdk/dotnet/Outputs/SchemaRegistryClusterModeCredentials.cs new file mode 100644 index 00000000..0266848e --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaRegistryClusterModeCredentials.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaRegistryClusterModeCredentials + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private SchemaRegistryClusterModeCredentials( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaRegistryClusterModeSchemaRegistryCluster.cs b/sdk/dotnet/Outputs/SchemaRegistryClusterModeSchemaRegistryCluster.cs new file mode 100644 index 00000000..2c3fea9e --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaRegistryClusterModeSchemaRegistryCluster.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaRegistryClusterModeSchemaRegistryCluster + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private SchemaRegistryClusterModeSchemaRegistryCluster(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaSchemaReference.cs b/sdk/dotnet/Outputs/SchemaSchemaReference.cs new file mode 100644 index 00000000..921b62b5 --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaSchemaReference.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaSchemaReference + { + /// + /// The name of the subject, representing the subject under which the referenced schema is registered. + /// + public readonly string Name; + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + public readonly string SubjectName; + /// + /// The version, representing the exact version of the schema under the registered subject. + /// + public readonly int Version; + + [OutputConstructor] + private SchemaSchemaReference( + string name, + + string subjectName, + + int version) + { + Name = name; + SubjectName = subjectName; + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/SchemaSchemaRegistryCluster.cs b/sdk/dotnet/Outputs/SchemaSchemaRegistryCluster.cs new file mode 100644 index 00000000..d001d9c5 --- /dev/null +++ b/sdk/dotnet/Outputs/SchemaSchemaRegistryCluster.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SchemaSchemaRegistryCluster + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private SchemaSchemaRegistryCluster(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/SubjectConfigCredentials.cs b/sdk/dotnet/Outputs/SubjectConfigCredentials.cs new file mode 100644 index 00000000..3227d4da --- /dev/null +++ b/sdk/dotnet/Outputs/SubjectConfigCredentials.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SubjectConfigCredentials + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private SubjectConfigCredentials( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/SubjectConfigSchemaRegistryCluster.cs b/sdk/dotnet/Outputs/SubjectConfigSchemaRegistryCluster.cs new file mode 100644 index 00000000..d2a5924a --- /dev/null +++ b/sdk/dotnet/Outputs/SubjectConfigSchemaRegistryCluster.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SubjectConfigSchemaRegistryCluster + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private SubjectConfigSchemaRegistryCluster(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/SubjectModeCredentials.cs b/sdk/dotnet/Outputs/SubjectModeCredentials.cs new file mode 100644 index 00000000..5e372b76 --- /dev/null +++ b/sdk/dotnet/Outputs/SubjectModeCredentials.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SubjectModeCredentials + { + /// + /// The Schema Registry API Key. + /// + public readonly string Key; + /// + /// The Schema Registry API Secret. + /// + public readonly string Secret; + + [OutputConstructor] + private SubjectModeCredentials( + string key, + + string secret) + { + Key = key; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Outputs/SubjectModeSchemaRegistryCluster.cs b/sdk/dotnet/Outputs/SubjectModeSchemaRegistryCluster.cs new file mode 100644 index 00000000..b75b9c6b --- /dev/null +++ b/sdk/dotnet/Outputs/SubjectModeSchemaRegistryCluster.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud.Outputs +{ + + [OutputType] + public sealed class SubjectModeSchemaRegistryCluster + { + /// + /// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + /// + public readonly string Id; + + [OutputConstructor] + private SubjectModeSchemaRegistryCluster(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/TransitGatewayAttachmentAws.cs b/sdk/dotnet/Outputs/TransitGatewayAttachmentAws.cs index bcbb7a40..792187fc 100644 --- a/sdk/dotnet/Outputs/TransitGatewayAttachmentAws.cs +++ b/sdk/dotnet/Outputs/TransitGatewayAttachmentAws.cs @@ -13,10 +13,6 @@ namespace Pulumi.ConfluentCloud.Outputs [OutputType] public sealed class TransitGatewayAttachmentAws { - /// - /// Enable custom destination routes in Confluent Cloud. Defaults to `false`. - /// - public readonly bool? EnableCustomRoutes; /// /// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. /// @@ -36,8 +32,6 @@ public sealed class TransitGatewayAttachmentAws [OutputConstructor] private TransitGatewayAttachmentAws( - bool? enableCustomRoutes, - string ramResourceShareArn, ImmutableArray routes, @@ -46,7 +40,6 @@ private TransitGatewayAttachmentAws( string transitGatewayId) { - EnableCustomRoutes = enableCustomRoutes; RamResourceShareArn = ramResourceShareArn; Routes = routes; TransitGatewayAttachmentId = transitGatewayAttachmentId; diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs index 5903344a..b15667a1 100644 --- a/sdk/dotnet/Provider.cs +++ b/sdk/dotnet/Provider.cs @@ -48,12 +48,42 @@ public partial class Provider : global::Pulumi.ProviderResource [Output("kafkaApiSecret")] public Output KafkaApiSecret { get; private set; } = null!; + /// + /// The Kafka Cluster ID. + /// + [Output("kafkaId")] + public Output KafkaId { get; private set; } = null!; + /// /// The Kafka Cluster REST Endpoint. /// [Output("kafkaRestEndpoint")] public Output KafkaRestEndpoint { get; private set; } = null!; + /// + /// The Schema Registry Cluster API Key. + /// + [Output("schemaRegistryApiKey")] + public Output SchemaRegistryApiKey { get; private set; } = null!; + + /// + /// The Schema Registry Cluster API Secret. + /// + [Output("schemaRegistryApiSecret")] + public Output SchemaRegistryApiSecret { get; private set; } = null!; + + /// + /// The Schema Registry Cluster ID. + /// + [Output("schemaRegistryId")] + public Output SchemaRegistryId { get; private set; } = null!; + + /// + /// The Schema Registry Cluster REST Endpoint. + /// + [Output("schemaRegistryRestEndpoint")] + public Output SchemaRegistryRestEndpoint { get; private set; } = null!; + /// /// Create a Provider resource with the given unique name, arguments, and options. @@ -78,6 +108,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret", + "schemaRegistryApiKey", + "schemaRegistryApiSecret", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -159,6 +191,12 @@ public Input? KafkaApiSecret } } + /// + /// The Kafka Cluster ID. + /// + [Input("kafkaId")] + public Input? KafkaId { get; set; } + /// /// The Kafka Cluster REST Endpoint. /// @@ -171,6 +209,50 @@ public Input? KafkaApiSecret [Input("maxRetries", json: true)] public Input? MaxRetries { get; set; } + [Input("schemaRegistryApiKey")] + private Input? _schemaRegistryApiKey; + + /// + /// The Schema Registry Cluster API Key. + /// + public Input? SchemaRegistryApiKey + { + get => _schemaRegistryApiKey; + set + { + var emptySecret = Output.CreateSecret(0); + _schemaRegistryApiKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("schemaRegistryApiSecret")] + private Input? _schemaRegistryApiSecret; + + /// + /// The Schema Registry Cluster API Secret. + /// + public Input? SchemaRegistryApiSecret + { + get => _schemaRegistryApiSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _schemaRegistryApiSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The Schema Registry Cluster ID. + /// + [Input("schemaRegistryId")] + public Input? SchemaRegistryId { get; set; } + + /// + /// The Schema Registry Cluster REST Endpoint. + /// + [Input("schemaRegistryRestEndpoint")] + public Input? SchemaRegistryRestEndpoint { get; set; } + public ProviderArgs() { } diff --git a/sdk/dotnet/Schema.cs b/sdk/dotnet/Schema.cs new file mode 100644 index 00000000..1f01a1b4 --- /dev/null +++ b/sdk/dotnet/Schema.cs @@ -0,0 +1,262 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + /// + /// ## Import + /// + /// You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `<Schema Registry cluster ID>/<Subject name>/<Schema identifier>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 + /// ``` + /// + /// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + /// + [ConfluentCloudResourceType("confluentcloud:index/schema:Schema")] + public partial class Schema : global::Pulumi.CustomResource + { + /// + /// The Cluster API Credentials. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + /// + [Output("format")] + public Output Format { get; private set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Output("restEndpoint")] + public Output RestEndpoint { get; private set; } = null!; + + /// + /// The schema string, for example, `file("./schema_version_1.avsc")`. + /// + [Output("schema")] + public Output SchemaDetails { get; private set; } = null!; + + /// + /// (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + /// + [Output("schemaIdentifier")] + public Output SchemaIdentifier { get; private set; } = null!; + + /// + /// The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + /// + [Output("schemaReferences")] + public Output> SchemaReferences { get; private set; } = null!; + + [Output("schemaRegistryCluster")] + public Output SchemaRegistryCluster { get; private set; } = null!; + + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + [Output("subjectName")] + public Output SubjectName { get; private set; } = null!; + + /// + /// The version, representing the exact version of the schema under the registered subject. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a Schema resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Schema(string name, SchemaArgs args, CustomResourceOptions? options = null) + : base("confluentcloud:index/schema:Schema", name, args ?? new SchemaArgs(), MakeResourceOptions(options, "")) + { + } + + private Schema(string name, Input id, SchemaState? state = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/schema:Schema", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "credentials", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Schema resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Schema Get(string name, Input id, SchemaState? state = null, CustomResourceOptions? options = null) + { + return new Schema(name, id, state, options); + } + } + + public sealed class SchemaArgs : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + /// + [Input("format", required: true)] + public Input Format { get; set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + /// + /// The schema string, for example, `file("./schema_version_1.avsc")`. + /// + [Input("schema", required: true)] + public Input SchemaDetails { get; set; } = null!; + + [Input("schemaReferences")] + private InputList? _schemaReferences; + + /// + /// The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + /// + public InputList SchemaReferences + { + get => _schemaReferences ?? (_schemaReferences = new InputList()); + set => _schemaReferences = value; + } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public SchemaArgs() + { + } + public static new SchemaArgs Empty => new SchemaArgs(); + } + + public sealed class SchemaState : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + /// + [Input("format")] + public Input? Format { get; set; } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + /// + /// The schema string, for example, `file("./schema_version_1.avsc")`. + /// + [Input("schema")] + public Input? SchemaDetails { get; set; } + + /// + /// (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + /// + [Input("schemaIdentifier")] + public Input? SchemaIdentifier { get; set; } + + [Input("schemaReferences")] + private InputList? _schemaReferences; + + /// + /// The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + /// + public InputList SchemaReferences + { + get => _schemaReferences ?? (_schemaReferences = new InputList()); + set => _schemaReferences = value; + } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + /// + [Input("subjectName")] + public Input? SubjectName { get; set; } + + /// + /// The version, representing the exact version of the schema under the registered subject. + /// + [Input("version")] + public Input? Version { get; set; } + + public SchemaState() + { + } + public static new SchemaState Empty => new SchemaState(); + } +} diff --git a/sdk/dotnet/SchemaRegistryClusterConfig.cs b/sdk/dotnet/SchemaRegistryClusterConfig.cs new file mode 100644 index 00000000..0aad0fe9 --- /dev/null +++ b/sdk/dotnet/SchemaRegistryClusterConfig.cs @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + /// + /// ## Import + /// + /// You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 + /// ``` + /// + /// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + /// + [ConfluentCloudResourceType("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig")] + public partial class SchemaRegistryClusterConfig : global::Pulumi.CustomResource + { + /// + /// The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Output("compatibilityLevel")] + public Output CompatibilityLevel { get; private set; } = null!; + + /// + /// The Cluster API Credentials. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Output("restEndpoint")] + public Output RestEndpoint { get; private set; } = null!; + + [Output("schemaRegistryCluster")] + public Output SchemaRegistryCluster { get; private set; } = null!; + + + /// + /// Create a SchemaRegistryClusterConfig resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SchemaRegistryClusterConfig(string name, SchemaRegistryClusterConfigArgs? args = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, args ?? new SchemaRegistryClusterConfigArgs(), MakeResourceOptions(options, "")) + { + } + + private SchemaRegistryClusterConfig(string name, Input id, SchemaRegistryClusterConfigState? state = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "credentials", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SchemaRegistryClusterConfig resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static SchemaRegistryClusterConfig Get(string name, Input id, SchemaRegistryClusterConfigState? state = null, CustomResourceOptions? options = null) + { + return new SchemaRegistryClusterConfig(name, id, state, options); + } + } + + public sealed class SchemaRegistryClusterConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Input("compatibilityLevel")] + public Input? CompatibilityLevel { get; set; } + + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public SchemaRegistryClusterConfigArgs() + { + } + public static new SchemaRegistryClusterConfigArgs Empty => new SchemaRegistryClusterConfigArgs(); + } + + public sealed class SchemaRegistryClusterConfigState : global::Pulumi.ResourceArgs + { + /// + /// The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Input("compatibilityLevel")] + public Input? CompatibilityLevel { get; set; } + + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public SchemaRegistryClusterConfigState() + { + } + public static new SchemaRegistryClusterConfigState Empty => new SchemaRegistryClusterConfigState(); + } +} diff --git a/sdk/dotnet/SchemaRegistryClusterMode.cs b/sdk/dotnet/SchemaRegistryClusterMode.cs new file mode 100644 index 00000000..5521a2d3 --- /dev/null +++ b/sdk/dotnet/SchemaRegistryClusterMode.cs @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + /// + /// ## Import + /// + /// You can import a Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 + /// ``` + /// + /// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + /// + [ConfluentCloudResourceType("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode")] + public partial class SchemaRegistryClusterMode : global::Pulumi.CustomResource + { + /// + /// The Cluster API Credentials. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Output("mode")] + public Output Mode { get; private set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Output("restEndpoint")] + public Output RestEndpoint { get; private set; } = null!; + + [Output("schemaRegistryCluster")] + public Output SchemaRegistryCluster { get; private set; } = null!; + + + /// + /// Create a SchemaRegistryClusterMode resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SchemaRegistryClusterMode(string name, SchemaRegistryClusterModeArgs? args = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, args ?? new SchemaRegistryClusterModeArgs(), MakeResourceOptions(options, "")) + { + } + + private SchemaRegistryClusterMode(string name, Input id, SchemaRegistryClusterModeState? state = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "credentials", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SchemaRegistryClusterMode resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static SchemaRegistryClusterMode Get(string name, Input id, SchemaRegistryClusterModeState? state = null, CustomResourceOptions? options = null) + { + return new SchemaRegistryClusterMode(name, id, state, options); + } + } + + public sealed class SchemaRegistryClusterModeArgs : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Input("mode")] + public Input? Mode { get; set; } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public SchemaRegistryClusterModeArgs() + { + } + public static new SchemaRegistryClusterModeArgs Empty => new SchemaRegistryClusterModeArgs(); + } + + public sealed class SchemaRegistryClusterModeState : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Input("mode")] + public Input? Mode { get; set; } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + public SchemaRegistryClusterModeState() + { + } + public static new SchemaRegistryClusterModeState Empty => new SchemaRegistryClusterModeState(); + } +} diff --git a/sdk/dotnet/SubjectConfig.cs b/sdk/dotnet/SubjectConfig.cs new file mode 100644 index 00000000..6dc42227 --- /dev/null +++ b/sdk/dotnet/SubjectConfig.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + /// + /// ## Import + /// + /// You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>/<Subject name>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject + /// ``` + /// + /// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + /// + [ConfluentCloudResourceType("confluentcloud:index/subjectConfig:SubjectConfig")] + public partial class SubjectConfig : global::Pulumi.CustomResource + { + /// + /// The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Output("compatibilityLevel")] + public Output CompatibilityLevel { get; private set; } = null!; + + /// + /// The Cluster API Credentials. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Output("restEndpoint")] + public Output RestEndpoint { get; private set; } = null!; + + [Output("schemaRegistryCluster")] + public Output SchemaRegistryCluster { get; private set; } = null!; + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Output("subjectName")] + public Output SubjectName { get; private set; } = null!; + + + /// + /// Create a SubjectConfig resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SubjectConfig(string name, SubjectConfigArgs args, CustomResourceOptions? options = null) + : base("confluentcloud:index/subjectConfig:SubjectConfig", name, args ?? new SubjectConfigArgs(), MakeResourceOptions(options, "")) + { + } + + private SubjectConfig(string name, Input id, SubjectConfigState? state = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/subjectConfig:SubjectConfig", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "credentials", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SubjectConfig resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static SubjectConfig Get(string name, Input id, SubjectConfigState? state = null, CustomResourceOptions? options = null) + { + return new SubjectConfig(name, id, state, options); + } + } + + public sealed class SubjectConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Input("compatibilityLevel")] + public Input? CompatibilityLevel { get; set; } + + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public SubjectConfigArgs() + { + } + public static new SubjectConfigArgs Empty => new SubjectConfigArgs(); + } + + public sealed class SubjectConfigState : global::Pulumi.ResourceArgs + { + /// + /// The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + /// + [Input("compatibilityLevel")] + public Input? CompatibilityLevel { get; set; } + + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName")] + public Input? SubjectName { get; set; } + + public SubjectConfigState() + { + } + public static new SubjectConfigState Empty => new SubjectConfigState(); + } +} diff --git a/sdk/dotnet/SubjectMode.cs b/sdk/dotnet/SubjectMode.cs new file mode 100644 index 00000000..044f850a --- /dev/null +++ b/sdk/dotnet/SubjectMode.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ConfluentCloud +{ + /// + /// ## Import + /// + /// You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>/<Subject name>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + /// + /// ```sh + /// $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject + /// ``` + /// + /// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + /// + [ConfluentCloudResourceType("confluentcloud:index/subjectMode:SubjectMode")] + public partial class SubjectMode : global::Pulumi.CustomResource + { + /// + /// The Cluster API Credentials. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Output("mode")] + public Output Mode { get; private set; } = null!; + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Output("restEndpoint")] + public Output RestEndpoint { get; private set; } = null!; + + [Output("schemaRegistryCluster")] + public Output SchemaRegistryCluster { get; private set; } = null!; + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Output("subjectName")] + public Output SubjectName { get; private set; } = null!; + + + /// + /// Create a SubjectMode resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SubjectMode(string name, SubjectModeArgs args, CustomResourceOptions? options = null) + : base("confluentcloud:index/subjectMode:SubjectMode", name, args ?? new SubjectModeArgs(), MakeResourceOptions(options, "")) + { + } + + private SubjectMode(string name, Input id, SubjectModeState? state = null, CustomResourceOptions? options = null) + : base("confluentcloud:index/subjectMode:SubjectMode", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + AdditionalSecretOutputs = + { + "credentials", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SubjectMode resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static SubjectMode Get(string name, Input id, SubjectModeState? state = null, CustomResourceOptions? options = null) + { + return new SubjectMode(name, id, state, options); + } + } + + public sealed class SubjectModeArgs : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Input("mode")] + public Input? Mode { get; set; } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName", required: true)] + public Input SubjectName { get; set; } = null!; + + public SubjectModeArgs() + { + } + public static new SubjectModeArgs Empty => new SubjectModeArgs(); + } + + public sealed class SubjectModeState : global::Pulumi.ResourceArgs + { + [Input("credentials")] + private Input? _credentials; + + /// + /// The Cluster API Credentials. + /// + public Input? Credentials + { + get => _credentials; + set + { + var emptySecret = Output.CreateSecret(0); + _credentials = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + /// + [Input("mode")] + public Input? Mode { get; set; } + + /// + /// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + /// + [Input("restEndpoint")] + public Input? RestEndpoint { get; set; } + + [Input("schemaRegistryCluster")] + public Input? SchemaRegistryCluster { get; set; } + + /// + /// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + /// + [Input("subjectName")] + public Input? SubjectName { get; set; } + + public SubjectModeState() + { + } + public static new SubjectModeState Empty => new SubjectModeState(); + } +} diff --git a/sdk/go/confluentcloud/apiKey.go b/sdk/go/confluentcloud/apiKey.go index 085e77f2..017ab877 100644 --- a/sdk/go/confluentcloud/apiKey.go +++ b/sdk/go/confluentcloud/apiKey.go @@ -13,7 +13,7 @@ import ( // ## Import // -// You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Kafka API Key +// You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Cluster API Key // // ```sh // @@ -39,7 +39,7 @@ type ApiKey struct { DisableWaitForReady pulumi.BoolPtrOutput `pulumi:"disableWaitForReady"` // A human-readable name for the API Key. DisplayName pulumi.StringOutput `pulumi:"displayName"` - // The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + // The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. ManagedResource ApiKeyManagedResourcePtrOutput `pulumi:"managedResource"` // The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. Owner ApiKeyOwnerOutput `pulumi:"owner"` @@ -89,7 +89,7 @@ type apiKeyState struct { DisableWaitForReady *bool `pulumi:"disableWaitForReady"` // A human-readable name for the API Key. DisplayName *string `pulumi:"displayName"` - // The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + // The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. ManagedResource *ApiKeyManagedResource `pulumi:"managedResource"` // The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. Owner *ApiKeyOwner `pulumi:"owner"` @@ -104,7 +104,7 @@ type ApiKeyState struct { DisableWaitForReady pulumi.BoolPtrInput // A human-readable name for the API Key. DisplayName pulumi.StringPtrInput - // The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + // The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. ManagedResource ApiKeyManagedResourcePtrInput // The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. Owner ApiKeyOwnerPtrInput @@ -123,7 +123,7 @@ type apiKeyArgs struct { DisableWaitForReady *bool `pulumi:"disableWaitForReady"` // A human-readable name for the API Key. DisplayName *string `pulumi:"displayName"` - // The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + // The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. ManagedResource *ApiKeyManagedResource `pulumi:"managedResource"` // The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. Owner ApiKeyOwner `pulumi:"owner"` @@ -137,7 +137,7 @@ type ApiKeyArgs struct { DisableWaitForReady pulumi.BoolPtrInput // A human-readable name for the API Key. DisplayName pulumi.StringPtrInput - // The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + // The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. ManagedResource ApiKeyManagedResourcePtrInput // The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. Owner ApiKeyOwnerInput @@ -245,7 +245,7 @@ func (o ApiKeyOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *ApiKey) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } -// The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. +// The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. func (o ApiKeyOutput) ManagedResource() ApiKeyManagedResourcePtrOutput { return o.ApplyT(func(v *ApiKey) ApiKeyManagedResourcePtrOutput { return v.ManagedResource }).(ApiKeyManagedResourcePtrOutput) } diff --git a/sdk/go/confluentcloud/config/config.go b/sdk/go/confluentcloud/config/config.go index f4fff12b..553776ca 100644 --- a/sdk/go/confluentcloud/config/config.go +++ b/sdk/go/confluentcloud/config/config.go @@ -33,6 +33,11 @@ func GetKafkaApiSecret(ctx *pulumi.Context) string { return config.Get(ctx, "confluentcloud:kafkaApiSecret") } +// The Kafka Cluster ID. +func GetKafkaId(ctx *pulumi.Context) string { + return config.Get(ctx, "confluentcloud:kafkaId") +} + // The Kafka Cluster REST Endpoint. func GetKafkaRestEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "confluentcloud:kafkaRestEndpoint") @@ -42,3 +47,23 @@ func GetKafkaRestEndpoint(ctx *pulumi.Context) string { func GetMaxRetries(ctx *pulumi.Context) int { return config.GetInt(ctx, "confluentcloud:maxRetries") } + +// The Schema Registry Cluster API Key. +func GetSchemaRegistryApiKey(ctx *pulumi.Context) string { + return config.Get(ctx, "confluentcloud:schemaRegistryApiKey") +} + +// The Schema Registry Cluster API Secret. +func GetSchemaRegistryApiSecret(ctx *pulumi.Context) string { + return config.Get(ctx, "confluentcloud:schemaRegistryApiSecret") +} + +// The Schema Registry Cluster ID. +func GetSchemaRegistryId(ctx *pulumi.Context) string { + return config.Get(ctx, "confluentcloud:schemaRegistryId") +} + +// The Schema Registry Cluster REST Endpoint. +func GetSchemaRegistryRestEndpoint(ctx *pulumi.Context) string { + return config.Get(ctx, "confluentcloud:schemaRegistryRestEndpoint") +} diff --git a/sdk/go/confluentcloud/connector.go b/sdk/go/confluentcloud/connector.go index 7dea1da1..df1701bf 100644 --- a/sdk/go/confluentcloud/connector.go +++ b/sdk/go/confluentcloud/connector.go @@ -51,7 +51,7 @@ func NewConnector(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'KafkaCluster'") } if args.ConfigSensitive != nil { - args.ConfigSensitive = pulumi.ToSecret(args.ConfigSensitive).(pulumi.StringMapOutput) + args.ConfigSensitive = pulumi.ToSecret(args.ConfigSensitive).(pulumi.StringMapInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "configSensitive", diff --git a/sdk/go/confluentcloud/doc.go b/sdk/go/confluentcloud/doc.go index b7798fe6..e56ab17c 100644 --- a/sdk/go/confluentcloud/doc.go +++ b/sdk/go/confluentcloud/doc.go @@ -1,3 +1,2 @@ // A Pulumi package for creating and managing Confluent cloud resources. - package confluentcloud diff --git a/sdk/go/confluentcloud/getEnvironment.go b/sdk/go/confluentcloud/getEnvironment.go index 41d1ab7c..884a109e 100644 --- a/sdk/go/confluentcloud/getEnvironment.go +++ b/sdk/go/confluentcloud/getEnvironment.go @@ -30,20 +30,20 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdEnvironment, err := confluentcloud.LookupEnvironment(ctx, &GetEnvironmentArgs{ +// exampleUsingIdEnvironment, err := confluentcloud.LookupEnvironment(ctx, &confluentcloud.LookupEnvironmentArgs{ // Id: pulumi.StringRef("env-abc123"), // }, nil) // if err != nil { // return err // } // ctx.Export("exampleUsingId", exampleUsingIdEnvironment) -// exampleUsingNameEnvironment, err := confluentcloud.LookupEnvironment(ctx, &GetEnvironmentArgs{ +// exampleUsingNameEnvironment, err := confluentcloud.LookupEnvironment(ctx, &confluentcloud.LookupEnvironmentArgs{ // DisplayName: pulumi.StringRef("stag"), // }, nil) // if err != nil { // return err // } -// exampleUsingNameServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, &GetServiceAccountArgs{ +// exampleUsingNameServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, &confluentcloud.LookupServiceAccountArgs{ // DisplayName: pulumi.StringRef("test_sa"), // }, nil) // if err != nil { @@ -52,7 +52,7 @@ import ( // _, err = confluentcloud.NewRoleBinding(ctx, "test-role-binding", &confluentcloud.RoleBindingArgs{ // Principal: pulumi.String(fmt.Sprintf("User:%v", exampleUsingNameServiceAccount.Id)), // RoleName: pulumi.String("EnvironmentAdmin"), -// CrnPattern: pulumi.String(exampleUsingNameEnvironment.ResourceName), +// CrnPattern: *pulumi.String(exampleUsingNameEnvironment.ResourceName), // }) // if err != nil { // return err diff --git a/sdk/go/confluentcloud/getIdentityPool.go b/sdk/go/confluentcloud/getIdentityPool.go index d1b4e580..ba4c874b 100644 --- a/sdk/go/confluentcloud/getIdentityPool.go +++ b/sdk/go/confluentcloud/getIdentityPool.go @@ -10,7 +10,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `IdentityPool` describes an Identity Pool data source. // @@ -28,9 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, &GetIdentityPoolArgs{ +// exampleUsingIdIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, &confluentcloud.LookupIdentityPoolArgs{ // Id: pulumi.StringRef("pool-xyz456"), -// IdentityProvider: GetIdentityPoolIdentityProvider{ +// IdentityProvider: confluentcloud.GetIdentityPoolIdentityProvider{ // Id: "op-abc123", // }, // }, nil) @@ -38,9 +38,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdIdentityPool) -// exampleUsingNameIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, &GetIdentityPoolArgs{ +// exampleUsingNameIdentityPool, err := confluentcloud.LookupIdentityPool(ctx, &confluentcloud.LookupIdentityPoolArgs{ // DisplayName: pulumi.StringRef("My Identity Pool"), -// IdentityProvider: GetIdentityPoolIdentityProvider{ +// IdentityProvider: confluentcloud.GetIdentityPoolIdentityProvider{ // Id: "op-abc123", // }, // }, nil) @@ -67,7 +67,8 @@ type LookupIdentityPoolArgs struct { // A human-readable name for the Identity Pool. DisplayName *string `pulumi:"displayName"` // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. - Id *string `pulumi:"id"` + Id *string `pulumi:"id"` + // (Required Configuration Block) supports the following: IdentityProvider GetIdentityPoolIdentityProvider `pulumi:"identityProvider"` } @@ -82,7 +83,8 @@ type LookupIdentityPoolResult struct { // (Required String) The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. Id string `pulumi:"id"` // (Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see [Registered Claim Names](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1) for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". - IdentityClaim string `pulumi:"identityClaim"` + IdentityClaim string `pulumi:"identityClaim"` + // (Required Configuration Block) supports the following: IdentityProvider GetIdentityPoolIdentityProvider `pulumi:"identityProvider"` } @@ -104,7 +106,8 @@ type LookupIdentityPoolOutputArgs struct { // A human-readable name for the Identity Pool. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. - Id pulumi.StringPtrInput `pulumi:"id"` + Id pulumi.StringPtrInput `pulumi:"id"` + // (Required Configuration Block) supports the following: IdentityProvider GetIdentityPoolIdentityProviderInput `pulumi:"identityProvider"` } @@ -152,6 +155,7 @@ func (o LookupIdentityPoolResultOutput) IdentityClaim() pulumi.StringOutput { return o.ApplyT(func(v LookupIdentityPoolResult) string { return v.IdentityClaim }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupIdentityPoolResultOutput) IdentityProvider() GetIdentityPoolIdentityProviderOutput { return o.ApplyT(func(v LookupIdentityPoolResult) GetIdentityPoolIdentityProvider { return v.IdentityProvider }).(GetIdentityPoolIdentityProviderOutput) } diff --git a/sdk/go/confluentcloud/getIdentityProvider.go b/sdk/go/confluentcloud/getIdentityProvider.go index a0a74fb7..6a6f152e 100644 --- a/sdk/go/confluentcloud/getIdentityProvider.go +++ b/sdk/go/confluentcloud/getIdentityProvider.go @@ -10,7 +10,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `IdentityProvider` describes an Identity Provider data source. // @@ -28,14 +28,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, &GetIdentityProviderArgs{ +// exampleUsingIdIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, &confluentcloud.LookupIdentityProviderArgs{ // Id: pulumi.StringRef("op-abc123"), // }, nil) // if err != nil { // return err // } // ctx.Export("exampleUsingId", exampleUsingIdIdentityProvider) -// exampleUsingNameIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, &GetIdentityProviderArgs{ +// exampleUsingNameIdentityProvider, err := confluentcloud.LookupIdentityProvider(ctx, &confluentcloud.LookupIdentityProviderArgs{ // DisplayName: pulumi.StringRef("My OIDC Provider: Azure AD"), // }, nil) // if err != nil { diff --git a/sdk/go/confluentcloud/getKafkaClientQuota.go b/sdk/go/confluentcloud/getKafkaClientQuota.go index 2af51572..68660f73 100644 --- a/sdk/go/confluentcloud/getKafkaClientQuota.go +++ b/sdk/go/confluentcloud/getKafkaClientQuota.go @@ -10,10 +10,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) -// -// > **Note:** `KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ -// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `KafkaClientQuota` describes a Kafka Client Quota. // @@ -33,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleKafkaClientQuota, err := confluentcloud.LookupKafkaClientQuota(ctx, &GetKafkaClientQuotaArgs{ +// exampleKafkaClientQuota, err := confluentcloud.LookupKafkaClientQuota(ctx, &confluentcloud.LookupKafkaClientQuotaArgs{ // Id: "cq-abc123", // }, nil) // if err != nil { @@ -63,17 +60,18 @@ type LookupKafkaClientQuotaArgs struct { // A collection of values returned by getKafkaClientQuota. type LookupKafkaClientQuotaResult struct { // (Required String) The description of the Kafka Client Quota. - // - `throughput` (Required Configuration Block) supports the following: Description string `pulumi:"description"` // (Required String) The name of the Kafka Client Quota. - DisplayName string `pulumi:"displayName"` + DisplayName string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environments []GetKafkaClientQuotaEnvironment `pulumi:"environments"` // (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // (Required Configuration Block) supports the following: KafkaClusters []GetKafkaClientQuotaKafkaCluster `pulumi:"kafkaClusters"` // (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - // - `kafkaCluster` (Required Configuration Block) supports the following: - Principals []string `pulumi:"principals"` + Principals []string `pulumi:"principals"` + // (Required Configuration Block) supports the following: Throughputs []GetKafkaClientQuotaThroughput `pulumi:"throughputs"` } @@ -116,7 +114,6 @@ func (o LookupKafkaClientQuotaResultOutput) ToLookupKafkaClientQuotaResultOutput } // (Required String) The description of the Kafka Client Quota. -// - `throughput` (Required Configuration Block) supports the following: func (o LookupKafkaClientQuotaResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) string { return v.Description }).(pulumi.StringOutput) } @@ -126,6 +123,7 @@ func (o LookupKafkaClientQuotaResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupKafkaClientQuotaResultOutput) Environments() GetKafkaClientQuotaEnvironmentArrayOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) []GetKafkaClientQuotaEnvironment { return v.Environments }).(GetKafkaClientQuotaEnvironmentArrayOutput) } @@ -135,16 +133,17 @@ func (o LookupKafkaClientQuotaResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) string { return v.Id }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupKafkaClientQuotaResultOutput) KafkaClusters() GetKafkaClientQuotaKafkaClusterArrayOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) []GetKafkaClientQuotaKafkaCluster { return v.KafkaClusters }).(GetKafkaClientQuotaKafkaClusterArrayOutput) } // (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. -// - `kafkaCluster` (Required Configuration Block) supports the following: func (o LookupKafkaClientQuotaResultOutput) Principals() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) []string { return v.Principals }).(pulumi.StringArrayOutput) } +// (Required Configuration Block) supports the following: func (o LookupKafkaClientQuotaResultOutput) Throughputs() GetKafkaClientQuotaThroughputArrayOutput { return o.ApplyT(func(v LookupKafkaClientQuotaResult) []GetKafkaClientQuotaThroughput { return v.Throughputs }).(GetKafkaClientQuotaThroughputArrayOutput) } diff --git a/sdk/go/confluentcloud/getKafkaCluster.go b/sdk/go/confluentcloud/getKafkaCluster.go index 517e38a7..ab4b174f 100644 --- a/sdk/go/confluentcloud/getKafkaCluster.go +++ b/sdk/go/confluentcloud/getKafkaCluster.go @@ -30,9 +30,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingId, err := confluentcloud.LookupKafkaCluster(ctx, &GetKafkaClusterArgs{ +// exampleUsingId, err := confluentcloud.LookupKafkaCluster(ctx, &confluentcloud.LookupKafkaClusterArgs{ // Id: pulumi.StringRef("lkc-abc123"), -// Environment: GetKafkaClusterEnvironment{ +// Environment: confluentcloud.GetKafkaClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -45,9 +45,9 @@ import ( // if err != nil { // return err // } -// exampleUsingNameKafkaCluster, err := confluentcloud.LookupKafkaCluster(ctx, &GetKafkaClusterArgs{ +// exampleUsingNameKafkaCluster, err := confluentcloud.LookupKafkaCluster(ctx, &confluentcloud.LookupKafkaClusterArgs{ // DisplayName: pulumi.StringRef("basic_kafka_cluster"), -// Environment: GetKafkaClusterEnvironment{ +// Environment: confluentcloud.GetKafkaClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -104,7 +104,8 @@ type LookupKafkaClusterResult struct { // (Required String) The ID of the Network that the Kafka cluster belongs to, for example, `n-abc123`. Id string `pulumi:"id"` // (Required String) A kind of the Kafka cluster, for example, `Cluster`. - Kind string `pulumi:"kind"` + Kind string `pulumi:"kind"` + // (Optional Configuration Block) supports the following: Networks []GetKafkaClusterNetwork `pulumi:"networks"` // (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`. RbacCrn string `pulumi:"rbacCrn"` @@ -212,6 +213,7 @@ func (o LookupKafkaClusterResultOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaClusterResult) string { return v.Kind }).(pulumi.StringOutput) } +// (Optional Configuration Block) supports the following: func (o LookupKafkaClusterResultOutput) Networks() GetKafkaClusterNetworkArrayOutput { return o.ApplyT(func(v LookupKafkaClusterResult) []GetKafkaClusterNetwork { return v.Networks }).(GetKafkaClusterNetworkArrayOutput) } diff --git a/sdk/go/confluentcloud/getKafkaTopic.go b/sdk/go/confluentcloud/getKafkaTopic.go index a35f5069..2636eb5a 100644 --- a/sdk/go/confluentcloud/getKafkaTopic.go +++ b/sdk/go/confluentcloud/getKafkaTopic.go @@ -10,44 +10,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) -// -// `KafkaTopic` describes a Kafka Topic data source. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// orders, err := confluentcloud.LookupKafkaTopic(ctx, &GetKafkaTopicArgs{ -// KafkaCluster: GetKafkaTopicKafkaCluster{ -// Id: confluent_kafka_cluster.Basic - cluster.Id, -// }, -// TopicName: "orders", -// RestEndpoint: confluent_kafka_cluster.Basic - cluster.Rest_endpoint, -// Credentials: GetKafkaTopicCredentials{ -// Key: "", -// Secret: "", -// }, -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("config", orders.Config) -// return nil -// }) -// } -// -// ``` func LookupKafkaTopic(ctx *pulumi.Context, args *LookupKafkaTopicArgs, opts ...pulumi.InvokeOption) (*LookupKafkaTopicResult, error) { var rv LookupKafkaTopicResult err := ctx.Invoke("confluentcloud:index/getKafkaTopic:getKafkaTopic", args, &rv, opts...) @@ -59,8 +21,8 @@ func LookupKafkaTopic(ctx *pulumi.Context, args *LookupKafkaTopicArgs, opts ...p // A collection of arguments for invoking getKafkaTopic. type LookupKafkaTopicArgs struct { - Credentials *GetKafkaTopicCredentials `pulumi:"credentials"` - KafkaCluster GetKafkaTopicKafkaCluster `pulumi:"kafkaCluster"` + Credentials *GetKafkaTopicCredentials `pulumi:"credentials"` + KafkaCluster *GetKafkaTopicKafkaCluster `pulumi:"kafkaCluster"` // The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). RestEndpoint string `pulumi:"restEndpoint"` // The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length and can contain only alphanumeric characters, hyphens, and underscores. @@ -73,8 +35,8 @@ type LookupKafkaTopicResult struct { Config map[string]string `pulumi:"config"` Credentials *GetKafkaTopicCredentials `pulumi:"credentials"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - KafkaCluster GetKafkaTopicKafkaCluster `pulumi:"kafkaCluster"` + Id string `pulumi:"id"` + KafkaCluster *GetKafkaTopicKafkaCluster `pulumi:"kafkaCluster"` // (Required Number) The number of partitions to create in the topic. Defaults to `6`. PartitionsCount int `pulumi:"partitionsCount"` RestEndpoint string `pulumi:"restEndpoint"` @@ -96,8 +58,8 @@ func LookupKafkaTopicOutput(ctx *pulumi.Context, args LookupKafkaTopicOutputArgs // A collection of arguments for invoking getKafkaTopic. type LookupKafkaTopicOutputArgs struct { - Credentials GetKafkaTopicCredentialsPtrInput `pulumi:"credentials"` - KafkaCluster GetKafkaTopicKafkaClusterInput `pulumi:"kafkaCluster"` + Credentials GetKafkaTopicCredentialsPtrInput `pulumi:"credentials"` + KafkaCluster GetKafkaTopicKafkaClusterPtrInput `pulumi:"kafkaCluster"` // The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). RestEndpoint pulumi.StringInput `pulumi:"restEndpoint"` // The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length and can contain only alphanumeric characters, hyphens, and underscores. @@ -137,8 +99,8 @@ func (o LookupKafkaTopicResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaTopicResult) string { return v.Id }).(pulumi.StringOutput) } -func (o LookupKafkaTopicResultOutput) KafkaCluster() GetKafkaTopicKafkaClusterOutput { - return o.ApplyT(func(v LookupKafkaTopicResult) GetKafkaTopicKafkaCluster { return v.KafkaCluster }).(GetKafkaTopicKafkaClusterOutput) +func (o LookupKafkaTopicResultOutput) KafkaCluster() GetKafkaTopicKafkaClusterPtrOutput { + return o.ApplyT(func(v LookupKafkaTopicResult) *GetKafkaTopicKafkaCluster { return v.KafkaCluster }).(GetKafkaTopicKafkaClusterPtrOutput) } // (Required Number) The number of partitions to create in the topic. Defaults to `6`. diff --git a/sdk/go/confluentcloud/getKsqlCluster.go b/sdk/go/confluentcloud/getKsqlCluster.go index 7af3367a..c524ea9a 100644 --- a/sdk/go/confluentcloud/getKsqlCluster.go +++ b/sdk/go/confluentcloud/getKsqlCluster.go @@ -30,9 +30,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, &GetKsqlClusterArgs{ +// exampleUsingIdKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, &confluentcloud.LookupKsqlClusterArgs{ // Id: pulumi.StringRef("lksqlc-abc123"), -// Environment: GetKsqlClusterEnvironment{ +// Environment: confluentcloud.GetKsqlClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -40,9 +40,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdKsqlCluster) -// exampleUsingNameKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, &GetKsqlClusterArgs{ +// exampleUsingNameKsqlCluster, err := confluentcloud.LookupKsqlCluster(ctx, &confluentcloud.LookupKsqlClusterArgs{ // DisplayName: pulumi.StringRef("ksqldb_cluster"), -// Environment: GetKsqlClusterEnvironment{ +// Environment: confluentcloud.GetKsqlClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -76,30 +76,29 @@ type LookupKsqlClusterArgs struct { // A collection of values returned by getKsqlCluster. type LookupKsqlClusterResult struct { // (Required String) An API Version of the schema version of the ksqlDB cluster, for example, `ksqldbcm/v2`. - ApiVersion string `pulumi:"apiVersion"` + ApiVersion string `pulumi:"apiVersion"` + // (Optional Configuration Block) supports the following: CredentialIdentities []GetKsqlClusterCredentialIdentity `pulumi:"credentialIdentities"` // (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - // - `useDetailedProcessingLog` (Optional Boolean) Controls whether the row data should be included in the processing log topic. Csu int `pulumi:"csu"` DisplayName string `pulumi:"displayName"` Environment GetKsqlClusterEnvironment `pulumi:"environment"` // (Required String) The ID of the service or user account that the ksqlDB cluster belongs to, for example, `sa-abc123`. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // (Optional Configuration Block) supports the following: KafkaClusters []GetKsqlClusterKafkaCluster `pulumi:"kafkaClusters"` // (Required String) A kind of the ksqlDB cluster, for example, `Cluster`. Kind string `pulumi:"kind"` // (Required String) The Confluent Resource Name of the ksqlDB cluster. ResourceName string `pulumi:"resourceName"` // (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - // - `kafkaCluster` (Optional Configuration Block) supports the following: - // - // Deprecated: use rest_endpoint instead RestEndpoint string `pulumi:"restEndpoint"` // (Required Integer) The amount of storage (in GB) provisioned to this cluster. Storage int `pulumi:"storage"` // (Required String) Topic name prefix used by this ksqlDB cluster. Used to assign ACLs for this ksqlDB cluster to use, for example, `pksqlc-00000`. - TopicPrefix string `pulumi:"topicPrefix"` - UseDetailedProcessingLog bool `pulumi:"useDetailedProcessingLog"` + TopicPrefix string `pulumi:"topicPrefix"` + // (Optional Boolean) Controls whether the row data should be included in the processing log topic. + UseDetailedProcessingLog bool `pulumi:"useDetailedProcessingLog"` } func LookupKsqlClusterOutput(ctx *pulumi.Context, args LookupKsqlClusterOutputArgs, opts ...pulumi.InvokeOption) LookupKsqlClusterResultOutput { @@ -148,12 +147,12 @@ func (o LookupKsqlClusterResultOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupKsqlClusterResult) string { return v.ApiVersion }).(pulumi.StringOutput) } +// (Optional Configuration Block) supports the following: func (o LookupKsqlClusterResultOutput) CredentialIdentities() GetKsqlClusterCredentialIdentityArrayOutput { return o.ApplyT(func(v LookupKsqlClusterResult) []GetKsqlClusterCredentialIdentity { return v.CredentialIdentities }).(GetKsqlClusterCredentialIdentityArrayOutput) } // (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. -// - `useDetailedProcessingLog` (Optional Boolean) Controls whether the row data should be included in the processing log topic. func (o LookupKsqlClusterResultOutput) Csu() pulumi.IntOutput { return o.ApplyT(func(v LookupKsqlClusterResult) int { return v.Csu }).(pulumi.IntOutput) } @@ -171,6 +170,7 @@ func (o LookupKsqlClusterResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKsqlClusterResult) string { return v.Id }).(pulumi.StringOutput) } +// (Optional Configuration Block) supports the following: func (o LookupKsqlClusterResultOutput) KafkaClusters() GetKsqlClusterKafkaClusterArrayOutput { return o.ApplyT(func(v LookupKsqlClusterResult) []GetKsqlClusterKafkaCluster { return v.KafkaClusters }).(GetKsqlClusterKafkaClusterArrayOutput) } @@ -186,9 +186,6 @@ func (o LookupKsqlClusterResultOutput) ResourceName() pulumi.StringOutput { } // (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. -// - `kafkaCluster` (Optional Configuration Block) supports the following: -// -// Deprecated: use rest_endpoint instead func (o LookupKsqlClusterResultOutput) RestEndpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupKsqlClusterResult) string { return v.RestEndpoint }).(pulumi.StringOutput) } @@ -203,6 +200,7 @@ func (o LookupKsqlClusterResultOutput) TopicPrefix() pulumi.StringOutput { return o.ApplyT(func(v LookupKsqlClusterResult) string { return v.TopicPrefix }).(pulumi.StringOutput) } +// (Optional Boolean) Controls whether the row data should be included in the processing log topic. func (o LookupKsqlClusterResultOutput) UseDetailedProcessingLog() pulumi.BoolOutput { return o.ApplyT(func(v LookupKsqlClusterResult) bool { return v.UseDetailedProcessingLog }).(pulumi.BoolOutput) } diff --git a/sdk/go/confluentcloud/getNetwork.go b/sdk/go/confluentcloud/getNetwork.go index ac510391..e804d97e 100644 --- a/sdk/go/confluentcloud/getNetwork.go +++ b/sdk/go/confluentcloud/getNetwork.go @@ -30,9 +30,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingId, err := confluentcloud.LookupNetwork(ctx, &GetNetworkArgs{ +// exampleUsingId, err := confluentcloud.LookupNetwork(ctx, &confluentcloud.LookupNetworkArgs{ // Id: pulumi.StringRef("n-abc123"), -// Environment: GetNetworkEnvironment{ +// Environment: confluentcloud.GetNetworkEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -45,9 +45,9 @@ import ( // if err != nil { // return err // } -// exampleUsingNameNetwork, err := confluentcloud.LookupNetwork(ctx, &GetNetworkArgs{ +// exampleUsingNameNetwork, err := confluentcloud.LookupNetwork(ctx, &confluentcloud.LookupNetworkArgs{ // DisplayName: pulumi.StringRef("my_network"), -// Environment: GetNetworkEnvironment{ +// Environment: confluentcloud.GetNetworkEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -76,7 +76,9 @@ type LookupNetworkArgs struct { // (Optional Configuration Block) The Azure-specific network details if available. It supports the following: Azures []GetNetworkAzure `pulumi:"azures"` // A human-readable name for the Network. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` + // (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + DnsConfigs []GetNetworkDnsConfig `pulumi:"dnsConfigs"` Environment GetNetworkEnvironment `pulumi:"environment"` // (Optional Configuration Block) The GCP-specific network details if available. It supports the following: Gcps []GetNetworkGcp `pulumi:"gcps"` @@ -97,7 +99,9 @@ type LookupNetworkResult struct { // (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`. ConnectionTypes []string `pulumi:"connectionTypes"` // (Required String) The name of the Network. - DisplayName string `pulumi:"displayName"` + DisplayName string `pulumi:"displayName"` + // (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + DnsConfigs []GetNetworkDnsConfig `pulumi:"dnsConfigs"` DnsDomain string `pulumi:"dnsDomain"` Environment GetNetworkEnvironment `pulumi:"environment"` // (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -110,7 +114,8 @@ type LookupNetworkResult struct { ResourceName string `pulumi:"resourceName"` ZonalSubdomains map[string]string `pulumi:"zonalSubdomains"` // (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -137,8 +142,10 @@ type LookupNetworkOutputArgs struct { // (Optional Configuration Block) The Azure-specific network details if available. It supports the following: Azures GetNetworkAzureArrayInput `pulumi:"azures"` // A human-readable name for the Network. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Environment GetNetworkEnvironmentInput `pulumi:"environment"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + DnsConfigs GetNetworkDnsConfigArrayInput `pulumi:"dnsConfigs"` + Environment GetNetworkEnvironmentInput `pulumi:"environment"` // (Optional Configuration Block) The GCP-specific network details if available. It supports the following: Gcps GetNetworkGcpArrayInput `pulumi:"gcps"` // The ID of the Environment that the Network belongs to, for example, `env-xyz456`. @@ -194,6 +201,11 @@ func (o LookupNetworkResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: +func (o LookupNetworkResultOutput) DnsConfigs() GetNetworkDnsConfigArrayOutput { + return o.ApplyT(func(v LookupNetworkResult) []GetNetworkDnsConfig { return v.DnsConfigs }).(GetNetworkDnsConfigArrayOutput) +} + func (o LookupNetworkResultOutput) DnsDomain() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkResult) string { return v.DnsDomain }).(pulumi.StringOutput) } @@ -227,7 +239,8 @@ func (o LookupNetworkResultOutput) ZonalSubdomains() pulumi.StringMapOutput { } // (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks -// used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. +// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP +// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/go/confluentcloud/getPeering.go b/sdk/go/confluentcloud/getPeering.go index c9667c8e..5cf97a4a 100644 --- a/sdk/go/confluentcloud/getPeering.go +++ b/sdk/go/confluentcloud/getPeering.go @@ -28,9 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdPeering, err := confluentcloud.LookupPeering(ctx, &GetPeeringArgs{ +// exampleUsingIdPeering, err := confluentcloud.LookupPeering(ctx, &confluentcloud.LookupPeeringArgs{ // Id: pulumi.StringRef("peer-abc123"), -// Environment: GetPeeringEnvironment{ +// Environment: confluentcloud.GetPeeringEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -38,9 +38,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdPeering) -// exampleUsingNamePeering, err := confluentcloud.LookupPeering(ctx, &GetPeeringArgs{ +// exampleUsingNamePeering, err := confluentcloud.LookupPeering(ctx, &confluentcloud.LookupPeeringArgs{ // DisplayName: pulumi.StringRef("my_peering"), -// Environment: GetPeeringEnvironment{ +// Environment: confluentcloud.GetPeeringEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -65,7 +65,8 @@ func LookupPeering(ctx *pulumi.Context, args *LookupPeeringArgs, opts ...pulumi. // A collection of arguments for invoking getPeering. type LookupPeeringArgs struct { // A human-readable name for the Peering. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPeeringEnvironment `pulumi:"environment"` // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. Id *string `pulumi:"id"` @@ -78,13 +79,14 @@ type LookupPeeringResult struct { // (Optional Configuration Block) The Azure-specific Peering details if available. It supports the following: Azures []GetPeeringAzure `pulumi:"azures"` // (Optional String) The name of the Peering. - // - `environment` (Required Configuration Block) supports the following: - DisplayName string `pulumi:"displayName"` + DisplayName string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPeeringEnvironment `pulumi:"environment"` // (Optional Configuration Block) The Azure-specific Peering details if available. It supports the following: Gcps []GetPeeringGcp `pulumi:"gcps"` // (Required String) The ID of the Network that the Peering belongs to, for example, `n-abc123`. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // (Required Configuration Block) supports the following: Networks []GetPeeringNetwork `pulumi:"networks"` } @@ -104,7 +106,8 @@ func LookupPeeringOutput(ctx *pulumi.Context, args LookupPeeringOutputArgs, opts // A collection of arguments for invoking getPeering. type LookupPeeringOutputArgs struct { // A human-readable name for the Peering. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPeeringEnvironmentInput `pulumi:"environment"` // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. Id pulumi.StringPtrInput `pulumi:"id"` @@ -140,11 +143,11 @@ func (o LookupPeeringResultOutput) Azures() GetPeeringAzureArrayOutput { } // (Optional String) The name of the Peering. -// - `environment` (Required Configuration Block) supports the following: func (o LookupPeeringResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupPeeringResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupPeeringResultOutput) Environment() GetPeeringEnvironmentOutput { return o.ApplyT(func(v LookupPeeringResult) GetPeeringEnvironment { return v.Environment }).(GetPeeringEnvironmentOutput) } @@ -159,6 +162,7 @@ func (o LookupPeeringResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupPeeringResult) string { return v.Id }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupPeeringResultOutput) Networks() GetPeeringNetworkArrayOutput { return o.ApplyT(func(v LookupPeeringResult) []GetPeeringNetwork { return v.Networks }).(GetPeeringNetworkArrayOutput) } diff --git a/sdk/go/confluentcloud/getPrivateLinkAccess.go b/sdk/go/confluentcloud/getPrivateLinkAccess.go index 9de9ae28..ec7e3eb0 100644 --- a/sdk/go/confluentcloud/getPrivateLinkAccess.go +++ b/sdk/go/confluentcloud/getPrivateLinkAccess.go @@ -28,9 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdPrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &GetPrivateLinkAccessArgs{ +// exampleUsingIdPrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &confluentcloud.LookupPrivateLinkAccessArgs{ // Id: pulumi.StringRef("pla-abc123"), -// Environment: GetPrivateLinkAccessEnvironment{ +// Environment: confluentcloud.GetPrivateLinkAccessEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -38,9 +38,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdPrivateLinkAccess) -// exampleUsingNamePrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &GetPrivateLinkAccessArgs{ +// exampleUsingNamePrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &confluentcloud.LookupPrivateLinkAccessArgs{ // DisplayName: pulumi.StringRef("my_pla"), -// Environment: GetPrivateLinkAccessEnvironment{ +// Environment: confluentcloud.GetPrivateLinkAccessEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -65,7 +65,8 @@ func LookupPrivateLinkAccess(ctx *pulumi.Context, args *LookupPrivateLinkAccessA // A collection of arguments for invoking getPrivateLinkAccess. type LookupPrivateLinkAccessArgs struct { // A human-readable name for the Private Link Access. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPrivateLinkAccessEnvironment `pulumi:"environment"` // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. Id *string `pulumi:"id"` @@ -78,13 +79,14 @@ type LookupPrivateLinkAccessResult struct { // (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following: Azures []GetPrivateLinkAccessAzure `pulumi:"azures"` // (Optional String) The name of the Private Link Access. - // - `environment` (Required Configuration Block) supports the following: - DisplayName string `pulumi:"displayName"` + DisplayName string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPrivateLinkAccessEnvironment `pulumi:"environment"` // (Optional Configuration Block) The GCP-specific Private Service Connect details if available. It supports the following: Gcps []GetPrivateLinkAccessGcp `pulumi:"gcps"` // (Required String) The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // (Required Configuration Block) supports the following: Networks []GetPrivateLinkAccessNetwork `pulumi:"networks"` } @@ -104,7 +106,8 @@ func LookupPrivateLinkAccessOutput(ctx *pulumi.Context, args LookupPrivateLinkAc // A collection of arguments for invoking getPrivateLinkAccess. type LookupPrivateLinkAccessOutputArgs struct { // A human-readable name for the Private Link Access. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetPrivateLinkAccessEnvironmentInput `pulumi:"environment"` // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. Id pulumi.StringPtrInput `pulumi:"id"` @@ -140,11 +143,11 @@ func (o LookupPrivateLinkAccessResultOutput) Azures() GetPrivateLinkAccessAzureA } // (Optional String) The name of the Private Link Access. -// - `environment` (Required Configuration Block) supports the following: func (o LookupPrivateLinkAccessResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupPrivateLinkAccessResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupPrivateLinkAccessResultOutput) Environment() GetPrivateLinkAccessEnvironmentOutput { return o.ApplyT(func(v LookupPrivateLinkAccessResult) GetPrivateLinkAccessEnvironment { return v.Environment }).(GetPrivateLinkAccessEnvironmentOutput) } @@ -159,6 +162,7 @@ func (o LookupPrivateLinkAccessResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupPrivateLinkAccessResult) string { return v.Id }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupPrivateLinkAccessResultOutput) Networks() GetPrivateLinkAccessNetworkArrayOutput { return o.ApplyT(func(v LookupPrivateLinkAccessResult) []GetPrivateLinkAccessNetwork { return v.Networks }).(GetPrivateLinkAccessNetworkArrayOutput) } diff --git a/sdk/go/confluentcloud/getRoleBinding.go b/sdk/go/confluentcloud/getRoleBinding.go index 8bf8b933..90915ad2 100644 --- a/sdk/go/confluentcloud/getRoleBinding.go +++ b/sdk/go/confluentcloud/getRoleBinding.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleRoleBinding, err := confluentcloud.LookupRoleBinding(ctx, &GetRoleBindingArgs{ +// exampleRoleBinding, err := confluentcloud.LookupRoleBinding(ctx, &confluentcloud.LookupRoleBindingArgs{ // Id: "rb-abc123", // }, nil) // if err != nil { diff --git a/sdk/go/confluentcloud/getSchema.go b/sdk/go/confluentcloud/getSchema.go new file mode 100644 index 00000000..e00a4ba5 --- /dev/null +++ b/sdk/go/confluentcloud/getSchema.go @@ -0,0 +1,146 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupSchema(ctx *pulumi.Context, args *LookupSchemaArgs, opts ...pulumi.InvokeOption) (*LookupSchemaResult, error) { + var rv LookupSchemaResult + err := ctx.Invoke("confluentcloud:index/getSchema:getSchema", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSchema. +type LookupSchemaArgs struct { + Credentials *GetSchemaCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + // The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + SchemaIdentifier int `pulumi:"schemaIdentifier"` + SchemaRegistryCluster *GetSchemaSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + SubjectName string `pulumi:"subjectName"` +} + +// A collection of values returned by getSchema. +type LookupSchemaResult struct { + Credentials *GetSchemaCredentials `pulumi:"credentials"` + // (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format string `pulumi:"format"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + RestEndpoint *string `pulumi:"restEndpoint"` + // (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + Schema string `pulumi:"schema"` + SchemaIdentifier int `pulumi:"schemaIdentifier"` + // (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences []GetSchemaSchemaReference `pulumi:"schemaReferences"` + SchemaRegistryCluster *GetSchemaSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName string `pulumi:"subjectName"` + // (Required Integer) The version of the Schema, for example, `4`. + Version int `pulumi:"version"` +} + +func LookupSchemaOutput(ctx *pulumi.Context, args LookupSchemaOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupSchemaResult, error) { + args := v.(LookupSchemaArgs) + r, err := LookupSchema(ctx, &args, opts...) + var s LookupSchemaResult + if r != nil { + s = *r + } + return s, err + }).(LookupSchemaResultOutput) +} + +// A collection of arguments for invoking getSchema. +type LookupSchemaOutputArgs struct { + Credentials GetSchemaCredentialsPtrInput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput `pulumi:"restEndpoint"` + // The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + SchemaIdentifier pulumi.IntInput `pulumi:"schemaIdentifier"` + SchemaRegistryCluster GetSchemaSchemaRegistryClusterPtrInput `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + SubjectName pulumi.StringInput `pulumi:"subjectName"` +} + +func (LookupSchemaOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaArgs)(nil)).Elem() +} + +// A collection of values returned by getSchema. +type LookupSchemaResultOutput struct{ *pulumi.OutputState } + +func (LookupSchemaResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaResult)(nil)).Elem() +} + +func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput { + return o +} + +func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput { + return o +} + +func (o LookupSchemaResultOutput) Credentials() GetSchemaCredentialsPtrOutput { + return o.ApplyT(func(v LookupSchemaResult) *GetSchemaCredentials { return v.Credentials }).(GetSchemaCredentialsPtrOutput) +} + +// (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. +func (o LookupSchemaResultOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaResult) string { return v.Format }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSchemaResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupSchemaResultOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupSchemaResult) *string { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +// (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. +func (o LookupSchemaResultOutput) Schema() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaResult) string { return v.Schema }).(pulumi.StringOutput) +} + +func (o LookupSchemaResultOutput) SchemaIdentifier() pulumi.IntOutput { + return o.ApplyT(func(v LookupSchemaResult) int { return v.SchemaIdentifier }).(pulumi.IntOutput) +} + +// (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): +func (o LookupSchemaResultOutput) SchemaReferences() GetSchemaSchemaReferenceArrayOutput { + return o.ApplyT(func(v LookupSchemaResult) []GetSchemaSchemaReference { return v.SchemaReferences }).(GetSchemaSchemaReferenceArrayOutput) +} + +func (o LookupSchemaResultOutput) SchemaRegistryCluster() GetSchemaSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v LookupSchemaResult) *GetSchemaSchemaRegistryCluster { return v.SchemaRegistryCluster }).(GetSchemaSchemaRegistryClusterPtrOutput) +} + +// (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) +func (o LookupSchemaResultOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaResult) string { return v.SubjectName }).(pulumi.StringOutput) +} + +// (Required Integer) The version of the Schema, for example, `4`. +func (o LookupSchemaResultOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v LookupSchemaResult) int { return v.Version }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSchemaResultOutput{}) +} diff --git a/sdk/go/confluentcloud/getSchemaRegistryCluster.go b/sdk/go/confluentcloud/getSchemaRegistryCluster.go index aae2f3f4..70feafb5 100644 --- a/sdk/go/confluentcloud/getSchemaRegistryCluster.go +++ b/sdk/go/confluentcloud/getSchemaRegistryCluster.go @@ -28,9 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, &GetSchemaRegistryClusterArgs{ +// exampleUsingIdSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, &confluentcloud.LookupSchemaRegistryClusterArgs{ // Id: pulumi.StringRef("lsrc-abc123"), -// Environment: GetSchemaRegistryClusterEnvironment{ +// Environment: confluentcloud.GetSchemaRegistryClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -38,9 +38,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdSchemaRegistryCluster) -// exampleUsingNameSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, &GetSchemaRegistryClusterArgs{ +// exampleUsingNameSchemaRegistryCluster, err := confluentcloud.LookupSchemaRegistryCluster(ctx, &confluentcloud.LookupSchemaRegistryClusterArgs{ // DisplayName: pulumi.StringRef("Stream Governance Package"), -// Environment: GetSchemaRegistryClusterEnvironment{ +// Environment: confluentcloud.GetSchemaRegistryClusterEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -82,8 +82,8 @@ type LookupSchemaRegistryClusterResult struct { // (Required String) A kind of the Schema Registry cluster, for example, `Cluster`. Kind string `pulumi:"kind"` // (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - // - `region` (Required Configuration Block) supports the following: - Package string `pulumi:"package"` + Package string `pulumi:"package"` + // (Required Configuration Block) supports the following: Regions []GetSchemaRegistryClusterRegion `pulumi:"regions"` // (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123`. ResourceName string `pulumi:"resourceName"` @@ -156,11 +156,11 @@ func (o LookupSchemaRegistryClusterResultOutput) Kind() pulumi.StringOutput { } // (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. -// - `region` (Required Configuration Block) supports the following: func (o LookupSchemaRegistryClusterResultOutput) Package() pulumi.StringOutput { return o.ApplyT(func(v LookupSchemaRegistryClusterResult) string { return v.Package }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupSchemaRegistryClusterResultOutput) Regions() GetSchemaRegistryClusterRegionArrayOutput { return o.ApplyT(func(v LookupSchemaRegistryClusterResult) []GetSchemaRegistryClusterRegion { return v.Regions }).(GetSchemaRegistryClusterRegionArrayOutput) } diff --git a/sdk/go/confluentcloud/getSchemaRegistryClusterConfig.go b/sdk/go/confluentcloud/getSchemaRegistryClusterConfig.go new file mode 100644 index 00000000..482e9f1f --- /dev/null +++ b/sdk/go/confluentcloud/getSchemaRegistryClusterConfig.go @@ -0,0 +1,109 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupSchemaRegistryClusterConfig(ctx *pulumi.Context, args *LookupSchemaRegistryClusterConfigArgs, opts ...pulumi.InvokeOption) (*LookupSchemaRegistryClusterConfigResult, error) { + var rv LookupSchemaRegistryClusterConfigResult + err := ctx.Invoke("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSchemaRegistryClusterConfig. +type LookupSchemaRegistryClusterConfigArgs struct { + Credentials *GetSchemaRegistryClusterConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSchemaRegistryClusterConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +// A collection of values returned by getSchemaRegistryClusterConfig. +type LookupSchemaRegistryClusterConfigResult struct { + // (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel string `pulumi:"compatibilityLevel"` + Credentials *GetSchemaRegistryClusterConfigCredentials `pulumi:"credentials"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSchemaRegistryClusterConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +func LookupSchemaRegistryClusterConfigOutput(ctx *pulumi.Context, args LookupSchemaRegistryClusterConfigOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaRegistryClusterConfigResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupSchemaRegistryClusterConfigResult, error) { + args := v.(LookupSchemaRegistryClusterConfigArgs) + r, err := LookupSchemaRegistryClusterConfig(ctx, &args, opts...) + var s LookupSchemaRegistryClusterConfigResult + if r != nil { + s = *r + } + return s, err + }).(LookupSchemaRegistryClusterConfigResultOutput) +} + +// A collection of arguments for invoking getSchemaRegistryClusterConfig. +type LookupSchemaRegistryClusterConfigOutputArgs struct { + Credentials GetSchemaRegistryClusterConfigCredentialsPtrInput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput `pulumi:"restEndpoint"` + SchemaRegistryCluster GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput `pulumi:"schemaRegistryCluster"` +} + +func (LookupSchemaRegistryClusterConfigOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaRegistryClusterConfigArgs)(nil)).Elem() +} + +// A collection of values returned by getSchemaRegistryClusterConfig. +type LookupSchemaRegistryClusterConfigResultOutput struct{ *pulumi.OutputState } + +func (LookupSchemaRegistryClusterConfigResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaRegistryClusterConfigResult)(nil)).Elem() +} + +func (o LookupSchemaRegistryClusterConfigResultOutput) ToLookupSchemaRegistryClusterConfigResultOutput() LookupSchemaRegistryClusterConfigResultOutput { + return o +} + +func (o LookupSchemaRegistryClusterConfigResultOutput) ToLookupSchemaRegistryClusterConfigResultOutputWithContext(ctx context.Context) LookupSchemaRegistryClusterConfigResultOutput { + return o +} + +// (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. +func (o LookupSchemaRegistryClusterConfigResultOutput) CompatibilityLevel() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterConfigResult) string { return v.CompatibilityLevel }).(pulumi.StringOutput) +} + +func (o LookupSchemaRegistryClusterConfigResultOutput) Credentials() GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterConfigResult) *GetSchemaRegistryClusterConfigCredentials { + return v.Credentials + }).(GetSchemaRegistryClusterConfigCredentialsPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSchemaRegistryClusterConfigResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterConfigResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupSchemaRegistryClusterConfigResultOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterConfigResult) *string { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o LookupSchemaRegistryClusterConfigResultOutput) SchemaRegistryCluster() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterConfigResult) *GetSchemaRegistryClusterConfigSchemaRegistryCluster { + return v.SchemaRegistryCluster + }).(GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSchemaRegistryClusterConfigResultOutput{}) +} diff --git a/sdk/go/confluentcloud/getSchemaRegistryClusterMode.go b/sdk/go/confluentcloud/getSchemaRegistryClusterMode.go new file mode 100644 index 00000000..adf5857a --- /dev/null +++ b/sdk/go/confluentcloud/getSchemaRegistryClusterMode.go @@ -0,0 +1,109 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupSchemaRegistryClusterMode(ctx *pulumi.Context, args *LookupSchemaRegistryClusterModeArgs, opts ...pulumi.InvokeOption) (*LookupSchemaRegistryClusterModeResult, error) { + var rv LookupSchemaRegistryClusterModeResult + err := ctx.Invoke("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSchemaRegistryClusterMode. +type LookupSchemaRegistryClusterModeArgs struct { + Credentials *GetSchemaRegistryClusterModeCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSchemaRegistryClusterModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +// A collection of values returned by getSchemaRegistryClusterMode. +type LookupSchemaRegistryClusterModeResult struct { + Credentials *GetSchemaRegistryClusterModeCredentials `pulumi:"credentials"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode string `pulumi:"mode"` + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSchemaRegistryClusterModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +func LookupSchemaRegistryClusterModeOutput(ctx *pulumi.Context, args LookupSchemaRegistryClusterModeOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaRegistryClusterModeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupSchemaRegistryClusterModeResult, error) { + args := v.(LookupSchemaRegistryClusterModeArgs) + r, err := LookupSchemaRegistryClusterMode(ctx, &args, opts...) + var s LookupSchemaRegistryClusterModeResult + if r != nil { + s = *r + } + return s, err + }).(LookupSchemaRegistryClusterModeResultOutput) +} + +// A collection of arguments for invoking getSchemaRegistryClusterMode. +type LookupSchemaRegistryClusterModeOutputArgs struct { + Credentials GetSchemaRegistryClusterModeCredentialsPtrInput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput `pulumi:"restEndpoint"` + SchemaRegistryCluster GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput `pulumi:"schemaRegistryCluster"` +} + +func (LookupSchemaRegistryClusterModeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaRegistryClusterModeArgs)(nil)).Elem() +} + +// A collection of values returned by getSchemaRegistryClusterMode. +type LookupSchemaRegistryClusterModeResultOutput struct{ *pulumi.OutputState } + +func (LookupSchemaRegistryClusterModeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSchemaRegistryClusterModeResult)(nil)).Elem() +} + +func (o LookupSchemaRegistryClusterModeResultOutput) ToLookupSchemaRegistryClusterModeResultOutput() LookupSchemaRegistryClusterModeResultOutput { + return o +} + +func (o LookupSchemaRegistryClusterModeResultOutput) ToLookupSchemaRegistryClusterModeResultOutputWithContext(ctx context.Context) LookupSchemaRegistryClusterModeResultOutput { + return o +} + +func (o LookupSchemaRegistryClusterModeResultOutput) Credentials() GetSchemaRegistryClusterModeCredentialsPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterModeResult) *GetSchemaRegistryClusterModeCredentials { + return v.Credentials + }).(GetSchemaRegistryClusterModeCredentialsPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSchemaRegistryClusterModeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterModeResult) string { return v.Id }).(pulumi.StringOutput) +} + +// (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. +func (o LookupSchemaRegistryClusterModeResultOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterModeResult) string { return v.Mode }).(pulumi.StringOutput) +} + +func (o LookupSchemaRegistryClusterModeResultOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterModeResult) *string { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o LookupSchemaRegistryClusterModeResultOutput) SchemaRegistryCluster() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v LookupSchemaRegistryClusterModeResult) *GetSchemaRegistryClusterModeSchemaRegistryCluster { + return v.SchemaRegistryCluster + }).(GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSchemaRegistryClusterModeResultOutput{}) +} diff --git a/sdk/go/confluentcloud/getSchemaRegistryRegion.go b/sdk/go/confluentcloud/getSchemaRegistryRegion.go index 898b4f5c..f99bc1be 100644 --- a/sdk/go/confluentcloud/getSchemaRegistryRegion.go +++ b/sdk/go/confluentcloud/getSchemaRegistryRegion.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleSchemaRegistryRegion, err := confluentcloud.GetSchemaRegistryRegion(ctx, &GetSchemaRegistryRegionArgs{ +// exampleSchemaRegistryRegion, err := confluentcloud.GetSchemaRegistryRegion(ctx, &confluentcloud.GetSchemaRegistryRegionArgs{ // Cloud: "AWS", // Region: "us-east-2", // Package: "ESSENTIALS", diff --git a/sdk/go/confluentcloud/getServiceAccount.go b/sdk/go/confluentcloud/getServiceAccount.go index 3b483c84..0f320a66 100644 --- a/sdk/go/confluentcloud/getServiceAccount.go +++ b/sdk/go/confluentcloud/getServiceAccount.go @@ -28,14 +28,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, &GetServiceAccountArgs{ +// exampleUsingIdServiceAccount, err := confluentcloud.LookupServiceAccount(ctx, &confluentcloud.LookupServiceAccountArgs{ // Id: pulumi.StringRef("sa-abc123"), // }, nil) // if err != nil { // return err // } // ctx.Export("exampleUsingId", exampleUsingIdServiceAccount) -// _, err = confluentcloud.LookupServiceAccount(ctx, &GetServiceAccountArgs{ +// _, err = confluentcloud.LookupServiceAccount(ctx, &confluentcloud.LookupServiceAccountArgs{ // DisplayName: pulumi.StringRef("test_sa"), // }, nil) // if err != nil { diff --git a/sdk/go/confluentcloud/getSubjectConfig.go b/sdk/go/confluentcloud/getSubjectConfig.go new file mode 100644 index 00000000..ccc82a99 --- /dev/null +++ b/sdk/go/confluentcloud/getSubjectConfig.go @@ -0,0 +1,116 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupSubjectConfig(ctx *pulumi.Context, args *LookupSubjectConfigArgs, opts ...pulumi.InvokeOption) (*LookupSubjectConfigResult, error) { + var rv LookupSubjectConfigResult + err := ctx.Invoke("confluentcloud:index/getSubjectConfig:getSubjectConfig", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubjectConfig. +type LookupSubjectConfigArgs struct { + Credentials *GetSubjectConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSubjectConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName string `pulumi:"subjectName"` +} + +// A collection of values returned by getSubjectConfig. +type LookupSubjectConfigResult struct { + // (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel string `pulumi:"compatibilityLevel"` + Credentials *GetSubjectConfigCredentials `pulumi:"credentials"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSubjectConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + SubjectName string `pulumi:"subjectName"` +} + +func LookupSubjectConfigOutput(ctx *pulumi.Context, args LookupSubjectConfigOutputArgs, opts ...pulumi.InvokeOption) LookupSubjectConfigResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupSubjectConfigResult, error) { + args := v.(LookupSubjectConfigArgs) + r, err := LookupSubjectConfig(ctx, &args, opts...) + var s LookupSubjectConfigResult + if r != nil { + s = *r + } + return s, err + }).(LookupSubjectConfigResultOutput) +} + +// A collection of arguments for invoking getSubjectConfig. +type LookupSubjectConfigOutputArgs struct { + Credentials GetSubjectConfigCredentialsPtrInput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput `pulumi:"restEndpoint"` + SchemaRegistryCluster GetSubjectConfigSchemaRegistryClusterPtrInput `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringInput `pulumi:"subjectName"` +} + +func (LookupSubjectConfigOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubjectConfigArgs)(nil)).Elem() +} + +// A collection of values returned by getSubjectConfig. +type LookupSubjectConfigResultOutput struct{ *pulumi.OutputState } + +func (LookupSubjectConfigResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubjectConfigResult)(nil)).Elem() +} + +func (o LookupSubjectConfigResultOutput) ToLookupSubjectConfigResultOutput() LookupSubjectConfigResultOutput { + return o +} + +func (o LookupSubjectConfigResultOutput) ToLookupSubjectConfigResultOutputWithContext(ctx context.Context) LookupSubjectConfigResultOutput { + return o +} + +// (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. +func (o LookupSubjectConfigResultOutput) CompatibilityLevel() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) string { return v.CompatibilityLevel }).(pulumi.StringOutput) +} + +func (o LookupSubjectConfigResultOutput) Credentials() GetSubjectConfigCredentialsPtrOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) *GetSubjectConfigCredentials { return v.Credentials }).(GetSubjectConfigCredentialsPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSubjectConfigResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupSubjectConfigResultOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) *string { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o LookupSubjectConfigResultOutput) SchemaRegistryCluster() GetSubjectConfigSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) *GetSubjectConfigSchemaRegistryCluster { + return v.SchemaRegistryCluster + }).(GetSubjectConfigSchemaRegistryClusterPtrOutput) +} + +func (o LookupSubjectConfigResultOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectConfigResult) string { return v.SubjectName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSubjectConfigResultOutput{}) +} diff --git a/sdk/go/confluentcloud/getSubjectMode.go b/sdk/go/confluentcloud/getSubjectMode.go new file mode 100644 index 00000000..21dfc6b9 --- /dev/null +++ b/sdk/go/confluentcloud/getSubjectMode.go @@ -0,0 +1,114 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupSubjectMode(ctx *pulumi.Context, args *LookupSubjectModeArgs, opts ...pulumi.InvokeOption) (*LookupSubjectModeResult, error) { + var rv LookupSubjectModeResult + err := ctx.Invoke("confluentcloud:index/getSubjectMode:getSubjectMode", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSubjectMode. +type LookupSubjectModeArgs struct { + Credentials *GetSubjectModeCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSubjectModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName string `pulumi:"subjectName"` +} + +// A collection of values returned by getSubjectMode. +type LookupSubjectModeResult struct { + Credentials *GetSubjectModeCredentials `pulumi:"credentials"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode string `pulumi:"mode"` + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *GetSubjectModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + SubjectName string `pulumi:"subjectName"` +} + +func LookupSubjectModeOutput(ctx *pulumi.Context, args LookupSubjectModeOutputArgs, opts ...pulumi.InvokeOption) LookupSubjectModeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupSubjectModeResult, error) { + args := v.(LookupSubjectModeArgs) + r, err := LookupSubjectMode(ctx, &args, opts...) + var s LookupSubjectModeResult + if r != nil { + s = *r + } + return s, err + }).(LookupSubjectModeResultOutput) +} + +// A collection of arguments for invoking getSubjectMode. +type LookupSubjectModeOutputArgs struct { + Credentials GetSubjectModeCredentialsPtrInput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput `pulumi:"restEndpoint"` + SchemaRegistryCluster GetSubjectModeSchemaRegistryClusterPtrInput `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringInput `pulumi:"subjectName"` +} + +func (LookupSubjectModeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubjectModeArgs)(nil)).Elem() +} + +// A collection of values returned by getSubjectMode. +type LookupSubjectModeResultOutput struct{ *pulumi.OutputState } + +func (LookupSubjectModeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSubjectModeResult)(nil)).Elem() +} + +func (o LookupSubjectModeResultOutput) ToLookupSubjectModeResultOutput() LookupSubjectModeResultOutput { + return o +} + +func (o LookupSubjectModeResultOutput) ToLookupSubjectModeResultOutputWithContext(ctx context.Context) LookupSubjectModeResultOutput { + return o +} + +func (o LookupSubjectModeResultOutput) Credentials() GetSubjectModeCredentialsPtrOutput { + return o.ApplyT(func(v LookupSubjectModeResult) *GetSubjectModeCredentials { return v.Credentials }).(GetSubjectModeCredentialsPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSubjectModeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectModeResult) string { return v.Id }).(pulumi.StringOutput) +} + +// (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. +func (o LookupSubjectModeResultOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectModeResult) string { return v.Mode }).(pulumi.StringOutput) +} + +func (o LookupSubjectModeResultOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupSubjectModeResult) *string { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o LookupSubjectModeResultOutput) SchemaRegistryCluster() GetSubjectModeSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v LookupSubjectModeResult) *GetSubjectModeSchemaRegistryCluster { return v.SchemaRegistryCluster }).(GetSubjectModeSchemaRegistryClusterPtrOutput) +} + +func (o LookupSubjectModeResultOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v LookupSubjectModeResult) string { return v.SubjectName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSubjectModeResultOutput{}) +} diff --git a/sdk/go/confluentcloud/getTransitGatewayAttachment.go b/sdk/go/confluentcloud/getTransitGatewayAttachment.go index e9fa21c2..7dfa96b4 100644 --- a/sdk/go/confluentcloud/getTransitGatewayAttachment.go +++ b/sdk/go/confluentcloud/getTransitGatewayAttachment.go @@ -10,10 +10,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) -// -// > **Note:** `TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ -// **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `TransitGatewayAttachment` describes a Transit Gateway Attachment data source. // @@ -31,9 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, &GetTransitGatewayAttachmentArgs{ +// exampleUsingIdTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, &confluentcloud.LookupTransitGatewayAttachmentArgs{ // Id: pulumi.StringRef("tgwa-abc123"), -// Environment: GetTransitGatewayAttachmentEnvironment{ +// Environment: confluentcloud.GetTransitGatewayAttachmentEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -41,9 +38,9 @@ import ( // return err // } // ctx.Export("exampleUsingId", exampleUsingIdTransitGatewayAttachment) -// exampleUsingNameTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, &GetTransitGatewayAttachmentArgs{ +// exampleUsingNameTransitGatewayAttachment, err := confluentcloud.LookupTransitGatewayAttachment(ctx, &confluentcloud.LookupTransitGatewayAttachmentArgs{ // DisplayName: pulumi.StringRef("my_tgwa"), -// Environment: GetTransitGatewayAttachmentEnvironment{ +// Environment: confluentcloud.GetTransitGatewayAttachmentEnvironment{ // Id: "env-xyz456", // }, // }, nil) @@ -68,7 +65,8 @@ func LookupTransitGatewayAttachment(ctx *pulumi.Context, args *LookupTransitGate // A collection of arguments for invoking getTransitGatewayAttachment. type LookupTransitGatewayAttachmentArgs struct { // A human-readable name for the Transit Gateway Attachment. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetTransitGatewayAttachmentEnvironment `pulumi:"environment"` // The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. Id *string `pulumi:"id"` @@ -79,11 +77,12 @@ type LookupTransitGatewayAttachmentResult struct { // (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following: Aws []GetTransitGatewayAttachmentAw `pulumi:"aws"` // (Required String) The name of the Transit Gateway Attachment. - // - `environment` (Required Configuration Block) supports the following: - DisplayName string `pulumi:"displayName"` + DisplayName string `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetTransitGatewayAttachmentEnvironment `pulumi:"environment"` // (Required String) The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. - Id string `pulumi:"id"` + Id string `pulumi:"id"` + // (Required Configuration Block) supports the following: Networks []GetTransitGatewayAttachmentNetwork `pulumi:"networks"` } @@ -103,7 +102,8 @@ func LookupTransitGatewayAttachmentOutput(ctx *pulumi.Context, args LookupTransi // A collection of arguments for invoking getTransitGatewayAttachment. type LookupTransitGatewayAttachmentOutputArgs struct { // A human-readable name for the Transit Gateway Attachment. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // (Required Configuration Block) supports the following: Environment GetTransitGatewayAttachmentEnvironmentInput `pulumi:"environment"` // The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. Id pulumi.StringPtrInput `pulumi:"id"` @@ -134,11 +134,11 @@ func (o LookupTransitGatewayAttachmentResultOutput) Aws() GetTransitGatewayAttac } // (Required String) The name of the Transit Gateway Attachment. -// - `environment` (Required Configuration Block) supports the following: func (o LookupTransitGatewayAttachmentResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupTransitGatewayAttachmentResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupTransitGatewayAttachmentResultOutput) Environment() GetTransitGatewayAttachmentEnvironmentOutput { return o.ApplyT(func(v LookupTransitGatewayAttachmentResult) GetTransitGatewayAttachmentEnvironment { return v.Environment @@ -150,6 +150,7 @@ func (o LookupTransitGatewayAttachmentResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupTransitGatewayAttachmentResult) string { return v.Id }).(pulumi.StringOutput) } +// (Required Configuration Block) supports the following: func (o LookupTransitGatewayAttachmentResultOutput) Networks() GetTransitGatewayAttachmentNetworkArrayOutput { return o.ApplyT(func(v LookupTransitGatewayAttachmentResult) []GetTransitGatewayAttachmentNetwork { return v.Networks }).(GetTransitGatewayAttachmentNetworkArrayOutput) } diff --git a/sdk/go/confluentcloud/getUser.go b/sdk/go/confluentcloud/getUser.go index a5eeb2bc..c2420f03 100644 --- a/sdk/go/confluentcloud/getUser.go +++ b/sdk/go/confluentcloud/getUser.go @@ -30,14 +30,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// exampleUsingIdUser, err := confluentcloud.GetUser(ctx, &GetUserArgs{ +// exampleUsingIdUser, err := confluentcloud.GetUser(ctx, &confluentcloud.GetUserArgs{ // Id: pulumi.StringRef("u-abc123"), // }, nil) // if err != nil { // return err // } // ctx.Export("exampleUsingId", exampleUsingIdUser) -// exampleUsingEmail, err := confluentcloud.GetUser(ctx, &GetUserArgs{ +// exampleUsingEmail, err := confluentcloud.GetUser(ctx, &confluentcloud.GetUserArgs{ // Email: pulumi.StringRef("test123@gmail.com"), // }, nil) // if err != nil { @@ -52,7 +52,7 @@ import ( // Cloud: pulumi.String("AWS"), // Region: pulumi.String("us-west-2"), // Standard: nil, -// Environment: &KafkaClusterEnvironmentArgs{ +// Environment: &confluentcloud.KafkaClusterEnvironmentArgs{ // Id: test_env.ID(), // }, // }) @@ -67,7 +67,7 @@ import ( // if err != nil { // return err // } -// _, err = confluentcloud.GetUser(ctx, &GetUserArgs{ +// _, err = confluentcloud.GetUser(ctx, &confluentcloud.GetUserArgs{ // FullName: pulumi.StringRef("John Doe"), // }, nil) // if err != nil { diff --git a/sdk/go/confluentcloud/identityPool.go b/sdk/go/confluentcloud/identityPool.go index f5b7487b..3cac502e 100644 --- a/sdk/go/confluentcloud/identityPool.go +++ b/sdk/go/confluentcloud/identityPool.go @@ -11,7 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. // @@ -40,7 +40,7 @@ import ( // return err // } // _, err = confluentcloud.NewIdentityPool(ctx, "example", &confluentcloud.IdentityPoolArgs{ -// IdentityProvider: &IdentityPoolIdentityProviderArgs{ +// IdentityProvider: &confluentcloud.IdentityPoolIdentityProviderArgs{ // Id: azure.ID(), // }, // DisplayName: pulumi.String("My Identity Pool"), @@ -80,7 +80,7 @@ import ( // return err // } // _, err = confluentcloud.NewIdentityPool(ctx, "example", &confluentcloud.IdentityPoolArgs{ -// IdentityProvider: &IdentityPoolIdentityProviderArgs{ +// IdentityProvider: &confluentcloud.IdentityPoolIdentityProviderArgs{ // Id: okta.ID(), // }, // DisplayName: pulumi.String("My Identity Pool"), diff --git a/sdk/go/confluentcloud/identityProvider.go b/sdk/go/confluentcloud/identityProvider.go index 3de06c14..5dd0c24a 100644 --- a/sdk/go/confluentcloud/identityProvider.go +++ b/sdk/go/confluentcloud/identityProvider.go @@ -11,7 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) +// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) // // `IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. // diff --git a/sdk/go/confluentcloud/init.go b/sdk/go/confluentcloud/init.go index e9777ba6..64c3e940 100644 --- a/sdk/go/confluentcloud/init.go +++ b/sdk/go/confluentcloud/init.go @@ -54,10 +54,20 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &PrivateLinkAccess{} case "confluentcloud:index/roleBinding:RoleBinding": r = &RoleBinding{} + case "confluentcloud:index/schema:Schema": + r = &Schema{} case "confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": r = &SchemaRegistryCluster{} + case "confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig": + r = &SchemaRegistryClusterConfig{} + case "confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode": + r = &SchemaRegistryClusterMode{} case "confluentcloud:index/serviceAccount:ServiceAccount": r = &ServiceAccount{} + case "confluentcloud:index/subjectConfig:SubjectConfig": + r = &SubjectConfig{} + case "confluentcloud:index/subjectMode:SubjectMode": + r = &SubjectMode{} case "confluentcloud:index/transitGatewayAttachment:TransitGatewayAttachment": r = &TransitGatewayAttachment{} default: @@ -173,16 +183,41 @@ func init() { "index/roleBinding", &module{version}, ) + pulumi.RegisterResourceModule( + "confluentcloud", + "index/schema", + &module{version}, + ) pulumi.RegisterResourceModule( "confluentcloud", "index/schemaRegistryCluster", &module{version}, ) + pulumi.RegisterResourceModule( + "confluentcloud", + "index/schemaRegistryClusterConfig", + &module{version}, + ) + pulumi.RegisterResourceModule( + "confluentcloud", + "index/schemaRegistryClusterMode", + &module{version}, + ) pulumi.RegisterResourceModule( "confluentcloud", "index/serviceAccount", &module{version}, ) + pulumi.RegisterResourceModule( + "confluentcloud", + "index/subjectConfig", + &module{version}, + ) + pulumi.RegisterResourceModule( + "confluentcloud", + "index/subjectMode", + &module{version}, + ) pulumi.RegisterResourceModule( "confluentcloud", "index/transitGatewayAttachment", diff --git a/sdk/go/confluentcloud/kafkaAcl.go b/sdk/go/confluentcloud/kafkaAcl.go index 9723afed..ba905dd5 100644 --- a/sdk/go/confluentcloud/kafkaAcl.go +++ b/sdk/go/confluentcloud/kafkaAcl.go @@ -13,7 +13,15 @@ import ( // ## Import // -// You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" +// You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" +// +// ``` +// +// Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" // // ```sh // @@ -28,8 +36,8 @@ type KafkaAcl struct { // The Cluster API Credentials. Credentials KafkaAclCredentialsPtrOutput `pulumi:"credentials"` // The host for the ACL. Should be set to `*` for Confluent Cloud. - Host pulumi.StringOutput `pulumi:"host"` - KafkaCluster KafkaAclKafkaClusterOutput `pulumi:"kafkaCluster"` + Host pulumi.StringOutput `pulumi:"host"` + KafkaCluster KafkaAclKafkaClusterPtrOutput `pulumi:"kafkaCluster"` // The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. Operation pulumi.StringOutput `pulumi:"operation"` // The pattern type for the ACL. Accepted values are: `LITERAL` and `PREFIXED`. @@ -56,9 +64,6 @@ func NewKafkaAcl(ctx *pulumi.Context, if args.Host == nil { return nil, errors.New("invalid value for required argument 'Host'") } - if args.KafkaCluster == nil { - return nil, errors.New("invalid value for required argument 'KafkaCluster'") - } if args.Operation == nil { return nil, errors.New("invalid value for required argument 'Operation'") } @@ -78,7 +83,7 @@ func NewKafkaAcl(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'ResourceType'") } if args.Credentials != nil { - args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaAclCredentialsPtrOutput) + args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaAclCredentialsPtrInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "credentials", @@ -157,8 +162,8 @@ type kafkaAclArgs struct { // The Cluster API Credentials. Credentials *KafkaAclCredentials `pulumi:"credentials"` // The host for the ACL. Should be set to `*` for Confluent Cloud. - Host string `pulumi:"host"` - KafkaCluster KafkaAclKafkaCluster `pulumi:"kafkaCluster"` + Host string `pulumi:"host"` + KafkaCluster *KafkaAclKafkaCluster `pulumi:"kafkaCluster"` // The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. Operation string `pulumi:"operation"` // The pattern type for the ACL. Accepted values are: `LITERAL` and `PREFIXED`. @@ -181,7 +186,7 @@ type KafkaAclArgs struct { Credentials KafkaAclCredentialsPtrInput // The host for the ACL. Should be set to `*` for Confluent Cloud. Host pulumi.StringInput - KafkaCluster KafkaAclKafkaClusterInput + KafkaCluster KafkaAclKafkaClusterPtrInput // The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. Operation pulumi.StringInput // The pattern type for the ACL. Accepted values are: `LITERAL` and `PREFIXED`. @@ -295,8 +300,8 @@ func (o KafkaAclOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v *KafkaAcl) pulumi.StringOutput { return v.Host }).(pulumi.StringOutput) } -func (o KafkaAclOutput) KafkaCluster() KafkaAclKafkaClusterOutput { - return o.ApplyT(func(v *KafkaAcl) KafkaAclKafkaClusterOutput { return v.KafkaCluster }).(KafkaAclKafkaClusterOutput) +func (o KafkaAclOutput) KafkaCluster() KafkaAclKafkaClusterPtrOutput { + return o.ApplyT(func(v *KafkaAcl) KafkaAclKafkaClusterPtrOutput { return v.KafkaCluster }).(KafkaAclKafkaClusterPtrOutput) } // The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. diff --git a/sdk/go/confluentcloud/kafkaClientQuota.go b/sdk/go/confluentcloud/kafkaClientQuota.go index ffcfeec2..e1e7eef2 100644 --- a/sdk/go/confluentcloud/kafkaClientQuota.go +++ b/sdk/go/confluentcloud/kafkaClientQuota.go @@ -28,18 +28,18 @@ import ( // _, err := confluentcloud.NewKafkaClientQuota(ctx, "example", &confluentcloud.KafkaClientQuotaArgs{ // DisplayName: pulumi.String("test-quota"), // Description: pulumi.String("Test Quota"), -// Throughput: &KafkaClientQuotaThroughputArgs{ +// Throughput: &confluentcloud.KafkaClientQuotaThroughputArgs{ // IngressByteRate: pulumi.String("100"), // EgressByteRate: pulumi.String("200"), // }, // Principals: pulumi.StringArray{ -// pulumi.Any(confluent_service_account.App_manager.Id), -// pulumi.Any(confluent_service_account.App_manager_2.Id), +// confluent_service_account.App_manager.Id, +// confluent_service_account.App_manager_2.Id, // }, -// KafkaCluster: &KafkaClientQuotaKafkaClusterArgs{ +// KafkaCluster: &confluentcloud.KafkaClientQuotaKafkaClusterArgs{ // Id: pulumi.Any(confluent_kafka_cluster.Dedicated.Id), // }, -// Environment: &KafkaClientQuotaEnvironmentArgs{ +// Environment: &confluentcloud.KafkaClientQuotaEnvironmentArgs{ // Id: pulumi.Any(confluent_environment.Development.Id), // }, // }) diff --git a/sdk/go/confluentcloud/kafkaClusterConfig.go b/sdk/go/confluentcloud/kafkaClusterConfig.go index 912c2385..ba960498 100644 --- a/sdk/go/confluentcloud/kafkaClusterConfig.go +++ b/sdk/go/confluentcloud/kafkaClusterConfig.go @@ -11,50 +11,17 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) -// -// `KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( +// ## Import // -// "github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" // -// ) +// ```sh // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := confluentcloud.NewKafkaClusterConfig(ctx, "orders", &confluentcloud.KafkaClusterConfigArgs{ -// KafkaCluster: &KafkaClusterConfigKafkaClusterArgs{ -// Id: pulumi.Any(confluent_kafka_cluster.Dedicated.Id), -// }, -// RestEndpoint: pulumi.Any(confluent_kafka_cluster.Dedicated.Rest_endpoint), -// Config: pulumi.StringMap{ -// "auto.create.topics.enable": pulumi.String("true"), -// "log.retention.ms": pulumi.String("604800123"), -// }, -// Credentials: &KafkaClusterConfigCredentialsArgs{ -// Key: pulumi.Any(confluent_api_key.App - manager - kafka - api - key.Id), -// Secret: pulumi.Any(confluent_api_key.App - manager - kafka - api - key.Secret), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 // // ``` // -// ## Import -// -// You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" +// Option #2Manage a single Kafka cluster in the same Terraform workspace // // ```sh // @@ -69,8 +36,8 @@ type KafkaClusterConfig struct { // The custom cluster settings to set: Config pulumi.StringMapOutput `pulumi:"config"` // The Cluster API Credentials. - Credentials KafkaClusterConfigCredentialsPtrOutput `pulumi:"credentials"` - KafkaCluster KafkaClusterConfigKafkaClusterOutput `pulumi:"kafkaCluster"` + Credentials KafkaClusterConfigCredentialsPtrOutput `pulumi:"credentials"` + KafkaCluster KafkaClusterConfigKafkaClusterPtrOutput `pulumi:"kafkaCluster"` // The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` } @@ -85,11 +52,8 @@ func NewKafkaClusterConfig(ctx *pulumi.Context, if args.Config == nil { return nil, errors.New("invalid value for required argument 'Config'") } - if args.KafkaCluster == nil { - return nil, errors.New("invalid value for required argument 'KafkaCluster'") - } if args.Credentials != nil { - args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaClusterConfigCredentialsPtrOutput) + args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaClusterConfigCredentialsPtrInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "credentials", @@ -144,8 +108,8 @@ type kafkaClusterConfigArgs struct { // The custom cluster settings to set: Config map[string]string `pulumi:"config"` // The Cluster API Credentials. - Credentials *KafkaClusterConfigCredentials `pulumi:"credentials"` - KafkaCluster KafkaClusterConfigKafkaCluster `pulumi:"kafkaCluster"` + Credentials *KafkaClusterConfigCredentials `pulumi:"credentials"` + KafkaCluster *KafkaClusterConfigKafkaCluster `pulumi:"kafkaCluster"` // The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). RestEndpoint *string `pulumi:"restEndpoint"` } @@ -156,7 +120,7 @@ type KafkaClusterConfigArgs struct { Config pulumi.StringMapInput // The Cluster API Credentials. Credentials KafkaClusterConfigCredentialsPtrInput - KafkaCluster KafkaClusterConfigKafkaClusterInput + KafkaCluster KafkaClusterConfigKafkaClusterPtrInput // The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). RestEndpoint pulumi.StringPtrInput } @@ -258,8 +222,8 @@ func (o KafkaClusterConfigOutput) Credentials() KafkaClusterConfigCredentialsPtr return o.ApplyT(func(v *KafkaClusterConfig) KafkaClusterConfigCredentialsPtrOutput { return v.Credentials }).(KafkaClusterConfigCredentialsPtrOutput) } -func (o KafkaClusterConfigOutput) KafkaCluster() KafkaClusterConfigKafkaClusterOutput { - return o.ApplyT(func(v *KafkaClusterConfig) KafkaClusterConfigKafkaClusterOutput { return v.KafkaCluster }).(KafkaClusterConfigKafkaClusterOutput) +func (o KafkaClusterConfigOutput) KafkaCluster() KafkaClusterConfigKafkaClusterPtrOutput { + return o.ApplyT(func(v *KafkaClusterConfig) KafkaClusterConfigKafkaClusterPtrOutput { return v.KafkaCluster }).(KafkaClusterConfigKafkaClusterPtrOutput) } // The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). diff --git a/sdk/go/confluentcloud/kafkaTopic.go b/sdk/go/confluentcloud/kafkaTopic.go index 6739e1eb..bfe0ba51 100644 --- a/sdk/go/confluentcloud/kafkaTopic.go +++ b/sdk/go/confluentcloud/kafkaTopic.go @@ -13,7 +13,15 @@ import ( // ## Import // -// You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" +// You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 +// +// ``` +// +// Option #2Manage a single Kafka cluster in the same Terraform workspace // // ```sh // @@ -112,8 +120,8 @@ type KafkaTopic struct { // The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). // // Deprecated: This parameter has been deprecated in favour of Rest Endpoint - HttpEndpoint pulumi.StringOutput `pulumi:"httpEndpoint"` - KafkaCluster KafkaTopicKafkaClusterOutput `pulumi:"kafkaCluster"` + HttpEndpoint pulumi.StringOutput `pulumi:"httpEndpoint"` + KafkaCluster KafkaTopicKafkaClusterPtrOutput `pulumi:"kafkaCluster"` // The number of partitions to create in the topic. Defaults to `6`. PartitionsCount pulumi.IntPtrOutput `pulumi:"partitionsCount"` // The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -129,14 +137,11 @@ func NewKafkaTopic(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.KafkaCluster == nil { - return nil, errors.New("invalid value for required argument 'KafkaCluster'") - } if args.TopicName == nil { return nil, errors.New("invalid value for required argument 'TopicName'") } if args.Credentials != nil { - args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaTopicCredentialsPtrOutput) + args.Credentials = pulumi.ToSecret(args.Credentials).(KafkaTopicCredentialsPtrInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "credentials", @@ -211,8 +216,8 @@ type kafkaTopicArgs struct { // The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). // // Deprecated: This parameter has been deprecated in favour of Rest Endpoint - HttpEndpoint *string `pulumi:"httpEndpoint"` - KafkaCluster KafkaTopicKafkaCluster `pulumi:"kafkaCluster"` + HttpEndpoint *string `pulumi:"httpEndpoint"` + KafkaCluster *KafkaTopicKafkaCluster `pulumi:"kafkaCluster"` // The number of partitions to create in the topic. Defaults to `6`. PartitionsCount *int `pulumi:"partitionsCount"` // The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -231,7 +236,7 @@ type KafkaTopicArgs struct { // // Deprecated: This parameter has been deprecated in favour of Rest Endpoint HttpEndpoint pulumi.StringPtrInput - KafkaCluster KafkaTopicKafkaClusterInput + KafkaCluster KafkaTopicKafkaClusterPtrInput // The number of partitions to create in the topic. Defaults to `6`. PartitionsCount pulumi.IntPtrInput // The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -344,8 +349,8 @@ func (o KafkaTopicOutput) HttpEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *KafkaTopic) pulumi.StringOutput { return v.HttpEndpoint }).(pulumi.StringOutput) } -func (o KafkaTopicOutput) KafkaCluster() KafkaTopicKafkaClusterOutput { - return o.ApplyT(func(v *KafkaTopic) KafkaTopicKafkaClusterOutput { return v.KafkaCluster }).(KafkaTopicKafkaClusterOutput) +func (o KafkaTopicOutput) KafkaCluster() KafkaTopicKafkaClusterPtrOutput { + return o.ApplyT(func(v *KafkaTopic) KafkaTopicKafkaClusterPtrOutput { return v.KafkaCluster }).(KafkaTopicKafkaClusterPtrOutput) } // The number of partitions to create in the topic. Defaults to `6`. diff --git a/sdk/go/confluentcloud/network.go b/sdk/go/confluentcloud/network.go index 8b146a69..761b0a75 100644 --- a/sdk/go/confluentcloud/network.go +++ b/sdk/go/confluentcloud/network.go @@ -37,6 +37,8 @@ type Network struct { ConnectionTypes pulumi.StringArrayOutput `pulumi:"connectionTypes"` // The name of the Network. DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Network DNS config. It applies only to the PRIVATELINK network connection type. + DnsConfig NetworkDnsConfigOutput `pulumi:"dnsConfig"` // (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. DnsDomain pulumi.StringOutput `pulumi:"dnsDomain"` // Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. @@ -50,7 +52,8 @@ type Network struct { // (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`. ZonalSubdomains pulumi.StringMapOutput `pulumi:"zonalSubdomains"` // The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -110,6 +113,8 @@ type networkState struct { ConnectionTypes []string `pulumi:"connectionTypes"` // The name of the Network. DisplayName *string `pulumi:"displayName"` + // Network DNS config. It applies only to the PRIVATELINK network connection type. + DnsConfig *NetworkDnsConfig `pulumi:"dnsConfig"` // (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. DnsDomain *string `pulumi:"dnsDomain"` // Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. @@ -123,7 +128,8 @@ type networkState struct { // (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`. ZonalSubdomains map[string]string `pulumi:"zonalSubdomains"` // The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -143,6 +149,8 @@ type NetworkState struct { ConnectionTypes pulumi.StringArrayInput // The name of the Network. DisplayName pulumi.StringPtrInput + // Network DNS config. It applies only to the PRIVATELINK network connection type. + DnsConfig NetworkDnsConfigPtrInput // (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. DnsDomain pulumi.StringPtrInput // Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. @@ -156,7 +164,8 @@ type NetworkState struct { // (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`. ZonalSubdomains pulumi.StringMapInput // The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -180,6 +189,8 @@ type networkArgs struct { ConnectionTypes []string `pulumi:"connectionTypes"` // The name of the Network. DisplayName *string `pulumi:"displayName"` + // Network DNS config. It applies only to the PRIVATELINK network connection type. + DnsConfig *NetworkDnsConfig `pulumi:"dnsConfig"` // Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. Environment NetworkEnvironment `pulumi:"environment"` // (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -187,7 +198,8 @@ type networkArgs struct { // The cloud provider region where the network exists. Region string `pulumi:"region"` // The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -208,6 +220,8 @@ type NetworkArgs struct { ConnectionTypes pulumi.StringArrayInput // The name of the Network. DisplayName pulumi.StringPtrInput + // Network DNS config. It applies only to the PRIVATELINK network connection type. + DnsConfig NetworkDnsConfigPtrInput // Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. Environment NetworkEnvironmentInput // (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -215,7 +229,8 @@ type NetworkArgs struct { // The cloud provider region where the network exists. Region pulumi.StringInput // The 3 availability zones for this network. They can optionally be specified for AWS networks - // used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + // used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + // networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -339,6 +354,11 @@ func (o NetworkOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Network) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// Network DNS config. It applies only to the PRIVATELINK network connection type. +func (o NetworkOutput) DnsConfig() NetworkDnsConfigOutput { + return o.ApplyT(func(v *Network) NetworkDnsConfigOutput { return v.DnsConfig }).(NetworkDnsConfigOutput) +} + // (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. func (o NetworkOutput) DnsDomain() pulumi.StringOutput { return o.ApplyT(func(v *Network) pulumi.StringOutput { return v.DnsDomain }).(pulumi.StringOutput) @@ -370,7 +390,8 @@ func (o NetworkOutput) ZonalSubdomains() pulumi.StringMapOutput { } // The 3 availability zones for this network. They can optionally be specified for AWS networks -// used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. +// used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP +// networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. // On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. // On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. // On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/go/confluentcloud/provider.go b/sdk/go/confluentcloud/provider.go index 68bd4e8a..99d0f934 100644 --- a/sdk/go/confluentcloud/provider.go +++ b/sdk/go/confluentcloud/provider.go @@ -27,8 +27,18 @@ type Provider struct { KafkaApiKey pulumi.StringPtrOutput `pulumi:"kafkaApiKey"` // The Kafka Cluster API Secret. KafkaApiSecret pulumi.StringPtrOutput `pulumi:"kafkaApiSecret"` + // The Kafka Cluster ID. + KafkaId pulumi.StringPtrOutput `pulumi:"kafkaId"` // The Kafka Cluster REST Endpoint. KafkaRestEndpoint pulumi.StringPtrOutput `pulumi:"kafkaRestEndpoint"` + // The Schema Registry Cluster API Key. + SchemaRegistryApiKey pulumi.StringPtrOutput `pulumi:"schemaRegistryApiKey"` + // The Schema Registry Cluster API Secret. + SchemaRegistryApiSecret pulumi.StringPtrOutput `pulumi:"schemaRegistryApiSecret"` + // The Schema Registry Cluster ID. + SchemaRegistryId pulumi.StringPtrOutput `pulumi:"schemaRegistryId"` + // The Schema Registry Cluster REST Endpoint. + SchemaRegistryRestEndpoint pulumi.StringPtrOutput `pulumi:"schemaRegistryRestEndpoint"` } // NewProvider registers a new resource with the given unique name, arguments, and options. @@ -39,22 +49,30 @@ func NewProvider(ctx *pulumi.Context, } if args.CloudApiKey != nil { - args.CloudApiKey = pulumi.ToSecret(args.CloudApiKey).(pulumi.StringPtrOutput) + args.CloudApiKey = pulumi.ToSecret(args.CloudApiKey).(pulumi.StringPtrInput) } if args.CloudApiSecret != nil { - args.CloudApiSecret = pulumi.ToSecret(args.CloudApiSecret).(pulumi.StringPtrOutput) + args.CloudApiSecret = pulumi.ToSecret(args.CloudApiSecret).(pulumi.StringPtrInput) } if args.KafkaApiKey != nil { - args.KafkaApiKey = pulumi.ToSecret(args.KafkaApiKey).(pulumi.StringPtrOutput) + args.KafkaApiKey = pulumi.ToSecret(args.KafkaApiKey).(pulumi.StringPtrInput) } if args.KafkaApiSecret != nil { - args.KafkaApiSecret = pulumi.ToSecret(args.KafkaApiSecret).(pulumi.StringPtrOutput) + args.KafkaApiSecret = pulumi.ToSecret(args.KafkaApiSecret).(pulumi.StringPtrInput) + } + if args.SchemaRegistryApiKey != nil { + args.SchemaRegistryApiKey = pulumi.ToSecret(args.SchemaRegistryApiKey).(pulumi.StringPtrInput) + } + if args.SchemaRegistryApiSecret != nil { + args.SchemaRegistryApiSecret = pulumi.ToSecret(args.SchemaRegistryApiSecret).(pulumi.StringPtrInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret", + "schemaRegistryApiKey", + "schemaRegistryApiSecret", }) opts = append(opts, secrets) var resource Provider @@ -76,10 +94,20 @@ type providerArgs struct { KafkaApiKey *string `pulumi:"kafkaApiKey"` // The Kafka Cluster API Secret. KafkaApiSecret *string `pulumi:"kafkaApiSecret"` + // The Kafka Cluster ID. + KafkaId *string `pulumi:"kafkaId"` // The Kafka Cluster REST Endpoint. KafkaRestEndpoint *string `pulumi:"kafkaRestEndpoint"` // Maximum number of retries of HTTP client. Defaults to 4. MaxRetries *int `pulumi:"maxRetries"` + // The Schema Registry Cluster API Key. + SchemaRegistryApiKey *string `pulumi:"schemaRegistryApiKey"` + // The Schema Registry Cluster API Secret. + SchemaRegistryApiSecret *string `pulumi:"schemaRegistryApiSecret"` + // The Schema Registry Cluster ID. + SchemaRegistryId *string `pulumi:"schemaRegistryId"` + // The Schema Registry Cluster REST Endpoint. + SchemaRegistryRestEndpoint *string `pulumi:"schemaRegistryRestEndpoint"` } // The set of arguments for constructing a Provider resource. @@ -94,10 +122,20 @@ type ProviderArgs struct { KafkaApiKey pulumi.StringPtrInput // The Kafka Cluster API Secret. KafkaApiSecret pulumi.StringPtrInput + // The Kafka Cluster ID. + KafkaId pulumi.StringPtrInput // The Kafka Cluster REST Endpoint. KafkaRestEndpoint pulumi.StringPtrInput // Maximum number of retries of HTTP client. Defaults to 4. MaxRetries pulumi.IntPtrInput + // The Schema Registry Cluster API Key. + SchemaRegistryApiKey pulumi.StringPtrInput + // The Schema Registry Cluster API Secret. + SchemaRegistryApiSecret pulumi.StringPtrInput + // The Schema Registry Cluster ID. + SchemaRegistryId pulumi.StringPtrInput + // The Schema Registry Cluster REST Endpoint. + SchemaRegistryRestEndpoint pulumi.StringPtrInput } func (ProviderArgs) ElementType() reflect.Type { @@ -162,11 +200,36 @@ func (o ProviderOutput) KafkaApiSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.KafkaApiSecret }).(pulumi.StringPtrOutput) } +// The Kafka Cluster ID. +func (o ProviderOutput) KafkaId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.KafkaId }).(pulumi.StringPtrOutput) +} + // The Kafka Cluster REST Endpoint. func (o ProviderOutput) KafkaRestEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.KafkaRestEndpoint }).(pulumi.StringPtrOutput) } +// The Schema Registry Cluster API Key. +func (o ProviderOutput) SchemaRegistryApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SchemaRegistryApiKey }).(pulumi.StringPtrOutput) +} + +// The Schema Registry Cluster API Secret. +func (o ProviderOutput) SchemaRegistryApiSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SchemaRegistryApiSecret }).(pulumi.StringPtrOutput) +} + +// The Schema Registry Cluster ID. +func (o ProviderOutput) SchemaRegistryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SchemaRegistryId }).(pulumi.StringPtrOutput) +} + +// The Schema Registry Cluster REST Endpoint. +func (o ProviderOutput) SchemaRegistryRestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SchemaRegistryRestEndpoint }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) pulumi.RegisterOutputType(ProviderOutput{}) diff --git a/sdk/go/confluentcloud/pulumiTypes.go b/sdk/go/confluentcloud/pulumiTypes.go index de3c8b89..e0a87f76 100644 --- a/sdk/go/confluentcloud/pulumiTypes.go +++ b/sdk/go/confluentcloud/pulumiTypes.go @@ -4816,6 +4816,151 @@ func (o NetworkAzureArrayOutput) Index(i pulumi.IntInput) NetworkAzureOutput { }).(NetworkAzureOutput) } +type NetworkDnsConfig struct { + // Network DNS resolution. + // When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + // When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + Resolution string `pulumi:"resolution"` +} + +// NetworkDnsConfigInput is an input type that accepts NetworkDnsConfigArgs and NetworkDnsConfigOutput values. +// You can construct a concrete instance of `NetworkDnsConfigInput` via: +// +// NetworkDnsConfigArgs{...} +type NetworkDnsConfigInput interface { + pulumi.Input + + ToNetworkDnsConfigOutput() NetworkDnsConfigOutput + ToNetworkDnsConfigOutputWithContext(context.Context) NetworkDnsConfigOutput +} + +type NetworkDnsConfigArgs struct { + // Network DNS resolution. + // When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + // When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + Resolution pulumi.StringInput `pulumi:"resolution"` +} + +func (NetworkDnsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NetworkDnsConfig)(nil)).Elem() +} + +func (i NetworkDnsConfigArgs) ToNetworkDnsConfigOutput() NetworkDnsConfigOutput { + return i.ToNetworkDnsConfigOutputWithContext(context.Background()) +} + +func (i NetworkDnsConfigArgs) ToNetworkDnsConfigOutputWithContext(ctx context.Context) NetworkDnsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NetworkDnsConfigOutput) +} + +func (i NetworkDnsConfigArgs) ToNetworkDnsConfigPtrOutput() NetworkDnsConfigPtrOutput { + return i.ToNetworkDnsConfigPtrOutputWithContext(context.Background()) +} + +func (i NetworkDnsConfigArgs) ToNetworkDnsConfigPtrOutputWithContext(ctx context.Context) NetworkDnsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NetworkDnsConfigOutput).ToNetworkDnsConfigPtrOutputWithContext(ctx) +} + +// NetworkDnsConfigPtrInput is an input type that accepts NetworkDnsConfigArgs, NetworkDnsConfigPtr and NetworkDnsConfigPtrOutput values. +// You can construct a concrete instance of `NetworkDnsConfigPtrInput` via: +// +// NetworkDnsConfigArgs{...} +// +// or: +// +// nil +type NetworkDnsConfigPtrInput interface { + pulumi.Input + + ToNetworkDnsConfigPtrOutput() NetworkDnsConfigPtrOutput + ToNetworkDnsConfigPtrOutputWithContext(context.Context) NetworkDnsConfigPtrOutput +} + +type networkDnsConfigPtrType NetworkDnsConfigArgs + +func NetworkDnsConfigPtr(v *NetworkDnsConfigArgs) NetworkDnsConfigPtrInput { + return (*networkDnsConfigPtrType)(v) +} + +func (*networkDnsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NetworkDnsConfig)(nil)).Elem() +} + +func (i *networkDnsConfigPtrType) ToNetworkDnsConfigPtrOutput() NetworkDnsConfigPtrOutput { + return i.ToNetworkDnsConfigPtrOutputWithContext(context.Background()) +} + +func (i *networkDnsConfigPtrType) ToNetworkDnsConfigPtrOutputWithContext(ctx context.Context) NetworkDnsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NetworkDnsConfigPtrOutput) +} + +type NetworkDnsConfigOutput struct{ *pulumi.OutputState } + +func (NetworkDnsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NetworkDnsConfig)(nil)).Elem() +} + +func (o NetworkDnsConfigOutput) ToNetworkDnsConfigOutput() NetworkDnsConfigOutput { + return o +} + +func (o NetworkDnsConfigOutput) ToNetworkDnsConfigOutputWithContext(ctx context.Context) NetworkDnsConfigOutput { + return o +} + +func (o NetworkDnsConfigOutput) ToNetworkDnsConfigPtrOutput() NetworkDnsConfigPtrOutput { + return o.ToNetworkDnsConfigPtrOutputWithContext(context.Background()) +} + +func (o NetworkDnsConfigOutput) ToNetworkDnsConfigPtrOutputWithContext(ctx context.Context) NetworkDnsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkDnsConfig) *NetworkDnsConfig { + return &v + }).(NetworkDnsConfigPtrOutput) +} + +// Network DNS resolution. +// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. +// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. +func (o NetworkDnsConfigOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v NetworkDnsConfig) string { return v.Resolution }).(pulumi.StringOutput) +} + +type NetworkDnsConfigPtrOutput struct{ *pulumi.OutputState } + +func (NetworkDnsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NetworkDnsConfig)(nil)).Elem() +} + +func (o NetworkDnsConfigPtrOutput) ToNetworkDnsConfigPtrOutput() NetworkDnsConfigPtrOutput { + return o +} + +func (o NetworkDnsConfigPtrOutput) ToNetworkDnsConfigPtrOutputWithContext(ctx context.Context) NetworkDnsConfigPtrOutput { + return o +} + +func (o NetworkDnsConfigPtrOutput) Elem() NetworkDnsConfigOutput { + return o.ApplyT(func(v *NetworkDnsConfig) NetworkDnsConfig { + if v != nil { + return *v + } + var ret NetworkDnsConfig + return ret + }).(NetworkDnsConfigOutput) +} + +// Network DNS resolution. +// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. +// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. +func (o NetworkDnsConfigPtrOutput) Resolution() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NetworkDnsConfig) *string { + if v == nil { + return nil + } + return &v.Resolution + }).(pulumi.StringPtrOutput) +} + type NetworkEnvironment struct { // The ID of the Environment that the Network belongs to, for example, `env-abc123`. Id string `pulumi:"id"` @@ -6571,623 +6716,585 @@ func (o PrivateLinkAccessNetworkPtrOutput) Id() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SchemaRegistryClusterEnvironment struct { - // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. - Id string `pulumi:"id"` +type SchemaCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` } -// SchemaRegistryClusterEnvironmentInput is an input type that accepts SchemaRegistryClusterEnvironmentArgs and SchemaRegistryClusterEnvironmentOutput values. -// You can construct a concrete instance of `SchemaRegistryClusterEnvironmentInput` via: +// SchemaCredentialsInput is an input type that accepts SchemaCredentialsArgs and SchemaCredentialsOutput values. +// You can construct a concrete instance of `SchemaCredentialsInput` via: // -// SchemaRegistryClusterEnvironmentArgs{...} -type SchemaRegistryClusterEnvironmentInput interface { +// SchemaCredentialsArgs{...} +type SchemaCredentialsInput interface { pulumi.Input - ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput - ToSchemaRegistryClusterEnvironmentOutputWithContext(context.Context) SchemaRegistryClusterEnvironmentOutput + ToSchemaCredentialsOutput() SchemaCredentialsOutput + ToSchemaCredentialsOutputWithContext(context.Context) SchemaCredentialsOutput } -type SchemaRegistryClusterEnvironmentArgs struct { - // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. - Id pulumi.StringInput `pulumi:"id"` +type SchemaCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (SchemaRegistryClusterEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SchemaRegistryClusterEnvironment)(nil)).Elem() +func (SchemaCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaCredentials)(nil)).Elem() } -func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput { - return i.ToSchemaRegistryClusterEnvironmentOutputWithContext(context.Background()) +func (i SchemaCredentialsArgs) ToSchemaCredentialsOutput() SchemaCredentialsOutput { + return i.ToSchemaCredentialsOutputWithContext(context.Background()) } -func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentOutput) +func (i SchemaCredentialsArgs) ToSchemaCredentialsOutputWithContext(ctx context.Context) SchemaCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaCredentialsOutput) } -func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { - return i.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) +func (i SchemaCredentialsArgs) ToSchemaCredentialsPtrOutput() SchemaCredentialsPtrOutput { + return i.ToSchemaCredentialsPtrOutputWithContext(context.Background()) } -func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentOutput).ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx) +func (i SchemaCredentialsArgs) ToSchemaCredentialsPtrOutputWithContext(ctx context.Context) SchemaCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaCredentialsOutput).ToSchemaCredentialsPtrOutputWithContext(ctx) } -// SchemaRegistryClusterEnvironmentPtrInput is an input type that accepts SchemaRegistryClusterEnvironmentArgs, SchemaRegistryClusterEnvironmentPtr and SchemaRegistryClusterEnvironmentPtrOutput values. -// You can construct a concrete instance of `SchemaRegistryClusterEnvironmentPtrInput` via: +// SchemaCredentialsPtrInput is an input type that accepts SchemaCredentialsArgs, SchemaCredentialsPtr and SchemaCredentialsPtrOutput values. +// You can construct a concrete instance of `SchemaCredentialsPtrInput` via: // -// SchemaRegistryClusterEnvironmentArgs{...} +// SchemaCredentialsArgs{...} // // or: // // nil -type SchemaRegistryClusterEnvironmentPtrInput interface { +type SchemaCredentialsPtrInput interface { pulumi.Input - ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput - ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Context) SchemaRegistryClusterEnvironmentPtrOutput + ToSchemaCredentialsPtrOutput() SchemaCredentialsPtrOutput + ToSchemaCredentialsPtrOutputWithContext(context.Context) SchemaCredentialsPtrOutput } -type schemaRegistryClusterEnvironmentPtrType SchemaRegistryClusterEnvironmentArgs +type schemaCredentialsPtrType SchemaCredentialsArgs -func SchemaRegistryClusterEnvironmentPtr(v *SchemaRegistryClusterEnvironmentArgs) SchemaRegistryClusterEnvironmentPtrInput { - return (*schemaRegistryClusterEnvironmentPtrType)(v) +func SchemaCredentialsPtr(v *SchemaCredentialsArgs) SchemaCredentialsPtrInput { + return (*schemaCredentialsPtrType)(v) } -func (*schemaRegistryClusterEnvironmentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SchemaRegistryClusterEnvironment)(nil)).Elem() +func (*schemaCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaCredentials)(nil)).Elem() } -func (i *schemaRegistryClusterEnvironmentPtrType) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { - return i.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) +func (i *schemaCredentialsPtrType) ToSchemaCredentialsPtrOutput() SchemaCredentialsPtrOutput { + return i.ToSchemaCredentialsPtrOutputWithContext(context.Background()) } -func (i *schemaRegistryClusterEnvironmentPtrType) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentPtrOutput) +func (i *schemaCredentialsPtrType) ToSchemaCredentialsPtrOutputWithContext(ctx context.Context) SchemaCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaCredentialsPtrOutput) } -type SchemaRegistryClusterEnvironmentOutput struct{ *pulumi.OutputState } +type SchemaCredentialsOutput struct{ *pulumi.OutputState } -func (SchemaRegistryClusterEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SchemaRegistryClusterEnvironment)(nil)).Elem() +func (SchemaCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaCredentials)(nil)).Elem() } -func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput { +func (o SchemaCredentialsOutput) ToSchemaCredentialsOutput() SchemaCredentialsOutput { return o } -func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentOutput { +func (o SchemaCredentialsOutput) ToSchemaCredentialsOutputWithContext(ctx context.Context) SchemaCredentialsOutput { return o } -func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { - return o.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) +func (o SchemaCredentialsOutput) ToSchemaCredentialsPtrOutput() SchemaCredentialsPtrOutput { + return o.ToSchemaCredentialsPtrOutputWithContext(context.Background()) } -func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterEnvironment) *SchemaRegistryClusterEnvironment { +func (o SchemaCredentialsOutput) ToSchemaCredentialsPtrOutputWithContext(ctx context.Context) SchemaCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaCredentials) *SchemaCredentials { return &v - }).(SchemaRegistryClusterEnvironmentPtrOutput) + }).(SchemaCredentialsPtrOutput) } -// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. -func (o SchemaRegistryClusterEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v SchemaRegistryClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Key. +func (o SchemaCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SchemaCredentials) string { return v.Key }).(pulumi.StringOutput) } -type SchemaRegistryClusterEnvironmentPtrOutput struct{ *pulumi.OutputState } +// The Schema Registry API Secret. +func (o SchemaCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v SchemaCredentials) string { return v.Secret }).(pulumi.StringOutput) +} -func (SchemaRegistryClusterEnvironmentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SchemaRegistryClusterEnvironment)(nil)).Elem() +type SchemaCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (SchemaCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaCredentials)(nil)).Elem() } -func (o SchemaRegistryClusterEnvironmentPtrOutput) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { +func (o SchemaCredentialsPtrOutput) ToSchemaCredentialsPtrOutput() SchemaCredentialsPtrOutput { return o } -func (o SchemaRegistryClusterEnvironmentPtrOutput) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { +func (o SchemaCredentialsPtrOutput) ToSchemaCredentialsPtrOutputWithContext(ctx context.Context) SchemaCredentialsPtrOutput { return o } -func (o SchemaRegistryClusterEnvironmentPtrOutput) Elem() SchemaRegistryClusterEnvironmentOutput { - return o.ApplyT(func(v *SchemaRegistryClusterEnvironment) SchemaRegistryClusterEnvironment { +func (o SchemaCredentialsPtrOutput) Elem() SchemaCredentialsOutput { + return o.ApplyT(func(v *SchemaCredentials) SchemaCredentials { if v != nil { return *v } - var ret SchemaRegistryClusterEnvironment + var ret SchemaCredentials return ret - }).(SchemaRegistryClusterEnvironmentOutput) + }).(SchemaCredentialsOutput) } -// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. -func (o SchemaRegistryClusterEnvironmentPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SchemaRegistryClusterEnvironment) *string { +// The Schema Registry API Key. +func (o SchemaCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaCredentials) *string { if v == nil { return nil } - return &v.Id + return &v.Key }).(pulumi.StringPtrOutput) } -type SchemaRegistryClusterRegion struct { - // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. - Id string `pulumi:"id"` +// The Schema Registry API Secret. +func (o SchemaCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) } -// SchemaRegistryClusterRegionInput is an input type that accepts SchemaRegistryClusterRegionArgs and SchemaRegistryClusterRegionOutput values. -// You can construct a concrete instance of `SchemaRegistryClusterRegionInput` via: +type SchemaRegistryClusterConfigCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` +} + +// SchemaRegistryClusterConfigCredentialsInput is an input type that accepts SchemaRegistryClusterConfigCredentialsArgs and SchemaRegistryClusterConfigCredentialsOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigCredentialsInput` via: // -// SchemaRegistryClusterRegionArgs{...} -type SchemaRegistryClusterRegionInput interface { +// SchemaRegistryClusterConfigCredentialsArgs{...} +type SchemaRegistryClusterConfigCredentialsInput interface { pulumi.Input - ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput - ToSchemaRegistryClusterRegionOutputWithContext(context.Context) SchemaRegistryClusterRegionOutput + ToSchemaRegistryClusterConfigCredentialsOutput() SchemaRegistryClusterConfigCredentialsOutput + ToSchemaRegistryClusterConfigCredentialsOutputWithContext(context.Context) SchemaRegistryClusterConfigCredentialsOutput } -type SchemaRegistryClusterRegionArgs struct { - // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. - Id pulumi.StringInput `pulumi:"id"` +type SchemaRegistryClusterConfigCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (SchemaRegistryClusterRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SchemaRegistryClusterRegion)(nil)).Elem() +func (SchemaRegistryClusterConfigCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput { - return i.ToSchemaRegistryClusterRegionOutputWithContext(context.Background()) +func (i SchemaRegistryClusterConfigCredentialsArgs) ToSchemaRegistryClusterConfigCredentialsOutput() SchemaRegistryClusterConfigCredentialsOutput { + return i.ToSchemaRegistryClusterConfigCredentialsOutputWithContext(context.Background()) } -func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionOutput) +func (i SchemaRegistryClusterConfigCredentialsArgs) ToSchemaRegistryClusterConfigCredentialsOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigCredentialsOutput) } -func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { - return i.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) +func (i SchemaRegistryClusterConfigCredentialsArgs) ToSchemaRegistryClusterConfigCredentialsPtrOutput() SchemaRegistryClusterConfigCredentialsPtrOutput { + return i.ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) } -func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionOutput).ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx) +func (i SchemaRegistryClusterConfigCredentialsArgs) ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigCredentialsOutput).ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx) } -// SchemaRegistryClusterRegionPtrInput is an input type that accepts SchemaRegistryClusterRegionArgs, SchemaRegistryClusterRegionPtr and SchemaRegistryClusterRegionPtrOutput values. -// You can construct a concrete instance of `SchemaRegistryClusterRegionPtrInput` via: +// SchemaRegistryClusterConfigCredentialsPtrInput is an input type that accepts SchemaRegistryClusterConfigCredentialsArgs, SchemaRegistryClusterConfigCredentialsPtr and SchemaRegistryClusterConfigCredentialsPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigCredentialsPtrInput` via: // -// SchemaRegistryClusterRegionArgs{...} +// SchemaRegistryClusterConfigCredentialsArgs{...} // // or: // // nil -type SchemaRegistryClusterRegionPtrInput interface { +type SchemaRegistryClusterConfigCredentialsPtrInput interface { pulumi.Input - ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput - ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Context) SchemaRegistryClusterRegionPtrOutput + ToSchemaRegistryClusterConfigCredentialsPtrOutput() SchemaRegistryClusterConfigCredentialsPtrOutput + ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Context) SchemaRegistryClusterConfigCredentialsPtrOutput } -type schemaRegistryClusterRegionPtrType SchemaRegistryClusterRegionArgs +type schemaRegistryClusterConfigCredentialsPtrType SchemaRegistryClusterConfigCredentialsArgs -func SchemaRegistryClusterRegionPtr(v *SchemaRegistryClusterRegionArgs) SchemaRegistryClusterRegionPtrInput { - return (*schemaRegistryClusterRegionPtrType)(v) +func SchemaRegistryClusterConfigCredentialsPtr(v *SchemaRegistryClusterConfigCredentialsArgs) SchemaRegistryClusterConfigCredentialsPtrInput { + return (*schemaRegistryClusterConfigCredentialsPtrType)(v) } -func (*schemaRegistryClusterRegionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SchemaRegistryClusterRegion)(nil)).Elem() +func (*schemaRegistryClusterConfigCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (i *schemaRegistryClusterRegionPtrType) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { - return i.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) +func (i *schemaRegistryClusterConfigCredentialsPtrType) ToSchemaRegistryClusterConfigCredentialsPtrOutput() SchemaRegistryClusterConfigCredentialsPtrOutput { + return i.ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) } -func (i *schemaRegistryClusterRegionPtrType) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionPtrOutput) +func (i *schemaRegistryClusterConfigCredentialsPtrType) ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigCredentialsPtrOutput) } -type SchemaRegistryClusterRegionOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterConfigCredentialsOutput struct{ *pulumi.OutputState } -func (SchemaRegistryClusterRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SchemaRegistryClusterRegion)(nil)).Elem() +func (SchemaRegistryClusterConfigCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput { +func (o SchemaRegistryClusterConfigCredentialsOutput) ToSchemaRegistryClusterConfigCredentialsOutput() SchemaRegistryClusterConfigCredentialsOutput { return o } -func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionOutput { +func (o SchemaRegistryClusterConfigCredentialsOutput) ToSchemaRegistryClusterConfigCredentialsOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsOutput { return o } -func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { - return o.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) +func (o SchemaRegistryClusterConfigCredentialsOutput) ToSchemaRegistryClusterConfigCredentialsPtrOutput() SchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) } -func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterRegion) *SchemaRegistryClusterRegion { +func (o SchemaRegistryClusterConfigCredentialsOutput) ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterConfigCredentials) *SchemaRegistryClusterConfigCredentials { return &v - }).(SchemaRegistryClusterRegionPtrOutput) + }).(SchemaRegistryClusterConfigCredentialsPtrOutput) } -// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. -func (o SchemaRegistryClusterRegionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v SchemaRegistryClusterRegion) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Key. +func (o SchemaRegistryClusterConfigCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterConfigCredentials) string { return v.Key }).(pulumi.StringOutput) } -type SchemaRegistryClusterRegionPtrOutput struct{ *pulumi.OutputState } +// The Schema Registry API Secret. +func (o SchemaRegistryClusterConfigCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterConfigCredentials) string { return v.Secret }).(pulumi.StringOutput) +} -func (SchemaRegistryClusterRegionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SchemaRegistryClusterRegion)(nil)).Elem() +type SchemaRegistryClusterConfigCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterConfigCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (o SchemaRegistryClusterRegionPtrOutput) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { +func (o SchemaRegistryClusterConfigCredentialsPtrOutput) ToSchemaRegistryClusterConfigCredentialsPtrOutput() SchemaRegistryClusterConfigCredentialsPtrOutput { return o } -func (o SchemaRegistryClusterRegionPtrOutput) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { +func (o SchemaRegistryClusterConfigCredentialsPtrOutput) ToSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigCredentialsPtrOutput { return o } -func (o SchemaRegistryClusterRegionPtrOutput) Elem() SchemaRegistryClusterRegionOutput { - return o.ApplyT(func(v *SchemaRegistryClusterRegion) SchemaRegistryClusterRegion { +func (o SchemaRegistryClusterConfigCredentialsPtrOutput) Elem() SchemaRegistryClusterConfigCredentialsOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfigCredentials) SchemaRegistryClusterConfigCredentials { if v != nil { return *v } - var ret SchemaRegistryClusterRegion + var ret SchemaRegistryClusterConfigCredentials return ret - }).(SchemaRegistryClusterRegionOutput) + }).(SchemaRegistryClusterConfigCredentialsOutput) } -// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. -func (o SchemaRegistryClusterRegionPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SchemaRegistryClusterRegion) *string { +// The Schema Registry API Key. +func (o SchemaRegistryClusterConfigCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfigCredentials) *string { if v == nil { return nil } - return &v.Id + return &v.Key }).(pulumi.StringPtrOutput) } -type TransitGatewayAttachmentAws struct { - // Enable custom destination routes in Confluent Cloud. Defaults to `false`. - EnableCustomRoutes *bool `pulumi:"enableCustomRoutes"` - // The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. - RamResourceShareArn string `pulumi:"ramResourceShareArn"` - // List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. - Routes []string `pulumi:"routes"` - // (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. - TransitGatewayAttachmentId *string `pulumi:"transitGatewayAttachmentId"` - // The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - TransitGatewayId string `pulumi:"transitGatewayId"` +// The Schema Registry API Secret. +func (o SchemaRegistryClusterConfigCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfigCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) } -// TransitGatewayAttachmentAwsInput is an input type that accepts TransitGatewayAttachmentAwsArgs and TransitGatewayAttachmentAwsOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentAwsInput` via: +type SchemaRegistryClusterConfigSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` +} + +// SchemaRegistryClusterConfigSchemaRegistryClusterInput is an input type that accepts SchemaRegistryClusterConfigSchemaRegistryClusterArgs and SchemaRegistryClusterConfigSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigSchemaRegistryClusterInput` via: // -// TransitGatewayAttachmentAwsArgs{...} -type TransitGatewayAttachmentAwsInput interface { +// SchemaRegistryClusterConfigSchemaRegistryClusterArgs{...} +type SchemaRegistryClusterConfigSchemaRegistryClusterInput interface { pulumi.Input - ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput - ToTransitGatewayAttachmentAwsOutputWithContext(context.Context) TransitGatewayAttachmentAwsOutput + ToSchemaRegistryClusterConfigSchemaRegistryClusterOutput() SchemaRegistryClusterConfigSchemaRegistryClusterOutput + ToSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterOutput } -type TransitGatewayAttachmentAwsArgs struct { - // Enable custom destination routes in Confluent Cloud. Defaults to `false`. - EnableCustomRoutes pulumi.BoolPtrInput `pulumi:"enableCustomRoutes"` - // The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. - RamResourceShareArn pulumi.StringInput `pulumi:"ramResourceShareArn"` - // List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. - Routes pulumi.StringArrayInput `pulumi:"routes"` - // (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. - TransitGatewayAttachmentId pulumi.StringPtrInput `pulumi:"transitGatewayAttachmentId"` - // The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - TransitGatewayId pulumi.StringInput `pulumi:"transitGatewayId"` +type SchemaRegistryClusterConfigSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -func (TransitGatewayAttachmentAwsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentAws)(nil)).Elem() +func (SchemaRegistryClusterConfigSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput { - return i.ToTransitGatewayAttachmentAwsOutputWithContext(context.Background()) +func (i SchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToSchemaRegistryClusterConfigSchemaRegistryClusterOutput() SchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return i.ToSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsOutput) +func (i SchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigSchemaRegistryClusterOutput) } -func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { - return i.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +func (i SchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return i.ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsOutput).ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx) +func (i SchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigSchemaRegistryClusterOutput).ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx) } -// TransitGatewayAttachmentAwsPtrInput is an input type that accepts TransitGatewayAttachmentAwsArgs, TransitGatewayAttachmentAwsPtr and TransitGatewayAttachmentAwsPtrOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentAwsPtrInput` via: +// SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput is an input type that accepts SchemaRegistryClusterConfigSchemaRegistryClusterArgs, SchemaRegistryClusterConfigSchemaRegistryClusterPtr and SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput` via: // -// TransitGatewayAttachmentAwsArgs{...} +// SchemaRegistryClusterConfigSchemaRegistryClusterArgs{...} // // or: // // nil -type TransitGatewayAttachmentAwsPtrInput interface { +type SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput interface { pulumi.Input - ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput - ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Context) TransitGatewayAttachmentAwsPtrOutput + ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput + ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput } -type transitGatewayAttachmentAwsPtrType TransitGatewayAttachmentAwsArgs +type schemaRegistryClusterConfigSchemaRegistryClusterPtrType SchemaRegistryClusterConfigSchemaRegistryClusterArgs -func TransitGatewayAttachmentAwsPtr(v *TransitGatewayAttachmentAwsArgs) TransitGatewayAttachmentAwsPtrInput { - return (*transitGatewayAttachmentAwsPtrType)(v) +func SchemaRegistryClusterConfigSchemaRegistryClusterPtr(v *SchemaRegistryClusterConfigSchemaRegistryClusterArgs) SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput { + return (*schemaRegistryClusterConfigSchemaRegistryClusterPtrType)(v) } -func (*transitGatewayAttachmentAwsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentAws)(nil)).Elem() +func (*schemaRegistryClusterConfigSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (i *transitGatewayAttachmentAwsPtrType) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { - return i.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +func (i *schemaRegistryClusterConfigSchemaRegistryClusterPtrType) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return i.ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (i *transitGatewayAttachmentAwsPtrType) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsPtrOutput) +func (i *schemaRegistryClusterConfigSchemaRegistryClusterPtrType) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) } -type TransitGatewayAttachmentAwsOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterConfigSchemaRegistryClusterOutput struct{ *pulumi.OutputState } -func (TransitGatewayAttachmentAwsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentAws)(nil)).Elem() +func (SchemaRegistryClusterConfigSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterOutput() SchemaRegistryClusterConfigSchemaRegistryClusterOutput { return o } -func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsOutput { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterOutput { return o } -func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { - return o.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +func (o SchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentAws) *TransitGatewayAttachmentAws { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterConfigSchemaRegistryCluster) *SchemaRegistryClusterConfigSchemaRegistryCluster { return &v - }).(TransitGatewayAttachmentAwsPtrOutput) -} - -// Enable custom destination routes in Confluent Cloud. Defaults to `false`. -func (o TransitGatewayAttachmentAwsOutput) EnableCustomRoutes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v TransitGatewayAttachmentAws) *bool { return v.EnableCustomRoutes }).(pulumi.BoolPtrOutput) -} - -// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. -func (o TransitGatewayAttachmentAwsOutput) RamResourceShareArn() pulumi.StringOutput { - return o.ApplyT(func(v TransitGatewayAttachmentAws) string { return v.RamResourceShareArn }).(pulumi.StringOutput) -} - -// List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. -func (o TransitGatewayAttachmentAwsOutput) Routes() pulumi.StringArrayOutput { - return o.ApplyT(func(v TransitGatewayAttachmentAws) []string { return v.Routes }).(pulumi.StringArrayOutput) -} - -// (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. -func (o TransitGatewayAttachmentAwsOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v TransitGatewayAttachmentAws) *string { return v.TransitGatewayAttachmentId }).(pulumi.StringPtrOutput) + }).(SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) } -// The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. -func (o TransitGatewayAttachmentAwsOutput) TransitGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v TransitGatewayAttachmentAws) string { return v.TransitGatewayId }).(pulumi.StringOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaRegistryClusterConfigSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterConfigSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -type TransitGatewayAttachmentAwsPtrOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } -func (TransitGatewayAttachmentAwsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentAws)(nil)).Elem() +func (SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (o TransitGatewayAttachmentAwsPtrOutput) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { return o } -func (o TransitGatewayAttachmentAwsPtrOutput) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ToSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { return o } -func (o TransitGatewayAttachmentAwsPtrOutput) Elem() TransitGatewayAttachmentAwsOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) TransitGatewayAttachmentAws { +func (o SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) Elem() SchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfigSchemaRegistryCluster) SchemaRegistryClusterConfigSchemaRegistryCluster { if v != nil { return *v } - var ret TransitGatewayAttachmentAws + var ret SchemaRegistryClusterConfigSchemaRegistryCluster return ret - }).(TransitGatewayAttachmentAwsOutput) -} - -// Enable custom destination routes in Confluent Cloud. Defaults to `false`. -func (o TransitGatewayAttachmentAwsPtrOutput) EnableCustomRoutes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) *bool { - if v == nil { - return nil - } - return v.EnableCustomRoutes - }).(pulumi.BoolPtrOutput) -} - -// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. -func (o TransitGatewayAttachmentAwsPtrOutput) RamResourceShareArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { - if v == nil { - return nil - } - return &v.RamResourceShareArn - }).(pulumi.StringPtrOutput) -} - -// List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. -func (o TransitGatewayAttachmentAwsPtrOutput) Routes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) []string { - if v == nil { - return nil - } - return v.Routes - }).(pulumi.StringArrayOutput) -} - -// (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. -func (o TransitGatewayAttachmentAwsPtrOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { - if v == nil { - return nil - } - return v.TransitGatewayAttachmentId - }).(pulumi.StringPtrOutput) + }).(SchemaRegistryClusterConfigSchemaRegistryClusterOutput) } -// The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. -func (o TransitGatewayAttachmentAwsPtrOutput) TransitGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfigSchemaRegistryCluster) *string { if v == nil { return nil } - return &v.TransitGatewayId + return &v.Id }).(pulumi.StringPtrOutput) } -type TransitGatewayAttachmentEnvironment struct { - // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +type SchemaRegistryClusterEnvironment struct { + // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. Id string `pulumi:"id"` } -// TransitGatewayAttachmentEnvironmentInput is an input type that accepts TransitGatewayAttachmentEnvironmentArgs and TransitGatewayAttachmentEnvironmentOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentEnvironmentInput` via: +// SchemaRegistryClusterEnvironmentInput is an input type that accepts SchemaRegistryClusterEnvironmentArgs and SchemaRegistryClusterEnvironmentOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterEnvironmentInput` via: // -// TransitGatewayAttachmentEnvironmentArgs{...} -type TransitGatewayAttachmentEnvironmentInput interface { +// SchemaRegistryClusterEnvironmentArgs{...} +type SchemaRegistryClusterEnvironmentInput interface { pulumi.Input - ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput - ToTransitGatewayAttachmentEnvironmentOutputWithContext(context.Context) TransitGatewayAttachmentEnvironmentOutput + ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput + ToSchemaRegistryClusterEnvironmentOutputWithContext(context.Context) SchemaRegistryClusterEnvironmentOutput } -type TransitGatewayAttachmentEnvironmentArgs struct { - // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +type SchemaRegistryClusterEnvironmentArgs struct { + // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. Id pulumi.StringInput `pulumi:"id"` } -func (TransitGatewayAttachmentEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentEnvironment)(nil)).Elem() +func (SchemaRegistryClusterEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterEnvironment)(nil)).Elem() } -func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput { - return i.ToTransitGatewayAttachmentEnvironmentOutputWithContext(context.Background()) +func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput { + return i.ToSchemaRegistryClusterEnvironmentOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentOutput) +func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentOutput) } -func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { - return i.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { + return i.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentOutput).ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx) +func (i SchemaRegistryClusterEnvironmentArgs) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentOutput).ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx) } -// TransitGatewayAttachmentEnvironmentPtrInput is an input type that accepts TransitGatewayAttachmentEnvironmentArgs, TransitGatewayAttachmentEnvironmentPtr and TransitGatewayAttachmentEnvironmentPtrOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentEnvironmentPtrInput` via: +// SchemaRegistryClusterEnvironmentPtrInput is an input type that accepts SchemaRegistryClusterEnvironmentArgs, SchemaRegistryClusterEnvironmentPtr and SchemaRegistryClusterEnvironmentPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterEnvironmentPtrInput` via: // -// TransitGatewayAttachmentEnvironmentArgs{...} +// SchemaRegistryClusterEnvironmentArgs{...} // // or: // // nil -type TransitGatewayAttachmentEnvironmentPtrInput interface { +type SchemaRegistryClusterEnvironmentPtrInput interface { pulumi.Input - ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput - ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Context) TransitGatewayAttachmentEnvironmentPtrOutput + ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput + ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Context) SchemaRegistryClusterEnvironmentPtrOutput } -type transitGatewayAttachmentEnvironmentPtrType TransitGatewayAttachmentEnvironmentArgs +type schemaRegistryClusterEnvironmentPtrType SchemaRegistryClusterEnvironmentArgs -func TransitGatewayAttachmentEnvironmentPtr(v *TransitGatewayAttachmentEnvironmentArgs) TransitGatewayAttachmentEnvironmentPtrInput { - return (*transitGatewayAttachmentEnvironmentPtrType)(v) +func SchemaRegistryClusterEnvironmentPtr(v *SchemaRegistryClusterEnvironmentArgs) SchemaRegistryClusterEnvironmentPtrInput { + return (*schemaRegistryClusterEnvironmentPtrType)(v) } -func (*transitGatewayAttachmentEnvironmentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentEnvironment)(nil)).Elem() +func (*schemaRegistryClusterEnvironmentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterEnvironment)(nil)).Elem() } -func (i *transitGatewayAttachmentEnvironmentPtrType) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { - return i.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +func (i *schemaRegistryClusterEnvironmentPtrType) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { + return i.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) } -func (i *transitGatewayAttachmentEnvironmentPtrType) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentPtrOutput) +func (i *schemaRegistryClusterEnvironmentPtrType) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterEnvironmentPtrOutput) } -type TransitGatewayAttachmentEnvironmentOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterEnvironmentOutput struct{ *pulumi.OutputState } -func (TransitGatewayAttachmentEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentEnvironment)(nil)).Elem() +func (SchemaRegistryClusterEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterEnvironment)(nil)).Elem() } -func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput { +func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentOutput() SchemaRegistryClusterEnvironmentOutput { return o } -func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentOutput { +func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentOutput { return o } -func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { - return o.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { + return o.ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(context.Background()) } -func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentEnvironment) *TransitGatewayAttachmentEnvironment { +func (o SchemaRegistryClusterEnvironmentOutput) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterEnvironment) *SchemaRegistryClusterEnvironment { return &v - }).(TransitGatewayAttachmentEnvironmentPtrOutput) + }).(SchemaRegistryClusterEnvironmentPtrOutput) } -// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. -func (o TransitGatewayAttachmentEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v TransitGatewayAttachmentEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. +func (o SchemaRegistryClusterEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) } -type TransitGatewayAttachmentEnvironmentPtrOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterEnvironmentPtrOutput struct{ *pulumi.OutputState } -func (TransitGatewayAttachmentEnvironmentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentEnvironment)(nil)).Elem() +func (SchemaRegistryClusterEnvironmentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterEnvironment)(nil)).Elem() } -func (o TransitGatewayAttachmentEnvironmentPtrOutput) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { +func (o SchemaRegistryClusterEnvironmentPtrOutput) ToSchemaRegistryClusterEnvironmentPtrOutput() SchemaRegistryClusterEnvironmentPtrOutput { return o } -func (o TransitGatewayAttachmentEnvironmentPtrOutput) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { +func (o SchemaRegistryClusterEnvironmentPtrOutput) ToSchemaRegistryClusterEnvironmentPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterEnvironmentPtrOutput { return o } -func (o TransitGatewayAttachmentEnvironmentPtrOutput) Elem() TransitGatewayAttachmentEnvironmentOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentEnvironment) TransitGatewayAttachmentEnvironment { +func (o SchemaRegistryClusterEnvironmentPtrOutput) Elem() SchemaRegistryClusterEnvironmentOutput { + return o.ApplyT(func(v *SchemaRegistryClusterEnvironment) SchemaRegistryClusterEnvironment { if v != nil { return *v } - var ret TransitGatewayAttachmentEnvironment + var ret SchemaRegistryClusterEnvironment return ret - }).(TransitGatewayAttachmentEnvironmentOutput) + }).(SchemaRegistryClusterEnvironmentOutput) } -// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. -func (o TransitGatewayAttachmentEnvironmentPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentEnvironment) *string { +// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. +func (o SchemaRegistryClusterEnvironmentPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterEnvironment) *string { if v == nil { return nil } @@ -7195,2904 +7302,6269 @@ func (o TransitGatewayAttachmentEnvironmentPtrOutput) Id() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -type TransitGatewayAttachmentNetwork struct { - // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. - Id string `pulumi:"id"` +type SchemaRegistryClusterModeCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` } -// TransitGatewayAttachmentNetworkInput is an input type that accepts TransitGatewayAttachmentNetworkArgs and TransitGatewayAttachmentNetworkOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentNetworkInput` via: +// SchemaRegistryClusterModeCredentialsInput is an input type that accepts SchemaRegistryClusterModeCredentialsArgs and SchemaRegistryClusterModeCredentialsOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeCredentialsInput` via: // -// TransitGatewayAttachmentNetworkArgs{...} -type TransitGatewayAttachmentNetworkInput interface { +// SchemaRegistryClusterModeCredentialsArgs{...} +type SchemaRegistryClusterModeCredentialsInput interface { pulumi.Input - ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput - ToTransitGatewayAttachmentNetworkOutputWithContext(context.Context) TransitGatewayAttachmentNetworkOutput + ToSchemaRegistryClusterModeCredentialsOutput() SchemaRegistryClusterModeCredentialsOutput + ToSchemaRegistryClusterModeCredentialsOutputWithContext(context.Context) SchemaRegistryClusterModeCredentialsOutput } -type TransitGatewayAttachmentNetworkArgs struct { - // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. - Id pulumi.StringInput `pulumi:"id"` +type SchemaRegistryClusterModeCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (TransitGatewayAttachmentNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentNetwork)(nil)).Elem() +func (SchemaRegistryClusterModeCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput { - return i.ToTransitGatewayAttachmentNetworkOutputWithContext(context.Background()) +func (i SchemaRegistryClusterModeCredentialsArgs) ToSchemaRegistryClusterModeCredentialsOutput() SchemaRegistryClusterModeCredentialsOutput { + return i.ToSchemaRegistryClusterModeCredentialsOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkOutput) +func (i SchemaRegistryClusterModeCredentialsArgs) ToSchemaRegistryClusterModeCredentialsOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeCredentialsOutput) } -func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { - return i.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +func (i SchemaRegistryClusterModeCredentialsArgs) ToSchemaRegistryClusterModeCredentialsPtrOutput() SchemaRegistryClusterModeCredentialsPtrOutput { + return i.ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) } -func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkOutput).ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx) +func (i SchemaRegistryClusterModeCredentialsArgs) ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeCredentialsOutput).ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx) } -// TransitGatewayAttachmentNetworkPtrInput is an input type that accepts TransitGatewayAttachmentNetworkArgs, TransitGatewayAttachmentNetworkPtr and TransitGatewayAttachmentNetworkPtrOutput values. -// You can construct a concrete instance of `TransitGatewayAttachmentNetworkPtrInput` via: +// SchemaRegistryClusterModeCredentialsPtrInput is an input type that accepts SchemaRegistryClusterModeCredentialsArgs, SchemaRegistryClusterModeCredentialsPtr and SchemaRegistryClusterModeCredentialsPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeCredentialsPtrInput` via: // -// TransitGatewayAttachmentNetworkArgs{...} +// SchemaRegistryClusterModeCredentialsArgs{...} // // or: // // nil -type TransitGatewayAttachmentNetworkPtrInput interface { +type SchemaRegistryClusterModeCredentialsPtrInput interface { pulumi.Input - ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput - ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Context) TransitGatewayAttachmentNetworkPtrOutput + ToSchemaRegistryClusterModeCredentialsPtrOutput() SchemaRegistryClusterModeCredentialsPtrOutput + ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Context) SchemaRegistryClusterModeCredentialsPtrOutput } -type transitGatewayAttachmentNetworkPtrType TransitGatewayAttachmentNetworkArgs +type schemaRegistryClusterModeCredentialsPtrType SchemaRegistryClusterModeCredentialsArgs -func TransitGatewayAttachmentNetworkPtr(v *TransitGatewayAttachmentNetworkArgs) TransitGatewayAttachmentNetworkPtrInput { - return (*transitGatewayAttachmentNetworkPtrType)(v) +func SchemaRegistryClusterModeCredentialsPtr(v *SchemaRegistryClusterModeCredentialsArgs) SchemaRegistryClusterModeCredentialsPtrInput { + return (*schemaRegistryClusterModeCredentialsPtrType)(v) } -func (*transitGatewayAttachmentNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentNetwork)(nil)).Elem() +func (*schemaRegistryClusterModeCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (i *transitGatewayAttachmentNetworkPtrType) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { - return i.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +func (i *schemaRegistryClusterModeCredentialsPtrType) ToSchemaRegistryClusterModeCredentialsPtrOutput() SchemaRegistryClusterModeCredentialsPtrOutput { + return i.ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) } -func (i *transitGatewayAttachmentNetworkPtrType) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkPtrOutput) +func (i *schemaRegistryClusterModeCredentialsPtrType) ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeCredentialsPtrOutput) } -type TransitGatewayAttachmentNetworkOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterModeCredentialsOutput struct{ *pulumi.OutputState } -func (TransitGatewayAttachmentNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TransitGatewayAttachmentNetwork)(nil)).Elem() +func (SchemaRegistryClusterModeCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput { +func (o SchemaRegistryClusterModeCredentialsOutput) ToSchemaRegistryClusterModeCredentialsOutput() SchemaRegistryClusterModeCredentialsOutput { return o } -func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkOutput { +func (o SchemaRegistryClusterModeCredentialsOutput) ToSchemaRegistryClusterModeCredentialsOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsOutput { return o } -func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { - return o.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +func (o SchemaRegistryClusterModeCredentialsOutput) ToSchemaRegistryClusterModeCredentialsPtrOutput() SchemaRegistryClusterModeCredentialsPtrOutput { + return o.ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) } -func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentNetwork) *TransitGatewayAttachmentNetwork { +func (o SchemaRegistryClusterModeCredentialsOutput) ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterModeCredentials) *SchemaRegistryClusterModeCredentials { return &v - }).(TransitGatewayAttachmentNetworkPtrOutput) + }).(SchemaRegistryClusterModeCredentialsPtrOutput) } -// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. -func (o TransitGatewayAttachmentNetworkOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v TransitGatewayAttachmentNetwork) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Key. +func (o SchemaRegistryClusterModeCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterModeCredentials) string { return v.Key }).(pulumi.StringOutput) } -type TransitGatewayAttachmentNetworkPtrOutput struct{ *pulumi.OutputState } +// The Schema Registry API Secret. +func (o SchemaRegistryClusterModeCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterModeCredentials) string { return v.Secret }).(pulumi.StringOutput) +} -func (TransitGatewayAttachmentNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TransitGatewayAttachmentNetwork)(nil)).Elem() +type SchemaRegistryClusterModeCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterModeCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (o TransitGatewayAttachmentNetworkPtrOutput) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { +func (o SchemaRegistryClusterModeCredentialsPtrOutput) ToSchemaRegistryClusterModeCredentialsPtrOutput() SchemaRegistryClusterModeCredentialsPtrOutput { return o } -func (o TransitGatewayAttachmentNetworkPtrOutput) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { +func (o SchemaRegistryClusterModeCredentialsPtrOutput) ToSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeCredentialsPtrOutput { return o } -func (o TransitGatewayAttachmentNetworkPtrOutput) Elem() TransitGatewayAttachmentNetworkOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentNetwork) TransitGatewayAttachmentNetwork { +func (o SchemaRegistryClusterModeCredentialsPtrOutput) Elem() SchemaRegistryClusterModeCredentialsOutput { + return o.ApplyT(func(v *SchemaRegistryClusterModeCredentials) SchemaRegistryClusterModeCredentials { if v != nil { return *v } - var ret TransitGatewayAttachmentNetwork + var ret SchemaRegistryClusterModeCredentials return ret - }).(TransitGatewayAttachmentNetworkOutput) + }).(SchemaRegistryClusterModeCredentialsOutput) } -// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. -func (o TransitGatewayAttachmentNetworkPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TransitGatewayAttachmentNetwork) *string { +// The Schema Registry API Key. +func (o SchemaRegistryClusterModeCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterModeCredentials) *string { if v == nil { return nil } - return &v.Id + return &v.Key }).(pulumi.StringPtrOutput) } -type GetIdentityPoolIdentityProvider struct { - // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. +// The Schema Registry API Secret. +func (o SchemaRegistryClusterModeCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterModeCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) +} + +type SchemaRegistryClusterModeSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id string `pulumi:"id"` } -// GetIdentityPoolIdentityProviderInput is an input type that accepts GetIdentityPoolIdentityProviderArgs and GetIdentityPoolIdentityProviderOutput values. -// You can construct a concrete instance of `GetIdentityPoolIdentityProviderInput` via: +// SchemaRegistryClusterModeSchemaRegistryClusterInput is an input type that accepts SchemaRegistryClusterModeSchemaRegistryClusterArgs and SchemaRegistryClusterModeSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeSchemaRegistryClusterInput` via: // -// GetIdentityPoolIdentityProviderArgs{...} -type GetIdentityPoolIdentityProviderInput interface { +// SchemaRegistryClusterModeSchemaRegistryClusterArgs{...} +type SchemaRegistryClusterModeSchemaRegistryClusterInput interface { pulumi.Input - ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput - ToGetIdentityPoolIdentityProviderOutputWithContext(context.Context) GetIdentityPoolIdentityProviderOutput + ToSchemaRegistryClusterModeSchemaRegistryClusterOutput() SchemaRegistryClusterModeSchemaRegistryClusterOutput + ToSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(context.Context) SchemaRegistryClusterModeSchemaRegistryClusterOutput } -type GetIdentityPoolIdentityProviderArgs struct { - // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. +type SchemaRegistryClusterModeSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id pulumi.StringInput `pulumi:"id"` } -func (GetIdentityPoolIdentityProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetIdentityPoolIdentityProvider)(nil)).Elem() -} - -func (i GetIdentityPoolIdentityProviderArgs) ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput { - return i.ToGetIdentityPoolIdentityProviderOutputWithContext(context.Background()) -} - -func (i GetIdentityPoolIdentityProviderArgs) ToGetIdentityPoolIdentityProviderOutputWithContext(ctx context.Context) GetIdentityPoolIdentityProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetIdentityPoolIdentityProviderOutput) -} - -type GetIdentityPoolIdentityProviderOutput struct{ *pulumi.OutputState } - -func (GetIdentityPoolIdentityProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetIdentityPoolIdentityProvider)(nil)).Elem() +func (SchemaRegistryClusterModeSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -func (o GetIdentityPoolIdentityProviderOutput) ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput { - return o +func (i SchemaRegistryClusterModeSchemaRegistryClusterArgs) ToSchemaRegistryClusterModeSchemaRegistryClusterOutput() SchemaRegistryClusterModeSchemaRegistryClusterOutput { + return i.ToSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(context.Background()) } -func (o GetIdentityPoolIdentityProviderOutput) ToGetIdentityPoolIdentityProviderOutputWithContext(ctx context.Context) GetIdentityPoolIdentityProviderOutput { - return o +func (i SchemaRegistryClusterModeSchemaRegistryClusterArgs) ToSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeSchemaRegistryClusterOutput) } -// The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. -func (o GetIdentityPoolIdentityProviderOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetIdentityPoolIdentityProvider) string { return v.Id }).(pulumi.StringOutput) +func (i SchemaRegistryClusterModeSchemaRegistryClusterArgs) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return i.ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetKafkaClientQuotaEnvironment struct { - // The ID of the Kafka Client Quota (for example, `cq-abc123`). - Id string `pulumi:"id"` +func (i SchemaRegistryClusterModeSchemaRegistryClusterArgs) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeSchemaRegistryClusterOutput).ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx) } -// GetKafkaClientQuotaEnvironmentInput is an input type that accepts GetKafkaClientQuotaEnvironmentArgs and GetKafkaClientQuotaEnvironmentOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaEnvironmentInput` via: +// SchemaRegistryClusterModeSchemaRegistryClusterPtrInput is an input type that accepts SchemaRegistryClusterModeSchemaRegistryClusterArgs, SchemaRegistryClusterModeSchemaRegistryClusterPtr and SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeSchemaRegistryClusterPtrInput` via: // -// GetKafkaClientQuotaEnvironmentArgs{...} -type GetKafkaClientQuotaEnvironmentInput interface { +// SchemaRegistryClusterModeSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type SchemaRegistryClusterModeSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput - ToGetKafkaClientQuotaEnvironmentOutputWithContext(context.Context) GetKafkaClientQuotaEnvironmentOutput + ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput + ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Context) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput } -type GetKafkaClientQuotaEnvironmentArgs struct { - // The ID of the Kafka Client Quota (for example, `cq-abc123`). - Id pulumi.StringInput `pulumi:"id"` -} +type schemaRegistryClusterModeSchemaRegistryClusterPtrType SchemaRegistryClusterModeSchemaRegistryClusterArgs -func (GetKafkaClientQuotaEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaEnvironment)(nil)).Elem() +func SchemaRegistryClusterModeSchemaRegistryClusterPtr(v *SchemaRegistryClusterModeSchemaRegistryClusterArgs) SchemaRegistryClusterModeSchemaRegistryClusterPtrInput { + return (*schemaRegistryClusterModeSchemaRegistryClusterPtrType)(v) } -func (i GetKafkaClientQuotaEnvironmentArgs) ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput { - return i.ToGetKafkaClientQuotaEnvironmentOutputWithContext(context.Background()) +func (*schemaRegistryClusterModeSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClientQuotaEnvironmentArgs) ToGetKafkaClientQuotaEnvironmentOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaEnvironmentOutput) +func (i *schemaRegistryClusterModeSchemaRegistryClusterPtrType) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return i.ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -// GetKafkaClientQuotaEnvironmentArrayInput is an input type that accepts GetKafkaClientQuotaEnvironmentArray and GetKafkaClientQuotaEnvironmentArrayOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaEnvironmentArrayInput` via: -// -// GetKafkaClientQuotaEnvironmentArray{ GetKafkaClientQuotaEnvironmentArgs{...} } -type GetKafkaClientQuotaEnvironmentArrayInput interface { - pulumi.Input - - ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput - ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(context.Context) GetKafkaClientQuotaEnvironmentArrayOutput +func (i *schemaRegistryClusterModeSchemaRegistryClusterPtrType) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) } -type GetKafkaClientQuotaEnvironmentArray []GetKafkaClientQuotaEnvironmentInput - -func (GetKafkaClientQuotaEnvironmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaEnvironment)(nil)).Elem() -} +type SchemaRegistryClusterModeSchemaRegistryClusterOutput struct{ *pulumi.OutputState } -func (i GetKafkaClientQuotaEnvironmentArray) ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput { - return i.ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(context.Background()) +func (SchemaRegistryClusterModeSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClientQuotaEnvironmentArray) ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaEnvironmentArrayOutput) +func (o SchemaRegistryClusterModeSchemaRegistryClusterOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterOutput() SchemaRegistryClusterModeSchemaRegistryClusterOutput { + return o } -type GetKafkaClientQuotaEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetKafkaClientQuotaEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaEnvironment)(nil)).Elem() +func (o SchemaRegistryClusterModeSchemaRegistryClusterOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterOutput { + return o } -func (o GetKafkaClientQuotaEnvironmentOutput) ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput { - return o +func (o SchemaRegistryClusterModeSchemaRegistryClusterOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (o GetKafkaClientQuotaEnvironmentOutput) ToGetKafkaClientQuotaEnvironmentOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentOutput { - return o +func (o SchemaRegistryClusterModeSchemaRegistryClusterOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterModeSchemaRegistryCluster) *SchemaRegistryClusterModeSchemaRegistryCluster { + return &v + }).(SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) } -// The ID of the Kafka Client Quota (for example, `cq-abc123`). -func (o GetKafkaClientQuotaEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClientQuotaEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaRegistryClusterModeSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterModeSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -type GetKafkaClientQuotaEnvironmentArrayOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } -func (GetKafkaClientQuotaEnvironmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaEnvironment)(nil)).Elem() +func (SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaClientQuotaEnvironmentArrayOutput) ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput { +func (o SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClientQuotaEnvironmentArrayOutput) ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentArrayOutput { +func (o SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ToSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClientQuotaEnvironmentArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaEnvironmentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaEnvironment { - return vs[0].([]GetKafkaClientQuotaEnvironment)[vs[1].(int)] - }).(GetKafkaClientQuotaEnvironmentOutput) +func (o SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) Elem() SchemaRegistryClusterModeSchemaRegistryClusterOutput { + return o.ApplyT(func(v *SchemaRegistryClusterModeSchemaRegistryCluster) SchemaRegistryClusterModeSchemaRegistryCluster { + if v != nil { + return *v + } + var ret SchemaRegistryClusterModeSchemaRegistryCluster + return ret + }).(SchemaRegistryClusterModeSchemaRegistryClusterOutput) } -type GetKafkaClientQuotaKafkaCluster struct { - // The ID of the Kafka Client Quota (for example, `cq-abc123`). +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterModeSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type SchemaRegistryClusterRegion struct { + // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. Id string `pulumi:"id"` } -// GetKafkaClientQuotaKafkaClusterInput is an input type that accepts GetKafkaClientQuotaKafkaClusterArgs and GetKafkaClientQuotaKafkaClusterOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaKafkaClusterInput` via: +// SchemaRegistryClusterRegionInput is an input type that accepts SchemaRegistryClusterRegionArgs and SchemaRegistryClusterRegionOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterRegionInput` via: // -// GetKafkaClientQuotaKafkaClusterArgs{...} -type GetKafkaClientQuotaKafkaClusterInput interface { +// SchemaRegistryClusterRegionArgs{...} +type SchemaRegistryClusterRegionInput interface { pulumi.Input - ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput - ToGetKafkaClientQuotaKafkaClusterOutputWithContext(context.Context) GetKafkaClientQuotaKafkaClusterOutput + ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput + ToSchemaRegistryClusterRegionOutputWithContext(context.Context) SchemaRegistryClusterRegionOutput } -type GetKafkaClientQuotaKafkaClusterArgs struct { - // The ID of the Kafka Client Quota (for example, `cq-abc123`). +type SchemaRegistryClusterRegionArgs struct { + // The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. Id pulumi.StringInput `pulumi:"id"` } -func (GetKafkaClientQuotaKafkaClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +func (SchemaRegistryClusterRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterRegion)(nil)).Elem() } -func (i GetKafkaClientQuotaKafkaClusterArgs) ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput { - return i.ToGetKafkaClientQuotaKafkaClusterOutputWithContext(context.Background()) +func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput { + return i.ToSchemaRegistryClusterRegionOutputWithContext(context.Background()) } -func (i GetKafkaClientQuotaKafkaClusterArgs) ToGetKafkaClientQuotaKafkaClusterOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaKafkaClusterOutput) +func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionOutput) } -// GetKafkaClientQuotaKafkaClusterArrayInput is an input type that accepts GetKafkaClientQuotaKafkaClusterArray and GetKafkaClientQuotaKafkaClusterArrayOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaKafkaClusterArrayInput` via: -// -// GetKafkaClientQuotaKafkaClusterArray{ GetKafkaClientQuotaKafkaClusterArgs{...} } -type GetKafkaClientQuotaKafkaClusterArrayInput interface { - pulumi.Input - - ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput - ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput +func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { + return i.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) } -type GetKafkaClientQuotaKafkaClusterArray []GetKafkaClientQuotaKafkaClusterInput - -func (GetKafkaClientQuotaKafkaClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +func (i SchemaRegistryClusterRegionArgs) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionOutput).ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx) } -func (i GetKafkaClientQuotaKafkaClusterArray) ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput { - return i.ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(context.Background()) -} +// SchemaRegistryClusterRegionPtrInput is an input type that accepts SchemaRegistryClusterRegionArgs, SchemaRegistryClusterRegionPtr and SchemaRegistryClusterRegionPtrOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterRegionPtrInput` via: +// +// SchemaRegistryClusterRegionArgs{...} +// +// or: +// +// nil +type SchemaRegistryClusterRegionPtrInput interface { + pulumi.Input -func (i GetKafkaClientQuotaKafkaClusterArray) ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaKafkaClusterArrayOutput) + ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput + ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Context) SchemaRegistryClusterRegionPtrOutput } -type GetKafkaClientQuotaKafkaClusterOutput struct{ *pulumi.OutputState } +type schemaRegistryClusterRegionPtrType SchemaRegistryClusterRegionArgs -func (GetKafkaClientQuotaKafkaClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +func SchemaRegistryClusterRegionPtr(v *SchemaRegistryClusterRegionArgs) SchemaRegistryClusterRegionPtrInput { + return (*schemaRegistryClusterRegionPtrType)(v) } -func (o GetKafkaClientQuotaKafkaClusterOutput) ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput { - return o +func (*schemaRegistryClusterRegionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterRegion)(nil)).Elem() } -func (o GetKafkaClientQuotaKafkaClusterOutput) ToGetKafkaClientQuotaKafkaClusterOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterOutput { - return o +func (i *schemaRegistryClusterRegionPtrType) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { + return i.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) } -// The ID of the Kafka Client Quota (for example, `cq-abc123`). -func (o GetKafkaClientQuotaKafkaClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClientQuotaKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +func (i *schemaRegistryClusterRegionPtrType) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterRegionPtrOutput) } -type GetKafkaClientQuotaKafkaClusterArrayOutput struct{ *pulumi.OutputState } +type SchemaRegistryClusterRegionOutput struct{ *pulumi.OutputState } -func (GetKafkaClientQuotaKafkaClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +func (SchemaRegistryClusterRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaRegistryClusterRegion)(nil)).Elem() } -func (o GetKafkaClientQuotaKafkaClusterArrayOutput) ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput { +func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionOutput() SchemaRegistryClusterRegionOutput { return o } -func (o GetKafkaClientQuotaKafkaClusterArrayOutput) ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput { +func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionOutput { return o } -func (o GetKafkaClientQuotaKafkaClusterArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaKafkaClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaKafkaCluster { - return vs[0].([]GetKafkaClientQuotaKafkaCluster)[vs[1].(int)] - }).(GetKafkaClientQuotaKafkaClusterOutput) +func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { + return o.ToSchemaRegistryClusterRegionPtrOutputWithContext(context.Background()) } -type GetKafkaClientQuotaThroughput struct { - // (Required String) The egress throughput limit in bytes per second. - EgressByteRate string `pulumi:"egressByteRate"` - // (Required String) The ingress throughput limit in bytes per second. - IngressByteRate string `pulumi:"ingressByteRate"` +func (o SchemaRegistryClusterRegionOutput) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaRegistryClusterRegion) *SchemaRegistryClusterRegion { + return &v + }).(SchemaRegistryClusterRegionPtrOutput) } -// GetKafkaClientQuotaThroughputInput is an input type that accepts GetKafkaClientQuotaThroughputArgs and GetKafkaClientQuotaThroughputOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaThroughputInput` via: +// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. +func (o SchemaRegistryClusterRegionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SchemaRegistryClusterRegion) string { return v.Id }).(pulumi.StringOutput) +} + +type SchemaRegistryClusterRegionPtrOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterRegionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterRegion)(nil)).Elem() +} + +func (o SchemaRegistryClusterRegionPtrOutput) ToSchemaRegistryClusterRegionPtrOutput() SchemaRegistryClusterRegionPtrOutput { + return o +} + +func (o SchemaRegistryClusterRegionPtrOutput) ToSchemaRegistryClusterRegionPtrOutputWithContext(ctx context.Context) SchemaRegistryClusterRegionPtrOutput { + return o +} + +func (o SchemaRegistryClusterRegionPtrOutput) Elem() SchemaRegistryClusterRegionOutput { + return o.ApplyT(func(v *SchemaRegistryClusterRegion) SchemaRegistryClusterRegion { + if v != nil { + return *v + } + var ret SchemaRegistryClusterRegion + return ret + }).(SchemaRegistryClusterRegionOutput) +} + +// The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. +func (o SchemaRegistryClusterRegionPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterRegion) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type SchemaSchemaReference struct { + // The name of the subject, representing the subject under which the referenced schema is registered. + Name string `pulumi:"name"` + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName string `pulumi:"subjectName"` + // The version, representing the exact version of the schema under the registered subject. + Version int `pulumi:"version"` +} + +// SchemaSchemaReferenceInput is an input type that accepts SchemaSchemaReferenceArgs and SchemaSchemaReferenceOutput values. +// You can construct a concrete instance of `SchemaSchemaReferenceInput` via: // -// GetKafkaClientQuotaThroughputArgs{...} -type GetKafkaClientQuotaThroughputInput interface { +// SchemaSchemaReferenceArgs{...} +type SchemaSchemaReferenceInput interface { pulumi.Input - ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput - ToGetKafkaClientQuotaThroughputOutputWithContext(context.Context) GetKafkaClientQuotaThroughputOutput + ToSchemaSchemaReferenceOutput() SchemaSchemaReferenceOutput + ToSchemaSchemaReferenceOutputWithContext(context.Context) SchemaSchemaReferenceOutput } -type GetKafkaClientQuotaThroughputArgs struct { - // (Required String) The egress throughput limit in bytes per second. - EgressByteRate pulumi.StringInput `pulumi:"egressByteRate"` - // (Required String) The ingress throughput limit in bytes per second. - IngressByteRate pulumi.StringInput `pulumi:"ingressByteRate"` +type SchemaSchemaReferenceArgs struct { + // The name of the subject, representing the subject under which the referenced schema is registered. + Name pulumi.StringInput `pulumi:"name"` + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName pulumi.StringInput `pulumi:"subjectName"` + // The version, representing the exact version of the schema under the registered subject. + Version pulumi.IntInput `pulumi:"version"` } -func (GetKafkaClientQuotaThroughputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaThroughput)(nil)).Elem() +func (SchemaSchemaReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaSchemaReference)(nil)).Elem() } -func (i GetKafkaClientQuotaThroughputArgs) ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput { - return i.ToGetKafkaClientQuotaThroughputOutputWithContext(context.Background()) +func (i SchemaSchemaReferenceArgs) ToSchemaSchemaReferenceOutput() SchemaSchemaReferenceOutput { + return i.ToSchemaSchemaReferenceOutputWithContext(context.Background()) } -func (i GetKafkaClientQuotaThroughputArgs) ToGetKafkaClientQuotaThroughputOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaThroughputOutput) +func (i SchemaSchemaReferenceArgs) ToSchemaSchemaReferenceOutputWithContext(ctx context.Context) SchemaSchemaReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaSchemaReferenceOutput) } -// GetKafkaClientQuotaThroughputArrayInput is an input type that accepts GetKafkaClientQuotaThroughputArray and GetKafkaClientQuotaThroughputArrayOutput values. -// You can construct a concrete instance of `GetKafkaClientQuotaThroughputArrayInput` via: +// SchemaSchemaReferenceArrayInput is an input type that accepts SchemaSchemaReferenceArray and SchemaSchemaReferenceArrayOutput values. +// You can construct a concrete instance of `SchemaSchemaReferenceArrayInput` via: // -// GetKafkaClientQuotaThroughputArray{ GetKafkaClientQuotaThroughputArgs{...} } -type GetKafkaClientQuotaThroughputArrayInput interface { +// SchemaSchemaReferenceArray{ SchemaSchemaReferenceArgs{...} } +type SchemaSchemaReferenceArrayInput interface { pulumi.Input - ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput - ToGetKafkaClientQuotaThroughputArrayOutputWithContext(context.Context) GetKafkaClientQuotaThroughputArrayOutput + ToSchemaSchemaReferenceArrayOutput() SchemaSchemaReferenceArrayOutput + ToSchemaSchemaReferenceArrayOutputWithContext(context.Context) SchemaSchemaReferenceArrayOutput } -type GetKafkaClientQuotaThroughputArray []GetKafkaClientQuotaThroughputInput +type SchemaSchemaReferenceArray []SchemaSchemaReferenceInput -func (GetKafkaClientQuotaThroughputArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaThroughput)(nil)).Elem() +func (SchemaSchemaReferenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SchemaSchemaReference)(nil)).Elem() } -func (i GetKafkaClientQuotaThroughputArray) ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput { - return i.ToGetKafkaClientQuotaThroughputArrayOutputWithContext(context.Background()) +func (i SchemaSchemaReferenceArray) ToSchemaSchemaReferenceArrayOutput() SchemaSchemaReferenceArrayOutput { + return i.ToSchemaSchemaReferenceArrayOutputWithContext(context.Background()) } -func (i GetKafkaClientQuotaThroughputArray) ToGetKafkaClientQuotaThroughputArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaThroughputArrayOutput) +func (i SchemaSchemaReferenceArray) ToSchemaSchemaReferenceArrayOutputWithContext(ctx context.Context) SchemaSchemaReferenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaSchemaReferenceArrayOutput) } -type GetKafkaClientQuotaThroughputOutput struct{ *pulumi.OutputState } +type SchemaSchemaReferenceOutput struct{ *pulumi.OutputState } -func (GetKafkaClientQuotaThroughputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClientQuotaThroughput)(nil)).Elem() +func (SchemaSchemaReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaSchemaReference)(nil)).Elem() } -func (o GetKafkaClientQuotaThroughputOutput) ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput { +func (o SchemaSchemaReferenceOutput) ToSchemaSchemaReferenceOutput() SchemaSchemaReferenceOutput { return o } -func (o GetKafkaClientQuotaThroughputOutput) ToGetKafkaClientQuotaThroughputOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputOutput { +func (o SchemaSchemaReferenceOutput) ToSchemaSchemaReferenceOutputWithContext(ctx context.Context) SchemaSchemaReferenceOutput { return o } -// (Required String) The egress throughput limit in bytes per second. -func (o GetKafkaClientQuotaThroughputOutput) EgressByteRate() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClientQuotaThroughput) string { return v.EgressByteRate }).(pulumi.StringOutput) +// The name of the subject, representing the subject under which the referenced schema is registered. +func (o SchemaSchemaReferenceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SchemaSchemaReference) string { return v.Name }).(pulumi.StringOutput) } -// (Required String) The ingress throughput limit in bytes per second. -func (o GetKafkaClientQuotaThroughputOutput) IngressByteRate() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClientQuotaThroughput) string { return v.IngressByteRate }).(pulumi.StringOutput) +// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) +func (o SchemaSchemaReferenceOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v SchemaSchemaReference) string { return v.SubjectName }).(pulumi.StringOutput) } -type GetKafkaClientQuotaThroughputArrayOutput struct{ *pulumi.OutputState } +// The version, representing the exact version of the schema under the registered subject. +func (o SchemaSchemaReferenceOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v SchemaSchemaReference) int { return v.Version }).(pulumi.IntOutput) +} -func (GetKafkaClientQuotaThroughputArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClientQuotaThroughput)(nil)).Elem() +type SchemaSchemaReferenceArrayOutput struct{ *pulumi.OutputState } + +func (SchemaSchemaReferenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SchemaSchemaReference)(nil)).Elem() } -func (o GetKafkaClientQuotaThroughputArrayOutput) ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput { +func (o SchemaSchemaReferenceArrayOutput) ToSchemaSchemaReferenceArrayOutput() SchemaSchemaReferenceArrayOutput { return o } -func (o GetKafkaClientQuotaThroughputArrayOutput) ToGetKafkaClientQuotaThroughputArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputArrayOutput { +func (o SchemaSchemaReferenceArrayOutput) ToSchemaSchemaReferenceArrayOutputWithContext(ctx context.Context) SchemaSchemaReferenceArrayOutput { return o } -func (o GetKafkaClientQuotaThroughputArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaThroughputOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaThroughput { - return vs[0].([]GetKafkaClientQuotaThroughput)[vs[1].(int)] - }).(GetKafkaClientQuotaThroughputOutput) +func (o SchemaSchemaReferenceArrayOutput) Index(i pulumi.IntInput) SchemaSchemaReferenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchemaSchemaReference { + return vs[0].([]SchemaSchemaReference)[vs[1].(int)] + }).(SchemaSchemaReferenceOutput) } -type GetKafkaClusterBasic struct { +type SchemaSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` } -// GetKafkaClusterBasicInput is an input type that accepts GetKafkaClusterBasicArgs and GetKafkaClusterBasicOutput values. -// You can construct a concrete instance of `GetKafkaClusterBasicInput` via: +// SchemaSchemaRegistryClusterInput is an input type that accepts SchemaSchemaRegistryClusterArgs and SchemaSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `SchemaSchemaRegistryClusterInput` via: // -// GetKafkaClusterBasicArgs{...} -type GetKafkaClusterBasicInput interface { +// SchemaSchemaRegistryClusterArgs{...} +type SchemaSchemaRegistryClusterInput interface { pulumi.Input - ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput - ToGetKafkaClusterBasicOutputWithContext(context.Context) GetKafkaClusterBasicOutput + ToSchemaSchemaRegistryClusterOutput() SchemaSchemaRegistryClusterOutput + ToSchemaSchemaRegistryClusterOutputWithContext(context.Context) SchemaSchemaRegistryClusterOutput } -type GetKafkaClusterBasicArgs struct { +type SchemaSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -func (GetKafkaClusterBasicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterBasic)(nil)).Elem() +func (SchemaSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClusterBasicArgs) ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput { - return i.ToGetKafkaClusterBasicOutputWithContext(context.Background()) +func (i SchemaSchemaRegistryClusterArgs) ToSchemaSchemaRegistryClusterOutput() SchemaSchemaRegistryClusterOutput { + return i.ToSchemaSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetKafkaClusterBasicArgs) ToGetKafkaClusterBasicOutputWithContext(ctx context.Context) GetKafkaClusterBasicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterBasicOutput) +func (i SchemaSchemaRegistryClusterArgs) ToSchemaSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaSchemaRegistryClusterOutput) } -// GetKafkaClusterBasicArrayInput is an input type that accepts GetKafkaClusterBasicArray and GetKafkaClusterBasicArrayOutput values. -// You can construct a concrete instance of `GetKafkaClusterBasicArrayInput` via: +func (i SchemaSchemaRegistryClusterArgs) ToSchemaSchemaRegistryClusterPtrOutput() SchemaSchemaRegistryClusterPtrOutput { + return i.ToSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} + +func (i SchemaSchemaRegistryClusterArgs) ToSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaSchemaRegistryClusterOutput).ToSchemaSchemaRegistryClusterPtrOutputWithContext(ctx) +} + +// SchemaSchemaRegistryClusterPtrInput is an input type that accepts SchemaSchemaRegistryClusterArgs, SchemaSchemaRegistryClusterPtr and SchemaSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `SchemaSchemaRegistryClusterPtrInput` via: // -// GetKafkaClusterBasicArray{ GetKafkaClusterBasicArgs{...} } -type GetKafkaClusterBasicArrayInput interface { +// SchemaSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type SchemaSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput - ToGetKafkaClusterBasicArrayOutputWithContext(context.Context) GetKafkaClusterBasicArrayOutput + ToSchemaSchemaRegistryClusterPtrOutput() SchemaSchemaRegistryClusterPtrOutput + ToSchemaSchemaRegistryClusterPtrOutputWithContext(context.Context) SchemaSchemaRegistryClusterPtrOutput } -type GetKafkaClusterBasicArray []GetKafkaClusterBasicInput +type schemaSchemaRegistryClusterPtrType SchemaSchemaRegistryClusterArgs -func (GetKafkaClusterBasicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterBasic)(nil)).Elem() +func SchemaSchemaRegistryClusterPtr(v *SchemaSchemaRegistryClusterArgs) SchemaSchemaRegistryClusterPtrInput { + return (*schemaSchemaRegistryClusterPtrType)(v) } -func (i GetKafkaClusterBasicArray) ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput { - return i.ToGetKafkaClusterBasicArrayOutputWithContext(context.Background()) +func (*schemaSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClusterBasicArray) ToGetKafkaClusterBasicArrayOutputWithContext(ctx context.Context) GetKafkaClusterBasicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterBasicArrayOutput) +func (i *schemaSchemaRegistryClusterPtrType) ToSchemaSchemaRegistryClusterPtrOutput() SchemaSchemaRegistryClusterPtrOutput { + return i.ToSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetKafkaClusterBasicOutput struct{ *pulumi.OutputState } +func (i *schemaSchemaRegistryClusterPtrType) ToSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaSchemaRegistryClusterPtrOutput) +} -func (GetKafkaClusterBasicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterBasic)(nil)).Elem() +type SchemaSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (SchemaSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SchemaSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaClusterBasicOutput) ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput { +func (o SchemaSchemaRegistryClusterOutput) ToSchemaSchemaRegistryClusterOutput() SchemaSchemaRegistryClusterOutput { return o } -func (o GetKafkaClusterBasicOutput) ToGetKafkaClusterBasicOutputWithContext(ctx context.Context) GetKafkaClusterBasicOutput { +func (o SchemaSchemaRegistryClusterOutput) ToSchemaSchemaRegistryClusterOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterOutput { return o } -type GetKafkaClusterBasicArrayOutput struct{ *pulumi.OutputState } +func (o SchemaSchemaRegistryClusterOutput) ToSchemaSchemaRegistryClusterPtrOutput() SchemaSchemaRegistryClusterPtrOutput { + return o.ToSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} -func (GetKafkaClusterBasicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterBasic)(nil)).Elem() +func (o SchemaSchemaRegistryClusterOutput) ToSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SchemaSchemaRegistryCluster) *SchemaSchemaRegistryCluster { + return &v + }).(SchemaSchemaRegistryClusterPtrOutput) } -func (o GetKafkaClusterBasicArrayOutput) ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput { +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SchemaSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) +} + +type SchemaSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (SchemaSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaSchemaRegistryCluster)(nil)).Elem() +} + +func (o SchemaSchemaRegistryClusterPtrOutput) ToSchemaSchemaRegistryClusterPtrOutput() SchemaSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClusterBasicArrayOutput) ToGetKafkaClusterBasicArrayOutputWithContext(ctx context.Context) GetKafkaClusterBasicArrayOutput { +func (o SchemaSchemaRegistryClusterPtrOutput) ToSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SchemaSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClusterBasicArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterBasicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterBasic { - return vs[0].([]GetKafkaClusterBasic)[vs[1].(int)] - }).(GetKafkaClusterBasicOutput) +func (o SchemaSchemaRegistryClusterPtrOutput) Elem() SchemaSchemaRegistryClusterOutput { + return o.ApplyT(func(v *SchemaSchemaRegistryCluster) SchemaSchemaRegistryCluster { + if v != nil { + return *v + } + var ret SchemaSchemaRegistryCluster + return ret + }).(SchemaSchemaRegistryClusterOutput) } -type GetKafkaClusterDedicated struct { - // (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. - Cku int `pulumi:"cku"` - // (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. - EncryptionKey string `pulumi:"encryptionKey"` +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SchemaSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// GetKafkaClusterDedicatedInput is an input type that accepts GetKafkaClusterDedicatedArgs and GetKafkaClusterDedicatedOutput values. -// You can construct a concrete instance of `GetKafkaClusterDedicatedInput` via: +type SubjectConfigCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` +} + +// SubjectConfigCredentialsInput is an input type that accepts SubjectConfigCredentialsArgs and SubjectConfigCredentialsOutput values. +// You can construct a concrete instance of `SubjectConfigCredentialsInput` via: // -// GetKafkaClusterDedicatedArgs{...} -type GetKafkaClusterDedicatedInput interface { +// SubjectConfigCredentialsArgs{...} +type SubjectConfigCredentialsInput interface { pulumi.Input - ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput - ToGetKafkaClusterDedicatedOutputWithContext(context.Context) GetKafkaClusterDedicatedOutput + ToSubjectConfigCredentialsOutput() SubjectConfigCredentialsOutput + ToSubjectConfigCredentialsOutputWithContext(context.Context) SubjectConfigCredentialsOutput } -type GetKafkaClusterDedicatedArgs struct { - // (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. - Cku pulumi.IntInput `pulumi:"cku"` - // (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. - EncryptionKey pulumi.StringInput `pulumi:"encryptionKey"` +type SubjectConfigCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetKafkaClusterDedicatedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterDedicated)(nil)).Elem() +func (SubjectConfigCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectConfigCredentials)(nil)).Elem() } -func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput { - return i.ToGetKafkaClusterDedicatedOutputWithContext(context.Background()) +func (i SubjectConfigCredentialsArgs) ToSubjectConfigCredentialsOutput() SubjectConfigCredentialsOutput { + return i.ToSubjectConfigCredentialsOutputWithContext(context.Background()) } -func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedOutput) +func (i SubjectConfigCredentialsArgs) ToSubjectConfigCredentialsOutputWithContext(ctx context.Context) SubjectConfigCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigCredentialsOutput) } -func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { - return i.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +func (i SubjectConfigCredentialsArgs) ToSubjectConfigCredentialsPtrOutput() SubjectConfigCredentialsPtrOutput { + return i.ToSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedOutput).ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx) +func (i SubjectConfigCredentialsArgs) ToSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) SubjectConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigCredentialsOutput).ToSubjectConfigCredentialsPtrOutputWithContext(ctx) } -// GetKafkaClusterDedicatedPtrInput is an input type that accepts GetKafkaClusterDedicatedArgs, GetKafkaClusterDedicatedPtr and GetKafkaClusterDedicatedPtrOutput values. -// You can construct a concrete instance of `GetKafkaClusterDedicatedPtrInput` via: +// SubjectConfigCredentialsPtrInput is an input type that accepts SubjectConfigCredentialsArgs, SubjectConfigCredentialsPtr and SubjectConfigCredentialsPtrOutput values. +// You can construct a concrete instance of `SubjectConfigCredentialsPtrInput` via: // -// GetKafkaClusterDedicatedArgs{...} +// SubjectConfigCredentialsArgs{...} // // or: // // nil -type GetKafkaClusterDedicatedPtrInput interface { +type SubjectConfigCredentialsPtrInput interface { pulumi.Input - ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput - ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Context) GetKafkaClusterDedicatedPtrOutput + ToSubjectConfigCredentialsPtrOutput() SubjectConfigCredentialsPtrOutput + ToSubjectConfigCredentialsPtrOutputWithContext(context.Context) SubjectConfigCredentialsPtrOutput } -type getKafkaClusterDedicatedPtrType GetKafkaClusterDedicatedArgs +type subjectConfigCredentialsPtrType SubjectConfigCredentialsArgs -func GetKafkaClusterDedicatedPtr(v *GetKafkaClusterDedicatedArgs) GetKafkaClusterDedicatedPtrInput { - return (*getKafkaClusterDedicatedPtrType)(v) +func SubjectConfigCredentialsPtr(v *SubjectConfigCredentialsArgs) SubjectConfigCredentialsPtrInput { + return (*subjectConfigCredentialsPtrType)(v) } -func (*getKafkaClusterDedicatedPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetKafkaClusterDedicated)(nil)).Elem() +func (*subjectConfigCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfigCredentials)(nil)).Elem() } -func (i *getKafkaClusterDedicatedPtrType) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { - return i.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +func (i *subjectConfigCredentialsPtrType) ToSubjectConfigCredentialsPtrOutput() SubjectConfigCredentialsPtrOutput { + return i.ToSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -func (i *getKafkaClusterDedicatedPtrType) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedPtrOutput) +func (i *subjectConfigCredentialsPtrType) ToSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) SubjectConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigCredentialsPtrOutput) } -type GetKafkaClusterDedicatedOutput struct{ *pulumi.OutputState } +type SubjectConfigCredentialsOutput struct{ *pulumi.OutputState } -func (GetKafkaClusterDedicatedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterDedicated)(nil)).Elem() +func (SubjectConfigCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectConfigCredentials)(nil)).Elem() } -func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput { +func (o SubjectConfigCredentialsOutput) ToSubjectConfigCredentialsOutput() SubjectConfigCredentialsOutput { return o } -func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedOutput { +func (o SubjectConfigCredentialsOutput) ToSubjectConfigCredentialsOutputWithContext(ctx context.Context) SubjectConfigCredentialsOutput { return o } -func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { - return o.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +func (o SubjectConfigCredentialsOutput) ToSubjectConfigCredentialsPtrOutput() SubjectConfigCredentialsPtrOutput { + return o.ToSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKafkaClusterDedicated) *GetKafkaClusterDedicated { +func (o SubjectConfigCredentialsOutput) ToSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) SubjectConfigCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubjectConfigCredentials) *SubjectConfigCredentials { return &v - }).(GetKafkaClusterDedicatedPtrOutput) + }).(SubjectConfigCredentialsPtrOutput) } -// (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. -func (o GetKafkaClusterDedicatedOutput) Cku() pulumi.IntOutput { - return o.ApplyT(func(v GetKafkaClusterDedicated) int { return v.Cku }).(pulumi.IntOutput) +// The Schema Registry API Key. +func (o SubjectConfigCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SubjectConfigCredentials) string { return v.Key }).(pulumi.StringOutput) } -// (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. -func (o GetKafkaClusterDedicatedOutput) EncryptionKey() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClusterDedicated) string { return v.EncryptionKey }).(pulumi.StringOutput) +// The Schema Registry API Secret. +func (o SubjectConfigCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v SubjectConfigCredentials) string { return v.Secret }).(pulumi.StringOutput) } -type GetKafkaClusterDedicatedPtrOutput struct{ *pulumi.OutputState } +type SubjectConfigCredentialsPtrOutput struct{ *pulumi.OutputState } -func (GetKafkaClusterDedicatedPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetKafkaClusterDedicated)(nil)).Elem() +func (SubjectConfigCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfigCredentials)(nil)).Elem() } -func (o GetKafkaClusterDedicatedPtrOutput) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { +func (o SubjectConfigCredentialsPtrOutput) ToSubjectConfigCredentialsPtrOutput() SubjectConfigCredentialsPtrOutput { return o } -func (o GetKafkaClusterDedicatedPtrOutput) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { +func (o SubjectConfigCredentialsPtrOutput) ToSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) SubjectConfigCredentialsPtrOutput { return o } -func (o GetKafkaClusterDedicatedPtrOutput) Elem() GetKafkaClusterDedicatedOutput { - return o.ApplyT(func(v *GetKafkaClusterDedicated) GetKafkaClusterDedicated { +func (o SubjectConfigCredentialsPtrOutput) Elem() SubjectConfigCredentialsOutput { + return o.ApplyT(func(v *SubjectConfigCredentials) SubjectConfigCredentials { if v != nil { return *v } - var ret GetKafkaClusterDedicated + var ret SubjectConfigCredentials return ret - }).(GetKafkaClusterDedicatedOutput) + }).(SubjectConfigCredentialsOutput) } -// (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. -func (o GetKafkaClusterDedicatedPtrOutput) Cku() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetKafkaClusterDedicated) *int { +// The Schema Registry API Key. +func (o SubjectConfigCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectConfigCredentials) *string { if v == nil { return nil } - return &v.Cku - }).(pulumi.IntPtrOutput) + return &v.Key + }).(pulumi.StringPtrOutput) } -// (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. -func (o GetKafkaClusterDedicatedPtrOutput) EncryptionKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetKafkaClusterDedicated) *string { +// The Schema Registry API Secret. +func (o SubjectConfigCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectConfigCredentials) *string { if v == nil { return nil } - return &v.EncryptionKey + return &v.Secret }).(pulumi.StringPtrOutput) } -type GetKafkaClusterEnvironment struct { - // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. +type SubjectConfigSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id string `pulumi:"id"` } -// GetKafkaClusterEnvironmentInput is an input type that accepts GetKafkaClusterEnvironmentArgs and GetKafkaClusterEnvironmentOutput values. -// You can construct a concrete instance of `GetKafkaClusterEnvironmentInput` via: +// SubjectConfigSchemaRegistryClusterInput is an input type that accepts SubjectConfigSchemaRegistryClusterArgs and SubjectConfigSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `SubjectConfigSchemaRegistryClusterInput` via: // -// GetKafkaClusterEnvironmentArgs{...} -type GetKafkaClusterEnvironmentInput interface { +// SubjectConfigSchemaRegistryClusterArgs{...} +type SubjectConfigSchemaRegistryClusterInput interface { pulumi.Input - ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput - ToGetKafkaClusterEnvironmentOutputWithContext(context.Context) GetKafkaClusterEnvironmentOutput + ToSubjectConfigSchemaRegistryClusterOutput() SubjectConfigSchemaRegistryClusterOutput + ToSubjectConfigSchemaRegistryClusterOutputWithContext(context.Context) SubjectConfigSchemaRegistryClusterOutput } -type GetKafkaClusterEnvironmentArgs struct { - // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. +type SubjectConfigSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id pulumi.StringInput `pulumi:"id"` } -func (GetKafkaClusterEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterEnvironment)(nil)).Elem() -} - -func (i GetKafkaClusterEnvironmentArgs) ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput { - return i.ToGetKafkaClusterEnvironmentOutputWithContext(context.Background()) -} - -func (i GetKafkaClusterEnvironmentArgs) ToGetKafkaClusterEnvironmentOutputWithContext(ctx context.Context) GetKafkaClusterEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterEnvironmentOutput) -} - -type GetKafkaClusterEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetKafkaClusterEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterEnvironment)(nil)).Elem() +func (SubjectConfigSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaClusterEnvironmentOutput) ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput { - return o +func (i SubjectConfigSchemaRegistryClusterArgs) ToSubjectConfigSchemaRegistryClusterOutput() SubjectConfigSchemaRegistryClusterOutput { + return i.ToSubjectConfigSchemaRegistryClusterOutputWithContext(context.Background()) } -func (o GetKafkaClusterEnvironmentOutput) ToGetKafkaClusterEnvironmentOutputWithContext(ctx context.Context) GetKafkaClusterEnvironmentOutput { - return o +func (i SubjectConfigSchemaRegistryClusterArgs) ToSubjectConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigSchemaRegistryClusterOutput) } -// The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. -func (o GetKafkaClusterEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +func (i SubjectConfigSchemaRegistryClusterArgs) ToSubjectConfigSchemaRegistryClusterPtrOutput() SubjectConfigSchemaRegistryClusterPtrOutput { + return i.ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetKafkaClusterNetwork struct { - // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +func (i SubjectConfigSchemaRegistryClusterArgs) ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigSchemaRegistryClusterOutput).ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx) } -// GetKafkaClusterNetworkInput is an input type that accepts GetKafkaClusterNetworkArgs and GetKafkaClusterNetworkOutput values. -// You can construct a concrete instance of `GetKafkaClusterNetworkInput` via: +// SubjectConfigSchemaRegistryClusterPtrInput is an input type that accepts SubjectConfigSchemaRegistryClusterArgs, SubjectConfigSchemaRegistryClusterPtr and SubjectConfigSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `SubjectConfigSchemaRegistryClusterPtrInput` via: // -// GetKafkaClusterNetworkArgs{...} -type GetKafkaClusterNetworkInput interface { +// SubjectConfigSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type SubjectConfigSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput - ToGetKafkaClusterNetworkOutputWithContext(context.Context) GetKafkaClusterNetworkOutput + ToSubjectConfigSchemaRegistryClusterPtrOutput() SubjectConfigSchemaRegistryClusterPtrOutput + ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Context) SubjectConfigSchemaRegistryClusterPtrOutput } -type GetKafkaClusterNetworkArgs struct { - // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` -} +type subjectConfigSchemaRegistryClusterPtrType SubjectConfigSchemaRegistryClusterArgs -func (GetKafkaClusterNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterNetwork)(nil)).Elem() +func SubjectConfigSchemaRegistryClusterPtr(v *SubjectConfigSchemaRegistryClusterArgs) SubjectConfigSchemaRegistryClusterPtrInput { + return (*subjectConfigSchemaRegistryClusterPtrType)(v) } -func (i GetKafkaClusterNetworkArgs) ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput { - return i.ToGetKafkaClusterNetworkOutputWithContext(context.Background()) +func (*subjectConfigSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClusterNetworkArgs) ToGetKafkaClusterNetworkOutputWithContext(ctx context.Context) GetKafkaClusterNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterNetworkOutput) +func (i *subjectConfigSchemaRegistryClusterPtrType) ToSubjectConfigSchemaRegistryClusterPtrOutput() SubjectConfigSchemaRegistryClusterPtrOutput { + return i.ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -// GetKafkaClusterNetworkArrayInput is an input type that accepts GetKafkaClusterNetworkArray and GetKafkaClusterNetworkArrayOutput values. -// You can construct a concrete instance of `GetKafkaClusterNetworkArrayInput` via: -// -// GetKafkaClusterNetworkArray{ GetKafkaClusterNetworkArgs{...} } -type GetKafkaClusterNetworkArrayInput interface { - pulumi.Input - - ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput - ToGetKafkaClusterNetworkArrayOutputWithContext(context.Context) GetKafkaClusterNetworkArrayOutput +func (i *subjectConfigSchemaRegistryClusterPtrType) ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigSchemaRegistryClusterPtrOutput) } -type GetKafkaClusterNetworkArray []GetKafkaClusterNetworkInput - -func (GetKafkaClusterNetworkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterNetwork)(nil)).Elem() -} +type SubjectConfigSchemaRegistryClusterOutput struct{ *pulumi.OutputState } -func (i GetKafkaClusterNetworkArray) ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput { - return i.ToGetKafkaClusterNetworkArrayOutputWithContext(context.Background()) +func (SubjectConfigSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaClusterNetworkArray) ToGetKafkaClusterNetworkArrayOutputWithContext(ctx context.Context) GetKafkaClusterNetworkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterNetworkArrayOutput) +func (o SubjectConfigSchemaRegistryClusterOutput) ToSubjectConfigSchemaRegistryClusterOutput() SubjectConfigSchemaRegistryClusterOutput { + return o } -type GetKafkaClusterNetworkOutput struct{ *pulumi.OutputState } - -func (GetKafkaClusterNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterNetwork)(nil)).Elem() +func (o SubjectConfigSchemaRegistryClusterOutput) ToSubjectConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterOutput { + return o } -func (o GetKafkaClusterNetworkOutput) ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput { - return o +func (o SubjectConfigSchemaRegistryClusterOutput) ToSubjectConfigSchemaRegistryClusterPtrOutput() SubjectConfigSchemaRegistryClusterPtrOutput { + return o.ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (o GetKafkaClusterNetworkOutput) ToGetKafkaClusterNetworkOutputWithContext(ctx context.Context) GetKafkaClusterNetworkOutput { - return o +func (o SubjectConfigSchemaRegistryClusterOutput) ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubjectConfigSchemaRegistryCluster) *SubjectConfigSchemaRegistryCluster { + return &v + }).(SubjectConfigSchemaRegistryClusterPtrOutput) } -// The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. -func (o GetKafkaClusterNetworkOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaClusterNetwork) string { return v.Id }).(pulumi.StringOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SubjectConfigSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SubjectConfigSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -type GetKafkaClusterNetworkArrayOutput struct{ *pulumi.OutputState } +type SubjectConfigSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } -func (GetKafkaClusterNetworkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterNetwork)(nil)).Elem() +func (SubjectConfigSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaClusterNetworkArrayOutput) ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput { +func (o SubjectConfigSchemaRegistryClusterPtrOutput) ToSubjectConfigSchemaRegistryClusterPtrOutput() SubjectConfigSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClusterNetworkArrayOutput) ToGetKafkaClusterNetworkArrayOutputWithContext(ctx context.Context) GetKafkaClusterNetworkArrayOutput { +func (o SubjectConfigSchemaRegistryClusterPtrOutput) ToSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectConfigSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaClusterNetworkArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterNetworkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterNetwork { - return vs[0].([]GetKafkaClusterNetwork)[vs[1].(int)] - }).(GetKafkaClusterNetworkOutput) +func (o SubjectConfigSchemaRegistryClusterPtrOutput) Elem() SubjectConfigSchemaRegistryClusterOutput { + return o.ApplyT(func(v *SubjectConfigSchemaRegistryCluster) SubjectConfigSchemaRegistryCluster { + if v != nil { + return *v + } + var ret SubjectConfigSchemaRegistryCluster + return ret + }).(SubjectConfigSchemaRegistryClusterOutput) } -type GetKafkaClusterStandard struct { +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SubjectConfigSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectConfigSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// GetKafkaClusterStandardInput is an input type that accepts GetKafkaClusterStandardArgs and GetKafkaClusterStandardOutput values. -// You can construct a concrete instance of `GetKafkaClusterStandardInput` via: +type SubjectModeCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` +} + +// SubjectModeCredentialsInput is an input type that accepts SubjectModeCredentialsArgs and SubjectModeCredentialsOutput values. +// You can construct a concrete instance of `SubjectModeCredentialsInput` via: // -// GetKafkaClusterStandardArgs{...} -type GetKafkaClusterStandardInput interface { +// SubjectModeCredentialsArgs{...} +type SubjectModeCredentialsInput interface { pulumi.Input - ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput - ToGetKafkaClusterStandardOutputWithContext(context.Context) GetKafkaClusterStandardOutput + ToSubjectModeCredentialsOutput() SubjectModeCredentialsOutput + ToSubjectModeCredentialsOutputWithContext(context.Context) SubjectModeCredentialsOutput } -type GetKafkaClusterStandardArgs struct { +type SubjectModeCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetKafkaClusterStandardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterStandard)(nil)).Elem() +func (SubjectModeCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectModeCredentials)(nil)).Elem() } -func (i GetKafkaClusterStandardArgs) ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput { - return i.ToGetKafkaClusterStandardOutputWithContext(context.Background()) +func (i SubjectModeCredentialsArgs) ToSubjectModeCredentialsOutput() SubjectModeCredentialsOutput { + return i.ToSubjectModeCredentialsOutputWithContext(context.Background()) } -func (i GetKafkaClusterStandardArgs) ToGetKafkaClusterStandardOutputWithContext(ctx context.Context) GetKafkaClusterStandardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterStandardOutput) +func (i SubjectModeCredentialsArgs) ToSubjectModeCredentialsOutputWithContext(ctx context.Context) SubjectModeCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeCredentialsOutput) } -// GetKafkaClusterStandardArrayInput is an input type that accepts GetKafkaClusterStandardArray and GetKafkaClusterStandardArrayOutput values. -// You can construct a concrete instance of `GetKafkaClusterStandardArrayInput` via: +func (i SubjectModeCredentialsArgs) ToSubjectModeCredentialsPtrOutput() SubjectModeCredentialsPtrOutput { + return i.ToSubjectModeCredentialsPtrOutputWithContext(context.Background()) +} + +func (i SubjectModeCredentialsArgs) ToSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) SubjectModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeCredentialsOutput).ToSubjectModeCredentialsPtrOutputWithContext(ctx) +} + +// SubjectModeCredentialsPtrInput is an input type that accepts SubjectModeCredentialsArgs, SubjectModeCredentialsPtr and SubjectModeCredentialsPtrOutput values. +// You can construct a concrete instance of `SubjectModeCredentialsPtrInput` via: // -// GetKafkaClusterStandardArray{ GetKafkaClusterStandardArgs{...} } -type GetKafkaClusterStandardArrayInput interface { +// SubjectModeCredentialsArgs{...} +// +// or: +// +// nil +type SubjectModeCredentialsPtrInput interface { pulumi.Input - ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput - ToGetKafkaClusterStandardArrayOutputWithContext(context.Context) GetKafkaClusterStandardArrayOutput + ToSubjectModeCredentialsPtrOutput() SubjectModeCredentialsPtrOutput + ToSubjectModeCredentialsPtrOutputWithContext(context.Context) SubjectModeCredentialsPtrOutput } -type GetKafkaClusterStandardArray []GetKafkaClusterStandardInput +type subjectModeCredentialsPtrType SubjectModeCredentialsArgs -func (GetKafkaClusterStandardArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterStandard)(nil)).Elem() +func SubjectModeCredentialsPtr(v *SubjectModeCredentialsArgs) SubjectModeCredentialsPtrInput { + return (*subjectModeCredentialsPtrType)(v) } -func (i GetKafkaClusterStandardArray) ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput { - return i.ToGetKafkaClusterStandardArrayOutputWithContext(context.Background()) +func (*subjectModeCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectModeCredentials)(nil)).Elem() } -func (i GetKafkaClusterStandardArray) ToGetKafkaClusterStandardArrayOutputWithContext(ctx context.Context) GetKafkaClusterStandardArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterStandardArrayOutput) +func (i *subjectModeCredentialsPtrType) ToSubjectModeCredentialsPtrOutput() SubjectModeCredentialsPtrOutput { + return i.ToSubjectModeCredentialsPtrOutputWithContext(context.Background()) } -type GetKafkaClusterStandardOutput struct{ *pulumi.OutputState } +func (i *subjectModeCredentialsPtrType) ToSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) SubjectModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeCredentialsPtrOutput) +} -func (GetKafkaClusterStandardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaClusterStandard)(nil)).Elem() +type SubjectModeCredentialsOutput struct{ *pulumi.OutputState } + +func (SubjectModeCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectModeCredentials)(nil)).Elem() } -func (o GetKafkaClusterStandardOutput) ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput { +func (o SubjectModeCredentialsOutput) ToSubjectModeCredentialsOutput() SubjectModeCredentialsOutput { return o } -func (o GetKafkaClusterStandardOutput) ToGetKafkaClusterStandardOutputWithContext(ctx context.Context) GetKafkaClusterStandardOutput { +func (o SubjectModeCredentialsOutput) ToSubjectModeCredentialsOutputWithContext(ctx context.Context) SubjectModeCredentialsOutput { return o } -type GetKafkaClusterStandardArrayOutput struct{ *pulumi.OutputState } +func (o SubjectModeCredentialsOutput) ToSubjectModeCredentialsPtrOutput() SubjectModeCredentialsPtrOutput { + return o.ToSubjectModeCredentialsPtrOutputWithContext(context.Background()) +} -func (GetKafkaClusterStandardArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKafkaClusterStandard)(nil)).Elem() +func (o SubjectModeCredentialsOutput) ToSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) SubjectModeCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubjectModeCredentials) *SubjectModeCredentials { + return &v + }).(SubjectModeCredentialsPtrOutput) } -func (o GetKafkaClusterStandardArrayOutput) ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput { +// The Schema Registry API Key. +func (o SubjectModeCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SubjectModeCredentials) string { return v.Key }).(pulumi.StringOutput) +} + +// The Schema Registry API Secret. +func (o SubjectModeCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v SubjectModeCredentials) string { return v.Secret }).(pulumi.StringOutput) +} + +type SubjectModeCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (SubjectModeCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectModeCredentials)(nil)).Elem() +} + +func (o SubjectModeCredentialsPtrOutput) ToSubjectModeCredentialsPtrOutput() SubjectModeCredentialsPtrOutput { return o } -func (o GetKafkaClusterStandardArrayOutput) ToGetKafkaClusterStandardArrayOutputWithContext(ctx context.Context) GetKafkaClusterStandardArrayOutput { +func (o SubjectModeCredentialsPtrOutput) ToSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) SubjectModeCredentialsPtrOutput { return o } -func (o GetKafkaClusterStandardArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterStandardOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterStandard { - return vs[0].([]GetKafkaClusterStandard)[vs[1].(int)] - }).(GetKafkaClusterStandardOutput) +func (o SubjectModeCredentialsPtrOutput) Elem() SubjectModeCredentialsOutput { + return o.ApplyT(func(v *SubjectModeCredentials) SubjectModeCredentials { + if v != nil { + return *v + } + var ret SubjectModeCredentials + return ret + }).(SubjectModeCredentialsOutput) } -type GetKafkaTopicCredentials struct { - // The Kafka API Key. - Key string `pulumi:"key"` - // The Kafka API Secret. - Secret string `pulumi:"secret"` +// The Schema Registry API Key. +func (o SubjectModeCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectModeCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) } -// GetKafkaTopicCredentialsInput is an input type that accepts GetKafkaTopicCredentialsArgs and GetKafkaTopicCredentialsOutput values. -// You can construct a concrete instance of `GetKafkaTopicCredentialsInput` via: +// The Schema Registry API Secret. +func (o SubjectModeCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectModeCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) +} + +type SubjectModeSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` +} + +// SubjectModeSchemaRegistryClusterInput is an input type that accepts SubjectModeSchemaRegistryClusterArgs and SubjectModeSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `SubjectModeSchemaRegistryClusterInput` via: // -// GetKafkaTopicCredentialsArgs{...} -type GetKafkaTopicCredentialsInput interface { +// SubjectModeSchemaRegistryClusterArgs{...} +type SubjectModeSchemaRegistryClusterInput interface { pulumi.Input - ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput - ToGetKafkaTopicCredentialsOutputWithContext(context.Context) GetKafkaTopicCredentialsOutput + ToSubjectModeSchemaRegistryClusterOutput() SubjectModeSchemaRegistryClusterOutput + ToSubjectModeSchemaRegistryClusterOutputWithContext(context.Context) SubjectModeSchemaRegistryClusterOutput } -type GetKafkaTopicCredentialsArgs struct { - // The Kafka API Key. - Key pulumi.StringInput `pulumi:"key"` - // The Kafka API Secret. - Secret pulumi.StringInput `pulumi:"secret"` +type SubjectModeSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -func (GetKafkaTopicCredentialsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaTopicCredentials)(nil)).Elem() +func (SubjectModeSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput { - return i.ToGetKafkaTopicCredentialsOutputWithContext(context.Background()) +func (i SubjectModeSchemaRegistryClusterArgs) ToSubjectModeSchemaRegistryClusterOutput() SubjectModeSchemaRegistryClusterOutput { + return i.ToSubjectModeSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsOutput) +func (i SubjectModeSchemaRegistryClusterArgs) ToSubjectModeSchemaRegistryClusterOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeSchemaRegistryClusterOutput) } -func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { - return i.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +func (i SubjectModeSchemaRegistryClusterArgs) ToSubjectModeSchemaRegistryClusterPtrOutput() SubjectModeSchemaRegistryClusterPtrOutput { + return i.ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsOutput).ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx) +func (i SubjectModeSchemaRegistryClusterArgs) ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeSchemaRegistryClusterOutput).ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx) } -// GetKafkaTopicCredentialsPtrInput is an input type that accepts GetKafkaTopicCredentialsArgs, GetKafkaTopicCredentialsPtr and GetKafkaTopicCredentialsPtrOutput values. -// You can construct a concrete instance of `GetKafkaTopicCredentialsPtrInput` via: +// SubjectModeSchemaRegistryClusterPtrInput is an input type that accepts SubjectModeSchemaRegistryClusterArgs, SubjectModeSchemaRegistryClusterPtr and SubjectModeSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `SubjectModeSchemaRegistryClusterPtrInput` via: // -// GetKafkaTopicCredentialsArgs{...} +// SubjectModeSchemaRegistryClusterArgs{...} // // or: // // nil -type GetKafkaTopicCredentialsPtrInput interface { +type SubjectModeSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput - ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Context) GetKafkaTopicCredentialsPtrOutput + ToSubjectModeSchemaRegistryClusterPtrOutput() SubjectModeSchemaRegistryClusterPtrOutput + ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Context) SubjectModeSchemaRegistryClusterPtrOutput } -type getKafkaTopicCredentialsPtrType GetKafkaTopicCredentialsArgs +type subjectModeSchemaRegistryClusterPtrType SubjectModeSchemaRegistryClusterArgs -func GetKafkaTopicCredentialsPtr(v *GetKafkaTopicCredentialsArgs) GetKafkaTopicCredentialsPtrInput { - return (*getKafkaTopicCredentialsPtrType)(v) +func SubjectModeSchemaRegistryClusterPtr(v *SubjectModeSchemaRegistryClusterArgs) SubjectModeSchemaRegistryClusterPtrInput { + return (*subjectModeSchemaRegistryClusterPtrType)(v) } -func (*getKafkaTopicCredentialsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetKafkaTopicCredentials)(nil)).Elem() +func (*subjectModeSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (i *getKafkaTopicCredentialsPtrType) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { - return i.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +func (i *subjectModeSchemaRegistryClusterPtrType) ToSubjectModeSchemaRegistryClusterPtrOutput() SubjectModeSchemaRegistryClusterPtrOutput { + return i.ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (i *getKafkaTopicCredentialsPtrType) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsPtrOutput) +func (i *subjectModeSchemaRegistryClusterPtrType) ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeSchemaRegistryClusterPtrOutput) } -type GetKafkaTopicCredentialsOutput struct{ *pulumi.OutputState } +type SubjectModeSchemaRegistryClusterOutput struct{ *pulumi.OutputState } -func (GetKafkaTopicCredentialsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaTopicCredentials)(nil)).Elem() +func (SubjectModeSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput { +func (o SubjectModeSchemaRegistryClusterOutput) ToSubjectModeSchemaRegistryClusterOutput() SubjectModeSchemaRegistryClusterOutput { return o } -func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsOutput { +func (o SubjectModeSchemaRegistryClusterOutput) ToSubjectModeSchemaRegistryClusterOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterOutput { return o } -func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { - return o.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +func (o SubjectModeSchemaRegistryClusterOutput) ToSubjectModeSchemaRegistryClusterPtrOutput() SubjectModeSchemaRegistryClusterPtrOutput { + return o.ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKafkaTopicCredentials) *GetKafkaTopicCredentials { +func (o SubjectModeSchemaRegistryClusterOutput) ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubjectModeSchemaRegistryCluster) *SubjectModeSchemaRegistryCluster { return &v - }).(GetKafkaTopicCredentialsPtrOutput) -} - -// The Kafka API Key. -func (o GetKafkaTopicCredentialsOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaTopicCredentials) string { return v.Key }).(pulumi.StringOutput) + }).(SubjectModeSchemaRegistryClusterPtrOutput) } -// The Kafka API Secret. -func (o GetKafkaTopicCredentialsOutput) Secret() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaTopicCredentials) string { return v.Secret }).(pulumi.StringOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SubjectModeSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v SubjectModeSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -type GetKafkaTopicCredentialsPtrOutput struct{ *pulumi.OutputState } +type SubjectModeSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } -func (GetKafkaTopicCredentialsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetKafkaTopicCredentials)(nil)).Elem() +func (SubjectModeSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (o GetKafkaTopicCredentialsPtrOutput) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { +func (o SubjectModeSchemaRegistryClusterPtrOutput) ToSubjectModeSchemaRegistryClusterPtrOutput() SubjectModeSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaTopicCredentialsPtrOutput) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { +func (o SubjectModeSchemaRegistryClusterPtrOutput) ToSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) SubjectModeSchemaRegistryClusterPtrOutput { return o } -func (o GetKafkaTopicCredentialsPtrOutput) Elem() GetKafkaTopicCredentialsOutput { - return o.ApplyT(func(v *GetKafkaTopicCredentials) GetKafkaTopicCredentials { +func (o SubjectModeSchemaRegistryClusterPtrOutput) Elem() SubjectModeSchemaRegistryClusterOutput { + return o.ApplyT(func(v *SubjectModeSchemaRegistryCluster) SubjectModeSchemaRegistryCluster { if v != nil { return *v } - var ret GetKafkaTopicCredentials + var ret SubjectModeSchemaRegistryCluster return ret - }).(GetKafkaTopicCredentialsOutput) + }).(SubjectModeSchemaRegistryClusterOutput) } -// The Kafka API Key. -func (o GetKafkaTopicCredentialsPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetKafkaTopicCredentials) *string { +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o SubjectModeSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectModeSchemaRegistryCluster) *string { if v == nil { return nil } - return &v.Key + return &v.Id }).(pulumi.StringPtrOutput) } -// The Kafka API Secret. -func (o GetKafkaTopicCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetKafkaTopicCredentials) *string { +type TransitGatewayAttachmentAws struct { + // The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. + RamResourceShareArn string `pulumi:"ramResourceShareArn"` + // List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + Routes []string `pulumi:"routes"` + // (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + TransitGatewayAttachmentId *string `pulumi:"transitGatewayAttachmentId"` + // The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. + TransitGatewayId string `pulumi:"transitGatewayId"` +} + +// TransitGatewayAttachmentAwsInput is an input type that accepts TransitGatewayAttachmentAwsArgs and TransitGatewayAttachmentAwsOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentAwsInput` via: +// +// TransitGatewayAttachmentAwsArgs{...} +type TransitGatewayAttachmentAwsInput interface { + pulumi.Input + + ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput + ToTransitGatewayAttachmentAwsOutputWithContext(context.Context) TransitGatewayAttachmentAwsOutput +} + +type TransitGatewayAttachmentAwsArgs struct { + // The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. + RamResourceShareArn pulumi.StringInput `pulumi:"ramResourceShareArn"` + // List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + Routes pulumi.StringArrayInput `pulumi:"routes"` + // (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + TransitGatewayAttachmentId pulumi.StringPtrInput `pulumi:"transitGatewayAttachmentId"` + // The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. + TransitGatewayId pulumi.StringInput `pulumi:"transitGatewayId"` +} + +func (TransitGatewayAttachmentAwsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentAws)(nil)).Elem() +} + +func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput { + return i.ToTransitGatewayAttachmentAwsOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsOutput) +} + +func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { + return i.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentAwsArgs) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsOutput).ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx) +} + +// TransitGatewayAttachmentAwsPtrInput is an input type that accepts TransitGatewayAttachmentAwsArgs, TransitGatewayAttachmentAwsPtr and TransitGatewayAttachmentAwsPtrOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentAwsPtrInput` via: +// +// TransitGatewayAttachmentAwsArgs{...} +// +// or: +// +// nil +type TransitGatewayAttachmentAwsPtrInput interface { + pulumi.Input + + ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput + ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Context) TransitGatewayAttachmentAwsPtrOutput +} + +type transitGatewayAttachmentAwsPtrType TransitGatewayAttachmentAwsArgs + +func TransitGatewayAttachmentAwsPtr(v *TransitGatewayAttachmentAwsArgs) TransitGatewayAttachmentAwsPtrInput { + return (*transitGatewayAttachmentAwsPtrType)(v) +} + +func (*transitGatewayAttachmentAwsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentAws)(nil)).Elem() +} + +func (i *transitGatewayAttachmentAwsPtrType) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { + return i.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +} + +func (i *transitGatewayAttachmentAwsPtrType) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentAwsPtrOutput) +} + +type TransitGatewayAttachmentAwsOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentAwsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentAws)(nil)).Elem() +} + +func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsOutput() TransitGatewayAttachmentAwsOutput { + return o +} + +func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsOutput { + return o +} + +func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { + return o.ToTransitGatewayAttachmentAwsPtrOutputWithContext(context.Background()) +} + +func (o TransitGatewayAttachmentAwsOutput) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentAws) *TransitGatewayAttachmentAws { + return &v + }).(TransitGatewayAttachmentAwsPtrOutput) +} + +// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. +func (o TransitGatewayAttachmentAwsOutput) RamResourceShareArn() pulumi.StringOutput { + return o.ApplyT(func(v TransitGatewayAttachmentAws) string { return v.RamResourceShareArn }).(pulumi.StringOutput) +} + +// List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. +func (o TransitGatewayAttachmentAwsOutput) Routes() pulumi.StringArrayOutput { + return o.ApplyT(func(v TransitGatewayAttachmentAws) []string { return v.Routes }).(pulumi.StringArrayOutput) +} + +// (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. +func (o TransitGatewayAttachmentAwsOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v TransitGatewayAttachmentAws) *string { return v.TransitGatewayAttachmentId }).(pulumi.StringPtrOutput) +} + +// The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. +func (o TransitGatewayAttachmentAwsOutput) TransitGatewayId() pulumi.StringOutput { + return o.ApplyT(func(v TransitGatewayAttachmentAws) string { return v.TransitGatewayId }).(pulumi.StringOutput) +} + +type TransitGatewayAttachmentAwsPtrOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentAwsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentAws)(nil)).Elem() +} + +func (o TransitGatewayAttachmentAwsPtrOutput) ToTransitGatewayAttachmentAwsPtrOutput() TransitGatewayAttachmentAwsPtrOutput { + return o +} + +func (o TransitGatewayAttachmentAwsPtrOutput) ToTransitGatewayAttachmentAwsPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentAwsPtrOutput { + return o +} + +func (o TransitGatewayAttachmentAwsPtrOutput) Elem() TransitGatewayAttachmentAwsOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentAws) TransitGatewayAttachmentAws { + if v != nil { + return *v + } + var ret TransitGatewayAttachmentAws + return ret + }).(TransitGatewayAttachmentAwsOutput) +} + +// The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. +func (o TransitGatewayAttachmentAwsPtrOutput) RamResourceShareArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { if v == nil { return nil } - return &v.Secret + return &v.RamResourceShareArn }).(pulumi.StringPtrOutput) } -type GetKafkaTopicKafkaCluster struct { - // The ID of the Kafka cluster, for example, `lkc-abc123`. +// List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. +func (o TransitGatewayAttachmentAwsPtrOutput) Routes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentAws) []string { + if v == nil { + return nil + } + return v.Routes + }).(pulumi.StringArrayOutput) +} + +// (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. +func (o TransitGatewayAttachmentAwsPtrOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { + if v == nil { + return nil + } + return v.TransitGatewayAttachmentId + }).(pulumi.StringPtrOutput) +} + +// The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. +func (o TransitGatewayAttachmentAwsPtrOutput) TransitGatewayId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentAws) *string { + if v == nil { + return nil + } + return &v.TransitGatewayId + }).(pulumi.StringPtrOutput) +} + +type TransitGatewayAttachmentEnvironment struct { + // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. Id string `pulumi:"id"` } -// GetKafkaTopicKafkaClusterInput is an input type that accepts GetKafkaTopicKafkaClusterArgs and GetKafkaTopicKafkaClusterOutput values. -// You can construct a concrete instance of `GetKafkaTopicKafkaClusterInput` via: +// TransitGatewayAttachmentEnvironmentInput is an input type that accepts TransitGatewayAttachmentEnvironmentArgs and TransitGatewayAttachmentEnvironmentOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentEnvironmentInput` via: // -// GetKafkaTopicKafkaClusterArgs{...} -type GetKafkaTopicKafkaClusterInput interface { +// TransitGatewayAttachmentEnvironmentArgs{...} +type TransitGatewayAttachmentEnvironmentInput interface { pulumi.Input - ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput - ToGetKafkaTopicKafkaClusterOutputWithContext(context.Context) GetKafkaTopicKafkaClusterOutput + ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput + ToTransitGatewayAttachmentEnvironmentOutputWithContext(context.Context) TransitGatewayAttachmentEnvironmentOutput +} + +type TransitGatewayAttachmentEnvironmentArgs struct { + // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (TransitGatewayAttachmentEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentEnvironment)(nil)).Elem() +} + +func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput { + return i.ToTransitGatewayAttachmentEnvironmentOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentOutput) +} + +func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { + return i.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentEnvironmentArgs) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentOutput).ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx) +} + +// TransitGatewayAttachmentEnvironmentPtrInput is an input type that accepts TransitGatewayAttachmentEnvironmentArgs, TransitGatewayAttachmentEnvironmentPtr and TransitGatewayAttachmentEnvironmentPtrOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentEnvironmentPtrInput` via: +// +// TransitGatewayAttachmentEnvironmentArgs{...} +// +// or: +// +// nil +type TransitGatewayAttachmentEnvironmentPtrInput interface { + pulumi.Input + + ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput + ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Context) TransitGatewayAttachmentEnvironmentPtrOutput } -type GetKafkaTopicKafkaClusterArgs struct { - // The ID of the Kafka cluster, for example, `lkc-abc123`. - Id pulumi.StringInput `pulumi:"id"` +type transitGatewayAttachmentEnvironmentPtrType TransitGatewayAttachmentEnvironmentArgs + +func TransitGatewayAttachmentEnvironmentPtr(v *TransitGatewayAttachmentEnvironmentArgs) TransitGatewayAttachmentEnvironmentPtrInput { + return (*transitGatewayAttachmentEnvironmentPtrType)(v) +} + +func (*transitGatewayAttachmentEnvironmentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentEnvironment)(nil)).Elem() +} + +func (i *transitGatewayAttachmentEnvironmentPtrType) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { + return i.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +} + +func (i *transitGatewayAttachmentEnvironmentPtrType) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentEnvironmentPtrOutput) +} + +type TransitGatewayAttachmentEnvironmentOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentEnvironment)(nil)).Elem() +} + +func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentOutput() TransitGatewayAttachmentEnvironmentOutput { + return o +} + +func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentOutput { + return o +} + +func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { + return o.ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(context.Background()) +} + +func (o TransitGatewayAttachmentEnvironmentOutput) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentEnvironment) *TransitGatewayAttachmentEnvironment { + return &v + }).(TransitGatewayAttachmentEnvironmentPtrOutput) +} + +// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +func (o TransitGatewayAttachmentEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v TransitGatewayAttachmentEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type TransitGatewayAttachmentEnvironmentPtrOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentEnvironmentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentEnvironment)(nil)).Elem() +} + +func (o TransitGatewayAttachmentEnvironmentPtrOutput) ToTransitGatewayAttachmentEnvironmentPtrOutput() TransitGatewayAttachmentEnvironmentPtrOutput { + return o +} + +func (o TransitGatewayAttachmentEnvironmentPtrOutput) ToTransitGatewayAttachmentEnvironmentPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentEnvironmentPtrOutput { + return o +} + +func (o TransitGatewayAttachmentEnvironmentPtrOutput) Elem() TransitGatewayAttachmentEnvironmentOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentEnvironment) TransitGatewayAttachmentEnvironment { + if v != nil { + return *v + } + var ret TransitGatewayAttachmentEnvironment + return ret + }).(TransitGatewayAttachmentEnvironmentOutput) +} + +// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +func (o TransitGatewayAttachmentEnvironmentPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentEnvironment) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type TransitGatewayAttachmentNetwork struct { + // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + Id string `pulumi:"id"` +} + +// TransitGatewayAttachmentNetworkInput is an input type that accepts TransitGatewayAttachmentNetworkArgs and TransitGatewayAttachmentNetworkOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentNetworkInput` via: +// +// TransitGatewayAttachmentNetworkArgs{...} +type TransitGatewayAttachmentNetworkInput interface { + pulumi.Input + + ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput + ToTransitGatewayAttachmentNetworkOutputWithContext(context.Context) TransitGatewayAttachmentNetworkOutput +} + +type TransitGatewayAttachmentNetworkArgs struct { + // The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (TransitGatewayAttachmentNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentNetwork)(nil)).Elem() +} + +func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput { + return i.ToTransitGatewayAttachmentNetworkOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkOutput) +} + +func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { + return i.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +} + +func (i TransitGatewayAttachmentNetworkArgs) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkOutput).ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx) +} + +// TransitGatewayAttachmentNetworkPtrInput is an input type that accepts TransitGatewayAttachmentNetworkArgs, TransitGatewayAttachmentNetworkPtr and TransitGatewayAttachmentNetworkPtrOutput values. +// You can construct a concrete instance of `TransitGatewayAttachmentNetworkPtrInput` via: +// +// TransitGatewayAttachmentNetworkArgs{...} +// +// or: +// +// nil +type TransitGatewayAttachmentNetworkPtrInput interface { + pulumi.Input + + ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput + ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Context) TransitGatewayAttachmentNetworkPtrOutput +} + +type transitGatewayAttachmentNetworkPtrType TransitGatewayAttachmentNetworkArgs + +func TransitGatewayAttachmentNetworkPtr(v *TransitGatewayAttachmentNetworkArgs) TransitGatewayAttachmentNetworkPtrInput { + return (*transitGatewayAttachmentNetworkPtrType)(v) +} + +func (*transitGatewayAttachmentNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentNetwork)(nil)).Elem() +} + +func (i *transitGatewayAttachmentNetworkPtrType) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { + return i.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +} + +func (i *transitGatewayAttachmentNetworkPtrType) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransitGatewayAttachmentNetworkPtrOutput) +} + +type TransitGatewayAttachmentNetworkOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TransitGatewayAttachmentNetwork)(nil)).Elem() +} + +func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkOutput() TransitGatewayAttachmentNetworkOutput { + return o +} + +func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkOutput { + return o +} + +func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { + return o.ToTransitGatewayAttachmentNetworkPtrOutputWithContext(context.Background()) +} + +func (o TransitGatewayAttachmentNetworkOutput) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TransitGatewayAttachmentNetwork) *TransitGatewayAttachmentNetwork { + return &v + }).(TransitGatewayAttachmentNetworkPtrOutput) +} + +// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +func (o TransitGatewayAttachmentNetworkOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v TransitGatewayAttachmentNetwork) string { return v.Id }).(pulumi.StringOutput) +} + +type TransitGatewayAttachmentNetworkPtrOutput struct{ *pulumi.OutputState } + +func (TransitGatewayAttachmentNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TransitGatewayAttachmentNetwork)(nil)).Elem() +} + +func (o TransitGatewayAttachmentNetworkPtrOutput) ToTransitGatewayAttachmentNetworkPtrOutput() TransitGatewayAttachmentNetworkPtrOutput { + return o +} + +func (o TransitGatewayAttachmentNetworkPtrOutput) ToTransitGatewayAttachmentNetworkPtrOutputWithContext(ctx context.Context) TransitGatewayAttachmentNetworkPtrOutput { + return o +} + +func (o TransitGatewayAttachmentNetworkPtrOutput) Elem() TransitGatewayAttachmentNetworkOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentNetwork) TransitGatewayAttachmentNetwork { + if v != nil { + return *v + } + var ret TransitGatewayAttachmentNetwork + return ret + }).(TransitGatewayAttachmentNetworkOutput) +} + +// The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. +func (o TransitGatewayAttachmentNetworkPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransitGatewayAttachmentNetwork) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type GetIdentityPoolIdentityProvider struct { + // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + Id string `pulumi:"id"` +} + +// GetIdentityPoolIdentityProviderInput is an input type that accepts GetIdentityPoolIdentityProviderArgs and GetIdentityPoolIdentityProviderOutput values. +// You can construct a concrete instance of `GetIdentityPoolIdentityProviderInput` via: +// +// GetIdentityPoolIdentityProviderArgs{...} +type GetIdentityPoolIdentityProviderInput interface { + pulumi.Input + + ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput + ToGetIdentityPoolIdentityProviderOutputWithContext(context.Context) GetIdentityPoolIdentityProviderOutput +} + +type GetIdentityPoolIdentityProviderArgs struct { + // The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetIdentityPoolIdentityProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentityPoolIdentityProvider)(nil)).Elem() +} + +func (i GetIdentityPoolIdentityProviderArgs) ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput { + return i.ToGetIdentityPoolIdentityProviderOutputWithContext(context.Background()) +} + +func (i GetIdentityPoolIdentityProviderArgs) ToGetIdentityPoolIdentityProviderOutputWithContext(ctx context.Context) GetIdentityPoolIdentityProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIdentityPoolIdentityProviderOutput) +} + +type GetIdentityPoolIdentityProviderOutput struct{ *pulumi.OutputState } + +func (GetIdentityPoolIdentityProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentityPoolIdentityProvider)(nil)).Elem() +} + +func (o GetIdentityPoolIdentityProviderOutput) ToGetIdentityPoolIdentityProviderOutput() GetIdentityPoolIdentityProviderOutput { + return o +} + +func (o GetIdentityPoolIdentityProviderOutput) ToGetIdentityPoolIdentityProviderOutputWithContext(ctx context.Context) GetIdentityPoolIdentityProviderOutput { + return o +} + +// The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. +func (o GetIdentityPoolIdentityProviderOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentityPoolIdentityProvider) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaClientQuotaEnvironment struct { + // The ID of the Kafka Client Quota (for example, `cq-abc123`). + Id string `pulumi:"id"` +} + +// GetKafkaClientQuotaEnvironmentInput is an input type that accepts GetKafkaClientQuotaEnvironmentArgs and GetKafkaClientQuotaEnvironmentOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaEnvironmentInput` via: +// +// GetKafkaClientQuotaEnvironmentArgs{...} +type GetKafkaClientQuotaEnvironmentInput interface { + pulumi.Input + + ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput + ToGetKafkaClientQuotaEnvironmentOutputWithContext(context.Context) GetKafkaClientQuotaEnvironmentOutput +} + +type GetKafkaClientQuotaEnvironmentArgs struct { + // The ID of the Kafka Client Quota (for example, `cq-abc123`). + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKafkaClientQuotaEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaEnvironment)(nil)).Elem() +} + +func (i GetKafkaClientQuotaEnvironmentArgs) ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput { + return i.ToGetKafkaClientQuotaEnvironmentOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaEnvironmentArgs) ToGetKafkaClientQuotaEnvironmentOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaEnvironmentOutput) +} + +// GetKafkaClientQuotaEnvironmentArrayInput is an input type that accepts GetKafkaClientQuotaEnvironmentArray and GetKafkaClientQuotaEnvironmentArrayOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaEnvironmentArrayInput` via: +// +// GetKafkaClientQuotaEnvironmentArray{ GetKafkaClientQuotaEnvironmentArgs{...} } +type GetKafkaClientQuotaEnvironmentArrayInput interface { + pulumi.Input + + ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput + ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(context.Context) GetKafkaClientQuotaEnvironmentArrayOutput +} + +type GetKafkaClientQuotaEnvironmentArray []GetKafkaClientQuotaEnvironmentInput + +func (GetKafkaClientQuotaEnvironmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaEnvironment)(nil)).Elem() +} + +func (i GetKafkaClientQuotaEnvironmentArray) ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput { + return i.ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaEnvironmentArray) ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaEnvironmentArrayOutput) +} + +type GetKafkaClientQuotaEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaEnvironment)(nil)).Elem() +} + +func (o GetKafkaClientQuotaEnvironmentOutput) ToGetKafkaClientQuotaEnvironmentOutput() GetKafkaClientQuotaEnvironmentOutput { + return o +} + +func (o GetKafkaClientQuotaEnvironmentOutput) ToGetKafkaClientQuotaEnvironmentOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentOutput { + return o +} + +// The ID of the Kafka Client Quota (for example, `cq-abc123`). +func (o GetKafkaClientQuotaEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClientQuotaEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaClientQuotaEnvironmentArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaEnvironmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaEnvironment)(nil)).Elem() +} + +func (o GetKafkaClientQuotaEnvironmentArrayOutput) ToGetKafkaClientQuotaEnvironmentArrayOutput() GetKafkaClientQuotaEnvironmentArrayOutput { + return o +} + +func (o GetKafkaClientQuotaEnvironmentArrayOutput) ToGetKafkaClientQuotaEnvironmentArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaEnvironmentArrayOutput { + return o +} + +func (o GetKafkaClientQuotaEnvironmentArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaEnvironmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaEnvironment { + return vs[0].([]GetKafkaClientQuotaEnvironment)[vs[1].(int)] + }).(GetKafkaClientQuotaEnvironmentOutput) +} + +type GetKafkaClientQuotaKafkaCluster struct { + // The ID of the Kafka Client Quota (for example, `cq-abc123`). + Id string `pulumi:"id"` +} + +// GetKafkaClientQuotaKafkaClusterInput is an input type that accepts GetKafkaClientQuotaKafkaClusterArgs and GetKafkaClientQuotaKafkaClusterOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaKafkaClusterInput` via: +// +// GetKafkaClientQuotaKafkaClusterArgs{...} +type GetKafkaClientQuotaKafkaClusterInput interface { + pulumi.Input + + ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput + ToGetKafkaClientQuotaKafkaClusterOutputWithContext(context.Context) GetKafkaClientQuotaKafkaClusterOutput +} + +type GetKafkaClientQuotaKafkaClusterArgs struct { + // The ID of the Kafka Client Quota (for example, `cq-abc123`). + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKafkaClientQuotaKafkaClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +} + +func (i GetKafkaClientQuotaKafkaClusterArgs) ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput { + return i.ToGetKafkaClientQuotaKafkaClusterOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaKafkaClusterArgs) ToGetKafkaClientQuotaKafkaClusterOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaKafkaClusterOutput) +} + +// GetKafkaClientQuotaKafkaClusterArrayInput is an input type that accepts GetKafkaClientQuotaKafkaClusterArray and GetKafkaClientQuotaKafkaClusterArrayOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaKafkaClusterArrayInput` via: +// +// GetKafkaClientQuotaKafkaClusterArray{ GetKafkaClientQuotaKafkaClusterArgs{...} } +type GetKafkaClientQuotaKafkaClusterArrayInput interface { + pulumi.Input + + ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput + ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput +} + +type GetKafkaClientQuotaKafkaClusterArray []GetKafkaClientQuotaKafkaClusterInput + +func (GetKafkaClientQuotaKafkaClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +} + +func (i GetKafkaClientQuotaKafkaClusterArray) ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput { + return i.ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaKafkaClusterArray) ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaKafkaClusterArrayOutput) +} + +type GetKafkaClientQuotaKafkaClusterOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaKafkaClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +} + +func (o GetKafkaClientQuotaKafkaClusterOutput) ToGetKafkaClientQuotaKafkaClusterOutput() GetKafkaClientQuotaKafkaClusterOutput { + return o +} + +func (o GetKafkaClientQuotaKafkaClusterOutput) ToGetKafkaClientQuotaKafkaClusterOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterOutput { + return o +} + +// The ID of the Kafka Client Quota (for example, `cq-abc123`). +func (o GetKafkaClientQuotaKafkaClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClientQuotaKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaClientQuotaKafkaClusterArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaKafkaClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaKafkaCluster)(nil)).Elem() +} + +func (o GetKafkaClientQuotaKafkaClusterArrayOutput) ToGetKafkaClientQuotaKafkaClusterArrayOutput() GetKafkaClientQuotaKafkaClusterArrayOutput { + return o +} + +func (o GetKafkaClientQuotaKafkaClusterArrayOutput) ToGetKafkaClientQuotaKafkaClusterArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaKafkaClusterArrayOutput { + return o +} + +func (o GetKafkaClientQuotaKafkaClusterArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaKafkaClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaKafkaCluster { + return vs[0].([]GetKafkaClientQuotaKafkaCluster)[vs[1].(int)] + }).(GetKafkaClientQuotaKafkaClusterOutput) +} + +type GetKafkaClientQuotaThroughput struct { + // (Required String) The egress throughput limit in bytes per second. + EgressByteRate string `pulumi:"egressByteRate"` + // (Required String) The ingress throughput limit in bytes per second. + IngressByteRate string `pulumi:"ingressByteRate"` +} + +// GetKafkaClientQuotaThroughputInput is an input type that accepts GetKafkaClientQuotaThroughputArgs and GetKafkaClientQuotaThroughputOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaThroughputInput` via: +// +// GetKafkaClientQuotaThroughputArgs{...} +type GetKafkaClientQuotaThroughputInput interface { + pulumi.Input + + ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput + ToGetKafkaClientQuotaThroughputOutputWithContext(context.Context) GetKafkaClientQuotaThroughputOutput +} + +type GetKafkaClientQuotaThroughputArgs struct { + // (Required String) The egress throughput limit in bytes per second. + EgressByteRate pulumi.StringInput `pulumi:"egressByteRate"` + // (Required String) The ingress throughput limit in bytes per second. + IngressByteRate pulumi.StringInput `pulumi:"ingressByteRate"` +} + +func (GetKafkaClientQuotaThroughputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaThroughput)(nil)).Elem() +} + +func (i GetKafkaClientQuotaThroughputArgs) ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput { + return i.ToGetKafkaClientQuotaThroughputOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaThroughputArgs) ToGetKafkaClientQuotaThroughputOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaThroughputOutput) +} + +// GetKafkaClientQuotaThroughputArrayInput is an input type that accepts GetKafkaClientQuotaThroughputArray and GetKafkaClientQuotaThroughputArrayOutput values. +// You can construct a concrete instance of `GetKafkaClientQuotaThroughputArrayInput` via: +// +// GetKafkaClientQuotaThroughputArray{ GetKafkaClientQuotaThroughputArgs{...} } +type GetKafkaClientQuotaThroughputArrayInput interface { + pulumi.Input + + ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput + ToGetKafkaClientQuotaThroughputArrayOutputWithContext(context.Context) GetKafkaClientQuotaThroughputArrayOutput +} + +type GetKafkaClientQuotaThroughputArray []GetKafkaClientQuotaThroughputInput + +func (GetKafkaClientQuotaThroughputArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaThroughput)(nil)).Elem() +} + +func (i GetKafkaClientQuotaThroughputArray) ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput { + return i.ToGetKafkaClientQuotaThroughputArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClientQuotaThroughputArray) ToGetKafkaClientQuotaThroughputArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClientQuotaThroughputArrayOutput) +} + +type GetKafkaClientQuotaThroughputOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaThroughputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClientQuotaThroughput)(nil)).Elem() +} + +func (o GetKafkaClientQuotaThroughputOutput) ToGetKafkaClientQuotaThroughputOutput() GetKafkaClientQuotaThroughputOutput { + return o +} + +func (o GetKafkaClientQuotaThroughputOutput) ToGetKafkaClientQuotaThroughputOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputOutput { + return o +} + +// (Required String) The egress throughput limit in bytes per second. +func (o GetKafkaClientQuotaThroughputOutput) EgressByteRate() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClientQuotaThroughput) string { return v.EgressByteRate }).(pulumi.StringOutput) +} + +// (Required String) The ingress throughput limit in bytes per second. +func (o GetKafkaClientQuotaThroughputOutput) IngressByteRate() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClientQuotaThroughput) string { return v.IngressByteRate }).(pulumi.StringOutput) +} + +type GetKafkaClientQuotaThroughputArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClientQuotaThroughputArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClientQuotaThroughput)(nil)).Elem() +} + +func (o GetKafkaClientQuotaThroughputArrayOutput) ToGetKafkaClientQuotaThroughputArrayOutput() GetKafkaClientQuotaThroughputArrayOutput { + return o +} + +func (o GetKafkaClientQuotaThroughputArrayOutput) ToGetKafkaClientQuotaThroughputArrayOutputWithContext(ctx context.Context) GetKafkaClientQuotaThroughputArrayOutput { + return o +} + +func (o GetKafkaClientQuotaThroughputArrayOutput) Index(i pulumi.IntInput) GetKafkaClientQuotaThroughputOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClientQuotaThroughput { + return vs[0].([]GetKafkaClientQuotaThroughput)[vs[1].(int)] + }).(GetKafkaClientQuotaThroughputOutput) +} + +type GetKafkaClusterBasic struct { +} + +// GetKafkaClusterBasicInput is an input type that accepts GetKafkaClusterBasicArgs and GetKafkaClusterBasicOutput values. +// You can construct a concrete instance of `GetKafkaClusterBasicInput` via: +// +// GetKafkaClusterBasicArgs{...} +type GetKafkaClusterBasicInput interface { + pulumi.Input + + ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput + ToGetKafkaClusterBasicOutputWithContext(context.Context) GetKafkaClusterBasicOutput +} + +type GetKafkaClusterBasicArgs struct { +} + +func (GetKafkaClusterBasicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterBasic)(nil)).Elem() +} + +func (i GetKafkaClusterBasicArgs) ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput { + return i.ToGetKafkaClusterBasicOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterBasicArgs) ToGetKafkaClusterBasicOutputWithContext(ctx context.Context) GetKafkaClusterBasicOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterBasicOutput) +} + +// GetKafkaClusterBasicArrayInput is an input type that accepts GetKafkaClusterBasicArray and GetKafkaClusterBasicArrayOutput values. +// You can construct a concrete instance of `GetKafkaClusterBasicArrayInput` via: +// +// GetKafkaClusterBasicArray{ GetKafkaClusterBasicArgs{...} } +type GetKafkaClusterBasicArrayInput interface { + pulumi.Input + + ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput + ToGetKafkaClusterBasicArrayOutputWithContext(context.Context) GetKafkaClusterBasicArrayOutput +} + +type GetKafkaClusterBasicArray []GetKafkaClusterBasicInput + +func (GetKafkaClusterBasicArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterBasic)(nil)).Elem() +} + +func (i GetKafkaClusterBasicArray) ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput { + return i.ToGetKafkaClusterBasicArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterBasicArray) ToGetKafkaClusterBasicArrayOutputWithContext(ctx context.Context) GetKafkaClusterBasicArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterBasicArrayOutput) +} + +type GetKafkaClusterBasicOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterBasicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterBasic)(nil)).Elem() +} + +func (o GetKafkaClusterBasicOutput) ToGetKafkaClusterBasicOutput() GetKafkaClusterBasicOutput { + return o +} + +func (o GetKafkaClusterBasicOutput) ToGetKafkaClusterBasicOutputWithContext(ctx context.Context) GetKafkaClusterBasicOutput { + return o +} + +type GetKafkaClusterBasicArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterBasicArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterBasic)(nil)).Elem() +} + +func (o GetKafkaClusterBasicArrayOutput) ToGetKafkaClusterBasicArrayOutput() GetKafkaClusterBasicArrayOutput { + return o +} + +func (o GetKafkaClusterBasicArrayOutput) ToGetKafkaClusterBasicArrayOutputWithContext(ctx context.Context) GetKafkaClusterBasicArrayOutput { + return o +} + +func (o GetKafkaClusterBasicArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterBasicOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterBasic { + return vs[0].([]GetKafkaClusterBasic)[vs[1].(int)] + }).(GetKafkaClusterBasicOutput) +} + +type GetKafkaClusterDedicated struct { + // (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. + Cku int `pulumi:"cku"` + // (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. + EncryptionKey string `pulumi:"encryptionKey"` +} + +// GetKafkaClusterDedicatedInput is an input type that accepts GetKafkaClusterDedicatedArgs and GetKafkaClusterDedicatedOutput values. +// You can construct a concrete instance of `GetKafkaClusterDedicatedInput` via: +// +// GetKafkaClusterDedicatedArgs{...} +type GetKafkaClusterDedicatedInput interface { + pulumi.Input + + ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput + ToGetKafkaClusterDedicatedOutputWithContext(context.Context) GetKafkaClusterDedicatedOutput +} + +type GetKafkaClusterDedicatedArgs struct { + // (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. + Cku pulumi.IntInput `pulumi:"cku"` + // (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. + EncryptionKey pulumi.StringInput `pulumi:"encryptionKey"` +} + +func (GetKafkaClusterDedicatedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterDedicated)(nil)).Elem() +} + +func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput { + return i.ToGetKafkaClusterDedicatedOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedOutput) +} + +func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { + return i.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterDedicatedArgs) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedOutput).ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx) +} + +// GetKafkaClusterDedicatedPtrInput is an input type that accepts GetKafkaClusterDedicatedArgs, GetKafkaClusterDedicatedPtr and GetKafkaClusterDedicatedPtrOutput values. +// You can construct a concrete instance of `GetKafkaClusterDedicatedPtrInput` via: +// +// GetKafkaClusterDedicatedArgs{...} +// +// or: +// +// nil +type GetKafkaClusterDedicatedPtrInput interface { + pulumi.Input + + ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput + ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Context) GetKafkaClusterDedicatedPtrOutput +} + +type getKafkaClusterDedicatedPtrType GetKafkaClusterDedicatedArgs + +func GetKafkaClusterDedicatedPtr(v *GetKafkaClusterDedicatedArgs) GetKafkaClusterDedicatedPtrInput { + return (*getKafkaClusterDedicatedPtrType)(v) +} + +func (*getKafkaClusterDedicatedPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaClusterDedicated)(nil)).Elem() +} + +func (i *getKafkaClusterDedicatedPtrType) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { + return i.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +} + +func (i *getKafkaClusterDedicatedPtrType) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterDedicatedPtrOutput) +} + +type GetKafkaClusterDedicatedOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterDedicatedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterDedicated)(nil)).Elem() +} + +func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedOutput() GetKafkaClusterDedicatedOutput { + return o +} + +func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedOutput { + return o +} + +func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { + return o.ToGetKafkaClusterDedicatedPtrOutputWithContext(context.Background()) +} + +func (o GetKafkaClusterDedicatedOutput) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKafkaClusterDedicated) *GetKafkaClusterDedicated { + return &v + }).(GetKafkaClusterDedicatedPtrOutput) +} + +// (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. +func (o GetKafkaClusterDedicatedOutput) Cku() pulumi.IntOutput { + return o.ApplyT(func(v GetKafkaClusterDedicated) int { return v.Cku }).(pulumi.IntOutput) +} + +// (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. +func (o GetKafkaClusterDedicatedOutput) EncryptionKey() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClusterDedicated) string { return v.EncryptionKey }).(pulumi.StringOutput) +} + +type GetKafkaClusterDedicatedPtrOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterDedicatedPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaClusterDedicated)(nil)).Elem() +} + +func (o GetKafkaClusterDedicatedPtrOutput) ToGetKafkaClusterDedicatedPtrOutput() GetKafkaClusterDedicatedPtrOutput { + return o +} + +func (o GetKafkaClusterDedicatedPtrOutput) ToGetKafkaClusterDedicatedPtrOutputWithContext(ctx context.Context) GetKafkaClusterDedicatedPtrOutput { + return o +} + +func (o GetKafkaClusterDedicatedPtrOutput) Elem() GetKafkaClusterDedicatedOutput { + return o.ApplyT(func(v *GetKafkaClusterDedicated) GetKafkaClusterDedicated { + if v != nil { + return *v + } + var ret GetKafkaClusterDedicated + return ret + }).(GetKafkaClusterDedicatedOutput) +} + +// (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. +func (o GetKafkaClusterDedicatedPtrOutput) Cku() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetKafkaClusterDedicated) *int { + if v == nil { + return nil + } + return &v.Cku + }).(pulumi.IntPtrOutput) +} + +// (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. +func (o GetKafkaClusterDedicatedPtrOutput) EncryptionKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetKafkaClusterDedicated) *string { + if v == nil { + return nil + } + return &v.EncryptionKey + }).(pulumi.StringPtrOutput) +} + +type GetKafkaClusterEnvironment struct { + // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetKafkaClusterEnvironmentInput is an input type that accepts GetKafkaClusterEnvironmentArgs and GetKafkaClusterEnvironmentOutput values. +// You can construct a concrete instance of `GetKafkaClusterEnvironmentInput` via: +// +// GetKafkaClusterEnvironmentArgs{...} +type GetKafkaClusterEnvironmentInput interface { + pulumi.Input + + ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput + ToGetKafkaClusterEnvironmentOutputWithContext(context.Context) GetKafkaClusterEnvironmentOutput +} + +type GetKafkaClusterEnvironmentArgs struct { + // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKafkaClusterEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterEnvironment)(nil)).Elem() +} + +func (i GetKafkaClusterEnvironmentArgs) ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput { + return i.ToGetKafkaClusterEnvironmentOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterEnvironmentArgs) ToGetKafkaClusterEnvironmentOutputWithContext(ctx context.Context) GetKafkaClusterEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterEnvironmentOutput) +} + +type GetKafkaClusterEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterEnvironment)(nil)).Elem() +} + +func (o GetKafkaClusterEnvironmentOutput) ToGetKafkaClusterEnvironmentOutput() GetKafkaClusterEnvironmentOutput { + return o +} + +func (o GetKafkaClusterEnvironmentOutput) ToGetKafkaClusterEnvironmentOutputWithContext(ctx context.Context) GetKafkaClusterEnvironmentOutput { + return o +} + +// The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. +func (o GetKafkaClusterEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaClusterNetwork struct { + // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetKafkaClusterNetworkInput is an input type that accepts GetKafkaClusterNetworkArgs and GetKafkaClusterNetworkOutput values. +// You can construct a concrete instance of `GetKafkaClusterNetworkInput` via: +// +// GetKafkaClusterNetworkArgs{...} +type GetKafkaClusterNetworkInput interface { + pulumi.Input + + ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput + ToGetKafkaClusterNetworkOutputWithContext(context.Context) GetKafkaClusterNetworkOutput +} + +type GetKafkaClusterNetworkArgs struct { + // The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKafkaClusterNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterNetwork)(nil)).Elem() +} + +func (i GetKafkaClusterNetworkArgs) ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput { + return i.ToGetKafkaClusterNetworkOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterNetworkArgs) ToGetKafkaClusterNetworkOutputWithContext(ctx context.Context) GetKafkaClusterNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterNetworkOutput) +} + +// GetKafkaClusterNetworkArrayInput is an input type that accepts GetKafkaClusterNetworkArray and GetKafkaClusterNetworkArrayOutput values. +// You can construct a concrete instance of `GetKafkaClusterNetworkArrayInput` via: +// +// GetKafkaClusterNetworkArray{ GetKafkaClusterNetworkArgs{...} } +type GetKafkaClusterNetworkArrayInput interface { + pulumi.Input + + ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput + ToGetKafkaClusterNetworkArrayOutputWithContext(context.Context) GetKafkaClusterNetworkArrayOutput +} + +type GetKafkaClusterNetworkArray []GetKafkaClusterNetworkInput + +func (GetKafkaClusterNetworkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterNetwork)(nil)).Elem() +} + +func (i GetKafkaClusterNetworkArray) ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput { + return i.ToGetKafkaClusterNetworkArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterNetworkArray) ToGetKafkaClusterNetworkArrayOutputWithContext(ctx context.Context) GetKafkaClusterNetworkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterNetworkArrayOutput) +} + +type GetKafkaClusterNetworkOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterNetwork)(nil)).Elem() +} + +func (o GetKafkaClusterNetworkOutput) ToGetKafkaClusterNetworkOutput() GetKafkaClusterNetworkOutput { + return o +} + +func (o GetKafkaClusterNetworkOutput) ToGetKafkaClusterNetworkOutputWithContext(ctx context.Context) GetKafkaClusterNetworkOutput { + return o +} + +// The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. +func (o GetKafkaClusterNetworkOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaClusterNetwork) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaClusterNetworkArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterNetworkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterNetwork)(nil)).Elem() +} + +func (o GetKafkaClusterNetworkArrayOutput) ToGetKafkaClusterNetworkArrayOutput() GetKafkaClusterNetworkArrayOutput { + return o +} + +func (o GetKafkaClusterNetworkArrayOutput) ToGetKafkaClusterNetworkArrayOutputWithContext(ctx context.Context) GetKafkaClusterNetworkArrayOutput { + return o +} + +func (o GetKafkaClusterNetworkArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterNetworkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterNetwork { + return vs[0].([]GetKafkaClusterNetwork)[vs[1].(int)] + }).(GetKafkaClusterNetworkOutput) +} + +type GetKafkaClusterStandard struct { +} + +// GetKafkaClusterStandardInput is an input type that accepts GetKafkaClusterStandardArgs and GetKafkaClusterStandardOutput values. +// You can construct a concrete instance of `GetKafkaClusterStandardInput` via: +// +// GetKafkaClusterStandardArgs{...} +type GetKafkaClusterStandardInput interface { + pulumi.Input + + ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput + ToGetKafkaClusterStandardOutputWithContext(context.Context) GetKafkaClusterStandardOutput +} + +type GetKafkaClusterStandardArgs struct { +} + +func (GetKafkaClusterStandardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterStandard)(nil)).Elem() +} + +func (i GetKafkaClusterStandardArgs) ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput { + return i.ToGetKafkaClusterStandardOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterStandardArgs) ToGetKafkaClusterStandardOutputWithContext(ctx context.Context) GetKafkaClusterStandardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterStandardOutput) +} + +// GetKafkaClusterStandardArrayInput is an input type that accepts GetKafkaClusterStandardArray and GetKafkaClusterStandardArrayOutput values. +// You can construct a concrete instance of `GetKafkaClusterStandardArrayInput` via: +// +// GetKafkaClusterStandardArray{ GetKafkaClusterStandardArgs{...} } +type GetKafkaClusterStandardArrayInput interface { + pulumi.Input + + ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput + ToGetKafkaClusterStandardArrayOutputWithContext(context.Context) GetKafkaClusterStandardArrayOutput +} + +type GetKafkaClusterStandardArray []GetKafkaClusterStandardInput + +func (GetKafkaClusterStandardArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterStandard)(nil)).Elem() +} + +func (i GetKafkaClusterStandardArray) ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput { + return i.ToGetKafkaClusterStandardArrayOutputWithContext(context.Background()) +} + +func (i GetKafkaClusterStandardArray) ToGetKafkaClusterStandardArrayOutputWithContext(ctx context.Context) GetKafkaClusterStandardArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaClusterStandardArrayOutput) +} + +type GetKafkaClusterStandardOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterStandardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaClusterStandard)(nil)).Elem() +} + +func (o GetKafkaClusterStandardOutput) ToGetKafkaClusterStandardOutput() GetKafkaClusterStandardOutput { + return o +} + +func (o GetKafkaClusterStandardOutput) ToGetKafkaClusterStandardOutputWithContext(ctx context.Context) GetKafkaClusterStandardOutput { + return o +} + +type GetKafkaClusterStandardArrayOutput struct{ *pulumi.OutputState } + +func (GetKafkaClusterStandardArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKafkaClusterStandard)(nil)).Elem() +} + +func (o GetKafkaClusterStandardArrayOutput) ToGetKafkaClusterStandardArrayOutput() GetKafkaClusterStandardArrayOutput { + return o +} + +func (o GetKafkaClusterStandardArrayOutput) ToGetKafkaClusterStandardArrayOutputWithContext(ctx context.Context) GetKafkaClusterStandardArrayOutput { + return o +} + +func (o GetKafkaClusterStandardArrayOutput) Index(i pulumi.IntInput) GetKafkaClusterStandardOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKafkaClusterStandard { + return vs[0].([]GetKafkaClusterStandard)[vs[1].(int)] + }).(GetKafkaClusterStandardOutput) +} + +type GetKafkaTopicCredentials struct { + // The Kafka API Key. + Key string `pulumi:"key"` + // The Kafka API Secret. + Secret string `pulumi:"secret"` +} + +// GetKafkaTopicCredentialsInput is an input type that accepts GetKafkaTopicCredentialsArgs and GetKafkaTopicCredentialsOutput values. +// You can construct a concrete instance of `GetKafkaTopicCredentialsInput` via: +// +// GetKafkaTopicCredentialsArgs{...} +type GetKafkaTopicCredentialsInput interface { + pulumi.Input + + ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput + ToGetKafkaTopicCredentialsOutputWithContext(context.Context) GetKafkaTopicCredentialsOutput +} + +type GetKafkaTopicCredentialsArgs struct { + // The Kafka API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Kafka API Secret. + Secret pulumi.StringInput `pulumi:"secret"` +} + +func (GetKafkaTopicCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaTopicCredentials)(nil)).Elem() +} + +func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput { + return i.ToGetKafkaTopicCredentialsOutputWithContext(context.Background()) +} + +func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsOutput) +} + +func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { + return i.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +} + +func (i GetKafkaTopicCredentialsArgs) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsOutput).ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx) +} + +// GetKafkaTopicCredentialsPtrInput is an input type that accepts GetKafkaTopicCredentialsArgs, GetKafkaTopicCredentialsPtr and GetKafkaTopicCredentialsPtrOutput values. +// You can construct a concrete instance of `GetKafkaTopicCredentialsPtrInput` via: +// +// GetKafkaTopicCredentialsArgs{...} +// +// or: +// +// nil +type GetKafkaTopicCredentialsPtrInput interface { + pulumi.Input + + ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput + ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Context) GetKafkaTopicCredentialsPtrOutput +} + +type getKafkaTopicCredentialsPtrType GetKafkaTopicCredentialsArgs + +func GetKafkaTopicCredentialsPtr(v *GetKafkaTopicCredentialsArgs) GetKafkaTopicCredentialsPtrInput { + return (*getKafkaTopicCredentialsPtrType)(v) +} + +func (*getKafkaTopicCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaTopicCredentials)(nil)).Elem() +} + +func (i *getKafkaTopicCredentialsPtrType) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { + return i.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +} + +func (i *getKafkaTopicCredentialsPtrType) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicCredentialsPtrOutput) +} + +type GetKafkaTopicCredentialsOutput struct{ *pulumi.OutputState } + +func (GetKafkaTopicCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaTopicCredentials)(nil)).Elem() +} + +func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsOutput() GetKafkaTopicCredentialsOutput { + return o +} + +func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsOutput { + return o +} + +func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { + return o.ToGetKafkaTopicCredentialsPtrOutputWithContext(context.Background()) +} + +func (o GetKafkaTopicCredentialsOutput) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKafkaTopicCredentials) *GetKafkaTopicCredentials { + return &v + }).(GetKafkaTopicCredentialsPtrOutput) +} + +// The Kafka API Key. +func (o GetKafkaTopicCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaTopicCredentials) string { return v.Key }).(pulumi.StringOutput) +} + +// The Kafka API Secret. +func (o GetKafkaTopicCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaTopicCredentials) string { return v.Secret }).(pulumi.StringOutput) +} + +type GetKafkaTopicCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (GetKafkaTopicCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaTopicCredentials)(nil)).Elem() +} + +func (o GetKafkaTopicCredentialsPtrOutput) ToGetKafkaTopicCredentialsPtrOutput() GetKafkaTopicCredentialsPtrOutput { + return o +} + +func (o GetKafkaTopicCredentialsPtrOutput) ToGetKafkaTopicCredentialsPtrOutputWithContext(ctx context.Context) GetKafkaTopicCredentialsPtrOutput { + return o +} + +func (o GetKafkaTopicCredentialsPtrOutput) Elem() GetKafkaTopicCredentialsOutput { + return o.ApplyT(func(v *GetKafkaTopicCredentials) GetKafkaTopicCredentials { + if v != nil { + return *v + } + var ret GetKafkaTopicCredentials + return ret + }).(GetKafkaTopicCredentialsOutput) +} + +// The Kafka API Key. +func (o GetKafkaTopicCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetKafkaTopicCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) +} + +// The Kafka API Secret. +func (o GetKafkaTopicCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetKafkaTopicCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) +} + +type GetKafkaTopicKafkaCluster struct { + // The ID of the Kafka cluster, for example, `lkc-abc123`. + Id string `pulumi:"id"` +} + +// GetKafkaTopicKafkaClusterInput is an input type that accepts GetKafkaTopicKafkaClusterArgs and GetKafkaTopicKafkaClusterOutput values. +// You can construct a concrete instance of `GetKafkaTopicKafkaClusterInput` via: +// +// GetKafkaTopicKafkaClusterArgs{...} +type GetKafkaTopicKafkaClusterInput interface { + pulumi.Input + + ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput + ToGetKafkaTopicKafkaClusterOutputWithContext(context.Context) GetKafkaTopicKafkaClusterOutput +} + +type GetKafkaTopicKafkaClusterArgs struct { + // The ID of the Kafka cluster, for example, `lkc-abc123`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKafkaTopicKafkaClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaTopicKafkaCluster)(nil)).Elem() +} + +func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput { + return i.ToGetKafkaTopicKafkaClusterOutputWithContext(context.Background()) +} + +func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicKafkaClusterOutput) +} + +func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterPtrOutput() GetKafkaTopicKafkaClusterPtrOutput { + return i.ToGetKafkaTopicKafkaClusterPtrOutputWithContext(context.Background()) +} + +func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterPtrOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicKafkaClusterOutput).ToGetKafkaTopicKafkaClusterPtrOutputWithContext(ctx) +} + +// GetKafkaTopicKafkaClusterPtrInput is an input type that accepts GetKafkaTopicKafkaClusterArgs, GetKafkaTopicKafkaClusterPtr and GetKafkaTopicKafkaClusterPtrOutput values. +// You can construct a concrete instance of `GetKafkaTopicKafkaClusterPtrInput` via: +// +// GetKafkaTopicKafkaClusterArgs{...} +// +// or: +// +// nil +type GetKafkaTopicKafkaClusterPtrInput interface { + pulumi.Input + + ToGetKafkaTopicKafkaClusterPtrOutput() GetKafkaTopicKafkaClusterPtrOutput + ToGetKafkaTopicKafkaClusterPtrOutputWithContext(context.Context) GetKafkaTopicKafkaClusterPtrOutput +} + +type getKafkaTopicKafkaClusterPtrType GetKafkaTopicKafkaClusterArgs + +func GetKafkaTopicKafkaClusterPtr(v *GetKafkaTopicKafkaClusterArgs) GetKafkaTopicKafkaClusterPtrInput { + return (*getKafkaTopicKafkaClusterPtrType)(v) +} + +func (*getKafkaTopicKafkaClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaTopicKafkaCluster)(nil)).Elem() +} + +func (i *getKafkaTopicKafkaClusterPtrType) ToGetKafkaTopicKafkaClusterPtrOutput() GetKafkaTopicKafkaClusterPtrOutput { + return i.ToGetKafkaTopicKafkaClusterPtrOutputWithContext(context.Background()) +} + +func (i *getKafkaTopicKafkaClusterPtrType) ToGetKafkaTopicKafkaClusterPtrOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicKafkaClusterPtrOutput) +} + +type GetKafkaTopicKafkaClusterOutput struct{ *pulumi.OutputState } + +func (GetKafkaTopicKafkaClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKafkaTopicKafkaCluster)(nil)).Elem() +} + +func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput { + return o +} + +func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterOutput { + return o +} + +func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterPtrOutput() GetKafkaTopicKafkaClusterPtrOutput { + return o.ToGetKafkaTopicKafkaClusterPtrOutputWithContext(context.Background()) +} + +func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterPtrOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKafkaTopicKafkaCluster) *GetKafkaTopicKafkaCluster { + return &v + }).(GetKafkaTopicKafkaClusterPtrOutput) +} + +// The ID of the Kafka cluster, for example, `lkc-abc123`. +func (o GetKafkaTopicKafkaClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKafkaTopicKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKafkaTopicKafkaClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetKafkaTopicKafkaClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetKafkaTopicKafkaCluster)(nil)).Elem() +} + +func (o GetKafkaTopicKafkaClusterPtrOutput) ToGetKafkaTopicKafkaClusterPtrOutput() GetKafkaTopicKafkaClusterPtrOutput { + return o +} + +func (o GetKafkaTopicKafkaClusterPtrOutput) ToGetKafkaTopicKafkaClusterPtrOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterPtrOutput { + return o +} + +func (o GetKafkaTopicKafkaClusterPtrOutput) Elem() GetKafkaTopicKafkaClusterOutput { + return o.ApplyT(func(v *GetKafkaTopicKafkaCluster) GetKafkaTopicKafkaCluster { + if v != nil { + return *v + } + var ret GetKafkaTopicKafkaCluster + return ret + }).(GetKafkaTopicKafkaClusterOutput) +} + +// The ID of the Kafka cluster, for example, `lkc-abc123`. +func (o GetKafkaTopicKafkaClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetKafkaTopicKafkaCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type GetKsqlClusterCredentialIdentity struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetKsqlClusterCredentialIdentityInput is an input type that accepts GetKsqlClusterCredentialIdentityArgs and GetKsqlClusterCredentialIdentityOutput values. +// You can construct a concrete instance of `GetKsqlClusterCredentialIdentityInput` via: +// +// GetKsqlClusterCredentialIdentityArgs{...} +type GetKsqlClusterCredentialIdentityInput interface { + pulumi.Input + + ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput + ToGetKsqlClusterCredentialIdentityOutputWithContext(context.Context) GetKsqlClusterCredentialIdentityOutput +} + +type GetKsqlClusterCredentialIdentityArgs struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKsqlClusterCredentialIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterCredentialIdentity)(nil)).Elem() +} + +func (i GetKsqlClusterCredentialIdentityArgs) ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput { + return i.ToGetKsqlClusterCredentialIdentityOutputWithContext(context.Background()) +} + +func (i GetKsqlClusterCredentialIdentityArgs) ToGetKsqlClusterCredentialIdentityOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterCredentialIdentityOutput) +} + +// GetKsqlClusterCredentialIdentityArrayInput is an input type that accepts GetKsqlClusterCredentialIdentityArray and GetKsqlClusterCredentialIdentityArrayOutput values. +// You can construct a concrete instance of `GetKsqlClusterCredentialIdentityArrayInput` via: +// +// GetKsqlClusterCredentialIdentityArray{ GetKsqlClusterCredentialIdentityArgs{...} } +type GetKsqlClusterCredentialIdentityArrayInput interface { + pulumi.Input + + ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput + ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(context.Context) GetKsqlClusterCredentialIdentityArrayOutput +} + +type GetKsqlClusterCredentialIdentityArray []GetKsqlClusterCredentialIdentityInput + +func (GetKsqlClusterCredentialIdentityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKsqlClusterCredentialIdentity)(nil)).Elem() +} + +func (i GetKsqlClusterCredentialIdentityArray) ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput { + return i.ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(context.Background()) +} + +func (i GetKsqlClusterCredentialIdentityArray) ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterCredentialIdentityArrayOutput) +} + +type GetKsqlClusterCredentialIdentityOutput struct{ *pulumi.OutputState } + +func (GetKsqlClusterCredentialIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterCredentialIdentity)(nil)).Elem() +} + +func (o GetKsqlClusterCredentialIdentityOutput) ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput { + return o +} + +func (o GetKsqlClusterCredentialIdentityOutput) ToGetKsqlClusterCredentialIdentityOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityOutput { + return o +} + +// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. +func (o GetKsqlClusterCredentialIdentityOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKsqlClusterCredentialIdentity) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKsqlClusterCredentialIdentityArrayOutput struct{ *pulumi.OutputState } + +func (GetKsqlClusterCredentialIdentityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKsqlClusterCredentialIdentity)(nil)).Elem() +} + +func (o GetKsqlClusterCredentialIdentityArrayOutput) ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput { + return o +} + +func (o GetKsqlClusterCredentialIdentityArrayOutput) ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityArrayOutput { + return o +} + +func (o GetKsqlClusterCredentialIdentityArrayOutput) Index(i pulumi.IntInput) GetKsqlClusterCredentialIdentityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKsqlClusterCredentialIdentity { + return vs[0].([]GetKsqlClusterCredentialIdentity)[vs[1].(int)] + }).(GetKsqlClusterCredentialIdentityOutput) +} + +type GetKsqlClusterEnvironment struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetKsqlClusterEnvironmentInput is an input type that accepts GetKsqlClusterEnvironmentArgs and GetKsqlClusterEnvironmentOutput values. +// You can construct a concrete instance of `GetKsqlClusterEnvironmentInput` via: +// +// GetKsqlClusterEnvironmentArgs{...} +type GetKsqlClusterEnvironmentInput interface { + pulumi.Input + + ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput + ToGetKsqlClusterEnvironmentOutputWithContext(context.Context) GetKsqlClusterEnvironmentOutput +} + +type GetKsqlClusterEnvironmentArgs struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKsqlClusterEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterEnvironment)(nil)).Elem() +} + +func (i GetKsqlClusterEnvironmentArgs) ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput { + return i.ToGetKsqlClusterEnvironmentOutputWithContext(context.Background()) +} + +func (i GetKsqlClusterEnvironmentArgs) ToGetKsqlClusterEnvironmentOutputWithContext(ctx context.Context) GetKsqlClusterEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterEnvironmentOutput) +} + +type GetKsqlClusterEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetKsqlClusterEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterEnvironment)(nil)).Elem() +} + +func (o GetKsqlClusterEnvironmentOutput) ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput { + return o +} + +func (o GetKsqlClusterEnvironmentOutput) ToGetKsqlClusterEnvironmentOutputWithContext(ctx context.Context) GetKsqlClusterEnvironmentOutput { + return o +} + +// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. +func (o GetKsqlClusterEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKsqlClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKsqlClusterKafkaCluster struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetKsqlClusterKafkaClusterInput is an input type that accepts GetKsqlClusterKafkaClusterArgs and GetKsqlClusterKafkaClusterOutput values. +// You can construct a concrete instance of `GetKsqlClusterKafkaClusterInput` via: +// +// GetKsqlClusterKafkaClusterArgs{...} +type GetKsqlClusterKafkaClusterInput interface { + pulumi.Input + + ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput + ToGetKsqlClusterKafkaClusterOutputWithContext(context.Context) GetKsqlClusterKafkaClusterOutput +} + +type GetKsqlClusterKafkaClusterArgs struct { + // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetKsqlClusterKafkaClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterKafkaCluster)(nil)).Elem() +} + +func (i GetKsqlClusterKafkaClusterArgs) ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput { + return i.ToGetKsqlClusterKafkaClusterOutputWithContext(context.Background()) +} + +func (i GetKsqlClusterKafkaClusterArgs) ToGetKsqlClusterKafkaClusterOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterKafkaClusterOutput) +} + +// GetKsqlClusterKafkaClusterArrayInput is an input type that accepts GetKsqlClusterKafkaClusterArray and GetKsqlClusterKafkaClusterArrayOutput values. +// You can construct a concrete instance of `GetKsqlClusterKafkaClusterArrayInput` via: +// +// GetKsqlClusterKafkaClusterArray{ GetKsqlClusterKafkaClusterArgs{...} } +type GetKsqlClusterKafkaClusterArrayInput interface { + pulumi.Input + + ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput + ToGetKsqlClusterKafkaClusterArrayOutputWithContext(context.Context) GetKsqlClusterKafkaClusterArrayOutput +} + +type GetKsqlClusterKafkaClusterArray []GetKsqlClusterKafkaClusterInput + +func (GetKsqlClusterKafkaClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKsqlClusterKafkaCluster)(nil)).Elem() +} + +func (i GetKsqlClusterKafkaClusterArray) ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput { + return i.ToGetKsqlClusterKafkaClusterArrayOutputWithContext(context.Background()) +} + +func (i GetKsqlClusterKafkaClusterArray) ToGetKsqlClusterKafkaClusterArrayOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterKafkaClusterArrayOutput) +} + +type GetKsqlClusterKafkaClusterOutput struct{ *pulumi.OutputState } + +func (GetKsqlClusterKafkaClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKsqlClusterKafkaCluster)(nil)).Elem() +} + +func (o GetKsqlClusterKafkaClusterOutput) ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput { + return o +} + +func (o GetKsqlClusterKafkaClusterOutput) ToGetKsqlClusterKafkaClusterOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterOutput { + return o +} + +// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. +func (o GetKsqlClusterKafkaClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKsqlClusterKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +} + +type GetKsqlClusterKafkaClusterArrayOutput struct{ *pulumi.OutputState } + +func (GetKsqlClusterKafkaClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKsqlClusterKafkaCluster)(nil)).Elem() +} + +func (o GetKsqlClusterKafkaClusterArrayOutput) ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput { + return o +} + +func (o GetKsqlClusterKafkaClusterArrayOutput) ToGetKsqlClusterKafkaClusterArrayOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterArrayOutput { + return o +} + +func (o GetKsqlClusterKafkaClusterArrayOutput) Index(i pulumi.IntInput) GetKsqlClusterKafkaClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKsqlClusterKafkaCluster { + return vs[0].([]GetKsqlClusterKafkaCluster)[vs[1].(int)] + }).(GetKsqlClusterKafkaClusterOutput) +} + +type GetNetworkAw struct { + // (Required String) The AWS account ID associated with the Confluent Cloud VPC. + Account string `pulumi:"account"` + // (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. + PrivateLinkEndpointService string `pulumi:"privateLinkEndpointService"` + // (Required String) The Confluent Cloud VPC ID. + Vpc string `pulumi:"vpc"` +} + +// GetNetworkAwInput is an input type that accepts GetNetworkAwArgs and GetNetworkAwOutput values. +// You can construct a concrete instance of `GetNetworkAwInput` via: +// +// GetNetworkAwArgs{...} +type GetNetworkAwInput interface { + pulumi.Input + + ToGetNetworkAwOutput() GetNetworkAwOutput + ToGetNetworkAwOutputWithContext(context.Context) GetNetworkAwOutput +} + +type GetNetworkAwArgs struct { + // (Required String) The AWS account ID associated with the Confluent Cloud VPC. + Account pulumi.StringInput `pulumi:"account"` + // (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. + PrivateLinkEndpointService pulumi.StringInput `pulumi:"privateLinkEndpointService"` + // (Required String) The Confluent Cloud VPC ID. + Vpc pulumi.StringInput `pulumi:"vpc"` +} + +func (GetNetworkAwArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAw)(nil)).Elem() +} + +func (i GetNetworkAwArgs) ToGetNetworkAwOutput() GetNetworkAwOutput { + return i.ToGetNetworkAwOutputWithContext(context.Background()) +} + +func (i GetNetworkAwArgs) ToGetNetworkAwOutputWithContext(ctx context.Context) GetNetworkAwOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAwOutput) +} + +// GetNetworkAwArrayInput is an input type that accepts GetNetworkAwArray and GetNetworkAwArrayOutput values. +// You can construct a concrete instance of `GetNetworkAwArrayInput` via: +// +// GetNetworkAwArray{ GetNetworkAwArgs{...} } +type GetNetworkAwArrayInput interface { + pulumi.Input + + ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput + ToGetNetworkAwArrayOutputWithContext(context.Context) GetNetworkAwArrayOutput +} + +type GetNetworkAwArray []GetNetworkAwInput + +func (GetNetworkAwArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAw)(nil)).Elem() +} + +func (i GetNetworkAwArray) ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput { + return i.ToGetNetworkAwArrayOutputWithContext(context.Background()) +} + +func (i GetNetworkAwArray) ToGetNetworkAwArrayOutputWithContext(ctx context.Context) GetNetworkAwArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAwArrayOutput) +} + +type GetNetworkAwOutput struct{ *pulumi.OutputState } + +func (GetNetworkAwOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAw)(nil)).Elem() +} + +func (o GetNetworkAwOutput) ToGetNetworkAwOutput() GetNetworkAwOutput { + return o +} + +func (o GetNetworkAwOutput) ToGetNetworkAwOutputWithContext(ctx context.Context) GetNetworkAwOutput { + return o +} + +// (Required String) The AWS account ID associated with the Confluent Cloud VPC. +func (o GetNetworkAwOutput) Account() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkAw) string { return v.Account }).(pulumi.StringOutput) +} + +// (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. +func (o GetNetworkAwOutput) PrivateLinkEndpointService() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkAw) string { return v.PrivateLinkEndpointService }).(pulumi.StringOutput) +} + +// (Required String) The Confluent Cloud VPC ID. +func (o GetNetworkAwOutput) Vpc() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkAw) string { return v.Vpc }).(pulumi.StringOutput) +} + +type GetNetworkAwArrayOutput struct{ *pulumi.OutputState } + +func (GetNetworkAwArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAw)(nil)).Elem() +} + +func (o GetNetworkAwArrayOutput) ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput { + return o +} + +func (o GetNetworkAwArrayOutput) ToGetNetworkAwArrayOutputWithContext(ctx context.Context) GetNetworkAwArrayOutput { + return o +} + +func (o GetNetworkAwArrayOutput) Index(i pulumi.IntInput) GetNetworkAwOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAw { + return vs[0].([]GetNetworkAw)[vs[1].(int)] + }).(GetNetworkAwOutput) +} + +type GetNetworkAzure struct { + // (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). + PrivateLinkServiceAliases map[string]string `pulumi:"privateLinkServiceAliases"` +} + +// GetNetworkAzureInput is an input type that accepts GetNetworkAzureArgs and GetNetworkAzureOutput values. +// You can construct a concrete instance of `GetNetworkAzureInput` via: +// +// GetNetworkAzureArgs{...} +type GetNetworkAzureInput interface { + pulumi.Input + + ToGetNetworkAzureOutput() GetNetworkAzureOutput + ToGetNetworkAzureOutputWithContext(context.Context) GetNetworkAzureOutput +} + +type GetNetworkAzureArgs struct { + // (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). + PrivateLinkServiceAliases pulumi.StringMapInput `pulumi:"privateLinkServiceAliases"` +} + +func (GetNetworkAzureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAzure)(nil)).Elem() +} + +func (i GetNetworkAzureArgs) ToGetNetworkAzureOutput() GetNetworkAzureOutput { + return i.ToGetNetworkAzureOutputWithContext(context.Background()) +} + +func (i GetNetworkAzureArgs) ToGetNetworkAzureOutputWithContext(ctx context.Context) GetNetworkAzureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAzureOutput) +} + +// GetNetworkAzureArrayInput is an input type that accepts GetNetworkAzureArray and GetNetworkAzureArrayOutput values. +// You can construct a concrete instance of `GetNetworkAzureArrayInput` via: +// +// GetNetworkAzureArray{ GetNetworkAzureArgs{...} } +type GetNetworkAzureArrayInput interface { + pulumi.Input + + ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput + ToGetNetworkAzureArrayOutputWithContext(context.Context) GetNetworkAzureArrayOutput +} + +type GetNetworkAzureArray []GetNetworkAzureInput + +func (GetNetworkAzureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAzure)(nil)).Elem() +} + +func (i GetNetworkAzureArray) ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput { + return i.ToGetNetworkAzureArrayOutputWithContext(context.Background()) +} + +func (i GetNetworkAzureArray) ToGetNetworkAzureArrayOutputWithContext(ctx context.Context) GetNetworkAzureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAzureArrayOutput) +} + +type GetNetworkAzureOutput struct{ *pulumi.OutputState } + +func (GetNetworkAzureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAzure)(nil)).Elem() +} + +func (o GetNetworkAzureOutput) ToGetNetworkAzureOutput() GetNetworkAzureOutput { + return o +} + +func (o GetNetworkAzureOutput) ToGetNetworkAzureOutputWithContext(ctx context.Context) GetNetworkAzureOutput { + return o +} + +// (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). +func (o GetNetworkAzureOutput) PrivateLinkServiceAliases() pulumi.StringMapOutput { + return o.ApplyT(func(v GetNetworkAzure) map[string]string { return v.PrivateLinkServiceAliases }).(pulumi.StringMapOutput) +} + +type GetNetworkAzureArrayOutput struct{ *pulumi.OutputState } + +func (GetNetworkAzureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAzure)(nil)).Elem() +} + +func (o GetNetworkAzureArrayOutput) ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput { + return o +} + +func (o GetNetworkAzureArrayOutput) ToGetNetworkAzureArrayOutputWithContext(ctx context.Context) GetNetworkAzureArrayOutput { + return o +} + +func (o GetNetworkAzureArrayOutput) Index(i pulumi.IntInput) GetNetworkAzureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAzure { + return vs[0].([]GetNetworkAzure)[vs[1].(int)] + }).(GetNetworkAzureOutput) +} + +type GetNetworkDnsConfig struct { + // (Required String) Network DNS resolution. + // When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + // When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + Resolution string `pulumi:"resolution"` +} + +// GetNetworkDnsConfigInput is an input type that accepts GetNetworkDnsConfigArgs and GetNetworkDnsConfigOutput values. +// You can construct a concrete instance of `GetNetworkDnsConfigInput` via: +// +// GetNetworkDnsConfigArgs{...} +type GetNetworkDnsConfigInput interface { + pulumi.Input + + ToGetNetworkDnsConfigOutput() GetNetworkDnsConfigOutput + ToGetNetworkDnsConfigOutputWithContext(context.Context) GetNetworkDnsConfigOutput +} + +type GetNetworkDnsConfigArgs struct { + // (Required String) Network DNS resolution. + // When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + // When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + Resolution pulumi.StringInput `pulumi:"resolution"` +} + +func (GetNetworkDnsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkDnsConfig)(nil)).Elem() +} + +func (i GetNetworkDnsConfigArgs) ToGetNetworkDnsConfigOutput() GetNetworkDnsConfigOutput { + return i.ToGetNetworkDnsConfigOutputWithContext(context.Background()) +} + +func (i GetNetworkDnsConfigArgs) ToGetNetworkDnsConfigOutputWithContext(ctx context.Context) GetNetworkDnsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkDnsConfigOutput) +} + +// GetNetworkDnsConfigArrayInput is an input type that accepts GetNetworkDnsConfigArray and GetNetworkDnsConfigArrayOutput values. +// You can construct a concrete instance of `GetNetworkDnsConfigArrayInput` via: +// +// GetNetworkDnsConfigArray{ GetNetworkDnsConfigArgs{...} } +type GetNetworkDnsConfigArrayInput interface { + pulumi.Input + + ToGetNetworkDnsConfigArrayOutput() GetNetworkDnsConfigArrayOutput + ToGetNetworkDnsConfigArrayOutputWithContext(context.Context) GetNetworkDnsConfigArrayOutput +} + +type GetNetworkDnsConfigArray []GetNetworkDnsConfigInput + +func (GetNetworkDnsConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkDnsConfig)(nil)).Elem() +} + +func (i GetNetworkDnsConfigArray) ToGetNetworkDnsConfigArrayOutput() GetNetworkDnsConfigArrayOutput { + return i.ToGetNetworkDnsConfigArrayOutputWithContext(context.Background()) +} + +func (i GetNetworkDnsConfigArray) ToGetNetworkDnsConfigArrayOutputWithContext(ctx context.Context) GetNetworkDnsConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkDnsConfigArrayOutput) +} + +type GetNetworkDnsConfigOutput struct{ *pulumi.OutputState } + +func (GetNetworkDnsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkDnsConfig)(nil)).Elem() +} + +func (o GetNetworkDnsConfigOutput) ToGetNetworkDnsConfigOutput() GetNetworkDnsConfigOutput { + return o +} + +func (o GetNetworkDnsConfigOutput) ToGetNetworkDnsConfigOutputWithContext(ctx context.Context) GetNetworkDnsConfigOutput { + return o +} + +// (Required String) Network DNS resolution. +// When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. +// When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. +func (o GetNetworkDnsConfigOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkDnsConfig) string { return v.Resolution }).(pulumi.StringOutput) +} + +type GetNetworkDnsConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetNetworkDnsConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkDnsConfig)(nil)).Elem() +} + +func (o GetNetworkDnsConfigArrayOutput) ToGetNetworkDnsConfigArrayOutput() GetNetworkDnsConfigArrayOutput { + return o +} + +func (o GetNetworkDnsConfigArrayOutput) ToGetNetworkDnsConfigArrayOutputWithContext(ctx context.Context) GetNetworkDnsConfigArrayOutput { + return o +} + +func (o GetNetworkDnsConfigArrayOutput) Index(i pulumi.IntInput) GetNetworkDnsConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkDnsConfig { + return vs[0].([]GetNetworkDnsConfig)[vs[1].(int)] + }).(GetNetworkDnsConfigOutput) +} + +type GetNetworkEnvironment struct { + // The ID of the Environment that the Network belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetNetworkEnvironmentInput is an input type that accepts GetNetworkEnvironmentArgs and GetNetworkEnvironmentOutput values. +// You can construct a concrete instance of `GetNetworkEnvironmentInput` via: +// +// GetNetworkEnvironmentArgs{...} +type GetNetworkEnvironmentInput interface { + pulumi.Input + + ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput + ToGetNetworkEnvironmentOutputWithContext(context.Context) GetNetworkEnvironmentOutput +} + +type GetNetworkEnvironmentArgs struct { + // The ID of the Environment that the Network belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetNetworkEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkEnvironment)(nil)).Elem() +} + +func (i GetNetworkEnvironmentArgs) ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput { + return i.ToGetNetworkEnvironmentOutputWithContext(context.Background()) +} + +func (i GetNetworkEnvironmentArgs) ToGetNetworkEnvironmentOutputWithContext(ctx context.Context) GetNetworkEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkEnvironmentOutput) +} + +type GetNetworkEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetNetworkEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkEnvironment)(nil)).Elem() +} + +func (o GetNetworkEnvironmentOutput) ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput { + return o +} + +func (o GetNetworkEnvironmentOutput) ToGetNetworkEnvironmentOutputWithContext(ctx context.Context) GetNetworkEnvironmentOutput { + return o +} + +// The ID of the Environment that the Network belongs to, for example, `env-xyz456`. +func (o GetNetworkEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type GetNetworkGcp struct { + // (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). + PrivateServiceConnectServiceAttachments map[string]string `pulumi:"privateServiceConnectServiceAttachments"` + // (Required String) The GCP Project ID associated with the Confluent Cloud VPC. + Project string `pulumi:"project"` + // (Required String) The network name of the Confluent Cloud VPC. + VpcNetwork string `pulumi:"vpcNetwork"` +} + +// GetNetworkGcpInput is an input type that accepts GetNetworkGcpArgs and GetNetworkGcpOutput values. +// You can construct a concrete instance of `GetNetworkGcpInput` via: +// +// GetNetworkGcpArgs{...} +type GetNetworkGcpInput interface { + pulumi.Input + + ToGetNetworkGcpOutput() GetNetworkGcpOutput + ToGetNetworkGcpOutputWithContext(context.Context) GetNetworkGcpOutput +} + +type GetNetworkGcpArgs struct { + // (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). + PrivateServiceConnectServiceAttachments pulumi.StringMapInput `pulumi:"privateServiceConnectServiceAttachments"` + // (Required String) The GCP Project ID associated with the Confluent Cloud VPC. + Project pulumi.StringInput `pulumi:"project"` + // (Required String) The network name of the Confluent Cloud VPC. + VpcNetwork pulumi.StringInput `pulumi:"vpcNetwork"` +} + +func (GetNetworkGcpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkGcp)(nil)).Elem() +} + +func (i GetNetworkGcpArgs) ToGetNetworkGcpOutput() GetNetworkGcpOutput { + return i.ToGetNetworkGcpOutputWithContext(context.Background()) +} + +func (i GetNetworkGcpArgs) ToGetNetworkGcpOutputWithContext(ctx context.Context) GetNetworkGcpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkGcpOutput) +} + +// GetNetworkGcpArrayInput is an input type that accepts GetNetworkGcpArray and GetNetworkGcpArrayOutput values. +// You can construct a concrete instance of `GetNetworkGcpArrayInput` via: +// +// GetNetworkGcpArray{ GetNetworkGcpArgs{...} } +type GetNetworkGcpArrayInput interface { + pulumi.Input + + ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput + ToGetNetworkGcpArrayOutputWithContext(context.Context) GetNetworkGcpArrayOutput +} + +type GetNetworkGcpArray []GetNetworkGcpInput + +func (GetNetworkGcpArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkGcp)(nil)).Elem() +} + +func (i GetNetworkGcpArray) ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput { + return i.ToGetNetworkGcpArrayOutputWithContext(context.Background()) +} + +func (i GetNetworkGcpArray) ToGetNetworkGcpArrayOutputWithContext(ctx context.Context) GetNetworkGcpArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkGcpArrayOutput) +} + +type GetNetworkGcpOutput struct{ *pulumi.OutputState } + +func (GetNetworkGcpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkGcp)(nil)).Elem() +} + +func (o GetNetworkGcpOutput) ToGetNetworkGcpOutput() GetNetworkGcpOutput { + return o +} + +func (o GetNetworkGcpOutput) ToGetNetworkGcpOutputWithContext(ctx context.Context) GetNetworkGcpOutput { + return o +} + +// (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). +func (o GetNetworkGcpOutput) PrivateServiceConnectServiceAttachments() pulumi.StringMapOutput { + return o.ApplyT(func(v GetNetworkGcp) map[string]string { return v.PrivateServiceConnectServiceAttachments }).(pulumi.StringMapOutput) +} + +// (Required String) The GCP Project ID associated with the Confluent Cloud VPC. +func (o GetNetworkGcpOutput) Project() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkGcp) string { return v.Project }).(pulumi.StringOutput) +} + +// (Required String) The network name of the Confluent Cloud VPC. +func (o GetNetworkGcpOutput) VpcNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkGcp) string { return v.VpcNetwork }).(pulumi.StringOutput) +} + +type GetNetworkGcpArrayOutput struct{ *pulumi.OutputState } + +func (GetNetworkGcpArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkGcp)(nil)).Elem() +} + +func (o GetNetworkGcpArrayOutput) ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput { + return o +} + +func (o GetNetworkGcpArrayOutput) ToGetNetworkGcpArrayOutputWithContext(ctx context.Context) GetNetworkGcpArrayOutput { + return o +} + +func (o GetNetworkGcpArrayOutput) Index(i pulumi.IntInput) GetNetworkGcpOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkGcp { + return vs[0].([]GetNetworkGcp)[vs[1].(int)] + }).(GetNetworkGcpOutput) +} + +type GetPeeringAw struct { + // (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. + Account string `pulumi:"account"` + // (Required String) The region of the Azure peer VNet. + CustomerRegion string `pulumi:"customerRegion"` + // (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. + Routes []string `pulumi:"routes"` + // (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. + Vpc string `pulumi:"vpc"` +} + +// GetPeeringAwInput is an input type that accepts GetPeeringAwArgs and GetPeeringAwOutput values. +// You can construct a concrete instance of `GetPeeringAwInput` via: +// +// GetPeeringAwArgs{...} +type GetPeeringAwInput interface { + pulumi.Input + + ToGetPeeringAwOutput() GetPeeringAwOutput + ToGetPeeringAwOutputWithContext(context.Context) GetPeeringAwOutput +} + +type GetPeeringAwArgs struct { + // (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. + Account pulumi.StringInput `pulumi:"account"` + // (Required String) The region of the Azure peer VNet. + CustomerRegion pulumi.StringInput `pulumi:"customerRegion"` + // (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. + Routes pulumi.StringArrayInput `pulumi:"routes"` + // (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. + Vpc pulumi.StringInput `pulumi:"vpc"` +} + +func (GetPeeringAwArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringAw)(nil)).Elem() +} + +func (i GetPeeringAwArgs) ToGetPeeringAwOutput() GetPeeringAwOutput { + return i.ToGetPeeringAwOutputWithContext(context.Background()) +} + +func (i GetPeeringAwArgs) ToGetPeeringAwOutputWithContext(ctx context.Context) GetPeeringAwOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAwOutput) +} + +// GetPeeringAwArrayInput is an input type that accepts GetPeeringAwArray and GetPeeringAwArrayOutput values. +// You can construct a concrete instance of `GetPeeringAwArrayInput` via: +// +// GetPeeringAwArray{ GetPeeringAwArgs{...} } +type GetPeeringAwArrayInput interface { + pulumi.Input + + ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput + ToGetPeeringAwArrayOutputWithContext(context.Context) GetPeeringAwArrayOutput +} + +type GetPeeringAwArray []GetPeeringAwInput + +func (GetPeeringAwArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringAw)(nil)).Elem() +} + +func (i GetPeeringAwArray) ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput { + return i.ToGetPeeringAwArrayOutputWithContext(context.Background()) +} + +func (i GetPeeringAwArray) ToGetPeeringAwArrayOutputWithContext(ctx context.Context) GetPeeringAwArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAwArrayOutput) +} + +type GetPeeringAwOutput struct{ *pulumi.OutputState } + +func (GetPeeringAwOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringAw)(nil)).Elem() +} + +func (o GetPeeringAwOutput) ToGetPeeringAwOutput() GetPeeringAwOutput { + return o +} + +func (o GetPeeringAwOutput) ToGetPeeringAwOutputWithContext(ctx context.Context) GetPeeringAwOutput { + return o +} + +// (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. +func (o GetPeeringAwOutput) Account() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAw) string { return v.Account }).(pulumi.StringOutput) +} + +// (Required String) The region of the Azure peer VNet. +func (o GetPeeringAwOutput) CustomerRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAw) string { return v.CustomerRegion }).(pulumi.StringOutput) +} + +// (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. +func (o GetPeeringAwOutput) Routes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPeeringAw) []string { return v.Routes }).(pulumi.StringArrayOutput) +} + +// (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. +func (o GetPeeringAwOutput) Vpc() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAw) string { return v.Vpc }).(pulumi.StringOutput) +} + +type GetPeeringAwArrayOutput struct{ *pulumi.OutputState } + +func (GetPeeringAwArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringAw)(nil)).Elem() +} + +func (o GetPeeringAwArrayOutput) ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput { + return o +} + +func (o GetPeeringAwArrayOutput) ToGetPeeringAwArrayOutputWithContext(ctx context.Context) GetPeeringAwArrayOutput { + return o +} + +func (o GetPeeringAwArrayOutput) Index(i pulumi.IntInput) GetPeeringAwOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringAw { + return vs[0].([]GetPeeringAw)[vs[1].(int)] + }).(GetPeeringAwOutput) +} + +type GetPeeringAzure struct { + // (Required String) The region of the Azure peer VNet. + CustomerRegion string `pulumi:"customerRegion"` + // (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. + Tenant string `pulumi:"tenant"` + // (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). + Vnet string `pulumi:"vnet"` +} + +// GetPeeringAzureInput is an input type that accepts GetPeeringAzureArgs and GetPeeringAzureOutput values. +// You can construct a concrete instance of `GetPeeringAzureInput` via: +// +// GetPeeringAzureArgs{...} +type GetPeeringAzureInput interface { + pulumi.Input + + ToGetPeeringAzureOutput() GetPeeringAzureOutput + ToGetPeeringAzureOutputWithContext(context.Context) GetPeeringAzureOutput +} + +type GetPeeringAzureArgs struct { + // (Required String) The region of the Azure peer VNet. + CustomerRegion pulumi.StringInput `pulumi:"customerRegion"` + // (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. + Tenant pulumi.StringInput `pulumi:"tenant"` + // (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). + Vnet pulumi.StringInput `pulumi:"vnet"` +} + +func (GetPeeringAzureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringAzure)(nil)).Elem() +} + +func (i GetPeeringAzureArgs) ToGetPeeringAzureOutput() GetPeeringAzureOutput { + return i.ToGetPeeringAzureOutputWithContext(context.Background()) +} + +func (i GetPeeringAzureArgs) ToGetPeeringAzureOutputWithContext(ctx context.Context) GetPeeringAzureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAzureOutput) +} + +// GetPeeringAzureArrayInput is an input type that accepts GetPeeringAzureArray and GetPeeringAzureArrayOutput values. +// You can construct a concrete instance of `GetPeeringAzureArrayInput` via: +// +// GetPeeringAzureArray{ GetPeeringAzureArgs{...} } +type GetPeeringAzureArrayInput interface { + pulumi.Input + + ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput + ToGetPeeringAzureArrayOutputWithContext(context.Context) GetPeeringAzureArrayOutput +} + +type GetPeeringAzureArray []GetPeeringAzureInput + +func (GetPeeringAzureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringAzure)(nil)).Elem() +} + +func (i GetPeeringAzureArray) ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput { + return i.ToGetPeeringAzureArrayOutputWithContext(context.Background()) +} + +func (i GetPeeringAzureArray) ToGetPeeringAzureArrayOutputWithContext(ctx context.Context) GetPeeringAzureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAzureArrayOutput) +} + +type GetPeeringAzureOutput struct{ *pulumi.OutputState } + +func (GetPeeringAzureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringAzure)(nil)).Elem() +} + +func (o GetPeeringAzureOutput) ToGetPeeringAzureOutput() GetPeeringAzureOutput { + return o +} + +func (o GetPeeringAzureOutput) ToGetPeeringAzureOutputWithContext(ctx context.Context) GetPeeringAzureOutput { + return o +} + +// (Required String) The region of the Azure peer VNet. +func (o GetPeeringAzureOutput) CustomerRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAzure) string { return v.CustomerRegion }).(pulumi.StringOutput) +} + +// (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. +func (o GetPeeringAzureOutput) Tenant() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAzure) string { return v.Tenant }).(pulumi.StringOutput) +} + +// (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). +func (o GetPeeringAzureOutput) Vnet() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringAzure) string { return v.Vnet }).(pulumi.StringOutput) +} + +type GetPeeringAzureArrayOutput struct{ *pulumi.OutputState } + +func (GetPeeringAzureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringAzure)(nil)).Elem() +} + +func (o GetPeeringAzureArrayOutput) ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput { + return o +} + +func (o GetPeeringAzureArrayOutput) ToGetPeeringAzureArrayOutputWithContext(ctx context.Context) GetPeeringAzureArrayOutput { + return o +} + +func (o GetPeeringAzureArrayOutput) Index(i pulumi.IntInput) GetPeeringAzureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringAzure { + return vs[0].([]GetPeeringAzure)[vs[1].(int)] + }).(GetPeeringAzureOutput) +} + +type GetPeeringEnvironment struct { + // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetPeeringEnvironmentInput is an input type that accepts GetPeeringEnvironmentArgs and GetPeeringEnvironmentOutput values. +// You can construct a concrete instance of `GetPeeringEnvironmentInput` via: +// +// GetPeeringEnvironmentArgs{...} +type GetPeeringEnvironmentInput interface { + pulumi.Input + + ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput + ToGetPeeringEnvironmentOutputWithContext(context.Context) GetPeeringEnvironmentOutput +} + +type GetPeeringEnvironmentArgs struct { + // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetPeeringEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringEnvironment)(nil)).Elem() +} + +func (i GetPeeringEnvironmentArgs) ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput { + return i.ToGetPeeringEnvironmentOutputWithContext(context.Background()) +} + +func (i GetPeeringEnvironmentArgs) ToGetPeeringEnvironmentOutputWithContext(ctx context.Context) GetPeeringEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringEnvironmentOutput) +} + +type GetPeeringEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetPeeringEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringEnvironment)(nil)).Elem() +} + +func (o GetPeeringEnvironmentOutput) ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput { + return o +} + +func (o GetPeeringEnvironmentOutput) ToGetPeeringEnvironmentOutputWithContext(ctx context.Context) GetPeeringEnvironmentOutput { + return o +} + +// The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. +func (o GetPeeringEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringEnvironment) string { return v.Id }).(pulumi.StringOutput) +} + +type GetPeeringGcp struct { + // (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). + ImportCustomRoutes bool `pulumi:"importCustomRoutes"` + // (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). + Project string `pulumi:"project"` + // (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). + VpcNetwork string `pulumi:"vpcNetwork"` +} + +// GetPeeringGcpInput is an input type that accepts GetPeeringGcpArgs and GetPeeringGcpOutput values. +// You can construct a concrete instance of `GetPeeringGcpInput` via: +// +// GetPeeringGcpArgs{...} +type GetPeeringGcpInput interface { + pulumi.Input + + ToGetPeeringGcpOutput() GetPeeringGcpOutput + ToGetPeeringGcpOutputWithContext(context.Context) GetPeeringGcpOutput +} + +type GetPeeringGcpArgs struct { + // (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). + ImportCustomRoutes pulumi.BoolInput `pulumi:"importCustomRoutes"` + // (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). + Project pulumi.StringInput `pulumi:"project"` + // (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). + VpcNetwork pulumi.StringInput `pulumi:"vpcNetwork"` +} + +func (GetPeeringGcpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringGcp)(nil)).Elem() +} + +func (i GetPeeringGcpArgs) ToGetPeeringGcpOutput() GetPeeringGcpOutput { + return i.ToGetPeeringGcpOutputWithContext(context.Background()) +} + +func (i GetPeeringGcpArgs) ToGetPeeringGcpOutputWithContext(ctx context.Context) GetPeeringGcpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringGcpOutput) +} + +// GetPeeringGcpArrayInput is an input type that accepts GetPeeringGcpArray and GetPeeringGcpArrayOutput values. +// You can construct a concrete instance of `GetPeeringGcpArrayInput` via: +// +// GetPeeringGcpArray{ GetPeeringGcpArgs{...} } +type GetPeeringGcpArrayInput interface { + pulumi.Input + + ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput + ToGetPeeringGcpArrayOutputWithContext(context.Context) GetPeeringGcpArrayOutput +} + +type GetPeeringGcpArray []GetPeeringGcpInput + +func (GetPeeringGcpArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringGcp)(nil)).Elem() +} + +func (i GetPeeringGcpArray) ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput { + return i.ToGetPeeringGcpArrayOutputWithContext(context.Background()) +} + +func (i GetPeeringGcpArray) ToGetPeeringGcpArrayOutputWithContext(ctx context.Context) GetPeeringGcpArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringGcpArrayOutput) +} + +type GetPeeringGcpOutput struct{ *pulumi.OutputState } + +func (GetPeeringGcpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringGcp)(nil)).Elem() +} + +func (o GetPeeringGcpOutput) ToGetPeeringGcpOutput() GetPeeringGcpOutput { + return o +} + +func (o GetPeeringGcpOutput) ToGetPeeringGcpOutputWithContext(ctx context.Context) GetPeeringGcpOutput { + return o +} + +// (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). +func (o GetPeeringGcpOutput) ImportCustomRoutes() pulumi.BoolOutput { + return o.ApplyT(func(v GetPeeringGcp) bool { return v.ImportCustomRoutes }).(pulumi.BoolOutput) +} + +// (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). +func (o GetPeeringGcpOutput) Project() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringGcp) string { return v.Project }).(pulumi.StringOutput) +} + +// (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). +func (o GetPeeringGcpOutput) VpcNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringGcp) string { return v.VpcNetwork }).(pulumi.StringOutput) +} + +type GetPeeringGcpArrayOutput struct{ *pulumi.OutputState } + +func (GetPeeringGcpArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringGcp)(nil)).Elem() +} + +func (o GetPeeringGcpArrayOutput) ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput { + return o +} + +func (o GetPeeringGcpArrayOutput) ToGetPeeringGcpArrayOutputWithContext(ctx context.Context) GetPeeringGcpArrayOutput { + return o +} + +func (o GetPeeringGcpArrayOutput) Index(i pulumi.IntInput) GetPeeringGcpOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringGcp { + return vs[0].([]GetPeeringGcp)[vs[1].(int)] + }).(GetPeeringGcpOutput) +} + +type GetPeeringNetwork struct { + // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetPeeringNetworkInput is an input type that accepts GetPeeringNetworkArgs and GetPeeringNetworkOutput values. +// You can construct a concrete instance of `GetPeeringNetworkInput` via: +// +// GetPeeringNetworkArgs{...} +type GetPeeringNetworkInput interface { + pulumi.Input + + ToGetPeeringNetworkOutput() GetPeeringNetworkOutput + ToGetPeeringNetworkOutputWithContext(context.Context) GetPeeringNetworkOutput +} + +type GetPeeringNetworkArgs struct { + // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetPeeringNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringNetwork)(nil)).Elem() +} + +func (i GetPeeringNetworkArgs) ToGetPeeringNetworkOutput() GetPeeringNetworkOutput { + return i.ToGetPeeringNetworkOutputWithContext(context.Background()) +} + +func (i GetPeeringNetworkArgs) ToGetPeeringNetworkOutputWithContext(ctx context.Context) GetPeeringNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringNetworkOutput) +} + +// GetPeeringNetworkArrayInput is an input type that accepts GetPeeringNetworkArray and GetPeeringNetworkArrayOutput values. +// You can construct a concrete instance of `GetPeeringNetworkArrayInput` via: +// +// GetPeeringNetworkArray{ GetPeeringNetworkArgs{...} } +type GetPeeringNetworkArrayInput interface { + pulumi.Input + + ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput + ToGetPeeringNetworkArrayOutputWithContext(context.Context) GetPeeringNetworkArrayOutput +} + +type GetPeeringNetworkArray []GetPeeringNetworkInput + +func (GetPeeringNetworkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringNetwork)(nil)).Elem() +} + +func (i GetPeeringNetworkArray) ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput { + return i.ToGetPeeringNetworkArrayOutputWithContext(context.Background()) +} + +func (i GetPeeringNetworkArray) ToGetPeeringNetworkArrayOutputWithContext(ctx context.Context) GetPeeringNetworkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPeeringNetworkArrayOutput) +} + +type GetPeeringNetworkOutput struct{ *pulumi.OutputState } + +func (GetPeeringNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPeeringNetwork)(nil)).Elem() +} + +func (o GetPeeringNetworkOutput) ToGetPeeringNetworkOutput() GetPeeringNetworkOutput { + return o +} + +func (o GetPeeringNetworkOutput) ToGetPeeringNetworkOutputWithContext(ctx context.Context) GetPeeringNetworkOutput { + return o +} + +// The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. +func (o GetPeeringNetworkOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPeeringNetwork) string { return v.Id }).(pulumi.StringOutput) +} + +type GetPeeringNetworkArrayOutput struct{ *pulumi.OutputState } + +func (GetPeeringNetworkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPeeringNetwork)(nil)).Elem() +} + +func (o GetPeeringNetworkArrayOutput) ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput { + return o +} + +func (o GetPeeringNetworkArrayOutput) ToGetPeeringNetworkArrayOutputWithContext(ctx context.Context) GetPeeringNetworkArrayOutput { + return o +} + +func (o GetPeeringNetworkArrayOutput) Index(i pulumi.IntInput) GetPeeringNetworkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringNetwork { + return vs[0].([]GetPeeringNetwork)[vs[1].(int)] + }).(GetPeeringNetworkOutput) +} + +type GetPrivateLinkAccessAw struct { + // (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. + Account string `pulumi:"account"` +} + +// GetPrivateLinkAccessAwInput is an input type that accepts GetPrivateLinkAccessAwArgs and GetPrivateLinkAccessAwOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessAwInput` via: +// +// GetPrivateLinkAccessAwArgs{...} +type GetPrivateLinkAccessAwInput interface { + pulumi.Input + + ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput + ToGetPrivateLinkAccessAwOutputWithContext(context.Context) GetPrivateLinkAccessAwOutput +} + +type GetPrivateLinkAccessAwArgs struct { + // (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. + Account pulumi.StringInput `pulumi:"account"` +} + +func (GetPrivateLinkAccessAwArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessAw)(nil)).Elem() +} + +func (i GetPrivateLinkAccessAwArgs) ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput { + return i.ToGetPrivateLinkAccessAwOutputWithContext(context.Background()) +} + +func (i GetPrivateLinkAccessAwArgs) ToGetPrivateLinkAccessAwOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAwOutput) +} + +// GetPrivateLinkAccessAwArrayInput is an input type that accepts GetPrivateLinkAccessAwArray and GetPrivateLinkAccessAwArrayOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessAwArrayInput` via: +// +// GetPrivateLinkAccessAwArray{ GetPrivateLinkAccessAwArgs{...} } +type GetPrivateLinkAccessAwArrayInput interface { + pulumi.Input + + ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput + ToGetPrivateLinkAccessAwArrayOutputWithContext(context.Context) GetPrivateLinkAccessAwArrayOutput +} + +type GetPrivateLinkAccessAwArray []GetPrivateLinkAccessAwInput + +func (GetPrivateLinkAccessAwArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessAw)(nil)).Elem() +} + +func (i GetPrivateLinkAccessAwArray) ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput { + return i.ToGetPrivateLinkAccessAwArrayOutputWithContext(context.Background()) +} + +func (i GetPrivateLinkAccessAwArray) ToGetPrivateLinkAccessAwArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAwArrayOutput) +} + +type GetPrivateLinkAccessAwOutput struct{ *pulumi.OutputState } + +func (GetPrivateLinkAccessAwOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessAw)(nil)).Elem() } -func (GetKafkaTopicKafkaClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaTopicKafkaCluster)(nil)).Elem() +func (o GetPrivateLinkAccessAwOutput) ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput { + return o } -func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput { - return i.ToGetKafkaTopicKafkaClusterOutputWithContext(context.Background()) +func (o GetPrivateLinkAccessAwOutput) ToGetPrivateLinkAccessAwOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwOutput { + return o } -func (i GetKafkaTopicKafkaClusterArgs) ToGetKafkaTopicKafkaClusterOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKafkaTopicKafkaClusterOutput) +// (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. +func (o GetPrivateLinkAccessAwOutput) Account() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateLinkAccessAw) string { return v.Account }).(pulumi.StringOutput) } -type GetKafkaTopicKafkaClusterOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessAwArrayOutput struct{ *pulumi.OutputState } -func (GetKafkaTopicKafkaClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKafkaTopicKafkaCluster)(nil)).Elem() +func (GetPrivateLinkAccessAwArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessAw)(nil)).Elem() } -func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterOutput() GetKafkaTopicKafkaClusterOutput { +func (o GetPrivateLinkAccessAwArrayOutput) ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput { return o } -func (o GetKafkaTopicKafkaClusterOutput) ToGetKafkaTopicKafkaClusterOutputWithContext(ctx context.Context) GetKafkaTopicKafkaClusterOutput { +func (o GetPrivateLinkAccessAwArrayOutput) ToGetPrivateLinkAccessAwArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwArrayOutput { return o } -// The ID of the Kafka cluster, for example, `lkc-abc123`. -func (o GetKafkaTopicKafkaClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKafkaTopicKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +func (o GetPrivateLinkAccessAwArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessAwOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessAw { + return vs[0].([]GetPrivateLinkAccessAw)[vs[1].(int)] + }).(GetPrivateLinkAccessAwOutput) } -type GetKsqlClusterCredentialIdentity struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +type GetPrivateLinkAccessAzure struct { + // (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. + Subscription string `pulumi:"subscription"` } -// GetKsqlClusterCredentialIdentityInput is an input type that accepts GetKsqlClusterCredentialIdentityArgs and GetKsqlClusterCredentialIdentityOutput values. -// You can construct a concrete instance of `GetKsqlClusterCredentialIdentityInput` via: +// GetPrivateLinkAccessAzureInput is an input type that accepts GetPrivateLinkAccessAzureArgs and GetPrivateLinkAccessAzureOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessAzureInput` via: // -// GetKsqlClusterCredentialIdentityArgs{...} -type GetKsqlClusterCredentialIdentityInput interface { +// GetPrivateLinkAccessAzureArgs{...} +type GetPrivateLinkAccessAzureInput interface { pulumi.Input - ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput - ToGetKsqlClusterCredentialIdentityOutputWithContext(context.Context) GetKsqlClusterCredentialIdentityOutput + ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput + ToGetPrivateLinkAccessAzureOutputWithContext(context.Context) GetPrivateLinkAccessAzureOutput } -type GetKsqlClusterCredentialIdentityArgs struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +type GetPrivateLinkAccessAzureArgs struct { + // (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. + Subscription pulumi.StringInput `pulumi:"subscription"` } -func (GetKsqlClusterCredentialIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterCredentialIdentity)(nil)).Elem() +func (GetPrivateLinkAccessAzureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessAzure)(nil)).Elem() } -func (i GetKsqlClusterCredentialIdentityArgs) ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput { - return i.ToGetKsqlClusterCredentialIdentityOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessAzureArgs) ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput { + return i.ToGetPrivateLinkAccessAzureOutputWithContext(context.Background()) } -func (i GetKsqlClusterCredentialIdentityArgs) ToGetKsqlClusterCredentialIdentityOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterCredentialIdentityOutput) +func (i GetPrivateLinkAccessAzureArgs) ToGetPrivateLinkAccessAzureOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAzureOutput) } -// GetKsqlClusterCredentialIdentityArrayInput is an input type that accepts GetKsqlClusterCredentialIdentityArray and GetKsqlClusterCredentialIdentityArrayOutput values. -// You can construct a concrete instance of `GetKsqlClusterCredentialIdentityArrayInput` via: +// GetPrivateLinkAccessAzureArrayInput is an input type that accepts GetPrivateLinkAccessAzureArray and GetPrivateLinkAccessAzureArrayOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessAzureArrayInput` via: // -// GetKsqlClusterCredentialIdentityArray{ GetKsqlClusterCredentialIdentityArgs{...} } -type GetKsqlClusterCredentialIdentityArrayInput interface { +// GetPrivateLinkAccessAzureArray{ GetPrivateLinkAccessAzureArgs{...} } +type GetPrivateLinkAccessAzureArrayInput interface { pulumi.Input - ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput - ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(context.Context) GetKsqlClusterCredentialIdentityArrayOutput + ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput + ToGetPrivateLinkAccessAzureArrayOutputWithContext(context.Context) GetPrivateLinkAccessAzureArrayOutput } -type GetKsqlClusterCredentialIdentityArray []GetKsqlClusterCredentialIdentityInput +type GetPrivateLinkAccessAzureArray []GetPrivateLinkAccessAzureInput -func (GetKsqlClusterCredentialIdentityArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKsqlClusterCredentialIdentity)(nil)).Elem() +func (GetPrivateLinkAccessAzureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessAzure)(nil)).Elem() } -func (i GetKsqlClusterCredentialIdentityArray) ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput { - return i.ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessAzureArray) ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput { + return i.ToGetPrivateLinkAccessAzureArrayOutputWithContext(context.Background()) } -func (i GetKsqlClusterCredentialIdentityArray) ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterCredentialIdentityArrayOutput) +func (i GetPrivateLinkAccessAzureArray) ToGetPrivateLinkAccessAzureArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAzureArrayOutput) } -type GetKsqlClusterCredentialIdentityOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessAzureOutput struct{ *pulumi.OutputState } -func (GetKsqlClusterCredentialIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterCredentialIdentity)(nil)).Elem() +func (GetPrivateLinkAccessAzureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessAzure)(nil)).Elem() } -func (o GetKsqlClusterCredentialIdentityOutput) ToGetKsqlClusterCredentialIdentityOutput() GetKsqlClusterCredentialIdentityOutput { +func (o GetPrivateLinkAccessAzureOutput) ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput { return o } -func (o GetKsqlClusterCredentialIdentityOutput) ToGetKsqlClusterCredentialIdentityOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityOutput { +func (o GetPrivateLinkAccessAzureOutput) ToGetPrivateLinkAccessAzureOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureOutput { return o } -// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. -func (o GetKsqlClusterCredentialIdentityOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKsqlClusterCredentialIdentity) string { return v.Id }).(pulumi.StringOutput) +// (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. +func (o GetPrivateLinkAccessAzureOutput) Subscription() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateLinkAccessAzure) string { return v.Subscription }).(pulumi.StringOutput) } -type GetKsqlClusterCredentialIdentityArrayOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessAzureArrayOutput struct{ *pulumi.OutputState } -func (GetKsqlClusterCredentialIdentityArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKsqlClusterCredentialIdentity)(nil)).Elem() +func (GetPrivateLinkAccessAzureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessAzure)(nil)).Elem() } -func (o GetKsqlClusterCredentialIdentityArrayOutput) ToGetKsqlClusterCredentialIdentityArrayOutput() GetKsqlClusterCredentialIdentityArrayOutput { +func (o GetPrivateLinkAccessAzureArrayOutput) ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput { return o } -func (o GetKsqlClusterCredentialIdentityArrayOutput) ToGetKsqlClusterCredentialIdentityArrayOutputWithContext(ctx context.Context) GetKsqlClusterCredentialIdentityArrayOutput { +func (o GetPrivateLinkAccessAzureArrayOutput) ToGetPrivateLinkAccessAzureArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureArrayOutput { return o } -func (o GetKsqlClusterCredentialIdentityArrayOutput) Index(i pulumi.IntInput) GetKsqlClusterCredentialIdentityOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKsqlClusterCredentialIdentity { - return vs[0].([]GetKsqlClusterCredentialIdentity)[vs[1].(int)] - }).(GetKsqlClusterCredentialIdentityOutput) +func (o GetPrivateLinkAccessAzureArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessAzureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessAzure { + return vs[0].([]GetPrivateLinkAccessAzure)[vs[1].(int)] + }).(GetPrivateLinkAccessAzureOutput) } -type GetKsqlClusterEnvironment struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. +type GetPrivateLinkAccessEnvironment struct { + // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. Id string `pulumi:"id"` } -// GetKsqlClusterEnvironmentInput is an input type that accepts GetKsqlClusterEnvironmentArgs and GetKsqlClusterEnvironmentOutput values. -// You can construct a concrete instance of `GetKsqlClusterEnvironmentInput` via: +// GetPrivateLinkAccessEnvironmentInput is an input type that accepts GetPrivateLinkAccessEnvironmentArgs and GetPrivateLinkAccessEnvironmentOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessEnvironmentInput` via: // -// GetKsqlClusterEnvironmentArgs{...} -type GetKsqlClusterEnvironmentInput interface { +// GetPrivateLinkAccessEnvironmentArgs{...} +type GetPrivateLinkAccessEnvironmentInput interface { pulumi.Input - ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput - ToGetKsqlClusterEnvironmentOutputWithContext(context.Context) GetKsqlClusterEnvironmentOutput + ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput + ToGetPrivateLinkAccessEnvironmentOutputWithContext(context.Context) GetPrivateLinkAccessEnvironmentOutput } -type GetKsqlClusterEnvironmentArgs struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. +type GetPrivateLinkAccessEnvironmentArgs struct { + // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. Id pulumi.StringInput `pulumi:"id"` } -func (GetKsqlClusterEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterEnvironment)(nil)).Elem() +func (GetPrivateLinkAccessEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessEnvironment)(nil)).Elem() } -func (i GetKsqlClusterEnvironmentArgs) ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput { - return i.ToGetKsqlClusterEnvironmentOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessEnvironmentArgs) ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput { + return i.ToGetPrivateLinkAccessEnvironmentOutputWithContext(context.Background()) } -func (i GetKsqlClusterEnvironmentArgs) ToGetKsqlClusterEnvironmentOutputWithContext(ctx context.Context) GetKsqlClusterEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterEnvironmentOutput) +func (i GetPrivateLinkAccessEnvironmentArgs) ToGetPrivateLinkAccessEnvironmentOutputWithContext(ctx context.Context) GetPrivateLinkAccessEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessEnvironmentOutput) } -type GetKsqlClusterEnvironmentOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessEnvironmentOutput struct{ *pulumi.OutputState } -func (GetKsqlClusterEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterEnvironment)(nil)).Elem() +func (GetPrivateLinkAccessEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessEnvironment)(nil)).Elem() } -func (o GetKsqlClusterEnvironmentOutput) ToGetKsqlClusterEnvironmentOutput() GetKsqlClusterEnvironmentOutput { +func (o GetPrivateLinkAccessEnvironmentOutput) ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput { return o } -func (o GetKsqlClusterEnvironmentOutput) ToGetKsqlClusterEnvironmentOutputWithContext(ctx context.Context) GetKsqlClusterEnvironmentOutput { +func (o GetPrivateLinkAccessEnvironmentOutput) ToGetPrivateLinkAccessEnvironmentOutputWithContext(ctx context.Context) GetPrivateLinkAccessEnvironmentOutput { return o } -// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. -func (o GetKsqlClusterEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKsqlClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. +func (o GetPrivateLinkAccessEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateLinkAccessEnvironment) string { return v.Id }).(pulumi.StringOutput) } -type GetKsqlClusterKafkaCluster struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +type GetPrivateLinkAccessGcp struct { + // (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). + Project string `pulumi:"project"` } -// GetKsqlClusterKafkaClusterInput is an input type that accepts GetKsqlClusterKafkaClusterArgs and GetKsqlClusterKafkaClusterOutput values. -// You can construct a concrete instance of `GetKsqlClusterKafkaClusterInput` via: +// GetPrivateLinkAccessGcpInput is an input type that accepts GetPrivateLinkAccessGcpArgs and GetPrivateLinkAccessGcpOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessGcpInput` via: // -// GetKsqlClusterKafkaClusterArgs{...} -type GetKsqlClusterKafkaClusterInput interface { +// GetPrivateLinkAccessGcpArgs{...} +type GetPrivateLinkAccessGcpInput interface { pulumi.Input - ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput - ToGetKsqlClusterKafkaClusterOutputWithContext(context.Context) GetKsqlClusterKafkaClusterOutput + ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput + ToGetPrivateLinkAccessGcpOutputWithContext(context.Context) GetPrivateLinkAccessGcpOutput } -type GetKsqlClusterKafkaClusterArgs struct { - // The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +type GetPrivateLinkAccessGcpArgs struct { + // (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). + Project pulumi.StringInput `pulumi:"project"` } -func (GetKsqlClusterKafkaClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterKafkaCluster)(nil)).Elem() +func (GetPrivateLinkAccessGcpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessGcp)(nil)).Elem() } -func (i GetKsqlClusterKafkaClusterArgs) ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput { - return i.ToGetKsqlClusterKafkaClusterOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessGcpArgs) ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput { + return i.ToGetPrivateLinkAccessGcpOutputWithContext(context.Background()) } -func (i GetKsqlClusterKafkaClusterArgs) ToGetKsqlClusterKafkaClusterOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterKafkaClusterOutput) +func (i GetPrivateLinkAccessGcpArgs) ToGetPrivateLinkAccessGcpOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessGcpOutput) } -// GetKsqlClusterKafkaClusterArrayInput is an input type that accepts GetKsqlClusterKafkaClusterArray and GetKsqlClusterKafkaClusterArrayOutput values. -// You can construct a concrete instance of `GetKsqlClusterKafkaClusterArrayInput` via: +// GetPrivateLinkAccessGcpArrayInput is an input type that accepts GetPrivateLinkAccessGcpArray and GetPrivateLinkAccessGcpArrayOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessGcpArrayInput` via: // -// GetKsqlClusterKafkaClusterArray{ GetKsqlClusterKafkaClusterArgs{...} } -type GetKsqlClusterKafkaClusterArrayInput interface { +// GetPrivateLinkAccessGcpArray{ GetPrivateLinkAccessGcpArgs{...} } +type GetPrivateLinkAccessGcpArrayInput interface { pulumi.Input - ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput - ToGetKsqlClusterKafkaClusterArrayOutputWithContext(context.Context) GetKsqlClusterKafkaClusterArrayOutput + ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput + ToGetPrivateLinkAccessGcpArrayOutputWithContext(context.Context) GetPrivateLinkAccessGcpArrayOutput } -type GetKsqlClusterKafkaClusterArray []GetKsqlClusterKafkaClusterInput +type GetPrivateLinkAccessGcpArray []GetPrivateLinkAccessGcpInput -func (GetKsqlClusterKafkaClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKsqlClusterKafkaCluster)(nil)).Elem() +func (GetPrivateLinkAccessGcpArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessGcp)(nil)).Elem() } -func (i GetKsqlClusterKafkaClusterArray) ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput { - return i.ToGetKsqlClusterKafkaClusterArrayOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessGcpArray) ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput { + return i.ToGetPrivateLinkAccessGcpArrayOutputWithContext(context.Background()) } -func (i GetKsqlClusterKafkaClusterArray) ToGetKsqlClusterKafkaClusterArrayOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKsqlClusterKafkaClusterArrayOutput) +func (i GetPrivateLinkAccessGcpArray) ToGetPrivateLinkAccessGcpArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessGcpArrayOutput) } -type GetKsqlClusterKafkaClusterOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessGcpOutput struct{ *pulumi.OutputState } -func (GetKsqlClusterKafkaClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKsqlClusterKafkaCluster)(nil)).Elem() +func (GetPrivateLinkAccessGcpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessGcp)(nil)).Elem() } -func (o GetKsqlClusterKafkaClusterOutput) ToGetKsqlClusterKafkaClusterOutput() GetKsqlClusterKafkaClusterOutput { +func (o GetPrivateLinkAccessGcpOutput) ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput { return o } -func (o GetKsqlClusterKafkaClusterOutput) ToGetKsqlClusterKafkaClusterOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterOutput { +func (o GetPrivateLinkAccessGcpOutput) ToGetPrivateLinkAccessGcpOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpOutput { return o } -// The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. -func (o GetKsqlClusterKafkaClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKsqlClusterKafkaCluster) string { return v.Id }).(pulumi.StringOutput) +// (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). +func (o GetPrivateLinkAccessGcpOutput) Project() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateLinkAccessGcp) string { return v.Project }).(pulumi.StringOutput) } -type GetKsqlClusterKafkaClusterArrayOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessGcpArrayOutput struct{ *pulumi.OutputState } -func (GetKsqlClusterKafkaClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKsqlClusterKafkaCluster)(nil)).Elem() +func (GetPrivateLinkAccessGcpArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessGcp)(nil)).Elem() } -func (o GetKsqlClusterKafkaClusterArrayOutput) ToGetKsqlClusterKafkaClusterArrayOutput() GetKsqlClusterKafkaClusterArrayOutput { +func (o GetPrivateLinkAccessGcpArrayOutput) ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput { return o } -func (o GetKsqlClusterKafkaClusterArrayOutput) ToGetKsqlClusterKafkaClusterArrayOutputWithContext(ctx context.Context) GetKsqlClusterKafkaClusterArrayOutput { +func (o GetPrivateLinkAccessGcpArrayOutput) ToGetPrivateLinkAccessGcpArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpArrayOutput { return o } -func (o GetKsqlClusterKafkaClusterArrayOutput) Index(i pulumi.IntInput) GetKsqlClusterKafkaClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKsqlClusterKafkaCluster { - return vs[0].([]GetKsqlClusterKafkaCluster)[vs[1].(int)] - }).(GetKsqlClusterKafkaClusterOutput) +func (o GetPrivateLinkAccessGcpArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessGcpOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessGcp { + return vs[0].([]GetPrivateLinkAccessGcp)[vs[1].(int)] + }).(GetPrivateLinkAccessGcpOutput) } -type GetNetworkAw struct { - // (Required String) The AWS account ID associated with the Confluent Cloud VPC. - Account string `pulumi:"account"` - // (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. - PrivateLinkEndpointService string `pulumi:"privateLinkEndpointService"` - // (Required String) The Confluent Cloud VPC ID. - Vpc string `pulumi:"vpc"` +type GetPrivateLinkAccessNetwork struct { + // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` } -// GetNetworkAwInput is an input type that accepts GetNetworkAwArgs and GetNetworkAwOutput values. -// You can construct a concrete instance of `GetNetworkAwInput` via: +// GetPrivateLinkAccessNetworkInput is an input type that accepts GetPrivateLinkAccessNetworkArgs and GetPrivateLinkAccessNetworkOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessNetworkInput` via: // -// GetNetworkAwArgs{...} -type GetNetworkAwInput interface { +// GetPrivateLinkAccessNetworkArgs{...} +type GetPrivateLinkAccessNetworkInput interface { pulumi.Input - ToGetNetworkAwOutput() GetNetworkAwOutput - ToGetNetworkAwOutputWithContext(context.Context) GetNetworkAwOutput + ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput + ToGetPrivateLinkAccessNetworkOutputWithContext(context.Context) GetPrivateLinkAccessNetworkOutput } -type GetNetworkAwArgs struct { - // (Required String) The AWS account ID associated with the Confluent Cloud VPC. - Account pulumi.StringInput `pulumi:"account"` - // (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. - PrivateLinkEndpointService pulumi.StringInput `pulumi:"privateLinkEndpointService"` - // (Required String) The Confluent Cloud VPC ID. - Vpc pulumi.StringInput `pulumi:"vpc"` +type GetPrivateLinkAccessNetworkArgs struct { + // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` } -func (GetNetworkAwArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAw)(nil)).Elem() +func (GetPrivateLinkAccessNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessNetwork)(nil)).Elem() } -func (i GetNetworkAwArgs) ToGetNetworkAwOutput() GetNetworkAwOutput { - return i.ToGetNetworkAwOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessNetworkArgs) ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput { + return i.ToGetPrivateLinkAccessNetworkOutputWithContext(context.Background()) } -func (i GetNetworkAwArgs) ToGetNetworkAwOutputWithContext(ctx context.Context) GetNetworkAwOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAwOutput) +func (i GetPrivateLinkAccessNetworkArgs) ToGetPrivateLinkAccessNetworkOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessNetworkOutput) } -// GetNetworkAwArrayInput is an input type that accepts GetNetworkAwArray and GetNetworkAwArrayOutput values. -// You can construct a concrete instance of `GetNetworkAwArrayInput` via: +// GetPrivateLinkAccessNetworkArrayInput is an input type that accepts GetPrivateLinkAccessNetworkArray and GetPrivateLinkAccessNetworkArrayOutput values. +// You can construct a concrete instance of `GetPrivateLinkAccessNetworkArrayInput` via: // -// GetNetworkAwArray{ GetNetworkAwArgs{...} } -type GetNetworkAwArrayInput interface { +// GetPrivateLinkAccessNetworkArray{ GetPrivateLinkAccessNetworkArgs{...} } +type GetPrivateLinkAccessNetworkArrayInput interface { pulumi.Input - ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput - ToGetNetworkAwArrayOutputWithContext(context.Context) GetNetworkAwArrayOutput + ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput + ToGetPrivateLinkAccessNetworkArrayOutputWithContext(context.Context) GetPrivateLinkAccessNetworkArrayOutput } -type GetNetworkAwArray []GetNetworkAwInput +type GetPrivateLinkAccessNetworkArray []GetPrivateLinkAccessNetworkInput -func (GetNetworkAwArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAw)(nil)).Elem() +func (GetPrivateLinkAccessNetworkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessNetwork)(nil)).Elem() } -func (i GetNetworkAwArray) ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput { - return i.ToGetNetworkAwArrayOutputWithContext(context.Background()) +func (i GetPrivateLinkAccessNetworkArray) ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput { + return i.ToGetPrivateLinkAccessNetworkArrayOutputWithContext(context.Background()) } -func (i GetNetworkAwArray) ToGetNetworkAwArrayOutputWithContext(ctx context.Context) GetNetworkAwArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAwArrayOutput) +func (i GetPrivateLinkAccessNetworkArray) ToGetPrivateLinkAccessNetworkArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessNetworkArrayOutput) } -type GetNetworkAwOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessNetworkOutput struct{ *pulumi.OutputState } -func (GetNetworkAwOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAw)(nil)).Elem() +func (GetPrivateLinkAccessNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateLinkAccessNetwork)(nil)).Elem() } -func (o GetNetworkAwOutput) ToGetNetworkAwOutput() GetNetworkAwOutput { +func (o GetPrivateLinkAccessNetworkOutput) ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput { return o } -func (o GetNetworkAwOutput) ToGetNetworkAwOutputWithContext(ctx context.Context) GetNetworkAwOutput { +func (o GetPrivateLinkAccessNetworkOutput) ToGetPrivateLinkAccessNetworkOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkOutput { return o } -// (Required String) The AWS account ID associated with the Confluent Cloud VPC. -func (o GetNetworkAwOutput) Account() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkAw) string { return v.Account }).(pulumi.StringOutput) -} - -// (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available. -func (o GetNetworkAwOutput) PrivateLinkEndpointService() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkAw) string { return v.PrivateLinkEndpointService }).(pulumi.StringOutput) -} - -// (Required String) The Confluent Cloud VPC ID. -func (o GetNetworkAwOutput) Vpc() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkAw) string { return v.Vpc }).(pulumi.StringOutput) +// The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. +func (o GetPrivateLinkAccessNetworkOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateLinkAccessNetwork) string { return v.Id }).(pulumi.StringOutput) } -type GetNetworkAwArrayOutput struct{ *pulumi.OutputState } +type GetPrivateLinkAccessNetworkArrayOutput struct{ *pulumi.OutputState } -func (GetNetworkAwArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAw)(nil)).Elem() +func (GetPrivateLinkAccessNetworkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateLinkAccessNetwork)(nil)).Elem() } -func (o GetNetworkAwArrayOutput) ToGetNetworkAwArrayOutput() GetNetworkAwArrayOutput { +func (o GetPrivateLinkAccessNetworkArrayOutput) ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput { return o } -func (o GetNetworkAwArrayOutput) ToGetNetworkAwArrayOutputWithContext(ctx context.Context) GetNetworkAwArrayOutput { +func (o GetPrivateLinkAccessNetworkArrayOutput) ToGetPrivateLinkAccessNetworkArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkArrayOutput { return o } -func (o GetNetworkAwArrayOutput) Index(i pulumi.IntInput) GetNetworkAwOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAw { - return vs[0].([]GetNetworkAw)[vs[1].(int)] - }).(GetNetworkAwOutput) +func (o GetPrivateLinkAccessNetworkArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessNetworkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessNetwork { + return vs[0].([]GetPrivateLinkAccessNetwork)[vs[1].(int)] + }).(GetPrivateLinkAccessNetworkOutput) } -type GetNetworkAzure struct { - // (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). - PrivateLinkServiceAliases map[string]string `pulumi:"privateLinkServiceAliases"` +type GetSchemaCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` } -// GetNetworkAzureInput is an input type that accepts GetNetworkAzureArgs and GetNetworkAzureOutput values. -// You can construct a concrete instance of `GetNetworkAzureInput` via: +// GetSchemaCredentialsInput is an input type that accepts GetSchemaCredentialsArgs and GetSchemaCredentialsOutput values. +// You can construct a concrete instance of `GetSchemaCredentialsInput` via: // -// GetNetworkAzureArgs{...} -type GetNetworkAzureInput interface { +// GetSchemaCredentialsArgs{...} +type GetSchemaCredentialsInput interface { pulumi.Input - ToGetNetworkAzureOutput() GetNetworkAzureOutput - ToGetNetworkAzureOutputWithContext(context.Context) GetNetworkAzureOutput + ToGetSchemaCredentialsOutput() GetSchemaCredentialsOutput + ToGetSchemaCredentialsOutputWithContext(context.Context) GetSchemaCredentialsOutput } -type GetNetworkAzureArgs struct { - // (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). - PrivateLinkServiceAliases pulumi.StringMapInput `pulumi:"privateLinkServiceAliases"` +type GetSchemaCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetNetworkAzureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAzure)(nil)).Elem() +func (GetSchemaCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaCredentials)(nil)).Elem() } -func (i GetNetworkAzureArgs) ToGetNetworkAzureOutput() GetNetworkAzureOutput { - return i.ToGetNetworkAzureOutputWithContext(context.Background()) +func (i GetSchemaCredentialsArgs) ToGetSchemaCredentialsOutput() GetSchemaCredentialsOutput { + return i.ToGetSchemaCredentialsOutputWithContext(context.Background()) } -func (i GetNetworkAzureArgs) ToGetNetworkAzureOutputWithContext(ctx context.Context) GetNetworkAzureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAzureOutput) +func (i GetSchemaCredentialsArgs) ToGetSchemaCredentialsOutputWithContext(ctx context.Context) GetSchemaCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaCredentialsOutput) } -// GetNetworkAzureArrayInput is an input type that accepts GetNetworkAzureArray and GetNetworkAzureArrayOutput values. -// You can construct a concrete instance of `GetNetworkAzureArrayInput` via: -// -// GetNetworkAzureArray{ GetNetworkAzureArgs{...} } -type GetNetworkAzureArrayInput interface { - pulumi.Input - - ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput - ToGetNetworkAzureArrayOutputWithContext(context.Context) GetNetworkAzureArrayOutput +func (i GetSchemaCredentialsArgs) ToGetSchemaCredentialsPtrOutput() GetSchemaCredentialsPtrOutput { + return i.ToGetSchemaCredentialsPtrOutputWithContext(context.Background()) } -type GetNetworkAzureArray []GetNetworkAzureInput - -func (GetNetworkAzureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAzure)(nil)).Elem() +func (i GetSchemaCredentialsArgs) ToGetSchemaCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaCredentialsOutput).ToGetSchemaCredentialsPtrOutputWithContext(ctx) } -func (i GetNetworkAzureArray) ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput { - return i.ToGetNetworkAzureArrayOutputWithContext(context.Background()) -} +// GetSchemaCredentialsPtrInput is an input type that accepts GetSchemaCredentialsArgs, GetSchemaCredentialsPtr and GetSchemaCredentialsPtrOutput values. +// You can construct a concrete instance of `GetSchemaCredentialsPtrInput` via: +// +// GetSchemaCredentialsArgs{...} +// +// or: +// +// nil +type GetSchemaCredentialsPtrInput interface { + pulumi.Input -func (i GetNetworkAzureArray) ToGetNetworkAzureArrayOutputWithContext(ctx context.Context) GetNetworkAzureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAzureArrayOutput) + ToGetSchemaCredentialsPtrOutput() GetSchemaCredentialsPtrOutput + ToGetSchemaCredentialsPtrOutputWithContext(context.Context) GetSchemaCredentialsPtrOutput } -type GetNetworkAzureOutput struct{ *pulumi.OutputState } +type getSchemaCredentialsPtrType GetSchemaCredentialsArgs -func (GetNetworkAzureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAzure)(nil)).Elem() +func GetSchemaCredentialsPtr(v *GetSchemaCredentialsArgs) GetSchemaCredentialsPtrInput { + return (*getSchemaCredentialsPtrType)(v) } -func (o GetNetworkAzureOutput) ToGetNetworkAzureOutput() GetNetworkAzureOutput { - return o +func (*getSchemaCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaCredentials)(nil)).Elem() } -func (o GetNetworkAzureOutput) ToGetNetworkAzureOutputWithContext(ctx context.Context) GetNetworkAzureOutput { - return o +func (i *getSchemaCredentialsPtrType) ToGetSchemaCredentialsPtrOutput() GetSchemaCredentialsPtrOutput { + return i.ToGetSchemaCredentialsPtrOutputWithContext(context.Background()) } -// (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). -func (o GetNetworkAzureOutput) PrivateLinkServiceAliases() pulumi.StringMapOutput { - return o.ApplyT(func(v GetNetworkAzure) map[string]string { return v.PrivateLinkServiceAliases }).(pulumi.StringMapOutput) +func (i *getSchemaCredentialsPtrType) ToGetSchemaCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaCredentialsPtrOutput) } -type GetNetworkAzureArrayOutput struct{ *pulumi.OutputState } +type GetSchemaCredentialsOutput struct{ *pulumi.OutputState } -func (GetNetworkAzureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAzure)(nil)).Elem() +func (GetSchemaCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaCredentials)(nil)).Elem() } -func (o GetNetworkAzureArrayOutput) ToGetNetworkAzureArrayOutput() GetNetworkAzureArrayOutput { +func (o GetSchemaCredentialsOutput) ToGetSchemaCredentialsOutput() GetSchemaCredentialsOutput { return o } -func (o GetNetworkAzureArrayOutput) ToGetNetworkAzureArrayOutputWithContext(ctx context.Context) GetNetworkAzureArrayOutput { +func (o GetSchemaCredentialsOutput) ToGetSchemaCredentialsOutputWithContext(ctx context.Context) GetSchemaCredentialsOutput { return o } -func (o GetNetworkAzureArrayOutput) Index(i pulumi.IntInput) GetNetworkAzureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAzure { - return vs[0].([]GetNetworkAzure)[vs[1].(int)] - }).(GetNetworkAzureOutput) +func (o GetSchemaCredentialsOutput) ToGetSchemaCredentialsPtrOutput() GetSchemaCredentialsPtrOutput { + return o.ToGetSchemaCredentialsPtrOutputWithContext(context.Background()) } -type GetNetworkEnvironment struct { - // The ID of the Environment that the Network belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +func (o GetSchemaCredentialsOutput) ToGetSchemaCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaCredentials) *GetSchemaCredentials { + return &v + }).(GetSchemaCredentialsPtrOutput) } -// GetNetworkEnvironmentInput is an input type that accepts GetNetworkEnvironmentArgs and GetNetworkEnvironmentOutput values. -// You can construct a concrete instance of `GetNetworkEnvironmentInput` via: -// -// GetNetworkEnvironmentArgs{...} -type GetNetworkEnvironmentInput interface { - pulumi.Input - - ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput - ToGetNetworkEnvironmentOutputWithContext(context.Context) GetNetworkEnvironmentOutput +// The Schema Registry API Key. +func (o GetSchemaCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaCredentials) string { return v.Key }).(pulumi.StringOutput) } -type GetNetworkEnvironmentArgs struct { - // The ID of the Environment that the Network belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +// The Schema Registry API Secret. +func (o GetSchemaCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaCredentials) string { return v.Secret }).(pulumi.StringOutput) } -func (GetNetworkEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkEnvironment)(nil)).Elem() -} +type GetSchemaCredentialsPtrOutput struct{ *pulumi.OutputState } -func (i GetNetworkEnvironmentArgs) ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput { - return i.ToGetNetworkEnvironmentOutputWithContext(context.Background()) +func (GetSchemaCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaCredentials)(nil)).Elem() } -func (i GetNetworkEnvironmentArgs) ToGetNetworkEnvironmentOutputWithContext(ctx context.Context) GetNetworkEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkEnvironmentOutput) +func (o GetSchemaCredentialsPtrOutput) ToGetSchemaCredentialsPtrOutput() GetSchemaCredentialsPtrOutput { + return o } -type GetNetworkEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetNetworkEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkEnvironment)(nil)).Elem() +func (o GetSchemaCredentialsPtrOutput) ToGetSchemaCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaCredentialsPtrOutput { + return o } -func (o GetNetworkEnvironmentOutput) ToGetNetworkEnvironmentOutput() GetNetworkEnvironmentOutput { - return o +func (o GetSchemaCredentialsPtrOutput) Elem() GetSchemaCredentialsOutput { + return o.ApplyT(func(v *GetSchemaCredentials) GetSchemaCredentials { + if v != nil { + return *v + } + var ret GetSchemaCredentials + return ret + }).(GetSchemaCredentialsOutput) } -func (o GetNetworkEnvironmentOutput) ToGetNetworkEnvironmentOutputWithContext(ctx context.Context) GetNetworkEnvironmentOutput { - return o +// The Schema Registry API Key. +func (o GetSchemaCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) } -// The ID of the Environment that the Network belongs to, for example, `env-xyz456`. -func (o GetNetworkEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Secret. +func (o GetSchemaCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) } -type GetNetworkGcp struct { - // (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). - PrivateServiceConnectServiceAttachments map[string]string `pulumi:"privateServiceConnectServiceAttachments"` - // (Required String) The GCP Project ID associated with the Confluent Cloud VPC. - Project string `pulumi:"project"` - // (Required String) The network name of the Confluent Cloud VPC. - VpcNetwork string `pulumi:"vpcNetwork"` +type GetSchemaRegistryClusterConfigCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` } -// GetNetworkGcpInput is an input type that accepts GetNetworkGcpArgs and GetNetworkGcpOutput values. -// You can construct a concrete instance of `GetNetworkGcpInput` via: +// GetSchemaRegistryClusterConfigCredentialsInput is an input type that accepts GetSchemaRegistryClusterConfigCredentialsArgs and GetSchemaRegistryClusterConfigCredentialsOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterConfigCredentialsInput` via: // -// GetNetworkGcpArgs{...} -type GetNetworkGcpInput interface { +// GetSchemaRegistryClusterConfigCredentialsArgs{...} +type GetSchemaRegistryClusterConfigCredentialsInput interface { pulumi.Input - ToGetNetworkGcpOutput() GetNetworkGcpOutput - ToGetNetworkGcpOutputWithContext(context.Context) GetNetworkGcpOutput + ToGetSchemaRegistryClusterConfigCredentialsOutput() GetSchemaRegistryClusterConfigCredentialsOutput + ToGetSchemaRegistryClusterConfigCredentialsOutputWithContext(context.Context) GetSchemaRegistryClusterConfigCredentialsOutput } -type GetNetworkGcpArgs struct { - // (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). - PrivateServiceConnectServiceAttachments pulumi.StringMapInput `pulumi:"privateServiceConnectServiceAttachments"` - // (Required String) The GCP Project ID associated with the Confluent Cloud VPC. - Project pulumi.StringInput `pulumi:"project"` - // (Required String) The network name of the Confluent Cloud VPC. - VpcNetwork pulumi.StringInput `pulumi:"vpcNetwork"` +type GetSchemaRegistryClusterConfigCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetNetworkGcpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkGcp)(nil)).Elem() +func (GetSchemaRegistryClusterConfigCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (i GetNetworkGcpArgs) ToGetNetworkGcpOutput() GetNetworkGcpOutput { - return i.ToGetNetworkGcpOutputWithContext(context.Background()) +func (i GetSchemaRegistryClusterConfigCredentialsArgs) ToGetSchemaRegistryClusterConfigCredentialsOutput() GetSchemaRegistryClusterConfigCredentialsOutput { + return i.ToGetSchemaRegistryClusterConfigCredentialsOutputWithContext(context.Background()) } -func (i GetNetworkGcpArgs) ToGetNetworkGcpOutputWithContext(ctx context.Context) GetNetworkGcpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkGcpOutput) +func (i GetSchemaRegistryClusterConfigCredentialsArgs) ToGetSchemaRegistryClusterConfigCredentialsOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigCredentialsOutput) } -// GetNetworkGcpArrayInput is an input type that accepts GetNetworkGcpArray and GetNetworkGcpArrayOutput values. -// You can construct a concrete instance of `GetNetworkGcpArrayInput` via: +func (i GetSchemaRegistryClusterConfigCredentialsArgs) ToGetSchemaRegistryClusterConfigCredentialsPtrOutput() GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return i.ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) +} + +func (i GetSchemaRegistryClusterConfigCredentialsArgs) ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigCredentialsOutput).ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx) +} + +// GetSchemaRegistryClusterConfigCredentialsPtrInput is an input type that accepts GetSchemaRegistryClusterConfigCredentialsArgs, GetSchemaRegistryClusterConfigCredentialsPtr and GetSchemaRegistryClusterConfigCredentialsPtrOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterConfigCredentialsPtrInput` via: // -// GetNetworkGcpArray{ GetNetworkGcpArgs{...} } -type GetNetworkGcpArrayInput interface { +// GetSchemaRegistryClusterConfigCredentialsArgs{...} +// +// or: +// +// nil +type GetSchemaRegistryClusterConfigCredentialsPtrInput interface { pulumi.Input - ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput - ToGetNetworkGcpArrayOutputWithContext(context.Context) GetNetworkGcpArrayOutput + ToGetSchemaRegistryClusterConfigCredentialsPtrOutput() GetSchemaRegistryClusterConfigCredentialsPtrOutput + ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Context) GetSchemaRegistryClusterConfigCredentialsPtrOutput } -type GetNetworkGcpArray []GetNetworkGcpInput +type getSchemaRegistryClusterConfigCredentialsPtrType GetSchemaRegistryClusterConfigCredentialsArgs -func (GetNetworkGcpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkGcp)(nil)).Elem() +func GetSchemaRegistryClusterConfigCredentialsPtr(v *GetSchemaRegistryClusterConfigCredentialsArgs) GetSchemaRegistryClusterConfigCredentialsPtrInput { + return (*getSchemaRegistryClusterConfigCredentialsPtrType)(v) } -func (i GetNetworkGcpArray) ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput { - return i.ToGetNetworkGcpArrayOutputWithContext(context.Background()) +func (*getSchemaRegistryClusterConfigCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (i GetNetworkGcpArray) ToGetNetworkGcpArrayOutputWithContext(ctx context.Context) GetNetworkGcpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkGcpArrayOutput) +func (i *getSchemaRegistryClusterConfigCredentialsPtrType) ToGetSchemaRegistryClusterConfigCredentialsPtrOutput() GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return i.ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) } -type GetNetworkGcpOutput struct{ *pulumi.OutputState } +func (i *getSchemaRegistryClusterConfigCredentialsPtrType) ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigCredentialsPtrOutput) +} -func (GetNetworkGcpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkGcp)(nil)).Elem() +type GetSchemaRegistryClusterConfigCredentialsOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterConfigCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (o GetNetworkGcpOutput) ToGetNetworkGcpOutput() GetNetworkGcpOutput { +func (o GetSchemaRegistryClusterConfigCredentialsOutput) ToGetSchemaRegistryClusterConfigCredentialsOutput() GetSchemaRegistryClusterConfigCredentialsOutput { return o } -func (o GetNetworkGcpOutput) ToGetNetworkGcpOutputWithContext(ctx context.Context) GetNetworkGcpOutput { +func (o GetSchemaRegistryClusterConfigCredentialsOutput) ToGetSchemaRegistryClusterConfigCredentialsOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsOutput { return o } -// (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are [GCP Private Service Connect service attachment](https://cloud.google.com/vpc/docs/configure-private-service-connect-producer#api_7). -func (o GetNetworkGcpOutput) PrivateServiceConnectServiceAttachments() pulumi.StringMapOutput { - return o.ApplyT(func(v GetNetworkGcp) map[string]string { return v.PrivateServiceConnectServiceAttachments }).(pulumi.StringMapOutput) +func (o GetSchemaRegistryClusterConfigCredentialsOutput) ToGetSchemaRegistryClusterConfigCredentialsPtrOutput() GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(context.Background()) } -// (Required String) The GCP Project ID associated with the Confluent Cloud VPC. -func (o GetNetworkGcpOutput) Project() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkGcp) string { return v.Project }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterConfigCredentialsOutput) ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaRegistryClusterConfigCredentials) *GetSchemaRegistryClusterConfigCredentials { + return &v + }).(GetSchemaRegistryClusterConfigCredentialsPtrOutput) } -// (Required String) The network name of the Confluent Cloud VPC. -func (o GetNetworkGcpOutput) VpcNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkGcp) string { return v.VpcNetwork }).(pulumi.StringOutput) +// The Schema Registry API Key. +func (o GetSchemaRegistryClusterConfigCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterConfigCredentials) string { return v.Key }).(pulumi.StringOutput) } -type GetNetworkGcpArrayOutput struct{ *pulumi.OutputState } +// The Schema Registry API Secret. +func (o GetSchemaRegistryClusterConfigCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterConfigCredentials) string { return v.Secret }).(pulumi.StringOutput) +} -func (GetNetworkGcpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkGcp)(nil)).Elem() +type GetSchemaRegistryClusterConfigCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterConfigCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterConfigCredentials)(nil)).Elem() } -func (o GetNetworkGcpArrayOutput) ToGetNetworkGcpArrayOutput() GetNetworkGcpArrayOutput { +func (o GetSchemaRegistryClusterConfigCredentialsPtrOutput) ToGetSchemaRegistryClusterConfigCredentialsPtrOutput() GetSchemaRegistryClusterConfigCredentialsPtrOutput { return o } -func (o GetNetworkGcpArrayOutput) ToGetNetworkGcpArrayOutputWithContext(ctx context.Context) GetNetworkGcpArrayOutput { +func (o GetSchemaRegistryClusterConfigCredentialsPtrOutput) ToGetSchemaRegistryClusterConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigCredentialsPtrOutput { return o } -func (o GetNetworkGcpArrayOutput) Index(i pulumi.IntInput) GetNetworkGcpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkGcp { - return vs[0].([]GetNetworkGcp)[vs[1].(int)] - }).(GetNetworkGcpOutput) +func (o GetSchemaRegistryClusterConfigCredentialsPtrOutput) Elem() GetSchemaRegistryClusterConfigCredentialsOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterConfigCredentials) GetSchemaRegistryClusterConfigCredentials { + if v != nil { + return *v + } + var ret GetSchemaRegistryClusterConfigCredentials + return ret + }).(GetSchemaRegistryClusterConfigCredentialsOutput) } -type GetPeeringAw struct { - // (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. - Account string `pulumi:"account"` - // (Required String) The region of the Azure peer VNet. - CustomerRegion string `pulumi:"customerRegion"` - // (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. - Routes []string `pulumi:"routes"` - // (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. - Vpc string `pulumi:"vpc"` +// The Schema Registry API Key. +func (o GetSchemaRegistryClusterConfigCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterConfigCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) } -// GetPeeringAwInput is an input type that accepts GetPeeringAwArgs and GetPeeringAwOutput values. -// You can construct a concrete instance of `GetPeeringAwInput` via: +// The Schema Registry API Secret. +func (o GetSchemaRegistryClusterConfigCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterConfigCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) +} + +type GetSchemaRegistryClusterConfigSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` +} + +// GetSchemaRegistryClusterConfigSchemaRegistryClusterInput is an input type that accepts GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs and GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterConfigSchemaRegistryClusterInput` via: // -// GetPeeringAwArgs{...} -type GetPeeringAwInput interface { +// GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs{...} +type GetSchemaRegistryClusterConfigSchemaRegistryClusterInput interface { pulumi.Input - ToGetPeeringAwOutput() GetPeeringAwOutput - ToGetPeeringAwOutputWithContext(context.Context) GetPeeringAwOutput + ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput + ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput } -type GetPeeringAwArgs struct { - // (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. - Account pulumi.StringInput `pulumi:"account"` - // (Required String) The region of the Azure peer VNet. - CustomerRegion pulumi.StringInput `pulumi:"customerRegion"` - // (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. - Routes pulumi.StringArrayInput `pulumi:"routes"` - // (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. - Vpc pulumi.StringInput `pulumi:"vpc"` +type GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -func (GetPeeringAwArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringAw)(nil)).Elem() +func (GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (i GetPeeringAwArgs) ToGetPeeringAwOutput() GetPeeringAwOutput { - return i.ToGetPeeringAwOutputWithContext(context.Background()) +func (i GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return i.ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetPeeringAwArgs) ToGetPeeringAwOutputWithContext(ctx context.Context) GetPeeringAwOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAwOutput) +func (i GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) } -// GetPeeringAwArrayInput is an input type that accepts GetPeeringAwArray and GetPeeringAwArrayOutput values. -// You can construct a concrete instance of `GetPeeringAwArrayInput` via: +func (i GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} + +func (i GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput).ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx) +} + +// GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput is an input type that accepts GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs, GetSchemaRegistryClusterConfigSchemaRegistryClusterPtr and GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput` via: // -// GetPeeringAwArray{ GetPeeringAwArgs{...} } -type GetPeeringAwArrayInput interface { +// GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput - ToGetPeeringAwArrayOutputWithContext(context.Context) GetPeeringAwArrayOutput + ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput + ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput } -type GetPeeringAwArray []GetPeeringAwInput +type getSchemaRegistryClusterConfigSchemaRegistryClusterPtrType GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs -func (GetPeeringAwArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringAw)(nil)).Elem() +func GetSchemaRegistryClusterConfigSchemaRegistryClusterPtr(v *GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput { + return (*getSchemaRegistryClusterConfigSchemaRegistryClusterPtrType)(v) } -func (i GetPeeringAwArray) ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput { - return i.ToGetPeeringAwArrayOutputWithContext(context.Background()) +func (*getSchemaRegistryClusterConfigSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (i GetPeeringAwArray) ToGetPeeringAwArrayOutputWithContext(ctx context.Context) GetPeeringAwArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAwArrayOutput) +func (i *getSchemaRegistryClusterConfigSchemaRegistryClusterPtrType) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPeeringAwOutput struct{ *pulumi.OutputState } +func (i *getSchemaRegistryClusterConfigSchemaRegistryClusterPtrType) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) +} -func (GetPeeringAwOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringAw)(nil)).Elem() +type GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -func (o GetPeeringAwOutput) ToGetPeeringAwOutput() GetPeeringAwOutput { +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput { return o } -func (o GetPeeringAwOutput) ToGetPeeringAwOutputWithContext(ctx context.Context) GetPeeringAwOutput { +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput { return o } -// (Required String) The AWS Account ID of the peer VPC owner. You can find your AWS Account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** section of the AWS Management Console. Must be a **12 character string**. -func (o GetPeeringAwOutput) Account() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAw) string { return v.Account }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -// (Required String) The region of the Azure peer VNet. -func (o GetPeeringAwOutput) CustomerRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAw) string { return v.CustomerRegion }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaRegistryClusterConfigSchemaRegistryCluster) *GetSchemaRegistryClusterConfigSchemaRegistryCluster { + return &v + }).(GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) } -// (Required String) The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements [here](https://docs.confluent.io/cloud/current/networking/peering/aws-peering.html#vpc-peering-on-aws)). You can find AWS VPC CIDR [here](https://console.aws.amazon.com/vpc/) under **Your VPCs > Target VPC > Details** section of the AWS Management Console. -func (o GetPeeringAwOutput) Routes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPeeringAw) []string { return v.Routes }).(pulumi.StringArrayOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterConfigSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -// (Required String) The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID [here](https://console.aws.amazon.com/vpc/) under **Your VPCs** section of the AWS Management Console. Must start with `vpc-`. -func (o GetPeeringAwOutput) Vpc() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAw) string { return v.Vpc }).(pulumi.StringOutput) +type GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterConfigSchemaRegistryCluster)(nil)).Elem() } -type GetPeeringAwArrayOutput struct{ *pulumi.OutputState } +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o +} -func (GetPeeringAwArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringAw)(nil)).Elem() +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) ToGetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o } -func (o GetPeeringAwArrayOutput) ToGetPeeringAwArrayOutput() GetPeeringAwArrayOutput { +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) Elem() GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterConfigSchemaRegistryCluster) GetSchemaRegistryClusterConfigSchemaRegistryCluster { + if v != nil { + return *v + } + var ret GetSchemaRegistryClusterConfigSchemaRegistryCluster + return ret + }).(GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput) +} + +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterConfigSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +type GetSchemaRegistryClusterEnvironment struct { + // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetSchemaRegistryClusterEnvironmentInput is an input type that accepts GetSchemaRegistryClusterEnvironmentArgs and GetSchemaRegistryClusterEnvironmentOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterEnvironmentInput` via: +// +// GetSchemaRegistryClusterEnvironmentArgs{...} +type GetSchemaRegistryClusterEnvironmentInput interface { + pulumi.Input + + ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput + ToGetSchemaRegistryClusterEnvironmentOutputWithContext(context.Context) GetSchemaRegistryClusterEnvironmentOutput +} + +type GetSchemaRegistryClusterEnvironmentArgs struct { + // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetSchemaRegistryClusterEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterEnvironment)(nil)).Elem() +} + +func (i GetSchemaRegistryClusterEnvironmentArgs) ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput { + return i.ToGetSchemaRegistryClusterEnvironmentOutputWithContext(context.Background()) +} + +func (i GetSchemaRegistryClusterEnvironmentArgs) ToGetSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) GetSchemaRegistryClusterEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterEnvironmentOutput) +} + +type GetSchemaRegistryClusterEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterEnvironment)(nil)).Elem() +} + +func (o GetSchemaRegistryClusterEnvironmentOutput) ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput { return o } -func (o GetPeeringAwArrayOutput) ToGetPeeringAwArrayOutputWithContext(ctx context.Context) GetPeeringAwArrayOutput { +func (o GetSchemaRegistryClusterEnvironmentOutput) ToGetSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) GetSchemaRegistryClusterEnvironmentOutput { return o } -func (o GetPeeringAwArrayOutput) Index(i pulumi.IntInput) GetPeeringAwOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringAw { - return vs[0].([]GetPeeringAw)[vs[1].(int)] - }).(GetPeeringAwOutput) +// The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. +func (o GetSchemaRegistryClusterEnvironmentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) } -type GetPeeringAzure struct { - // (Required String) The region of the Azure peer VNet. - CustomerRegion string `pulumi:"customerRegion"` - // (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. - Tenant string `pulumi:"tenant"` - // (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). - Vnet string `pulumi:"vnet"` +type GetSchemaRegistryClusterModeCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` } -// GetPeeringAzureInput is an input type that accepts GetPeeringAzureArgs and GetPeeringAzureOutput values. -// You can construct a concrete instance of `GetPeeringAzureInput` via: +// GetSchemaRegistryClusterModeCredentialsInput is an input type that accepts GetSchemaRegistryClusterModeCredentialsArgs and GetSchemaRegistryClusterModeCredentialsOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterModeCredentialsInput` via: // -// GetPeeringAzureArgs{...} -type GetPeeringAzureInput interface { +// GetSchemaRegistryClusterModeCredentialsArgs{...} +type GetSchemaRegistryClusterModeCredentialsInput interface { pulumi.Input - ToGetPeeringAzureOutput() GetPeeringAzureOutput - ToGetPeeringAzureOutputWithContext(context.Context) GetPeeringAzureOutput + ToGetSchemaRegistryClusterModeCredentialsOutput() GetSchemaRegistryClusterModeCredentialsOutput + ToGetSchemaRegistryClusterModeCredentialsOutputWithContext(context.Context) GetSchemaRegistryClusterModeCredentialsOutput } -type GetPeeringAzureArgs struct { - // (Required String) The region of the Azure peer VNet. - CustomerRegion pulumi.StringInput `pulumi:"customerRegion"` - // (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. - Tenant pulumi.StringInput `pulumi:"tenant"` - // (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). - Vnet pulumi.StringInput `pulumi:"vnet"` +type GetSchemaRegistryClusterModeCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetPeeringAzureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringAzure)(nil)).Elem() +func (GetSchemaRegistryClusterModeCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (i GetPeeringAzureArgs) ToGetPeeringAzureOutput() GetPeeringAzureOutput { - return i.ToGetPeeringAzureOutputWithContext(context.Background()) +func (i GetSchemaRegistryClusterModeCredentialsArgs) ToGetSchemaRegistryClusterModeCredentialsOutput() GetSchemaRegistryClusterModeCredentialsOutput { + return i.ToGetSchemaRegistryClusterModeCredentialsOutputWithContext(context.Background()) } -func (i GetPeeringAzureArgs) ToGetPeeringAzureOutputWithContext(ctx context.Context) GetPeeringAzureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAzureOutput) +func (i GetSchemaRegistryClusterModeCredentialsArgs) ToGetSchemaRegistryClusterModeCredentialsOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeCredentialsOutput) } -// GetPeeringAzureArrayInput is an input type that accepts GetPeeringAzureArray and GetPeeringAzureArrayOutput values. -// You can construct a concrete instance of `GetPeeringAzureArrayInput` via: +func (i GetSchemaRegistryClusterModeCredentialsArgs) ToGetSchemaRegistryClusterModeCredentialsPtrOutput() GetSchemaRegistryClusterModeCredentialsPtrOutput { + return i.ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) +} + +func (i GetSchemaRegistryClusterModeCredentialsArgs) ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeCredentialsOutput).ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx) +} + +// GetSchemaRegistryClusterModeCredentialsPtrInput is an input type that accepts GetSchemaRegistryClusterModeCredentialsArgs, GetSchemaRegistryClusterModeCredentialsPtr and GetSchemaRegistryClusterModeCredentialsPtrOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterModeCredentialsPtrInput` via: // -// GetPeeringAzureArray{ GetPeeringAzureArgs{...} } -type GetPeeringAzureArrayInput interface { +// GetSchemaRegistryClusterModeCredentialsArgs{...} +// +// or: +// +// nil +type GetSchemaRegistryClusterModeCredentialsPtrInput interface { pulumi.Input - ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput - ToGetPeeringAzureArrayOutputWithContext(context.Context) GetPeeringAzureArrayOutput + ToGetSchemaRegistryClusterModeCredentialsPtrOutput() GetSchemaRegistryClusterModeCredentialsPtrOutput + ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Context) GetSchemaRegistryClusterModeCredentialsPtrOutput } -type GetPeeringAzureArray []GetPeeringAzureInput +type getSchemaRegistryClusterModeCredentialsPtrType GetSchemaRegistryClusterModeCredentialsArgs -func (GetPeeringAzureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringAzure)(nil)).Elem() +func GetSchemaRegistryClusterModeCredentialsPtr(v *GetSchemaRegistryClusterModeCredentialsArgs) GetSchemaRegistryClusterModeCredentialsPtrInput { + return (*getSchemaRegistryClusterModeCredentialsPtrType)(v) } -func (i GetPeeringAzureArray) ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput { - return i.ToGetPeeringAzureArrayOutputWithContext(context.Background()) +func (*getSchemaRegistryClusterModeCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (i GetPeeringAzureArray) ToGetPeeringAzureArrayOutputWithContext(ctx context.Context) GetPeeringAzureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAzureArrayOutput) +func (i *getSchemaRegistryClusterModeCredentialsPtrType) ToGetSchemaRegistryClusterModeCredentialsPtrOutput() GetSchemaRegistryClusterModeCredentialsPtrOutput { + return i.ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) } -type GetPeeringAzureOutput struct{ *pulumi.OutputState } +func (i *getSchemaRegistryClusterModeCredentialsPtrType) ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeCredentialsPtrOutput) +} -func (GetPeeringAzureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringAzure)(nil)).Elem() +type GetSchemaRegistryClusterModeCredentialsOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterModeCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (o GetPeeringAzureOutput) ToGetPeeringAzureOutput() GetPeeringAzureOutput { +func (o GetSchemaRegistryClusterModeCredentialsOutput) ToGetSchemaRegistryClusterModeCredentialsOutput() GetSchemaRegistryClusterModeCredentialsOutput { return o } -func (o GetPeeringAzureOutput) ToGetPeeringAzureOutputWithContext(ctx context.Context) GetPeeringAzureOutput { +func (o GetSchemaRegistryClusterModeCredentialsOutput) ToGetSchemaRegistryClusterModeCredentialsOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsOutput { return o } -// (Required String) The region of the Azure peer VNet. -func (o GetPeeringAzureOutput) CustomerRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAzure) string { return v.CustomerRegion }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterModeCredentialsOutput) ToGetSchemaRegistryClusterModeCredentialsPtrOutput() GetSchemaRegistryClusterModeCredentialsPtrOutput { + return o.ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(context.Background()) } -// (Required String) The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the [Azure Portal under Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview). Must be a valid **32 character UUID string**. -func (o GetPeeringAzureOutput) Tenant() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAzure) string { return v.Tenant }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterModeCredentialsOutput) ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaRegistryClusterModeCredentials) *GetSchemaRegistryClusterModeCredentials { + return &v + }).(GetSchemaRegistryClusterModeCredentialsPtrOutput) } -// (Required String) The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/`. You can find Subscription ID, Resource Group Name and your VNet name under **Virtual Networks > Target VNet > Essentials** section of your [Microsoft Azure Portal](https://portal.azure.com/). -func (o GetPeeringAzureOutput) Vnet() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringAzure) string { return v.Vnet }).(pulumi.StringOutput) +// The Schema Registry API Key. +func (o GetSchemaRegistryClusterModeCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterModeCredentials) string { return v.Key }).(pulumi.StringOutput) } -type GetPeeringAzureArrayOutput struct{ *pulumi.OutputState } +// The Schema Registry API Secret. +func (o GetSchemaRegistryClusterModeCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterModeCredentials) string { return v.Secret }).(pulumi.StringOutput) +} -func (GetPeeringAzureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringAzure)(nil)).Elem() +type GetSchemaRegistryClusterModeCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterModeCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterModeCredentials)(nil)).Elem() } -func (o GetPeeringAzureArrayOutput) ToGetPeeringAzureArrayOutput() GetPeeringAzureArrayOutput { +func (o GetSchemaRegistryClusterModeCredentialsPtrOutput) ToGetSchemaRegistryClusterModeCredentialsPtrOutput() GetSchemaRegistryClusterModeCredentialsPtrOutput { return o } -func (o GetPeeringAzureArrayOutput) ToGetPeeringAzureArrayOutputWithContext(ctx context.Context) GetPeeringAzureArrayOutput { +func (o GetSchemaRegistryClusterModeCredentialsPtrOutput) ToGetSchemaRegistryClusterModeCredentialsPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeCredentialsPtrOutput { return o } -func (o GetPeeringAzureArrayOutput) Index(i pulumi.IntInput) GetPeeringAzureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringAzure { - return vs[0].([]GetPeeringAzure)[vs[1].(int)] - }).(GetPeeringAzureOutput) +func (o GetSchemaRegistryClusterModeCredentialsPtrOutput) Elem() GetSchemaRegistryClusterModeCredentialsOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterModeCredentials) GetSchemaRegistryClusterModeCredentials { + if v != nil { + return *v + } + var ret GetSchemaRegistryClusterModeCredentials + return ret + }).(GetSchemaRegistryClusterModeCredentialsOutput) } -type GetPeeringEnvironment struct { - // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. +// The Schema Registry API Key. +func (o GetSchemaRegistryClusterModeCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterModeCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) +} + +// The Schema Registry API Secret. +func (o GetSchemaRegistryClusterModeCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterModeCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) +} + +type GetSchemaRegistryClusterModeSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id string `pulumi:"id"` } -// GetPeeringEnvironmentInput is an input type that accepts GetPeeringEnvironmentArgs and GetPeeringEnvironmentOutput values. -// You can construct a concrete instance of `GetPeeringEnvironmentInput` via: +// GetSchemaRegistryClusterModeSchemaRegistryClusterInput is an input type that accepts GetSchemaRegistryClusterModeSchemaRegistryClusterArgs and GetSchemaRegistryClusterModeSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterModeSchemaRegistryClusterInput` via: // -// GetPeeringEnvironmentArgs{...} -type GetPeeringEnvironmentInput interface { +// GetSchemaRegistryClusterModeSchemaRegistryClusterArgs{...} +type GetSchemaRegistryClusterModeSchemaRegistryClusterInput interface { pulumi.Input - ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput - ToGetPeeringEnvironmentOutputWithContext(context.Context) GetPeeringEnvironmentOutput + ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterOutput + ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterOutput } -type GetPeeringEnvironmentArgs struct { - // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. +type GetSchemaRegistryClusterModeSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id pulumi.StringInput `pulumi:"id"` } -func (GetPeeringEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringEnvironment)(nil)).Elem() +func (GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetPeeringEnvironmentArgs) ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput { - return i.ToGetPeeringEnvironmentOutputWithContext(context.Background()) +func (i GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterOutput { + return i.ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetPeeringEnvironmentArgs) ToGetPeeringEnvironmentOutputWithContext(ctx context.Context) GetPeeringEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringEnvironmentOutput) +func (i GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) } -type GetPeeringEnvironmentOutput struct{ *pulumi.OutputState } +func (i GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} -func (GetPeeringEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringEnvironment)(nil)).Elem() +func (i GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeSchemaRegistryClusterOutput).ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx) } -func (o GetPeeringEnvironmentOutput) ToGetPeeringEnvironmentOutput() GetPeeringEnvironmentOutput { +// GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput is an input type that accepts GetSchemaRegistryClusterModeSchemaRegistryClusterArgs, GetSchemaRegistryClusterModeSchemaRegistryClusterPtr and GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput` via: +// +// GetSchemaRegistryClusterModeSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput interface { + pulumi.Input + + ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput + ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput +} + +type getSchemaRegistryClusterModeSchemaRegistryClusterPtrType GetSchemaRegistryClusterModeSchemaRegistryClusterArgs + +func GetSchemaRegistryClusterModeSchemaRegistryClusterPtr(v *GetSchemaRegistryClusterModeSchemaRegistryClusterArgs) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput { + return (*getSchemaRegistryClusterModeSchemaRegistryClusterPtrType)(v) +} + +func (*getSchemaRegistryClusterModeSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() +} + +func (i *getSchemaRegistryClusterModeSchemaRegistryClusterPtrType) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} + +func (i *getSchemaRegistryClusterModeSchemaRegistryClusterPtrType) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) +} + +type GetSchemaRegistryClusterModeSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() +} + +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterOutput { return o } -func (o GetPeeringEnvironmentOutput) ToGetPeeringEnvironmentOutputWithContext(ctx context.Context) GetPeeringEnvironmentOutput { +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterOutput { return o } -// The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. -func (o GetPeeringEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringEnvironment) string { return v.Id }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPeeringGcp struct { - // (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). - ImportCustomRoutes bool `pulumi:"importCustomRoutes"` - // (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). - Project string `pulumi:"project"` - // (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). - VpcNetwork string `pulumi:"vpcNetwork"` +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaRegistryClusterModeSchemaRegistryCluster) *GetSchemaRegistryClusterModeSchemaRegistryCluster { + return &v + }).(GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) } -// GetPeeringGcpInput is an input type that accepts GetPeeringGcpArgs and GetPeeringGcpOutput values. -// You can construct a concrete instance of `GetPeeringGcpInput` via: -// -// GetPeeringGcpArgs{...} -type GetPeeringGcpInput interface { - pulumi.Input +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterModeSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) +} - ToGetPeeringGcpOutput() GetPeeringGcpOutput - ToGetPeeringGcpOutputWithContext(context.Context) GetPeeringGcpOutput +type GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaRegistryClusterModeSchemaRegistryCluster)(nil)).Elem() } -type GetPeeringGcpArgs struct { - // (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). - ImportCustomRoutes pulumi.BoolInput `pulumi:"importCustomRoutes"` - // (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). - Project pulumi.StringInput `pulumi:"project"` - // (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). - VpcNetwork pulumi.StringInput `pulumi:"vpcNetwork"` +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput() GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o } -func (GetPeeringGcpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringGcp)(nil)).Elem() +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) ToGetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o } -func (i GetPeeringGcpArgs) ToGetPeeringGcpOutput() GetPeeringGcpOutput { - return i.ToGetPeeringGcpOutputWithContext(context.Background()) +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) Elem() GetSchemaRegistryClusterModeSchemaRegistryClusterOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterModeSchemaRegistryCluster) GetSchemaRegistryClusterModeSchemaRegistryCluster { + if v != nil { + return *v + } + var ret GetSchemaRegistryClusterModeSchemaRegistryCluster + return ret + }).(GetSchemaRegistryClusterModeSchemaRegistryClusterOutput) } -func (i GetPeeringGcpArgs) ToGetPeeringGcpOutputWithContext(ctx context.Context) GetPeeringGcpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringGcpOutput) +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaRegistryClusterModeSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// GetPeeringGcpArrayInput is an input type that accepts GetPeeringGcpArray and GetPeeringGcpArrayOutput values. -// You can construct a concrete instance of `GetPeeringGcpArrayInput` via: +type GetSchemaRegistryClusterRegion struct { + // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. + Id string `pulumi:"id"` +} + +// GetSchemaRegistryClusterRegionInput is an input type that accepts GetSchemaRegistryClusterRegionArgs and GetSchemaRegistryClusterRegionOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterRegionInput` via: // -// GetPeeringGcpArray{ GetPeeringGcpArgs{...} } -type GetPeeringGcpArrayInput interface { +// GetSchemaRegistryClusterRegionArgs{...} +type GetSchemaRegistryClusterRegionInput interface { pulumi.Input - ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput - ToGetPeeringGcpArrayOutputWithContext(context.Context) GetPeeringGcpArrayOutput + ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput + ToGetSchemaRegistryClusterRegionOutputWithContext(context.Context) GetSchemaRegistryClusterRegionOutput } -type GetPeeringGcpArray []GetPeeringGcpInput +type GetSchemaRegistryClusterRegionArgs struct { + // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. + Id pulumi.StringInput `pulumi:"id"` +} -func (GetPeeringGcpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringGcp)(nil)).Elem() +func (GetSchemaRegistryClusterRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterRegion)(nil)).Elem() } -func (i GetPeeringGcpArray) ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput { - return i.ToGetPeeringGcpArrayOutputWithContext(context.Background()) +func (i GetSchemaRegistryClusterRegionArgs) ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput { + return i.ToGetSchemaRegistryClusterRegionOutputWithContext(context.Background()) } -func (i GetPeeringGcpArray) ToGetPeeringGcpArrayOutputWithContext(ctx context.Context) GetPeeringGcpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringGcpArrayOutput) +func (i GetSchemaRegistryClusterRegionArgs) ToGetSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterRegionOutput) } -type GetPeeringGcpOutput struct{ *pulumi.OutputState } +// GetSchemaRegistryClusterRegionArrayInput is an input type that accepts GetSchemaRegistryClusterRegionArray and GetSchemaRegistryClusterRegionArrayOutput values. +// You can construct a concrete instance of `GetSchemaRegistryClusterRegionArrayInput` via: +// +// GetSchemaRegistryClusterRegionArray{ GetSchemaRegistryClusterRegionArgs{...} } +type GetSchemaRegistryClusterRegionArrayInput interface { + pulumi.Input -func (GetPeeringGcpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringGcp)(nil)).Elem() + ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput + ToGetSchemaRegistryClusterRegionArrayOutputWithContext(context.Context) GetSchemaRegistryClusterRegionArrayOutput } -func (o GetPeeringGcpOutput) ToGetPeeringGcpOutput() GetPeeringGcpOutput { - return o +type GetSchemaRegistryClusterRegionArray []GetSchemaRegistryClusterRegionInput + +func (GetSchemaRegistryClusterRegionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSchemaRegistryClusterRegion)(nil)).Elem() } -func (o GetPeeringGcpOutput) ToGetPeeringGcpOutputWithContext(ctx context.Context) GetPeeringGcpOutput { - return o +func (i GetSchemaRegistryClusterRegionArray) ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput { + return i.ToGetSchemaRegistryClusterRegionArrayOutputWithContext(context.Background()) } -// (Optional Boolean) The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to `false`. Learn more about considerations / limitations of the Import Custom Routes option [here](https://docs.confluent.io/cloud/current/networking/peering/gcp-peering.html#import-custom-routes). -func (o GetPeeringGcpOutput) ImportCustomRoutes() pulumi.BoolOutput { - return o.ApplyT(func(v GetPeeringGcp) bool { return v.ImportCustomRoutes }).(pulumi.BoolOutput) +func (i GetSchemaRegistryClusterRegionArray) ToGetSchemaRegistryClusterRegionArrayOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterRegionArrayOutput) } -// (Required String) The GCP Project ID. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). -func (o GetPeeringGcpOutput) Project() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringGcp) string { return v.Project }).(pulumi.StringOutput) +type GetSchemaRegistryClusterRegionOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaRegistryClusterRegion)(nil)).Elem() } -// (Required String) The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under **VPC Networks** section of your [Google Cloud Console](https://console.cloud.google.com/networking/networks/list). -func (o GetPeeringGcpOutput) VpcNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringGcp) string { return v.VpcNetwork }).(pulumi.StringOutput) +func (o GetSchemaRegistryClusterRegionOutput) ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput { + return o } -type GetPeeringGcpArrayOutput struct{ *pulumi.OutputState } +func (o GetSchemaRegistryClusterRegionOutput) ToGetSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionOutput { + return o +} -func (GetPeeringGcpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringGcp)(nil)).Elem() +// The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. +func (o GetSchemaRegistryClusterRegionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaRegistryClusterRegion) string { return v.Id }).(pulumi.StringOutput) } -func (o GetPeeringGcpArrayOutput) ToGetPeeringGcpArrayOutput() GetPeeringGcpArrayOutput { +type GetSchemaRegistryClusterRegionArrayOutput struct{ *pulumi.OutputState } + +func (GetSchemaRegistryClusterRegionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSchemaRegistryClusterRegion)(nil)).Elem() +} + +func (o GetSchemaRegistryClusterRegionArrayOutput) ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput { return o } -func (o GetPeeringGcpArrayOutput) ToGetPeeringGcpArrayOutputWithContext(ctx context.Context) GetPeeringGcpArrayOutput { +func (o GetSchemaRegistryClusterRegionArrayOutput) ToGetSchemaRegistryClusterRegionArrayOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionArrayOutput { return o } -func (o GetPeeringGcpArrayOutput) Index(i pulumi.IntInput) GetPeeringGcpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringGcp { - return vs[0].([]GetPeeringGcp)[vs[1].(int)] - }).(GetPeeringGcpOutput) +func (o GetSchemaRegistryClusterRegionArrayOutput) Index(i pulumi.IntInput) GetSchemaRegistryClusterRegionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSchemaRegistryClusterRegion { + return vs[0].([]GetSchemaRegistryClusterRegion)[vs[1].(int)] + }).(GetSchemaRegistryClusterRegionOutput) } -type GetPeeringNetwork struct { - // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +type GetSchemaSchemaReference struct { + // (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + Name string `pulumi:"name"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + SubjectName string `pulumi:"subjectName"` + // (Required Integer) The version of the Schema, for example, `4`. + Version int `pulumi:"version"` } -// GetPeeringNetworkInput is an input type that accepts GetPeeringNetworkArgs and GetPeeringNetworkOutput values. -// You can construct a concrete instance of `GetPeeringNetworkInput` via: +// GetSchemaSchemaReferenceInput is an input type that accepts GetSchemaSchemaReferenceArgs and GetSchemaSchemaReferenceOutput values. +// You can construct a concrete instance of `GetSchemaSchemaReferenceInput` via: // -// GetPeeringNetworkArgs{...} -type GetPeeringNetworkInput interface { +// GetSchemaSchemaReferenceArgs{...} +type GetSchemaSchemaReferenceInput interface { pulumi.Input - ToGetPeeringNetworkOutput() GetPeeringNetworkOutput - ToGetPeeringNetworkOutputWithContext(context.Context) GetPeeringNetworkOutput + ToGetSchemaSchemaReferenceOutput() GetSchemaSchemaReferenceOutput + ToGetSchemaSchemaReferenceOutputWithContext(context.Context) GetSchemaSchemaReferenceOutput } -type GetPeeringNetworkArgs struct { - // The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +type GetSchemaSchemaReferenceArgs struct { + // (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + Name pulumi.StringInput `pulumi:"name"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + SubjectName pulumi.StringInput `pulumi:"subjectName"` + // (Required Integer) The version of the Schema, for example, `4`. + Version pulumi.IntInput `pulumi:"version"` } -func (GetPeeringNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringNetwork)(nil)).Elem() +func (GetSchemaSchemaReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaReference)(nil)).Elem() } -func (i GetPeeringNetworkArgs) ToGetPeeringNetworkOutput() GetPeeringNetworkOutput { - return i.ToGetPeeringNetworkOutputWithContext(context.Background()) +func (i GetSchemaSchemaReferenceArgs) ToGetSchemaSchemaReferenceOutput() GetSchemaSchemaReferenceOutput { + return i.ToGetSchemaSchemaReferenceOutputWithContext(context.Background()) } -func (i GetPeeringNetworkArgs) ToGetPeeringNetworkOutputWithContext(ctx context.Context) GetPeeringNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringNetworkOutput) +func (i GetSchemaSchemaReferenceArgs) ToGetSchemaSchemaReferenceOutputWithContext(ctx context.Context) GetSchemaSchemaReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaReferenceOutput) } -// GetPeeringNetworkArrayInput is an input type that accepts GetPeeringNetworkArray and GetPeeringNetworkArrayOutput values. -// You can construct a concrete instance of `GetPeeringNetworkArrayInput` via: +// GetSchemaSchemaReferenceArrayInput is an input type that accepts GetSchemaSchemaReferenceArray and GetSchemaSchemaReferenceArrayOutput values. +// You can construct a concrete instance of `GetSchemaSchemaReferenceArrayInput` via: // -// GetPeeringNetworkArray{ GetPeeringNetworkArgs{...} } -type GetPeeringNetworkArrayInput interface { +// GetSchemaSchemaReferenceArray{ GetSchemaSchemaReferenceArgs{...} } +type GetSchemaSchemaReferenceArrayInput interface { pulumi.Input - ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput - ToGetPeeringNetworkArrayOutputWithContext(context.Context) GetPeeringNetworkArrayOutput + ToGetSchemaSchemaReferenceArrayOutput() GetSchemaSchemaReferenceArrayOutput + ToGetSchemaSchemaReferenceArrayOutputWithContext(context.Context) GetSchemaSchemaReferenceArrayOutput } -type GetPeeringNetworkArray []GetPeeringNetworkInput +type GetSchemaSchemaReferenceArray []GetSchemaSchemaReferenceInput -func (GetPeeringNetworkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringNetwork)(nil)).Elem() +func (GetSchemaSchemaReferenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSchemaSchemaReference)(nil)).Elem() } -func (i GetPeeringNetworkArray) ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput { - return i.ToGetPeeringNetworkArrayOutputWithContext(context.Background()) +func (i GetSchemaSchemaReferenceArray) ToGetSchemaSchemaReferenceArrayOutput() GetSchemaSchemaReferenceArrayOutput { + return i.ToGetSchemaSchemaReferenceArrayOutputWithContext(context.Background()) } -func (i GetPeeringNetworkArray) ToGetPeeringNetworkArrayOutputWithContext(ctx context.Context) GetPeeringNetworkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPeeringNetworkArrayOutput) +func (i GetSchemaSchemaReferenceArray) ToGetSchemaSchemaReferenceArrayOutputWithContext(ctx context.Context) GetSchemaSchemaReferenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaReferenceArrayOutput) } -type GetPeeringNetworkOutput struct{ *pulumi.OutputState } +type GetSchemaSchemaReferenceOutput struct{ *pulumi.OutputState } -func (GetPeeringNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPeeringNetwork)(nil)).Elem() +func (GetSchemaSchemaReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaReference)(nil)).Elem() } -func (o GetPeeringNetworkOutput) ToGetPeeringNetworkOutput() GetPeeringNetworkOutput { +func (o GetSchemaSchemaReferenceOutput) ToGetSchemaSchemaReferenceOutput() GetSchemaSchemaReferenceOutput { return o } -func (o GetPeeringNetworkOutput) ToGetPeeringNetworkOutputWithContext(ctx context.Context) GetPeeringNetworkOutput { +func (o GetSchemaSchemaReferenceOutput) ToGetSchemaSchemaReferenceOutputWithContext(ctx context.Context) GetSchemaSchemaReferenceOutput { return o } -// The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. -func (o GetPeeringNetworkOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPeeringNetwork) string { return v.Id }).(pulumi.StringOutput) +// (Required String) The name of the subject, representing the subject under which the referenced schema is registered. +func (o GetSchemaSchemaReferenceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaSchemaReference) string { return v.Name }).(pulumi.StringOutput) } -type GetPeeringNetworkArrayOutput struct{ *pulumi.OutputState } +// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. +func (o GetSchemaSchemaReferenceOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaSchemaReference) string { return v.SubjectName }).(pulumi.StringOutput) +} -func (GetPeeringNetworkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPeeringNetwork)(nil)).Elem() +// (Required Integer) The version of the Schema, for example, `4`. +func (o GetSchemaSchemaReferenceOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v GetSchemaSchemaReference) int { return v.Version }).(pulumi.IntOutput) } -func (o GetPeeringNetworkArrayOutput) ToGetPeeringNetworkArrayOutput() GetPeeringNetworkArrayOutput { +type GetSchemaSchemaReferenceArrayOutput struct{ *pulumi.OutputState } + +func (GetSchemaSchemaReferenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSchemaSchemaReference)(nil)).Elem() +} + +func (o GetSchemaSchemaReferenceArrayOutput) ToGetSchemaSchemaReferenceArrayOutput() GetSchemaSchemaReferenceArrayOutput { return o } -func (o GetPeeringNetworkArrayOutput) ToGetPeeringNetworkArrayOutputWithContext(ctx context.Context) GetPeeringNetworkArrayOutput { +func (o GetSchemaSchemaReferenceArrayOutput) ToGetSchemaSchemaReferenceArrayOutputWithContext(ctx context.Context) GetSchemaSchemaReferenceArrayOutput { return o } -func (o GetPeeringNetworkArrayOutput) Index(i pulumi.IntInput) GetPeeringNetworkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringNetwork { - return vs[0].([]GetPeeringNetwork)[vs[1].(int)] - }).(GetPeeringNetworkOutput) +func (o GetSchemaSchemaReferenceArrayOutput) Index(i pulumi.IntInput) GetSchemaSchemaReferenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSchemaSchemaReference { + return vs[0].([]GetSchemaSchemaReference)[vs[1].(int)] + }).(GetSchemaSchemaReferenceOutput) } -type GetPrivateLinkAccessAw struct { - // (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. - Account string `pulumi:"account"` +type GetSchemaSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` } -// GetPrivateLinkAccessAwInput is an input type that accepts GetPrivateLinkAccessAwArgs and GetPrivateLinkAccessAwOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessAwInput` via: +// GetSchemaSchemaRegistryClusterInput is an input type that accepts GetSchemaSchemaRegistryClusterArgs and GetSchemaSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `GetSchemaSchemaRegistryClusterInput` via: // -// GetPrivateLinkAccessAwArgs{...} -type GetPrivateLinkAccessAwInput interface { +// GetSchemaSchemaRegistryClusterArgs{...} +type GetSchemaSchemaRegistryClusterInput interface { pulumi.Input - ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput - ToGetPrivateLinkAccessAwOutputWithContext(context.Context) GetPrivateLinkAccessAwOutput + ToGetSchemaSchemaRegistryClusterOutput() GetSchemaSchemaRegistryClusterOutput + ToGetSchemaSchemaRegistryClusterOutputWithContext(context.Context) GetSchemaSchemaRegistryClusterOutput } -type GetPrivateLinkAccessAwArgs struct { - // (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. - Account pulumi.StringInput `pulumi:"account"` +type GetSchemaSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -func (GetPrivateLinkAccessAwArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessAw)(nil)).Elem() +func (GetSchemaSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaRegistryCluster)(nil)).Elem() } -func (i GetPrivateLinkAccessAwArgs) ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput { - return i.ToGetPrivateLinkAccessAwOutputWithContext(context.Background()) +func (i GetSchemaSchemaRegistryClusterArgs) ToGetSchemaSchemaRegistryClusterOutput() GetSchemaSchemaRegistryClusterOutput { + return i.ToGetSchemaSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetPrivateLinkAccessAwArgs) ToGetPrivateLinkAccessAwOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAwOutput) +func (i GetSchemaSchemaRegistryClusterArgs) ToGetSchemaSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaRegistryClusterOutput) } -// GetPrivateLinkAccessAwArrayInput is an input type that accepts GetPrivateLinkAccessAwArray and GetPrivateLinkAccessAwArrayOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessAwArrayInput` via: +func (i GetSchemaSchemaRegistryClusterArgs) ToGetSchemaSchemaRegistryClusterPtrOutput() GetSchemaSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} + +func (i GetSchemaSchemaRegistryClusterArgs) ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaRegistryClusterOutput).ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(ctx) +} + +// GetSchemaSchemaRegistryClusterPtrInput is an input type that accepts GetSchemaSchemaRegistryClusterArgs, GetSchemaSchemaRegistryClusterPtr and GetSchemaSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `GetSchemaSchemaRegistryClusterPtrInput` via: // -// GetPrivateLinkAccessAwArray{ GetPrivateLinkAccessAwArgs{...} } -type GetPrivateLinkAccessAwArrayInput interface { +// GetSchemaSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type GetSchemaSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput - ToGetPrivateLinkAccessAwArrayOutputWithContext(context.Context) GetPrivateLinkAccessAwArrayOutput + ToGetSchemaSchemaRegistryClusterPtrOutput() GetSchemaSchemaRegistryClusterPtrOutput + ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(context.Context) GetSchemaSchemaRegistryClusterPtrOutput } -type GetPrivateLinkAccessAwArray []GetPrivateLinkAccessAwInput +type getSchemaSchemaRegistryClusterPtrType GetSchemaSchemaRegistryClusterArgs -func (GetPrivateLinkAccessAwArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessAw)(nil)).Elem() +func GetSchemaSchemaRegistryClusterPtr(v *GetSchemaSchemaRegistryClusterArgs) GetSchemaSchemaRegistryClusterPtrInput { + return (*getSchemaSchemaRegistryClusterPtrType)(v) } -func (i GetPrivateLinkAccessAwArray) ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput { - return i.ToGetPrivateLinkAccessAwArrayOutputWithContext(context.Background()) +func (*getSchemaSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaRegistryCluster)(nil)).Elem() } -func (i GetPrivateLinkAccessAwArray) ToGetPrivateLinkAccessAwArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAwArrayOutput) +func (i *getSchemaSchemaRegistryClusterPtrType) ToGetSchemaSchemaRegistryClusterPtrOutput() GetSchemaSchemaRegistryClusterPtrOutput { + return i.ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessAwOutput struct{ *pulumi.OutputState } +func (i *getSchemaSchemaRegistryClusterPtrType) ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaRegistryClusterPtrOutput) +} -func (GetPrivateLinkAccessAwOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessAw)(nil)).Elem() +type GetSchemaSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (GetSchemaSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaRegistryCluster)(nil)).Elem() } -func (o GetPrivateLinkAccessAwOutput) ToGetPrivateLinkAccessAwOutput() GetPrivateLinkAccessAwOutput { +func (o GetSchemaSchemaRegistryClusterOutput) ToGetSchemaSchemaRegistryClusterOutput() GetSchemaSchemaRegistryClusterOutput { return o } -func (o GetPrivateLinkAccessAwOutput) ToGetPrivateLinkAccessAwOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwOutput { +func (o GetSchemaSchemaRegistryClusterOutput) ToGetSchemaSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterOutput { return o } -// (Required String) The AWS account ID to enable for the Private Link Access. You can find your AWS account ID [here](https://console.aws.amazon.com/billing/home?#/account) under **My Account** in your AWS Management Console. Must be a **12 character string**. -func (o GetPrivateLinkAccessAwOutput) Account() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateLinkAccessAw) string { return v.Account }).(pulumi.StringOutput) +func (o GetSchemaSchemaRegistryClusterOutput) ToGetSchemaSchemaRegistryClusterPtrOutput() GetSchemaSchemaRegistryClusterPtrOutput { + return o.ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessAwArrayOutput struct{ *pulumi.OutputState } +func (o GetSchemaSchemaRegistryClusterOutput) ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaSchemaRegistryCluster) *GetSchemaSchemaRegistryCluster { + return &v + }).(GetSchemaSchemaRegistryClusterPtrOutput) +} -func (GetPrivateLinkAccessAwArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessAw)(nil)).Elem() +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -func (o GetPrivateLinkAccessAwArrayOutput) ToGetPrivateLinkAccessAwArrayOutput() GetPrivateLinkAccessAwArrayOutput { +type GetSchemaSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaRegistryCluster)(nil)).Elem() +} + +func (o GetSchemaSchemaRegistryClusterPtrOutput) ToGetSchemaSchemaRegistryClusterPtrOutput() GetSchemaSchemaRegistryClusterPtrOutput { return o } -func (o GetPrivateLinkAccessAwArrayOutput) ToGetPrivateLinkAccessAwArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAwArrayOutput { +func (o GetSchemaSchemaRegistryClusterPtrOutput) ToGetSchemaSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSchemaSchemaRegistryClusterPtrOutput { return o } -func (o GetPrivateLinkAccessAwArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessAwOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessAw { - return vs[0].([]GetPrivateLinkAccessAw)[vs[1].(int)] - }).(GetPrivateLinkAccessAwOutput) +func (o GetSchemaSchemaRegistryClusterPtrOutput) Elem() GetSchemaSchemaRegistryClusterOutput { + return o.ApplyT(func(v *GetSchemaSchemaRegistryCluster) GetSchemaSchemaRegistryCluster { + if v != nil { + return *v + } + var ret GetSchemaSchemaRegistryCluster + return ret + }).(GetSchemaSchemaRegistryClusterOutput) } -type GetPrivateLinkAccessAzure struct { - // (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. - Subscription string `pulumi:"subscription"` +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSchemaSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// GetPrivateLinkAccessAzureInput is an input type that accepts GetPrivateLinkAccessAzureArgs and GetPrivateLinkAccessAzureOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessAzureInput` via: +type GetSubjectConfigCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` +} + +// GetSubjectConfigCredentialsInput is an input type that accepts GetSubjectConfigCredentialsArgs and GetSubjectConfigCredentialsOutput values. +// You can construct a concrete instance of `GetSubjectConfigCredentialsInput` via: // -// GetPrivateLinkAccessAzureArgs{...} -type GetPrivateLinkAccessAzureInput interface { +// GetSubjectConfigCredentialsArgs{...} +type GetSubjectConfigCredentialsInput interface { pulumi.Input - ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput - ToGetPrivateLinkAccessAzureOutputWithContext(context.Context) GetPrivateLinkAccessAzureOutput + ToGetSubjectConfigCredentialsOutput() GetSubjectConfigCredentialsOutput + ToGetSubjectConfigCredentialsOutputWithContext(context.Context) GetSubjectConfigCredentialsOutput } -type GetPrivateLinkAccessAzureArgs struct { - // (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. - Subscription pulumi.StringInput `pulumi:"subscription"` +type GetSubjectConfigCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetPrivateLinkAccessAzureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessAzure)(nil)).Elem() +func (GetSubjectConfigCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectConfigCredentials)(nil)).Elem() } -func (i GetPrivateLinkAccessAzureArgs) ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput { - return i.ToGetPrivateLinkAccessAzureOutputWithContext(context.Background()) +func (i GetSubjectConfigCredentialsArgs) ToGetSubjectConfigCredentialsOutput() GetSubjectConfigCredentialsOutput { + return i.ToGetSubjectConfigCredentialsOutputWithContext(context.Background()) } -func (i GetPrivateLinkAccessAzureArgs) ToGetPrivateLinkAccessAzureOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAzureOutput) +func (i GetSubjectConfigCredentialsArgs) ToGetSubjectConfigCredentialsOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigCredentialsOutput) } -// GetPrivateLinkAccessAzureArrayInput is an input type that accepts GetPrivateLinkAccessAzureArray and GetPrivateLinkAccessAzureArrayOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessAzureArrayInput` via: -// -// GetPrivateLinkAccessAzureArray{ GetPrivateLinkAccessAzureArgs{...} } -type GetPrivateLinkAccessAzureArrayInput interface { - pulumi.Input - - ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput - ToGetPrivateLinkAccessAzureArrayOutputWithContext(context.Context) GetPrivateLinkAccessAzureArrayOutput +func (i GetSubjectConfigCredentialsArgs) ToGetSubjectConfigCredentialsPtrOutput() GetSubjectConfigCredentialsPtrOutput { + return i.ToGetSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessAzureArray []GetPrivateLinkAccessAzureInput - -func (GetPrivateLinkAccessAzureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessAzure)(nil)).Elem() +func (i GetSubjectConfigCredentialsArgs) ToGetSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigCredentialsOutput).ToGetSubjectConfigCredentialsPtrOutputWithContext(ctx) } -func (i GetPrivateLinkAccessAzureArray) ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput { - return i.ToGetPrivateLinkAccessAzureArrayOutputWithContext(context.Background()) -} +// GetSubjectConfigCredentialsPtrInput is an input type that accepts GetSubjectConfigCredentialsArgs, GetSubjectConfigCredentialsPtr and GetSubjectConfigCredentialsPtrOutput values. +// You can construct a concrete instance of `GetSubjectConfigCredentialsPtrInput` via: +// +// GetSubjectConfigCredentialsArgs{...} +// +// or: +// +// nil +type GetSubjectConfigCredentialsPtrInput interface { + pulumi.Input -func (i GetPrivateLinkAccessAzureArray) ToGetPrivateLinkAccessAzureArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessAzureArrayOutput) + ToGetSubjectConfigCredentialsPtrOutput() GetSubjectConfigCredentialsPtrOutput + ToGetSubjectConfigCredentialsPtrOutputWithContext(context.Context) GetSubjectConfigCredentialsPtrOutput } -type GetPrivateLinkAccessAzureOutput struct{ *pulumi.OutputState } +type getSubjectConfigCredentialsPtrType GetSubjectConfigCredentialsArgs -func (GetPrivateLinkAccessAzureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessAzure)(nil)).Elem() +func GetSubjectConfigCredentialsPtr(v *GetSubjectConfigCredentialsArgs) GetSubjectConfigCredentialsPtrInput { + return (*getSubjectConfigCredentialsPtrType)(v) } -func (o GetPrivateLinkAccessAzureOutput) ToGetPrivateLinkAccessAzureOutput() GetPrivateLinkAccessAzureOutput { - return o +func (*getSubjectConfigCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectConfigCredentials)(nil)).Elem() } -func (o GetPrivateLinkAccessAzureOutput) ToGetPrivateLinkAccessAzureOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureOutput { - return o +func (i *getSubjectConfigCredentialsPtrType) ToGetSubjectConfigCredentialsPtrOutput() GetSubjectConfigCredentialsPtrOutput { + return i.ToGetSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -// (Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your [Microsoft Azure Portal](https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade). Must be a valid **32 character UUID string**. -func (o GetPrivateLinkAccessAzureOutput) Subscription() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateLinkAccessAzure) string { return v.Subscription }).(pulumi.StringOutput) +func (i *getSubjectConfigCredentialsPtrType) ToGetSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigCredentialsPtrOutput) } -type GetPrivateLinkAccessAzureArrayOutput struct{ *pulumi.OutputState } +type GetSubjectConfigCredentialsOutput struct{ *pulumi.OutputState } -func (GetPrivateLinkAccessAzureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessAzure)(nil)).Elem() +func (GetSubjectConfigCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectConfigCredentials)(nil)).Elem() } -func (o GetPrivateLinkAccessAzureArrayOutput) ToGetPrivateLinkAccessAzureArrayOutput() GetPrivateLinkAccessAzureArrayOutput { +func (o GetSubjectConfigCredentialsOutput) ToGetSubjectConfigCredentialsOutput() GetSubjectConfigCredentialsOutput { return o } -func (o GetPrivateLinkAccessAzureArrayOutput) ToGetPrivateLinkAccessAzureArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessAzureArrayOutput { +func (o GetSubjectConfigCredentialsOutput) ToGetSubjectConfigCredentialsOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsOutput { return o } -func (o GetPrivateLinkAccessAzureArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessAzureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessAzure { - return vs[0].([]GetPrivateLinkAccessAzure)[vs[1].(int)] - }).(GetPrivateLinkAccessAzureOutput) +func (o GetSubjectConfigCredentialsOutput) ToGetSubjectConfigCredentialsPtrOutput() GetSubjectConfigCredentialsPtrOutput { + return o.ToGetSubjectConfigCredentialsPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessEnvironment struct { - // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +func (o GetSubjectConfigCredentialsOutput) ToGetSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSubjectConfigCredentials) *GetSubjectConfigCredentials { + return &v + }).(GetSubjectConfigCredentialsPtrOutput) } -// GetPrivateLinkAccessEnvironmentInput is an input type that accepts GetPrivateLinkAccessEnvironmentArgs and GetPrivateLinkAccessEnvironmentOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessEnvironmentInput` via: -// -// GetPrivateLinkAccessEnvironmentArgs{...} -type GetPrivateLinkAccessEnvironmentInput interface { - pulumi.Input - - ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput - ToGetPrivateLinkAccessEnvironmentOutputWithContext(context.Context) GetPrivateLinkAccessEnvironmentOutput +// The Schema Registry API Key. +func (o GetSubjectConfigCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectConfigCredentials) string { return v.Key }).(pulumi.StringOutput) } -type GetPrivateLinkAccessEnvironmentArgs struct { - // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +// The Schema Registry API Secret. +func (o GetSubjectConfigCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectConfigCredentials) string { return v.Secret }).(pulumi.StringOutput) } -func (GetPrivateLinkAccessEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessEnvironment)(nil)).Elem() -} +type GetSubjectConfigCredentialsPtrOutput struct{ *pulumi.OutputState } -func (i GetPrivateLinkAccessEnvironmentArgs) ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput { - return i.ToGetPrivateLinkAccessEnvironmentOutputWithContext(context.Background()) +func (GetSubjectConfigCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectConfigCredentials)(nil)).Elem() } -func (i GetPrivateLinkAccessEnvironmentArgs) ToGetPrivateLinkAccessEnvironmentOutputWithContext(ctx context.Context) GetPrivateLinkAccessEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessEnvironmentOutput) +func (o GetSubjectConfigCredentialsPtrOutput) ToGetSubjectConfigCredentialsPtrOutput() GetSubjectConfigCredentialsPtrOutput { + return o } -type GetPrivateLinkAccessEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetPrivateLinkAccessEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessEnvironment)(nil)).Elem() +func (o GetSubjectConfigCredentialsPtrOutput) ToGetSubjectConfigCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectConfigCredentialsPtrOutput { + return o } -func (o GetPrivateLinkAccessEnvironmentOutput) ToGetPrivateLinkAccessEnvironmentOutput() GetPrivateLinkAccessEnvironmentOutput { - return o +func (o GetSubjectConfigCredentialsPtrOutput) Elem() GetSubjectConfigCredentialsOutput { + return o.ApplyT(func(v *GetSubjectConfigCredentials) GetSubjectConfigCredentials { + if v != nil { + return *v + } + var ret GetSubjectConfigCredentials + return ret + }).(GetSubjectConfigCredentialsOutput) } -func (o GetPrivateLinkAccessEnvironmentOutput) ToGetPrivateLinkAccessEnvironmentOutputWithContext(ctx context.Context) GetPrivateLinkAccessEnvironmentOutput { - return o +// The Schema Registry API Key. +func (o GetSubjectConfigCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectConfigCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) } -// The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. -func (o GetPrivateLinkAccessEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateLinkAccessEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Secret. +func (o GetSubjectConfigCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectConfigCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) } -type GetPrivateLinkAccessGcp struct { - // (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). - Project string `pulumi:"project"` +type GetSubjectConfigSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id string `pulumi:"id"` } -// GetPrivateLinkAccessGcpInput is an input type that accepts GetPrivateLinkAccessGcpArgs and GetPrivateLinkAccessGcpOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessGcpInput` via: +// GetSubjectConfigSchemaRegistryClusterInput is an input type that accepts GetSubjectConfigSchemaRegistryClusterArgs and GetSubjectConfigSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `GetSubjectConfigSchemaRegistryClusterInput` via: // -// GetPrivateLinkAccessGcpArgs{...} -type GetPrivateLinkAccessGcpInput interface { +// GetSubjectConfigSchemaRegistryClusterArgs{...} +type GetSubjectConfigSchemaRegistryClusterInput interface { pulumi.Input - ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput - ToGetPrivateLinkAccessGcpOutputWithContext(context.Context) GetPrivateLinkAccessGcpOutput + ToGetSubjectConfigSchemaRegistryClusterOutput() GetSubjectConfigSchemaRegistryClusterOutput + ToGetSubjectConfigSchemaRegistryClusterOutputWithContext(context.Context) GetSubjectConfigSchemaRegistryClusterOutput +} + +type GetSubjectConfigSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + Id pulumi.StringInput `pulumi:"id"` } -type GetPrivateLinkAccessGcpArgs struct { - // (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). - Project pulumi.StringInput `pulumi:"project"` +func (GetSubjectConfigSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (GetPrivateLinkAccessGcpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessGcp)(nil)).Elem() +func (i GetSubjectConfigSchemaRegistryClusterArgs) ToGetSubjectConfigSchemaRegistryClusterOutput() GetSubjectConfigSchemaRegistryClusterOutput { + return i.ToGetSubjectConfigSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetPrivateLinkAccessGcpArgs) ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput { - return i.ToGetPrivateLinkAccessGcpOutputWithContext(context.Background()) +func (i GetSubjectConfigSchemaRegistryClusterArgs) ToGetSubjectConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigSchemaRegistryClusterOutput) } -func (i GetPrivateLinkAccessGcpArgs) ToGetPrivateLinkAccessGcpOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessGcpOutput) +func (i GetSubjectConfigSchemaRegistryClusterArgs) ToGetSubjectConfigSchemaRegistryClusterPtrOutput() GetSubjectConfigSchemaRegistryClusterPtrOutput { + return i.ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -// GetPrivateLinkAccessGcpArrayInput is an input type that accepts GetPrivateLinkAccessGcpArray and GetPrivateLinkAccessGcpArrayOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessGcpArrayInput` via: +func (i GetSubjectConfigSchemaRegistryClusterArgs) ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigSchemaRegistryClusterOutput).ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx) +} + +// GetSubjectConfigSchemaRegistryClusterPtrInput is an input type that accepts GetSubjectConfigSchemaRegistryClusterArgs, GetSubjectConfigSchemaRegistryClusterPtr and GetSubjectConfigSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `GetSubjectConfigSchemaRegistryClusterPtrInput` via: // -// GetPrivateLinkAccessGcpArray{ GetPrivateLinkAccessGcpArgs{...} } -type GetPrivateLinkAccessGcpArrayInput interface { +// GetSubjectConfigSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type GetSubjectConfigSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput - ToGetPrivateLinkAccessGcpArrayOutputWithContext(context.Context) GetPrivateLinkAccessGcpArrayOutput + ToGetSubjectConfigSchemaRegistryClusterPtrOutput() GetSubjectConfigSchemaRegistryClusterPtrOutput + ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Context) GetSubjectConfigSchemaRegistryClusterPtrOutput } -type GetPrivateLinkAccessGcpArray []GetPrivateLinkAccessGcpInput +type getSubjectConfigSchemaRegistryClusterPtrType GetSubjectConfigSchemaRegistryClusterArgs -func (GetPrivateLinkAccessGcpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessGcp)(nil)).Elem() +func GetSubjectConfigSchemaRegistryClusterPtr(v *GetSubjectConfigSchemaRegistryClusterArgs) GetSubjectConfigSchemaRegistryClusterPtrInput { + return (*getSubjectConfigSchemaRegistryClusterPtrType)(v) } -func (i GetPrivateLinkAccessGcpArray) ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput { - return i.ToGetPrivateLinkAccessGcpArrayOutputWithContext(context.Background()) +func (*getSubjectConfigSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (i GetPrivateLinkAccessGcpArray) ToGetPrivateLinkAccessGcpArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessGcpArrayOutput) +func (i *getSubjectConfigSchemaRegistryClusterPtrType) ToGetSubjectConfigSchemaRegistryClusterPtrOutput() GetSubjectConfigSchemaRegistryClusterPtrOutput { + return i.ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessGcpOutput struct{ *pulumi.OutputState } +func (i *getSubjectConfigSchemaRegistryClusterPtrType) ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectConfigSchemaRegistryClusterPtrOutput) +} -func (GetPrivateLinkAccessGcpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessGcp)(nil)).Elem() +type GetSubjectConfigSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (GetSubjectConfigSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectConfigSchemaRegistryCluster)(nil)).Elem() } -func (o GetPrivateLinkAccessGcpOutput) ToGetPrivateLinkAccessGcpOutput() GetPrivateLinkAccessGcpOutput { +func (o GetSubjectConfigSchemaRegistryClusterOutput) ToGetSubjectConfigSchemaRegistryClusterOutput() GetSubjectConfigSchemaRegistryClusterOutput { return o } -func (o GetPrivateLinkAccessGcpOutput) ToGetPrivateLinkAccessGcpOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpOutput { +func (o GetSubjectConfigSchemaRegistryClusterOutput) ToGetSubjectConfigSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterOutput { return o } -// (Required String) The GCP project ID to allow for Private Service Connect access. You can find your Google Cloud Project ID under **Project ID** section of your [Google Cloud Console dashboard](https://console.cloud.google.com/home/dashboard). -func (o GetPrivateLinkAccessGcpOutput) Project() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateLinkAccessGcp) string { return v.Project }).(pulumi.StringOutput) +func (o GetSubjectConfigSchemaRegistryClusterOutput) ToGetSubjectConfigSchemaRegistryClusterPtrOutput() GetSubjectConfigSchemaRegistryClusterPtrOutput { + return o.ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessGcpArrayOutput struct{ *pulumi.OutputState } +func (o GetSubjectConfigSchemaRegistryClusterOutput) ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSubjectConfigSchemaRegistryCluster) *GetSubjectConfigSchemaRegistryCluster { + return &v + }).(GetSubjectConfigSchemaRegistryClusterPtrOutput) +} -func (GetPrivateLinkAccessGcpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessGcp)(nil)).Elem() +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSubjectConfigSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectConfigSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -func (o GetPrivateLinkAccessGcpArrayOutput) ToGetPrivateLinkAccessGcpArrayOutput() GetPrivateLinkAccessGcpArrayOutput { +type GetSubjectConfigSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetSubjectConfigSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectConfigSchemaRegistryCluster)(nil)).Elem() +} + +func (o GetSubjectConfigSchemaRegistryClusterPtrOutput) ToGetSubjectConfigSchemaRegistryClusterPtrOutput() GetSubjectConfigSchemaRegistryClusterPtrOutput { return o } -func (o GetPrivateLinkAccessGcpArrayOutput) ToGetPrivateLinkAccessGcpArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessGcpArrayOutput { +func (o GetSubjectConfigSchemaRegistryClusterPtrOutput) ToGetSubjectConfigSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectConfigSchemaRegistryClusterPtrOutput { return o } -func (o GetPrivateLinkAccessGcpArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessGcpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessGcp { - return vs[0].([]GetPrivateLinkAccessGcp)[vs[1].(int)] - }).(GetPrivateLinkAccessGcpOutput) +func (o GetSubjectConfigSchemaRegistryClusterPtrOutput) Elem() GetSubjectConfigSchemaRegistryClusterOutput { + return o.ApplyT(func(v *GetSubjectConfigSchemaRegistryCluster) GetSubjectConfigSchemaRegistryCluster { + if v != nil { + return *v + } + var ret GetSubjectConfigSchemaRegistryCluster + return ret + }).(GetSubjectConfigSchemaRegistryClusterOutput) } -type GetPrivateLinkAccessNetwork struct { - // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSubjectConfigSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectConfigSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// GetPrivateLinkAccessNetworkInput is an input type that accepts GetPrivateLinkAccessNetworkArgs and GetPrivateLinkAccessNetworkOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessNetworkInput` via: +type GetSubjectModeCredentials struct { + // The Schema Registry API Key. + Key string `pulumi:"key"` + // The Schema Registry API Secret. + Secret string `pulumi:"secret"` +} + +// GetSubjectModeCredentialsInput is an input type that accepts GetSubjectModeCredentialsArgs and GetSubjectModeCredentialsOutput values. +// You can construct a concrete instance of `GetSubjectModeCredentialsInput` via: // -// GetPrivateLinkAccessNetworkArgs{...} -type GetPrivateLinkAccessNetworkInput interface { +// GetSubjectModeCredentialsArgs{...} +type GetSubjectModeCredentialsInput interface { pulumi.Input - ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput - ToGetPrivateLinkAccessNetworkOutputWithContext(context.Context) GetPrivateLinkAccessNetworkOutput + ToGetSubjectModeCredentialsOutput() GetSubjectModeCredentialsOutput + ToGetSubjectModeCredentialsOutputWithContext(context.Context) GetSubjectModeCredentialsOutput } -type GetPrivateLinkAccessNetworkArgs struct { - // The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +type GetSubjectModeCredentialsArgs struct { + // The Schema Registry API Key. + Key pulumi.StringInput `pulumi:"key"` + // The Schema Registry API Secret. + Secret pulumi.StringInput `pulumi:"secret"` } -func (GetPrivateLinkAccessNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessNetwork)(nil)).Elem() +func (GetSubjectModeCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectModeCredentials)(nil)).Elem() } -func (i GetPrivateLinkAccessNetworkArgs) ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput { - return i.ToGetPrivateLinkAccessNetworkOutputWithContext(context.Background()) +func (i GetSubjectModeCredentialsArgs) ToGetSubjectModeCredentialsOutput() GetSubjectModeCredentialsOutput { + return i.ToGetSubjectModeCredentialsOutputWithContext(context.Background()) } -func (i GetPrivateLinkAccessNetworkArgs) ToGetPrivateLinkAccessNetworkOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessNetworkOutput) +func (i GetSubjectModeCredentialsArgs) ToGetSubjectModeCredentialsOutputWithContext(ctx context.Context) GetSubjectModeCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeCredentialsOutput) } -// GetPrivateLinkAccessNetworkArrayInput is an input type that accepts GetPrivateLinkAccessNetworkArray and GetPrivateLinkAccessNetworkArrayOutput values. -// You can construct a concrete instance of `GetPrivateLinkAccessNetworkArrayInput` via: -// -// GetPrivateLinkAccessNetworkArray{ GetPrivateLinkAccessNetworkArgs{...} } -type GetPrivateLinkAccessNetworkArrayInput interface { - pulumi.Input - - ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput - ToGetPrivateLinkAccessNetworkArrayOutputWithContext(context.Context) GetPrivateLinkAccessNetworkArrayOutput +func (i GetSubjectModeCredentialsArgs) ToGetSubjectModeCredentialsPtrOutput() GetSubjectModeCredentialsPtrOutput { + return i.ToGetSubjectModeCredentialsPtrOutputWithContext(context.Background()) } -type GetPrivateLinkAccessNetworkArray []GetPrivateLinkAccessNetworkInput - -func (GetPrivateLinkAccessNetworkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessNetwork)(nil)).Elem() +func (i GetSubjectModeCredentialsArgs) ToGetSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeCredentialsOutput).ToGetSubjectModeCredentialsPtrOutputWithContext(ctx) } -func (i GetPrivateLinkAccessNetworkArray) ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput { - return i.ToGetPrivateLinkAccessNetworkArrayOutputWithContext(context.Background()) -} +// GetSubjectModeCredentialsPtrInput is an input type that accepts GetSubjectModeCredentialsArgs, GetSubjectModeCredentialsPtr and GetSubjectModeCredentialsPtrOutput values. +// You can construct a concrete instance of `GetSubjectModeCredentialsPtrInput` via: +// +// GetSubjectModeCredentialsArgs{...} +// +// or: +// +// nil +type GetSubjectModeCredentialsPtrInput interface { + pulumi.Input -func (i GetPrivateLinkAccessNetworkArray) ToGetPrivateLinkAccessNetworkArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateLinkAccessNetworkArrayOutput) + ToGetSubjectModeCredentialsPtrOutput() GetSubjectModeCredentialsPtrOutput + ToGetSubjectModeCredentialsPtrOutputWithContext(context.Context) GetSubjectModeCredentialsPtrOutput } -type GetPrivateLinkAccessNetworkOutput struct{ *pulumi.OutputState } +type getSubjectModeCredentialsPtrType GetSubjectModeCredentialsArgs -func (GetPrivateLinkAccessNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateLinkAccessNetwork)(nil)).Elem() +func GetSubjectModeCredentialsPtr(v *GetSubjectModeCredentialsArgs) GetSubjectModeCredentialsPtrInput { + return (*getSubjectModeCredentialsPtrType)(v) } -func (o GetPrivateLinkAccessNetworkOutput) ToGetPrivateLinkAccessNetworkOutput() GetPrivateLinkAccessNetworkOutput { - return o +func (*getSubjectModeCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectModeCredentials)(nil)).Elem() } -func (o GetPrivateLinkAccessNetworkOutput) ToGetPrivateLinkAccessNetworkOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkOutput { - return o +func (i *getSubjectModeCredentialsPtrType) ToGetSubjectModeCredentialsPtrOutput() GetSubjectModeCredentialsPtrOutput { + return i.ToGetSubjectModeCredentialsPtrOutputWithContext(context.Background()) } -// The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. -func (o GetPrivateLinkAccessNetworkOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateLinkAccessNetwork) string { return v.Id }).(pulumi.StringOutput) +func (i *getSubjectModeCredentialsPtrType) ToGetSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectModeCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeCredentialsPtrOutput) } -type GetPrivateLinkAccessNetworkArrayOutput struct{ *pulumi.OutputState } +type GetSubjectModeCredentialsOutput struct{ *pulumi.OutputState } -func (GetPrivateLinkAccessNetworkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateLinkAccessNetwork)(nil)).Elem() +func (GetSubjectModeCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectModeCredentials)(nil)).Elem() } -func (o GetPrivateLinkAccessNetworkArrayOutput) ToGetPrivateLinkAccessNetworkArrayOutput() GetPrivateLinkAccessNetworkArrayOutput { +func (o GetSubjectModeCredentialsOutput) ToGetSubjectModeCredentialsOutput() GetSubjectModeCredentialsOutput { return o } -func (o GetPrivateLinkAccessNetworkArrayOutput) ToGetPrivateLinkAccessNetworkArrayOutputWithContext(ctx context.Context) GetPrivateLinkAccessNetworkArrayOutput { +func (o GetSubjectModeCredentialsOutput) ToGetSubjectModeCredentialsOutputWithContext(ctx context.Context) GetSubjectModeCredentialsOutput { return o } -func (o GetPrivateLinkAccessNetworkArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkAccessNetworkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateLinkAccessNetwork { - return vs[0].([]GetPrivateLinkAccessNetwork)[vs[1].(int)] - }).(GetPrivateLinkAccessNetworkOutput) +func (o GetSubjectModeCredentialsOutput) ToGetSubjectModeCredentialsPtrOutput() GetSubjectModeCredentialsPtrOutput { + return o.ToGetSubjectModeCredentialsPtrOutputWithContext(context.Background()) } -type GetSchemaRegistryClusterEnvironment struct { - // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. - Id string `pulumi:"id"` +func (o GetSubjectModeCredentialsOutput) ToGetSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectModeCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSubjectModeCredentials) *GetSubjectModeCredentials { + return &v + }).(GetSubjectModeCredentialsPtrOutput) } -// GetSchemaRegistryClusterEnvironmentInput is an input type that accepts GetSchemaRegistryClusterEnvironmentArgs and GetSchemaRegistryClusterEnvironmentOutput values. -// You can construct a concrete instance of `GetSchemaRegistryClusterEnvironmentInput` via: -// -// GetSchemaRegistryClusterEnvironmentArgs{...} -type GetSchemaRegistryClusterEnvironmentInput interface { - pulumi.Input - - ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput - ToGetSchemaRegistryClusterEnvironmentOutputWithContext(context.Context) GetSchemaRegistryClusterEnvironmentOutput +// The Schema Registry API Key. +func (o GetSubjectModeCredentialsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectModeCredentials) string { return v.Key }).(pulumi.StringOutput) } -type GetSchemaRegistryClusterEnvironmentArgs struct { - // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. - Id pulumi.StringInput `pulumi:"id"` +// The Schema Registry API Secret. +func (o GetSubjectModeCredentialsOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectModeCredentials) string { return v.Secret }).(pulumi.StringOutput) } -func (GetSchemaRegistryClusterEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaRegistryClusterEnvironment)(nil)).Elem() -} +type GetSubjectModeCredentialsPtrOutput struct{ *pulumi.OutputState } -func (i GetSchemaRegistryClusterEnvironmentArgs) ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput { - return i.ToGetSchemaRegistryClusterEnvironmentOutputWithContext(context.Background()) +func (GetSubjectModeCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectModeCredentials)(nil)).Elem() } -func (i GetSchemaRegistryClusterEnvironmentArgs) ToGetSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) GetSchemaRegistryClusterEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterEnvironmentOutput) +func (o GetSubjectModeCredentialsPtrOutput) ToGetSubjectModeCredentialsPtrOutput() GetSubjectModeCredentialsPtrOutput { + return o } -type GetSchemaRegistryClusterEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetSchemaRegistryClusterEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaRegistryClusterEnvironment)(nil)).Elem() +func (o GetSubjectModeCredentialsPtrOutput) ToGetSubjectModeCredentialsPtrOutputWithContext(ctx context.Context) GetSubjectModeCredentialsPtrOutput { + return o } -func (o GetSchemaRegistryClusterEnvironmentOutput) ToGetSchemaRegistryClusterEnvironmentOutput() GetSchemaRegistryClusterEnvironmentOutput { - return o +func (o GetSubjectModeCredentialsPtrOutput) Elem() GetSubjectModeCredentialsOutput { + return o.ApplyT(func(v *GetSubjectModeCredentials) GetSubjectModeCredentials { + if v != nil { + return *v + } + var ret GetSubjectModeCredentials + return ret + }).(GetSubjectModeCredentialsOutput) } -func (o GetSchemaRegistryClusterEnvironmentOutput) ToGetSchemaRegistryClusterEnvironmentOutputWithContext(ctx context.Context) GetSchemaRegistryClusterEnvironmentOutput { - return o +// The Schema Registry API Key. +func (o GetSubjectModeCredentialsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectModeCredentials) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) } -// The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. -func (o GetSchemaRegistryClusterEnvironmentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSchemaRegistryClusterEnvironment) string { return v.Id }).(pulumi.StringOutput) +// The Schema Registry API Secret. +func (o GetSubjectModeCredentialsPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectModeCredentials) *string { + if v == nil { + return nil + } + return &v.Secret + }).(pulumi.StringPtrOutput) } -type GetSchemaRegistryClusterRegion struct { - // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. +type GetSubjectModeSchemaRegistryCluster struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id string `pulumi:"id"` } -// GetSchemaRegistryClusterRegionInput is an input type that accepts GetSchemaRegistryClusterRegionArgs and GetSchemaRegistryClusterRegionOutput values. -// You can construct a concrete instance of `GetSchemaRegistryClusterRegionInput` via: +// GetSubjectModeSchemaRegistryClusterInput is an input type that accepts GetSubjectModeSchemaRegistryClusterArgs and GetSubjectModeSchemaRegistryClusterOutput values. +// You can construct a concrete instance of `GetSubjectModeSchemaRegistryClusterInput` via: // -// GetSchemaRegistryClusterRegionArgs{...} -type GetSchemaRegistryClusterRegionInput interface { +// GetSubjectModeSchemaRegistryClusterArgs{...} +type GetSubjectModeSchemaRegistryClusterInput interface { pulumi.Input - ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput - ToGetSchemaRegistryClusterRegionOutputWithContext(context.Context) GetSchemaRegistryClusterRegionOutput + ToGetSubjectModeSchemaRegistryClusterOutput() GetSubjectModeSchemaRegistryClusterOutput + ToGetSubjectModeSchemaRegistryClusterOutputWithContext(context.Context) GetSubjectModeSchemaRegistryClusterOutput } -type GetSchemaRegistryClusterRegionArgs struct { - // The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. +type GetSubjectModeSchemaRegistryClusterArgs struct { + // The ID of the Schema Registry cluster, for example, `lsrc-abc123`. Id pulumi.StringInput `pulumi:"id"` } -func (GetSchemaRegistryClusterRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaRegistryClusterRegion)(nil)).Elem() +func (GetSubjectModeSchemaRegistryClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetSchemaRegistryClusterRegionArgs) ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput { - return i.ToGetSchemaRegistryClusterRegionOutputWithContext(context.Background()) +func (i GetSubjectModeSchemaRegistryClusterArgs) ToGetSubjectModeSchemaRegistryClusterOutput() GetSubjectModeSchemaRegistryClusterOutput { + return i.ToGetSubjectModeSchemaRegistryClusterOutputWithContext(context.Background()) } -func (i GetSchemaRegistryClusterRegionArgs) ToGetSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterRegionOutput) +func (i GetSubjectModeSchemaRegistryClusterArgs) ToGetSubjectModeSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeSchemaRegistryClusterOutput) } -// GetSchemaRegistryClusterRegionArrayInput is an input type that accepts GetSchemaRegistryClusterRegionArray and GetSchemaRegistryClusterRegionArrayOutput values. -// You can construct a concrete instance of `GetSchemaRegistryClusterRegionArrayInput` via: +func (i GetSubjectModeSchemaRegistryClusterArgs) ToGetSubjectModeSchemaRegistryClusterPtrOutput() GetSubjectModeSchemaRegistryClusterPtrOutput { + return i.ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) +} + +func (i GetSubjectModeSchemaRegistryClusterArgs) ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeSchemaRegistryClusterOutput).ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx) +} + +// GetSubjectModeSchemaRegistryClusterPtrInput is an input type that accepts GetSubjectModeSchemaRegistryClusterArgs, GetSubjectModeSchemaRegistryClusterPtr and GetSubjectModeSchemaRegistryClusterPtrOutput values. +// You can construct a concrete instance of `GetSubjectModeSchemaRegistryClusterPtrInput` via: // -// GetSchemaRegistryClusterRegionArray{ GetSchemaRegistryClusterRegionArgs{...} } -type GetSchemaRegistryClusterRegionArrayInput interface { +// GetSubjectModeSchemaRegistryClusterArgs{...} +// +// or: +// +// nil +type GetSubjectModeSchemaRegistryClusterPtrInput interface { pulumi.Input - ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput - ToGetSchemaRegistryClusterRegionArrayOutputWithContext(context.Context) GetSchemaRegistryClusterRegionArrayOutput + ToGetSubjectModeSchemaRegistryClusterPtrOutput() GetSubjectModeSchemaRegistryClusterPtrOutput + ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Context) GetSubjectModeSchemaRegistryClusterPtrOutput } -type GetSchemaRegistryClusterRegionArray []GetSchemaRegistryClusterRegionInput +type getSubjectModeSchemaRegistryClusterPtrType GetSubjectModeSchemaRegistryClusterArgs -func (GetSchemaRegistryClusterRegionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSchemaRegistryClusterRegion)(nil)).Elem() +func GetSubjectModeSchemaRegistryClusterPtr(v *GetSubjectModeSchemaRegistryClusterArgs) GetSubjectModeSchemaRegistryClusterPtrInput { + return (*getSubjectModeSchemaRegistryClusterPtrType)(v) } -func (i GetSchemaRegistryClusterRegionArray) ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput { - return i.ToGetSchemaRegistryClusterRegionArrayOutputWithContext(context.Background()) +func (*getSubjectModeSchemaRegistryClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (i GetSchemaRegistryClusterRegionArray) ToGetSchemaRegistryClusterRegionArrayOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaRegistryClusterRegionArrayOutput) +func (i *getSubjectModeSchemaRegistryClusterPtrType) ToGetSubjectModeSchemaRegistryClusterPtrOutput() GetSubjectModeSchemaRegistryClusterPtrOutput { + return i.ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetSchemaRegistryClusterRegionOutput struct{ *pulumi.OutputState } +func (i *getSubjectModeSchemaRegistryClusterPtrType) ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSubjectModeSchemaRegistryClusterPtrOutput) +} -func (GetSchemaRegistryClusterRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaRegistryClusterRegion)(nil)).Elem() +type GetSubjectModeSchemaRegistryClusterOutput struct{ *pulumi.OutputState } + +func (GetSubjectModeSchemaRegistryClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSubjectModeSchemaRegistryCluster)(nil)).Elem() } -func (o GetSchemaRegistryClusterRegionOutput) ToGetSchemaRegistryClusterRegionOutput() GetSchemaRegistryClusterRegionOutput { +func (o GetSubjectModeSchemaRegistryClusterOutput) ToGetSubjectModeSchemaRegistryClusterOutput() GetSubjectModeSchemaRegistryClusterOutput { return o } -func (o GetSchemaRegistryClusterRegionOutput) ToGetSchemaRegistryClusterRegionOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionOutput { +func (o GetSubjectModeSchemaRegistryClusterOutput) ToGetSubjectModeSchemaRegistryClusterOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterOutput { return o } -// The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. -func (o GetSchemaRegistryClusterRegionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSchemaRegistryClusterRegion) string { return v.Id }).(pulumi.StringOutput) +func (o GetSubjectModeSchemaRegistryClusterOutput) ToGetSubjectModeSchemaRegistryClusterPtrOutput() GetSubjectModeSchemaRegistryClusterPtrOutput { + return o.ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(context.Background()) } -type GetSchemaRegistryClusterRegionArrayOutput struct{ *pulumi.OutputState } +func (o GetSubjectModeSchemaRegistryClusterOutput) ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSubjectModeSchemaRegistryCluster) *GetSubjectModeSchemaRegistryCluster { + return &v + }).(GetSubjectModeSchemaRegistryClusterPtrOutput) +} -func (GetSchemaRegistryClusterRegionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSchemaRegistryClusterRegion)(nil)).Elem() +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSubjectModeSchemaRegistryClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSubjectModeSchemaRegistryCluster) string { return v.Id }).(pulumi.StringOutput) } -func (o GetSchemaRegistryClusterRegionArrayOutput) ToGetSchemaRegistryClusterRegionArrayOutput() GetSchemaRegistryClusterRegionArrayOutput { +type GetSubjectModeSchemaRegistryClusterPtrOutput struct{ *pulumi.OutputState } + +func (GetSubjectModeSchemaRegistryClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSubjectModeSchemaRegistryCluster)(nil)).Elem() +} + +func (o GetSubjectModeSchemaRegistryClusterPtrOutput) ToGetSubjectModeSchemaRegistryClusterPtrOutput() GetSubjectModeSchemaRegistryClusterPtrOutput { return o } -func (o GetSchemaRegistryClusterRegionArrayOutput) ToGetSchemaRegistryClusterRegionArrayOutputWithContext(ctx context.Context) GetSchemaRegistryClusterRegionArrayOutput { +func (o GetSubjectModeSchemaRegistryClusterPtrOutput) ToGetSubjectModeSchemaRegistryClusterPtrOutputWithContext(ctx context.Context) GetSubjectModeSchemaRegistryClusterPtrOutput { return o } -func (o GetSchemaRegistryClusterRegionArrayOutput) Index(i pulumi.IntInput) GetSchemaRegistryClusterRegionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSchemaRegistryClusterRegion { - return vs[0].([]GetSchemaRegistryClusterRegion)[vs[1].(int)] - }).(GetSchemaRegistryClusterRegionOutput) +func (o GetSubjectModeSchemaRegistryClusterPtrOutput) Elem() GetSubjectModeSchemaRegistryClusterOutput { + return o.ApplyT(func(v *GetSubjectModeSchemaRegistryCluster) GetSubjectModeSchemaRegistryCluster { + if v != nil { + return *v + } + var ret GetSubjectModeSchemaRegistryCluster + return ret + }).(GetSubjectModeSchemaRegistryClusterOutput) +} + +// The ID of the Schema Registry cluster, for example, `lsrc-abc123`. +func (o GetSubjectModeSchemaRegistryClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSubjectModeSchemaRegistryCluster) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } type GetTransitGatewayAttachmentAw struct { - // (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - EnableCustomRoutes bool `pulumi:"enableCustomRoutes"` // (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. RamResourceShareArn string `pulumi:"ramResourceShareArn"` // (Required List of String) List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. @@ -10115,8 +13587,6 @@ type GetTransitGatewayAttachmentAwInput interface { } type GetTransitGatewayAttachmentAwArgs struct { - // (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - EnableCustomRoutes pulumi.BoolInput `pulumi:"enableCustomRoutes"` // (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. RamResourceShareArn pulumi.StringInput `pulumi:"ramResourceShareArn"` // (Required List of String) List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. @@ -10178,11 +13648,6 @@ func (o GetTransitGatewayAttachmentAwOutput) ToGetTransitGatewayAttachmentAwOutp return o } -// (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. -func (o GetTransitGatewayAttachmentAwOutput) EnableCustomRoutes() pulumi.BoolOutput { - return o.ApplyT(func(v GetTransitGatewayAttachmentAw) bool { return v.EnableCustomRoutes }).(pulumi.BoolOutput) -} - // (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. func (o GetTransitGatewayAttachmentAwOutput) RamResourceShareArn() pulumi.StringOutput { return o.ApplyT(func(v GetTransitGatewayAttachmentAw) string { return v.RamResourceShareArn }).(pulumi.StringOutput) @@ -10439,6 +13904,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*NetworkAwArrayInput)(nil)).Elem(), NetworkAwArray{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkAzureInput)(nil)).Elem(), NetworkAzureArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkAzureArrayInput)(nil)).Elem(), NetworkAzureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NetworkDnsConfigInput)(nil)).Elem(), NetworkDnsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NetworkDnsConfigPtrInput)(nil)).Elem(), NetworkDnsConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkEnvironmentInput)(nil)).Elem(), NetworkEnvironmentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkEnvironmentPtrInput)(nil)).Elem(), NetworkEnvironmentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkGcpInput)(nil)).Elem(), NetworkGcpArgs{}) @@ -10463,10 +13930,32 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PrivateLinkAccessGcpPtrInput)(nil)).Elem(), PrivateLinkAccessGcpArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PrivateLinkAccessNetworkInput)(nil)).Elem(), PrivateLinkAccessNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PrivateLinkAccessNetworkPtrInput)(nil)).Elem(), PrivateLinkAccessNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaCredentialsInput)(nil)).Elem(), SchemaCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaCredentialsPtrInput)(nil)).Elem(), SchemaCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigCredentialsInput)(nil)).Elem(), SchemaRegistryClusterConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigCredentialsPtrInput)(nil)).Elem(), SchemaRegistryClusterConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigSchemaRegistryClusterInput)(nil)).Elem(), SchemaRegistryClusterConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput)(nil)).Elem(), SchemaRegistryClusterConfigSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterEnvironmentInput)(nil)).Elem(), SchemaRegistryClusterEnvironmentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterEnvironmentPtrInput)(nil)).Elem(), SchemaRegistryClusterEnvironmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeCredentialsInput)(nil)).Elem(), SchemaRegistryClusterModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeCredentialsPtrInput)(nil)).Elem(), SchemaRegistryClusterModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeSchemaRegistryClusterInput)(nil)).Elem(), SchemaRegistryClusterModeSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeSchemaRegistryClusterPtrInput)(nil)).Elem(), SchemaRegistryClusterModeSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterRegionInput)(nil)).Elem(), SchemaRegistryClusterRegionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterRegionPtrInput)(nil)).Elem(), SchemaRegistryClusterRegionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaSchemaReferenceInput)(nil)).Elem(), SchemaSchemaReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaSchemaReferenceArrayInput)(nil)).Elem(), SchemaSchemaReferenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaSchemaRegistryClusterInput)(nil)).Elem(), SchemaSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaSchemaRegistryClusterPtrInput)(nil)).Elem(), SchemaSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigCredentialsInput)(nil)).Elem(), SubjectConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigCredentialsPtrInput)(nil)).Elem(), SubjectConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigSchemaRegistryClusterInput)(nil)).Elem(), SubjectConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigSchemaRegistryClusterPtrInput)(nil)).Elem(), SubjectConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeCredentialsInput)(nil)).Elem(), SubjectModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeCredentialsPtrInput)(nil)).Elem(), SubjectModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeSchemaRegistryClusterInput)(nil)).Elem(), SubjectModeSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeSchemaRegistryClusterPtrInput)(nil)).Elem(), SubjectModeSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TransitGatewayAttachmentAwsInput)(nil)).Elem(), TransitGatewayAttachmentAwsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TransitGatewayAttachmentAwsPtrInput)(nil)).Elem(), TransitGatewayAttachmentAwsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TransitGatewayAttachmentEnvironmentInput)(nil)).Elem(), TransitGatewayAttachmentEnvironmentArgs{}) @@ -10492,6 +13981,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetKafkaTopicCredentialsInput)(nil)).Elem(), GetKafkaTopicCredentialsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKafkaTopicCredentialsPtrInput)(nil)).Elem(), GetKafkaTopicCredentialsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKafkaTopicKafkaClusterInput)(nil)).Elem(), GetKafkaTopicKafkaClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKafkaTopicKafkaClusterPtrInput)(nil)).Elem(), GetKafkaTopicKafkaClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKsqlClusterCredentialIdentityInput)(nil)).Elem(), GetKsqlClusterCredentialIdentityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKsqlClusterCredentialIdentityArrayInput)(nil)).Elem(), GetKsqlClusterCredentialIdentityArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKsqlClusterEnvironmentInput)(nil)).Elem(), GetKsqlClusterEnvironmentArgs{}) @@ -10501,6 +13991,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAwArrayInput)(nil)).Elem(), GetNetworkAwArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAzureInput)(nil)).Elem(), GetNetworkAzureArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAzureArrayInput)(nil)).Elem(), GetNetworkAzureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkDnsConfigInput)(nil)).Elem(), GetNetworkDnsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkDnsConfigArrayInput)(nil)).Elem(), GetNetworkDnsConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkEnvironmentInput)(nil)).Elem(), GetNetworkEnvironmentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkGcpInput)(nil)).Elem(), GetNetworkGcpArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkGcpArrayInput)(nil)).Elem(), GetNetworkGcpArray{}) @@ -10522,9 +14014,31 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateLinkAccessGcpArrayInput)(nil)).Elem(), GetPrivateLinkAccessGcpArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateLinkAccessNetworkInput)(nil)).Elem(), GetPrivateLinkAccessNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateLinkAccessNetworkArrayInput)(nil)).Elem(), GetPrivateLinkAccessNetworkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaCredentialsInput)(nil)).Elem(), GetSchemaCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaCredentialsPtrInput)(nil)).Elem(), GetSchemaCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterConfigCredentialsInput)(nil)).Elem(), GetSchemaRegistryClusterConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterConfigCredentialsPtrInput)(nil)).Elem(), GetSchemaRegistryClusterConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterConfigSchemaRegistryClusterInput)(nil)).Elem(), GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrInput)(nil)).Elem(), GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterEnvironmentInput)(nil)).Elem(), GetSchemaRegistryClusterEnvironmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterModeCredentialsInput)(nil)).Elem(), GetSchemaRegistryClusterModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterModeCredentialsPtrInput)(nil)).Elem(), GetSchemaRegistryClusterModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterModeSchemaRegistryClusterInput)(nil)).Elem(), GetSchemaRegistryClusterModeSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterModeSchemaRegistryClusterPtrInput)(nil)).Elem(), GetSchemaRegistryClusterModeSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterRegionInput)(nil)).Elem(), GetSchemaRegistryClusterRegionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaRegistryClusterRegionArrayInput)(nil)).Elem(), GetSchemaRegistryClusterRegionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaReferenceInput)(nil)).Elem(), GetSchemaSchemaReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaReferenceArrayInput)(nil)).Elem(), GetSchemaSchemaReferenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaRegistryClusterInput)(nil)).Elem(), GetSchemaSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaRegistryClusterPtrInput)(nil)).Elem(), GetSchemaSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectConfigCredentialsInput)(nil)).Elem(), GetSubjectConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectConfigCredentialsPtrInput)(nil)).Elem(), GetSubjectConfigCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectConfigSchemaRegistryClusterInput)(nil)).Elem(), GetSubjectConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectConfigSchemaRegistryClusterPtrInput)(nil)).Elem(), GetSubjectConfigSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectModeCredentialsInput)(nil)).Elem(), GetSubjectModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectModeCredentialsPtrInput)(nil)).Elem(), GetSubjectModeCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectModeSchemaRegistryClusterInput)(nil)).Elem(), GetSubjectModeSchemaRegistryClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSubjectModeSchemaRegistryClusterPtrInput)(nil)).Elem(), GetSubjectModeSchemaRegistryClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayAttachmentAwInput)(nil)).Elem(), GetTransitGatewayAttachmentAwArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayAttachmentAwArrayInput)(nil)).Elem(), GetTransitGatewayAttachmentAwArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayAttachmentEnvironmentInput)(nil)).Elem(), GetTransitGatewayAttachmentEnvironmentArgs{}) @@ -10596,6 +14110,8 @@ func init() { pulumi.RegisterOutputType(NetworkAwArrayOutput{}) pulumi.RegisterOutputType(NetworkAzureOutput{}) pulumi.RegisterOutputType(NetworkAzureArrayOutput{}) + pulumi.RegisterOutputType(NetworkDnsConfigOutput{}) + pulumi.RegisterOutputType(NetworkDnsConfigPtrOutput{}) pulumi.RegisterOutputType(NetworkEnvironmentOutput{}) pulumi.RegisterOutputType(NetworkEnvironmentPtrOutput{}) pulumi.RegisterOutputType(NetworkGcpOutput{}) @@ -10620,10 +14136,32 @@ func init() { pulumi.RegisterOutputType(PrivateLinkAccessGcpPtrOutput{}) pulumi.RegisterOutputType(PrivateLinkAccessNetworkOutput{}) pulumi.RegisterOutputType(PrivateLinkAccessNetworkPtrOutput{}) + pulumi.RegisterOutputType(SchemaCredentialsOutput{}) + pulumi.RegisterOutputType(SchemaCredentialsPtrOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigCredentialsOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigCredentialsPtrOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(SchemaRegistryClusterEnvironmentOutput{}) pulumi.RegisterOutputType(SchemaRegistryClusterEnvironmentPtrOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeCredentialsOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeCredentialsPtrOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(SchemaRegistryClusterRegionOutput{}) pulumi.RegisterOutputType(SchemaRegistryClusterRegionPtrOutput{}) + pulumi.RegisterOutputType(SchemaSchemaReferenceOutput{}) + pulumi.RegisterOutputType(SchemaSchemaReferenceArrayOutput{}) + pulumi.RegisterOutputType(SchemaSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(SchemaSchemaRegistryClusterPtrOutput{}) + pulumi.RegisterOutputType(SubjectConfigCredentialsOutput{}) + pulumi.RegisterOutputType(SubjectConfigCredentialsPtrOutput{}) + pulumi.RegisterOutputType(SubjectConfigSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(SubjectConfigSchemaRegistryClusterPtrOutput{}) + pulumi.RegisterOutputType(SubjectModeCredentialsOutput{}) + pulumi.RegisterOutputType(SubjectModeCredentialsPtrOutput{}) + pulumi.RegisterOutputType(SubjectModeSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(SubjectModeSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(TransitGatewayAttachmentAwsOutput{}) pulumi.RegisterOutputType(TransitGatewayAttachmentAwsPtrOutput{}) pulumi.RegisterOutputType(TransitGatewayAttachmentEnvironmentOutput{}) @@ -10649,6 +14187,7 @@ func init() { pulumi.RegisterOutputType(GetKafkaTopicCredentialsOutput{}) pulumi.RegisterOutputType(GetKafkaTopicCredentialsPtrOutput{}) pulumi.RegisterOutputType(GetKafkaTopicKafkaClusterOutput{}) + pulumi.RegisterOutputType(GetKafkaTopicKafkaClusterPtrOutput{}) pulumi.RegisterOutputType(GetKsqlClusterCredentialIdentityOutput{}) pulumi.RegisterOutputType(GetKsqlClusterCredentialIdentityArrayOutput{}) pulumi.RegisterOutputType(GetKsqlClusterEnvironmentOutput{}) @@ -10658,6 +14197,8 @@ func init() { pulumi.RegisterOutputType(GetNetworkAwArrayOutput{}) pulumi.RegisterOutputType(GetNetworkAzureOutput{}) pulumi.RegisterOutputType(GetNetworkAzureArrayOutput{}) + pulumi.RegisterOutputType(GetNetworkDnsConfigOutput{}) + pulumi.RegisterOutputType(GetNetworkDnsConfigArrayOutput{}) pulumi.RegisterOutputType(GetNetworkEnvironmentOutput{}) pulumi.RegisterOutputType(GetNetworkGcpOutput{}) pulumi.RegisterOutputType(GetNetworkGcpArrayOutput{}) @@ -10679,9 +14220,31 @@ func init() { pulumi.RegisterOutputType(GetPrivateLinkAccessGcpArrayOutput{}) pulumi.RegisterOutputType(GetPrivateLinkAccessNetworkOutput{}) pulumi.RegisterOutputType(GetPrivateLinkAccessNetworkArrayOutput{}) + pulumi.RegisterOutputType(GetSchemaCredentialsOutput{}) + pulumi.RegisterOutputType(GetSchemaCredentialsPtrOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterConfigCredentialsOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterConfigCredentialsPtrOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterConfigSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(GetSchemaRegistryClusterEnvironmentOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterModeCredentialsOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterModeCredentialsPtrOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterModeSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(GetSchemaRegistryClusterModeSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(GetSchemaRegistryClusterRegionOutput{}) pulumi.RegisterOutputType(GetSchemaRegistryClusterRegionArrayOutput{}) + pulumi.RegisterOutputType(GetSchemaSchemaReferenceOutput{}) + pulumi.RegisterOutputType(GetSchemaSchemaReferenceArrayOutput{}) + pulumi.RegisterOutputType(GetSchemaSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(GetSchemaSchemaRegistryClusterPtrOutput{}) + pulumi.RegisterOutputType(GetSubjectConfigCredentialsOutput{}) + pulumi.RegisterOutputType(GetSubjectConfigCredentialsPtrOutput{}) + pulumi.RegisterOutputType(GetSubjectConfigSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(GetSubjectConfigSchemaRegistryClusterPtrOutput{}) + pulumi.RegisterOutputType(GetSubjectModeCredentialsOutput{}) + pulumi.RegisterOutputType(GetSubjectModeCredentialsPtrOutput{}) + pulumi.RegisterOutputType(GetSubjectModeSchemaRegistryClusterOutput{}) + pulumi.RegisterOutputType(GetSubjectModeSchemaRegistryClusterPtrOutput{}) pulumi.RegisterOutputType(GetTransitGatewayAttachmentAwOutput{}) pulumi.RegisterOutputType(GetTransitGatewayAttachmentAwArrayOutput{}) pulumi.RegisterOutputType(GetTransitGatewayAttachmentEnvironmentOutput{}) diff --git a/sdk/go/confluentcloud/schema.go b/sdk/go/confluentcloud/schema.go new file mode 100644 index 00000000..7df90c88 --- /dev/null +++ b/sdk/go/confluentcloud/schema.go @@ -0,0 +1,346 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `//`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 +// +// ``` +// +// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. +type Schema struct { + pulumi.CustomResourceState + + // The Cluster API Credentials. + Credentials SchemaCredentialsPtrOutput `pulumi:"credentials"` + // The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format pulumi.StringOutput `pulumi:"format"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` + // The schema string, for example, `file("./schema_version_1.avsc")`. + Schema pulumi.StringOutput `pulumi:"schema"` + // (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + SchemaIdentifier pulumi.IntOutput `pulumi:"schemaIdentifier"` + // The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences SchemaSchemaReferenceArrayOutput `pulumi:"schemaReferences"` + SchemaRegistryCluster SchemaSchemaRegistryClusterPtrOutput `pulumi:"schemaRegistryCluster"` + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName pulumi.StringOutput `pulumi:"subjectName"` + // The version, representing the exact version of the schema under the registered subject. + Version pulumi.IntOutput `pulumi:"version"` +} + +// NewSchema registers a new resource with the given unique name, arguments, and options. +func NewSchema(ctx *pulumi.Context, + name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Format == nil { + return nil, errors.New("invalid value for required argument 'Format'") + } + if args.Schema == nil { + return nil, errors.New("invalid value for required argument 'Schema'") + } + if args.SubjectName == nil { + return nil, errors.New("invalid value for required argument 'SubjectName'") + } + if args.Credentials != nil { + args.Credentials = pulumi.ToSecret(args.Credentials).(SchemaCredentialsPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "credentials", + }) + opts = append(opts, secrets) + var resource Schema + err := ctx.RegisterResource("confluentcloud:index/schema:Schema", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSchema gets an existing Schema resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSchema(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error) { + var resource Schema + err := ctx.ReadResource("confluentcloud:index/schema:Schema", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Schema resources. +type schemaState struct { + // The Cluster API Credentials. + Credentials *SchemaCredentials `pulumi:"credentials"` + // The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format *string `pulumi:"format"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + // The schema string, for example, `file("./schema_version_1.avsc")`. + Schema *string `pulumi:"schema"` + // (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + SchemaIdentifier *int `pulumi:"schemaIdentifier"` + // The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences []SchemaSchemaReference `pulumi:"schemaReferences"` + SchemaRegistryCluster *SchemaSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName *string `pulumi:"subjectName"` + // The version, representing the exact version of the schema under the registered subject. + Version *int `pulumi:"version"` +} + +type SchemaState struct { + // The Cluster API Credentials. + Credentials SchemaCredentialsPtrInput + // The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format pulumi.StringPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + // The schema string, for example, `file("./schema_version_1.avsc")`. + Schema pulumi.StringPtrInput + // (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + SchemaIdentifier pulumi.IntPtrInput + // The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences SchemaSchemaReferenceArrayInput + SchemaRegistryCluster SchemaSchemaRegistryClusterPtrInput + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName pulumi.StringPtrInput + // The version, representing the exact version of the schema under the registered subject. + Version pulumi.IntPtrInput +} + +func (SchemaState) ElementType() reflect.Type { + return reflect.TypeOf((*schemaState)(nil)).Elem() +} + +type schemaArgs struct { + // The Cluster API Credentials. + Credentials *SchemaCredentials `pulumi:"credentials"` + // The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format string `pulumi:"format"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + // The schema string, for example, `file("./schema_version_1.avsc")`. + Schema string `pulumi:"schema"` + // The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences []SchemaSchemaReference `pulumi:"schemaReferences"` + SchemaRegistryCluster *SchemaSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName string `pulumi:"subjectName"` +} + +// The set of arguments for constructing a Schema resource. +type SchemaArgs struct { + // The Cluster API Credentials. + Credentials SchemaCredentialsPtrInput + // The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + Format pulumi.StringInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + // The schema string, for example, `file("./schema_version_1.avsc")`. + Schema pulumi.StringInput + // The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + SchemaReferences SchemaSchemaReferenceArrayInput + SchemaRegistryCluster SchemaSchemaRegistryClusterPtrInput + // The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + SubjectName pulumi.StringInput +} + +func (SchemaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*schemaArgs)(nil)).Elem() +} + +type SchemaInput interface { + pulumi.Input + + ToSchemaOutput() SchemaOutput + ToSchemaOutputWithContext(ctx context.Context) SchemaOutput +} + +func (*Schema) ElementType() reflect.Type { + return reflect.TypeOf((**Schema)(nil)).Elem() +} + +func (i *Schema) ToSchemaOutput() SchemaOutput { + return i.ToSchemaOutputWithContext(context.Background()) +} + +func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaOutput) +} + +// SchemaArrayInput is an input type that accepts SchemaArray and SchemaArrayOutput values. +// You can construct a concrete instance of `SchemaArrayInput` via: +// +// SchemaArray{ SchemaArgs{...} } +type SchemaArrayInput interface { + pulumi.Input + + ToSchemaArrayOutput() SchemaArrayOutput + ToSchemaArrayOutputWithContext(context.Context) SchemaArrayOutput +} + +type SchemaArray []SchemaInput + +func (SchemaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Schema)(nil)).Elem() +} + +func (i SchemaArray) ToSchemaArrayOutput() SchemaArrayOutput { + return i.ToSchemaArrayOutputWithContext(context.Background()) +} + +func (i SchemaArray) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaArrayOutput) +} + +// SchemaMapInput is an input type that accepts SchemaMap and SchemaMapOutput values. +// You can construct a concrete instance of `SchemaMapInput` via: +// +// SchemaMap{ "key": SchemaArgs{...} } +type SchemaMapInput interface { + pulumi.Input + + ToSchemaMapOutput() SchemaMapOutput + ToSchemaMapOutputWithContext(context.Context) SchemaMapOutput +} + +type SchemaMap map[string]SchemaInput + +func (SchemaMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Schema)(nil)).Elem() +} + +func (i SchemaMap) ToSchemaMapOutput() SchemaMapOutput { + return i.ToSchemaMapOutputWithContext(context.Background()) +} + +func (i SchemaMap) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaMapOutput) +} + +type SchemaOutput struct{ *pulumi.OutputState } + +func (SchemaOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Schema)(nil)).Elem() +} + +func (o SchemaOutput) ToSchemaOutput() SchemaOutput { + return o +} + +func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput { + return o +} + +// The Cluster API Credentials. +func (o SchemaOutput) Credentials() SchemaCredentialsPtrOutput { + return o.ApplyT(func(v *Schema) SchemaCredentialsPtrOutput { return v.Credentials }).(SchemaCredentialsPtrOutput) +} + +// The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. +func (o SchemaOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v *Schema) pulumi.StringOutput { return v.Format }).(pulumi.StringOutput) +} + +// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). +func (o SchemaOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Schema) pulumi.StringPtrOutput { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +// The schema string, for example, `file("./schema_version_1.avsc")`. +func (o SchemaOutput) Schema() pulumi.StringOutput { + return o.ApplyT(func(v *Schema) pulumi.StringOutput { return v.Schema }).(pulumi.StringOutput) +} + +// (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. +func (o SchemaOutput) SchemaIdentifier() pulumi.IntOutput { + return o.ApplyT(func(v *Schema) pulumi.IntOutput { return v.SchemaIdentifier }).(pulumi.IntOutput) +} + +// The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): +func (o SchemaOutput) SchemaReferences() SchemaSchemaReferenceArrayOutput { + return o.ApplyT(func(v *Schema) SchemaSchemaReferenceArrayOutput { return v.SchemaReferences }).(SchemaSchemaReferenceArrayOutput) +} + +func (o SchemaOutput) SchemaRegistryCluster() SchemaSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v *Schema) SchemaSchemaRegistryClusterPtrOutput { return v.SchemaRegistryCluster }).(SchemaSchemaRegistryClusterPtrOutput) +} + +// The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) +func (o SchemaOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v *Schema) pulumi.StringOutput { return v.SubjectName }).(pulumi.StringOutput) +} + +// The version, representing the exact version of the schema under the registered subject. +func (o SchemaOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Schema) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) +} + +type SchemaArrayOutput struct{ *pulumi.OutputState } + +func (SchemaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Schema)(nil)).Elem() +} + +func (o SchemaArrayOutput) ToSchemaArrayOutput() SchemaArrayOutput { + return o +} + +func (o SchemaArrayOutput) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput { + return o +} + +func (o SchemaArrayOutput) Index(i pulumi.IntInput) SchemaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Schema { + return vs[0].([]*Schema)[vs[1].(int)] + }).(SchemaOutput) +} + +type SchemaMapOutput struct{ *pulumi.OutputState } + +func (SchemaMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Schema)(nil)).Elem() +} + +func (o SchemaMapOutput) ToSchemaMapOutput() SchemaMapOutput { + return o +} + +func (o SchemaMapOutput) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput { + return o +} + +func (o SchemaMapOutput) MapIndex(k pulumi.StringInput) SchemaOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Schema { + return vs[0].(map[string]*Schema)[vs[1].(string)] + }).(SchemaOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SchemaInput)(nil)).Elem(), &Schema{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaArrayInput)(nil)).Elem(), SchemaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaMapInput)(nil)).Elem(), SchemaMap{}) + pulumi.RegisterOutputType(SchemaOutput{}) + pulumi.RegisterOutputType(SchemaArrayOutput{}) + pulumi.RegisterOutputType(SchemaMapOutput{}) +} diff --git a/sdk/go/confluentcloud/schemaRegistryCluster.go b/sdk/go/confluentcloud/schemaRegistryCluster.go index 3abf42a0..11b46a47 100644 --- a/sdk/go/confluentcloud/schemaRegistryCluster.go +++ b/sdk/go/confluentcloud/schemaRegistryCluster.go @@ -29,7 +29,7 @@ import ( // if err != nil { // return err // } -// example, err := confluentcloud.GetSchemaRegistryRegion(ctx, &GetSchemaRegistryRegionArgs{ +// example, err := confluentcloud.GetSchemaRegistryRegion(ctx, &confluentcloud.GetSchemaRegistryRegionArgs{ // Cloud: "AWS", // Region: "us-east-2", // Package: "ESSENTIALS", @@ -38,12 +38,12 @@ import ( // return err // } // _, err = confluentcloud.NewSchemaRegistryCluster(ctx, "essentials", &confluentcloud.SchemaRegistryClusterArgs{ -// Package: pulumi.String(example.Package), -// Environment: &SchemaRegistryClusterEnvironmentArgs{ +// Package: *pulumi.String(example.Package), +// Environment: &confluentcloud.SchemaRegistryClusterEnvironmentArgs{ // Id: development.ID(), // }, -// Region: &SchemaRegistryClusterRegionArgs{ -// Id: pulumi.String(example.Id), +// Region: &confluentcloud.SchemaRegistryClusterRegionArgs{ +// Id: *pulumi.String(example.Id), // }, // }) // if err != nil { diff --git a/sdk/go/confluentcloud/schemaRegistryClusterConfig.go b/sdk/go/confluentcloud/schemaRegistryClusterConfig.go new file mode 100644 index 00000000..6353f184 --- /dev/null +++ b/sdk/go/confluentcloud/schemaRegistryClusterConfig.go @@ -0,0 +1,273 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 +// +// ``` +// +// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. +type SchemaRegistryClusterConfig struct { + pulumi.CustomResourceState + + // The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringOutput `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials SchemaRegistryClusterConfigCredentialsPtrOutput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` + SchemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput `pulumi:"schemaRegistryCluster"` +} + +// NewSchemaRegistryClusterConfig registers a new resource with the given unique name, arguments, and options. +func NewSchemaRegistryClusterConfig(ctx *pulumi.Context, + name string, args *SchemaRegistryClusterConfigArgs, opts ...pulumi.ResourceOption) (*SchemaRegistryClusterConfig, error) { + if args == nil { + args = &SchemaRegistryClusterConfigArgs{} + } + + if args.Credentials != nil { + args.Credentials = pulumi.ToSecret(args.Credentials).(SchemaRegistryClusterConfigCredentialsPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "credentials", + }) + opts = append(opts, secrets) + var resource SchemaRegistryClusterConfig + err := ctx.RegisterResource("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSchemaRegistryClusterConfig gets an existing SchemaRegistryClusterConfig resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSchemaRegistryClusterConfig(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SchemaRegistryClusterConfigState, opts ...pulumi.ResourceOption) (*SchemaRegistryClusterConfig, error) { + var resource SchemaRegistryClusterConfig + err := ctx.ReadResource("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SchemaRegistryClusterConfig resources. +type schemaRegistryClusterConfigState struct { + // The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel *string `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials *SchemaRegistryClusterConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SchemaRegistryClusterConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +type SchemaRegistryClusterConfigState struct { + // The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringPtrInput + // The Cluster API Credentials. + Credentials SchemaRegistryClusterConfigCredentialsPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput +} + +func (SchemaRegistryClusterConfigState) ElementType() reflect.Type { + return reflect.TypeOf((*schemaRegistryClusterConfigState)(nil)).Elem() +} + +type schemaRegistryClusterConfigArgs struct { + // The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel *string `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials *SchemaRegistryClusterConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SchemaRegistryClusterConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +// The set of arguments for constructing a SchemaRegistryClusterConfig resource. +type SchemaRegistryClusterConfigArgs struct { + // The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringPtrInput + // The Cluster API Credentials. + Credentials SchemaRegistryClusterConfigCredentialsPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryClusterPtrInput +} + +func (SchemaRegistryClusterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*schemaRegistryClusterConfigArgs)(nil)).Elem() +} + +type SchemaRegistryClusterConfigInput interface { + pulumi.Input + + ToSchemaRegistryClusterConfigOutput() SchemaRegistryClusterConfigOutput + ToSchemaRegistryClusterConfigOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigOutput +} + +func (*SchemaRegistryClusterConfig) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (i *SchemaRegistryClusterConfig) ToSchemaRegistryClusterConfigOutput() SchemaRegistryClusterConfigOutput { + return i.ToSchemaRegistryClusterConfigOutputWithContext(context.Background()) +} + +func (i *SchemaRegistryClusterConfig) ToSchemaRegistryClusterConfigOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigOutput) +} + +// SchemaRegistryClusterConfigArrayInput is an input type that accepts SchemaRegistryClusterConfigArray and SchemaRegistryClusterConfigArrayOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigArrayInput` via: +// +// SchemaRegistryClusterConfigArray{ SchemaRegistryClusterConfigArgs{...} } +type SchemaRegistryClusterConfigArrayInput interface { + pulumi.Input + + ToSchemaRegistryClusterConfigArrayOutput() SchemaRegistryClusterConfigArrayOutput + ToSchemaRegistryClusterConfigArrayOutputWithContext(context.Context) SchemaRegistryClusterConfigArrayOutput +} + +type SchemaRegistryClusterConfigArray []SchemaRegistryClusterConfigInput + +func (SchemaRegistryClusterConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (i SchemaRegistryClusterConfigArray) ToSchemaRegistryClusterConfigArrayOutput() SchemaRegistryClusterConfigArrayOutput { + return i.ToSchemaRegistryClusterConfigArrayOutputWithContext(context.Background()) +} + +func (i SchemaRegistryClusterConfigArray) ToSchemaRegistryClusterConfigArrayOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigArrayOutput) +} + +// SchemaRegistryClusterConfigMapInput is an input type that accepts SchemaRegistryClusterConfigMap and SchemaRegistryClusterConfigMapOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterConfigMapInput` via: +// +// SchemaRegistryClusterConfigMap{ "key": SchemaRegistryClusterConfigArgs{...} } +type SchemaRegistryClusterConfigMapInput interface { + pulumi.Input + + ToSchemaRegistryClusterConfigMapOutput() SchemaRegistryClusterConfigMapOutput + ToSchemaRegistryClusterConfigMapOutputWithContext(context.Context) SchemaRegistryClusterConfigMapOutput +} + +type SchemaRegistryClusterConfigMap map[string]SchemaRegistryClusterConfigInput + +func (SchemaRegistryClusterConfigMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (i SchemaRegistryClusterConfigMap) ToSchemaRegistryClusterConfigMapOutput() SchemaRegistryClusterConfigMapOutput { + return i.ToSchemaRegistryClusterConfigMapOutputWithContext(context.Background()) +} + +func (i SchemaRegistryClusterConfigMap) ToSchemaRegistryClusterConfigMapOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterConfigMapOutput) +} + +type SchemaRegistryClusterConfigOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (o SchemaRegistryClusterConfigOutput) ToSchemaRegistryClusterConfigOutput() SchemaRegistryClusterConfigOutput { + return o +} + +func (o SchemaRegistryClusterConfigOutput) ToSchemaRegistryClusterConfigOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigOutput { + return o +} + +// The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. +func (o SchemaRegistryClusterConfigOutput) CompatibilityLevel() pulumi.StringOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfig) pulumi.StringOutput { return v.CompatibilityLevel }).(pulumi.StringOutput) +} + +// The Cluster API Credentials. +func (o SchemaRegistryClusterConfigOutput) Credentials() SchemaRegistryClusterConfigCredentialsPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfig) SchemaRegistryClusterConfigCredentialsPtrOutput { + return v.Credentials + }).(SchemaRegistryClusterConfigCredentialsPtrOutput) +} + +// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). +func (o SchemaRegistryClusterConfigOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfig) pulumi.StringPtrOutput { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o SchemaRegistryClusterConfigOutput) SchemaRegistryCluster() SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterConfig) SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput { + return v.SchemaRegistryCluster + }).(SchemaRegistryClusterConfigSchemaRegistryClusterPtrOutput) +} + +type SchemaRegistryClusterConfigArrayOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (o SchemaRegistryClusterConfigArrayOutput) ToSchemaRegistryClusterConfigArrayOutput() SchemaRegistryClusterConfigArrayOutput { + return o +} + +func (o SchemaRegistryClusterConfigArrayOutput) ToSchemaRegistryClusterConfigArrayOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigArrayOutput { + return o +} + +func (o SchemaRegistryClusterConfigArrayOutput) Index(i pulumi.IntInput) SchemaRegistryClusterConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SchemaRegistryClusterConfig { + return vs[0].([]*SchemaRegistryClusterConfig)[vs[1].(int)] + }).(SchemaRegistryClusterConfigOutput) +} + +type SchemaRegistryClusterConfigMapOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterConfigMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SchemaRegistryClusterConfig)(nil)).Elem() +} + +func (o SchemaRegistryClusterConfigMapOutput) ToSchemaRegistryClusterConfigMapOutput() SchemaRegistryClusterConfigMapOutput { + return o +} + +func (o SchemaRegistryClusterConfigMapOutput) ToSchemaRegistryClusterConfigMapOutputWithContext(ctx context.Context) SchemaRegistryClusterConfigMapOutput { + return o +} + +func (o SchemaRegistryClusterConfigMapOutput) MapIndex(k pulumi.StringInput) SchemaRegistryClusterConfigOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SchemaRegistryClusterConfig { + return vs[0].(map[string]*SchemaRegistryClusterConfig)[vs[1].(string)] + }).(SchemaRegistryClusterConfigOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigInput)(nil)).Elem(), &SchemaRegistryClusterConfig{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigArrayInput)(nil)).Elem(), SchemaRegistryClusterConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterConfigMapInput)(nil)).Elem(), SchemaRegistryClusterConfigMap{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigArrayOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterConfigMapOutput{}) +} diff --git a/sdk/go/confluentcloud/schemaRegistryClusterMode.go b/sdk/go/confluentcloud/schemaRegistryClusterMode.go new file mode 100644 index 00000000..39411c0c --- /dev/null +++ b/sdk/go/confluentcloud/schemaRegistryClusterMode.go @@ -0,0 +1,271 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// You can import a Mode by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 +// +// ``` +// +// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. +type SchemaRegistryClusterMode struct { + pulumi.CustomResourceState + + // The Cluster API Credentials. + Credentials SchemaRegistryClusterModeCredentialsPtrOutput `pulumi:"credentials"` + // The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringOutput `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` + SchemaRegistryCluster SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput `pulumi:"schemaRegistryCluster"` +} + +// NewSchemaRegistryClusterMode registers a new resource with the given unique name, arguments, and options. +func NewSchemaRegistryClusterMode(ctx *pulumi.Context, + name string, args *SchemaRegistryClusterModeArgs, opts ...pulumi.ResourceOption) (*SchemaRegistryClusterMode, error) { + if args == nil { + args = &SchemaRegistryClusterModeArgs{} + } + + if args.Credentials != nil { + args.Credentials = pulumi.ToSecret(args.Credentials).(SchemaRegistryClusterModeCredentialsPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "credentials", + }) + opts = append(opts, secrets) + var resource SchemaRegistryClusterMode + err := ctx.RegisterResource("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSchemaRegistryClusterMode gets an existing SchemaRegistryClusterMode resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSchemaRegistryClusterMode(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SchemaRegistryClusterModeState, opts ...pulumi.ResourceOption) (*SchemaRegistryClusterMode, error) { + var resource SchemaRegistryClusterMode + err := ctx.ReadResource("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SchemaRegistryClusterMode resources. +type schemaRegistryClusterModeState struct { + // The Cluster API Credentials. + Credentials *SchemaRegistryClusterModeCredentials `pulumi:"credentials"` + // The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode *string `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SchemaRegistryClusterModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +type SchemaRegistryClusterModeState struct { + // The Cluster API Credentials. + Credentials SchemaRegistryClusterModeCredentialsPtrInput + // The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SchemaRegistryClusterModeSchemaRegistryClusterPtrInput +} + +func (SchemaRegistryClusterModeState) ElementType() reflect.Type { + return reflect.TypeOf((*schemaRegistryClusterModeState)(nil)).Elem() +} + +type schemaRegistryClusterModeArgs struct { + // The Cluster API Credentials. + Credentials *SchemaRegistryClusterModeCredentials `pulumi:"credentials"` + // The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode *string `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SchemaRegistryClusterModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` +} + +// The set of arguments for constructing a SchemaRegistryClusterMode resource. +type SchemaRegistryClusterModeArgs struct { + // The Cluster API Credentials. + Credentials SchemaRegistryClusterModeCredentialsPtrInput + // The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SchemaRegistryClusterModeSchemaRegistryClusterPtrInput +} + +func (SchemaRegistryClusterModeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*schemaRegistryClusterModeArgs)(nil)).Elem() +} + +type SchemaRegistryClusterModeInput interface { + pulumi.Input + + ToSchemaRegistryClusterModeOutput() SchemaRegistryClusterModeOutput + ToSchemaRegistryClusterModeOutputWithContext(ctx context.Context) SchemaRegistryClusterModeOutput +} + +func (*SchemaRegistryClusterMode) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterMode)(nil)).Elem() +} + +func (i *SchemaRegistryClusterMode) ToSchemaRegistryClusterModeOutput() SchemaRegistryClusterModeOutput { + return i.ToSchemaRegistryClusterModeOutputWithContext(context.Background()) +} + +func (i *SchemaRegistryClusterMode) ToSchemaRegistryClusterModeOutputWithContext(ctx context.Context) SchemaRegistryClusterModeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeOutput) +} + +// SchemaRegistryClusterModeArrayInput is an input type that accepts SchemaRegistryClusterModeArray and SchemaRegistryClusterModeArrayOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeArrayInput` via: +// +// SchemaRegistryClusterModeArray{ SchemaRegistryClusterModeArgs{...} } +type SchemaRegistryClusterModeArrayInput interface { + pulumi.Input + + ToSchemaRegistryClusterModeArrayOutput() SchemaRegistryClusterModeArrayOutput + ToSchemaRegistryClusterModeArrayOutputWithContext(context.Context) SchemaRegistryClusterModeArrayOutput +} + +type SchemaRegistryClusterModeArray []SchemaRegistryClusterModeInput + +func (SchemaRegistryClusterModeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SchemaRegistryClusterMode)(nil)).Elem() +} + +func (i SchemaRegistryClusterModeArray) ToSchemaRegistryClusterModeArrayOutput() SchemaRegistryClusterModeArrayOutput { + return i.ToSchemaRegistryClusterModeArrayOutputWithContext(context.Background()) +} + +func (i SchemaRegistryClusterModeArray) ToSchemaRegistryClusterModeArrayOutputWithContext(ctx context.Context) SchemaRegistryClusterModeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeArrayOutput) +} + +// SchemaRegistryClusterModeMapInput is an input type that accepts SchemaRegistryClusterModeMap and SchemaRegistryClusterModeMapOutput values. +// You can construct a concrete instance of `SchemaRegistryClusterModeMapInput` via: +// +// SchemaRegistryClusterModeMap{ "key": SchemaRegistryClusterModeArgs{...} } +type SchemaRegistryClusterModeMapInput interface { + pulumi.Input + + ToSchemaRegistryClusterModeMapOutput() SchemaRegistryClusterModeMapOutput + ToSchemaRegistryClusterModeMapOutputWithContext(context.Context) SchemaRegistryClusterModeMapOutput +} + +type SchemaRegistryClusterModeMap map[string]SchemaRegistryClusterModeInput + +func (SchemaRegistryClusterModeMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SchemaRegistryClusterMode)(nil)).Elem() +} + +func (i SchemaRegistryClusterModeMap) ToSchemaRegistryClusterModeMapOutput() SchemaRegistryClusterModeMapOutput { + return i.ToSchemaRegistryClusterModeMapOutputWithContext(context.Background()) +} + +func (i SchemaRegistryClusterModeMap) ToSchemaRegistryClusterModeMapOutputWithContext(ctx context.Context) SchemaRegistryClusterModeMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SchemaRegistryClusterModeMapOutput) +} + +type SchemaRegistryClusterModeOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterModeOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SchemaRegistryClusterMode)(nil)).Elem() +} + +func (o SchemaRegistryClusterModeOutput) ToSchemaRegistryClusterModeOutput() SchemaRegistryClusterModeOutput { + return o +} + +func (o SchemaRegistryClusterModeOutput) ToSchemaRegistryClusterModeOutputWithContext(ctx context.Context) SchemaRegistryClusterModeOutput { + return o +} + +// The Cluster API Credentials. +func (o SchemaRegistryClusterModeOutput) Credentials() SchemaRegistryClusterModeCredentialsPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterMode) SchemaRegistryClusterModeCredentialsPtrOutput { return v.Credentials }).(SchemaRegistryClusterModeCredentialsPtrOutput) +} + +// The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. +func (o SchemaRegistryClusterModeOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v *SchemaRegistryClusterMode) pulumi.StringOutput { return v.Mode }).(pulumi.StringOutput) +} + +// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). +func (o SchemaRegistryClusterModeOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterMode) pulumi.StringPtrOutput { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o SchemaRegistryClusterModeOutput) SchemaRegistryCluster() SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v *SchemaRegistryClusterMode) SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput { + return v.SchemaRegistryCluster + }).(SchemaRegistryClusterModeSchemaRegistryClusterPtrOutput) +} + +type SchemaRegistryClusterModeArrayOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterModeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SchemaRegistryClusterMode)(nil)).Elem() +} + +func (o SchemaRegistryClusterModeArrayOutput) ToSchemaRegistryClusterModeArrayOutput() SchemaRegistryClusterModeArrayOutput { + return o +} + +func (o SchemaRegistryClusterModeArrayOutput) ToSchemaRegistryClusterModeArrayOutputWithContext(ctx context.Context) SchemaRegistryClusterModeArrayOutput { + return o +} + +func (o SchemaRegistryClusterModeArrayOutput) Index(i pulumi.IntInput) SchemaRegistryClusterModeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SchemaRegistryClusterMode { + return vs[0].([]*SchemaRegistryClusterMode)[vs[1].(int)] + }).(SchemaRegistryClusterModeOutput) +} + +type SchemaRegistryClusterModeMapOutput struct{ *pulumi.OutputState } + +func (SchemaRegistryClusterModeMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SchemaRegistryClusterMode)(nil)).Elem() +} + +func (o SchemaRegistryClusterModeMapOutput) ToSchemaRegistryClusterModeMapOutput() SchemaRegistryClusterModeMapOutput { + return o +} + +func (o SchemaRegistryClusterModeMapOutput) ToSchemaRegistryClusterModeMapOutputWithContext(ctx context.Context) SchemaRegistryClusterModeMapOutput { + return o +} + +func (o SchemaRegistryClusterModeMapOutput) MapIndex(k pulumi.StringInput) SchemaRegistryClusterModeOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SchemaRegistryClusterMode { + return vs[0].(map[string]*SchemaRegistryClusterMode)[vs[1].(string)] + }).(SchemaRegistryClusterModeOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeInput)(nil)).Elem(), &SchemaRegistryClusterMode{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeArrayInput)(nil)).Elem(), SchemaRegistryClusterModeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SchemaRegistryClusterModeMapInput)(nil)).Elem(), SchemaRegistryClusterModeMap{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeArrayOutput{}) + pulumi.RegisterOutputType(SchemaRegistryClusterModeMapOutput{}) +} diff --git a/sdk/go/confluentcloud/subjectConfig.go b/sdk/go/confluentcloud/subjectConfig.go new file mode 100644 index 00000000..3692ad80 --- /dev/null +++ b/sdk/go/confluentcloud/subjectConfig.go @@ -0,0 +1,288 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject +// +// ``` +// +// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. +type SubjectConfig struct { + pulumi.CustomResourceState + + // The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringOutput `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials SubjectConfigCredentialsPtrOutput `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` + SchemaRegistryCluster SubjectConfigSchemaRegistryClusterPtrOutput `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringOutput `pulumi:"subjectName"` +} + +// NewSubjectConfig registers a new resource with the given unique name, arguments, and options. +func NewSubjectConfig(ctx *pulumi.Context, + name string, args *SubjectConfigArgs, opts ...pulumi.ResourceOption) (*SubjectConfig, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.SubjectName == nil { + return nil, errors.New("invalid value for required argument 'SubjectName'") + } + if args.Credentials != nil { + args.Credentials = pulumi.ToSecret(args.Credentials).(SubjectConfigCredentialsPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "credentials", + }) + opts = append(opts, secrets) + var resource SubjectConfig + err := ctx.RegisterResource("confluentcloud:index/subjectConfig:SubjectConfig", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSubjectConfig gets an existing SubjectConfig resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSubjectConfig(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SubjectConfigState, opts ...pulumi.ResourceOption) (*SubjectConfig, error) { + var resource SubjectConfig + err := ctx.ReadResource("confluentcloud:index/subjectConfig:SubjectConfig", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SubjectConfig resources. +type subjectConfigState struct { + // The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel *string `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials *SubjectConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SubjectConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName *string `pulumi:"subjectName"` +} + +type SubjectConfigState struct { + // The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringPtrInput + // The Cluster API Credentials. + Credentials SubjectConfigCredentialsPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SubjectConfigSchemaRegistryClusterPtrInput + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringPtrInput +} + +func (SubjectConfigState) ElementType() reflect.Type { + return reflect.TypeOf((*subjectConfigState)(nil)).Elem() +} + +type subjectConfigArgs struct { + // The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel *string `pulumi:"compatibilityLevel"` + // The Cluster API Credentials. + Credentials *SubjectConfigCredentials `pulumi:"credentials"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SubjectConfigSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName string `pulumi:"subjectName"` +} + +// The set of arguments for constructing a SubjectConfig resource. +type SubjectConfigArgs struct { + // The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + CompatibilityLevel pulumi.StringPtrInput + // The Cluster API Credentials. + Credentials SubjectConfigCredentialsPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SubjectConfigSchemaRegistryClusterPtrInput + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringInput +} + +func (SubjectConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*subjectConfigArgs)(nil)).Elem() +} + +type SubjectConfigInput interface { + pulumi.Input + + ToSubjectConfigOutput() SubjectConfigOutput + ToSubjectConfigOutputWithContext(ctx context.Context) SubjectConfigOutput +} + +func (*SubjectConfig) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfig)(nil)).Elem() +} + +func (i *SubjectConfig) ToSubjectConfigOutput() SubjectConfigOutput { + return i.ToSubjectConfigOutputWithContext(context.Background()) +} + +func (i *SubjectConfig) ToSubjectConfigOutputWithContext(ctx context.Context) SubjectConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigOutput) +} + +// SubjectConfigArrayInput is an input type that accepts SubjectConfigArray and SubjectConfigArrayOutput values. +// You can construct a concrete instance of `SubjectConfigArrayInput` via: +// +// SubjectConfigArray{ SubjectConfigArgs{...} } +type SubjectConfigArrayInput interface { + pulumi.Input + + ToSubjectConfigArrayOutput() SubjectConfigArrayOutput + ToSubjectConfigArrayOutputWithContext(context.Context) SubjectConfigArrayOutput +} + +type SubjectConfigArray []SubjectConfigInput + +func (SubjectConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubjectConfig)(nil)).Elem() +} + +func (i SubjectConfigArray) ToSubjectConfigArrayOutput() SubjectConfigArrayOutput { + return i.ToSubjectConfigArrayOutputWithContext(context.Background()) +} + +func (i SubjectConfigArray) ToSubjectConfigArrayOutputWithContext(ctx context.Context) SubjectConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigArrayOutput) +} + +// SubjectConfigMapInput is an input type that accepts SubjectConfigMap and SubjectConfigMapOutput values. +// You can construct a concrete instance of `SubjectConfigMapInput` via: +// +// SubjectConfigMap{ "key": SubjectConfigArgs{...} } +type SubjectConfigMapInput interface { + pulumi.Input + + ToSubjectConfigMapOutput() SubjectConfigMapOutput + ToSubjectConfigMapOutputWithContext(context.Context) SubjectConfigMapOutput +} + +type SubjectConfigMap map[string]SubjectConfigInput + +func (SubjectConfigMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubjectConfig)(nil)).Elem() +} + +func (i SubjectConfigMap) ToSubjectConfigMapOutput() SubjectConfigMapOutput { + return i.ToSubjectConfigMapOutputWithContext(context.Background()) +} + +func (i SubjectConfigMap) ToSubjectConfigMapOutputWithContext(ctx context.Context) SubjectConfigMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigMapOutput) +} + +type SubjectConfigOutput struct{ *pulumi.OutputState } + +func (SubjectConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectConfig)(nil)).Elem() +} + +func (o SubjectConfigOutput) ToSubjectConfigOutput() SubjectConfigOutput { + return o +} + +func (o SubjectConfigOutput) ToSubjectConfigOutputWithContext(ctx context.Context) SubjectConfigOutput { + return o +} + +// The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. +func (o SubjectConfigOutput) CompatibilityLevel() pulumi.StringOutput { + return o.ApplyT(func(v *SubjectConfig) pulumi.StringOutput { return v.CompatibilityLevel }).(pulumi.StringOutput) +} + +// The Cluster API Credentials. +func (o SubjectConfigOutput) Credentials() SubjectConfigCredentialsPtrOutput { + return o.ApplyT(func(v *SubjectConfig) SubjectConfigCredentialsPtrOutput { return v.Credentials }).(SubjectConfigCredentialsPtrOutput) +} + +// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). +func (o SubjectConfigOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectConfig) pulumi.StringPtrOutput { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o SubjectConfigOutput) SchemaRegistryCluster() SubjectConfigSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v *SubjectConfig) SubjectConfigSchemaRegistryClusterPtrOutput { return v.SchemaRegistryCluster }).(SubjectConfigSchemaRegistryClusterPtrOutput) +} + +// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. +func (o SubjectConfigOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v *SubjectConfig) pulumi.StringOutput { return v.SubjectName }).(pulumi.StringOutput) +} + +type SubjectConfigArrayOutput struct{ *pulumi.OutputState } + +func (SubjectConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubjectConfig)(nil)).Elem() +} + +func (o SubjectConfigArrayOutput) ToSubjectConfigArrayOutput() SubjectConfigArrayOutput { + return o +} + +func (o SubjectConfigArrayOutput) ToSubjectConfigArrayOutputWithContext(ctx context.Context) SubjectConfigArrayOutput { + return o +} + +func (o SubjectConfigArrayOutput) Index(i pulumi.IntInput) SubjectConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SubjectConfig { + return vs[0].([]*SubjectConfig)[vs[1].(int)] + }).(SubjectConfigOutput) +} + +type SubjectConfigMapOutput struct{ *pulumi.OutputState } + +func (SubjectConfigMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubjectConfig)(nil)).Elem() +} + +func (o SubjectConfigMapOutput) ToSubjectConfigMapOutput() SubjectConfigMapOutput { + return o +} + +func (o SubjectConfigMapOutput) ToSubjectConfigMapOutputWithContext(ctx context.Context) SubjectConfigMapOutput { + return o +} + +func (o SubjectConfigMapOutput) MapIndex(k pulumi.StringInput) SubjectConfigOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SubjectConfig { + return vs[0].(map[string]*SubjectConfig)[vs[1].(string)] + }).(SubjectConfigOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigInput)(nil)).Elem(), &SubjectConfig{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigArrayInput)(nil)).Elem(), SubjectConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectConfigMapInput)(nil)).Elem(), SubjectConfigMap{}) + pulumi.RegisterOutputType(SubjectConfigOutput{}) + pulumi.RegisterOutputType(SubjectConfigArrayOutput{}) + pulumi.RegisterOutputType(SubjectConfigMapOutput{}) +} diff --git a/sdk/go/confluentcloud/subjectMode.go b/sdk/go/confluentcloud/subjectMode.go new file mode 100644 index 00000000..230f1a91 --- /dev/null +++ b/sdk/go/confluentcloud/subjectMode.go @@ -0,0 +1,288 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package confluentcloud + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" +// +// ```sh +// +// $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject +// +// ``` +// +// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. +type SubjectMode struct { + pulumi.CustomResourceState + + // The Cluster API Credentials. + Credentials SubjectModeCredentialsPtrOutput `pulumi:"credentials"` + // The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringOutput `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrOutput `pulumi:"restEndpoint"` + SchemaRegistryCluster SubjectModeSchemaRegistryClusterPtrOutput `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringOutput `pulumi:"subjectName"` +} + +// NewSubjectMode registers a new resource with the given unique name, arguments, and options. +func NewSubjectMode(ctx *pulumi.Context, + name string, args *SubjectModeArgs, opts ...pulumi.ResourceOption) (*SubjectMode, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.SubjectName == nil { + return nil, errors.New("invalid value for required argument 'SubjectName'") + } + if args.Credentials != nil { + args.Credentials = pulumi.ToSecret(args.Credentials).(SubjectModeCredentialsPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "credentials", + }) + opts = append(opts, secrets) + var resource SubjectMode + err := ctx.RegisterResource("confluentcloud:index/subjectMode:SubjectMode", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSubjectMode gets an existing SubjectMode resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSubjectMode(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SubjectModeState, opts ...pulumi.ResourceOption) (*SubjectMode, error) { + var resource SubjectMode + err := ctx.ReadResource("confluentcloud:index/subjectMode:SubjectMode", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SubjectMode resources. +type subjectModeState struct { + // The Cluster API Credentials. + Credentials *SubjectModeCredentials `pulumi:"credentials"` + // The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode *string `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SubjectModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName *string `pulumi:"subjectName"` +} + +type SubjectModeState struct { + // The Cluster API Credentials. + Credentials SubjectModeCredentialsPtrInput + // The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SubjectModeSchemaRegistryClusterPtrInput + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringPtrInput +} + +func (SubjectModeState) ElementType() reflect.Type { + return reflect.TypeOf((*subjectModeState)(nil)).Elem() +} + +type subjectModeArgs struct { + // The Cluster API Credentials. + Credentials *SubjectModeCredentials `pulumi:"credentials"` + // The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode *string `pulumi:"mode"` + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint *string `pulumi:"restEndpoint"` + SchemaRegistryCluster *SubjectModeSchemaRegistryCluster `pulumi:"schemaRegistryCluster"` + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName string `pulumi:"subjectName"` +} + +// The set of arguments for constructing a SubjectMode resource. +type SubjectModeArgs struct { + // The Cluster API Credentials. + Credentials SubjectModeCredentialsPtrInput + // The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + Mode pulumi.StringPtrInput + // The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + RestEndpoint pulumi.StringPtrInput + SchemaRegistryCluster SubjectModeSchemaRegistryClusterPtrInput + // The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + SubjectName pulumi.StringInput +} + +func (SubjectModeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*subjectModeArgs)(nil)).Elem() +} + +type SubjectModeInput interface { + pulumi.Input + + ToSubjectModeOutput() SubjectModeOutput + ToSubjectModeOutputWithContext(ctx context.Context) SubjectModeOutput +} + +func (*SubjectMode) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectMode)(nil)).Elem() +} + +func (i *SubjectMode) ToSubjectModeOutput() SubjectModeOutput { + return i.ToSubjectModeOutputWithContext(context.Background()) +} + +func (i *SubjectMode) ToSubjectModeOutputWithContext(ctx context.Context) SubjectModeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeOutput) +} + +// SubjectModeArrayInput is an input type that accepts SubjectModeArray and SubjectModeArrayOutput values. +// You can construct a concrete instance of `SubjectModeArrayInput` via: +// +// SubjectModeArray{ SubjectModeArgs{...} } +type SubjectModeArrayInput interface { + pulumi.Input + + ToSubjectModeArrayOutput() SubjectModeArrayOutput + ToSubjectModeArrayOutputWithContext(context.Context) SubjectModeArrayOutput +} + +type SubjectModeArray []SubjectModeInput + +func (SubjectModeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubjectMode)(nil)).Elem() +} + +func (i SubjectModeArray) ToSubjectModeArrayOutput() SubjectModeArrayOutput { + return i.ToSubjectModeArrayOutputWithContext(context.Background()) +} + +func (i SubjectModeArray) ToSubjectModeArrayOutputWithContext(ctx context.Context) SubjectModeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeArrayOutput) +} + +// SubjectModeMapInput is an input type that accepts SubjectModeMap and SubjectModeMapOutput values. +// You can construct a concrete instance of `SubjectModeMapInput` via: +// +// SubjectModeMap{ "key": SubjectModeArgs{...} } +type SubjectModeMapInput interface { + pulumi.Input + + ToSubjectModeMapOutput() SubjectModeMapOutput + ToSubjectModeMapOutputWithContext(context.Context) SubjectModeMapOutput +} + +type SubjectModeMap map[string]SubjectModeInput + +func (SubjectModeMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubjectMode)(nil)).Elem() +} + +func (i SubjectModeMap) ToSubjectModeMapOutput() SubjectModeMapOutput { + return i.ToSubjectModeMapOutputWithContext(context.Background()) +} + +func (i SubjectModeMap) ToSubjectModeMapOutputWithContext(ctx context.Context) SubjectModeMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubjectModeMapOutput) +} + +type SubjectModeOutput struct{ *pulumi.OutputState } + +func (SubjectModeOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SubjectMode)(nil)).Elem() +} + +func (o SubjectModeOutput) ToSubjectModeOutput() SubjectModeOutput { + return o +} + +func (o SubjectModeOutput) ToSubjectModeOutputWithContext(ctx context.Context) SubjectModeOutput { + return o +} + +// The Cluster API Credentials. +func (o SubjectModeOutput) Credentials() SubjectModeCredentialsPtrOutput { + return o.ApplyT(func(v *SubjectMode) SubjectModeCredentialsPtrOutput { return v.Credentials }).(SubjectModeCredentialsPtrOutput) +} + +// The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. +func (o SubjectModeOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v *SubjectMode) pulumi.StringOutput { return v.Mode }).(pulumi.StringOutput) +} + +// The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). +func (o SubjectModeOutput) RestEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubjectMode) pulumi.StringPtrOutput { return v.RestEndpoint }).(pulumi.StringPtrOutput) +} + +func (o SubjectModeOutput) SchemaRegistryCluster() SubjectModeSchemaRegistryClusterPtrOutput { + return o.ApplyT(func(v *SubjectMode) SubjectModeSchemaRegistryClusterPtrOutput { return v.SchemaRegistryCluster }).(SubjectModeSchemaRegistryClusterPtrOutput) +} + +// The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. +func (o SubjectModeOutput) SubjectName() pulumi.StringOutput { + return o.ApplyT(func(v *SubjectMode) pulumi.StringOutput { return v.SubjectName }).(pulumi.StringOutput) +} + +type SubjectModeArrayOutput struct{ *pulumi.OutputState } + +func (SubjectModeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SubjectMode)(nil)).Elem() +} + +func (o SubjectModeArrayOutput) ToSubjectModeArrayOutput() SubjectModeArrayOutput { + return o +} + +func (o SubjectModeArrayOutput) ToSubjectModeArrayOutputWithContext(ctx context.Context) SubjectModeArrayOutput { + return o +} + +func (o SubjectModeArrayOutput) Index(i pulumi.IntInput) SubjectModeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SubjectMode { + return vs[0].([]*SubjectMode)[vs[1].(int)] + }).(SubjectModeOutput) +} + +type SubjectModeMapOutput struct{ *pulumi.OutputState } + +func (SubjectModeMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SubjectMode)(nil)).Elem() +} + +func (o SubjectModeMapOutput) ToSubjectModeMapOutput() SubjectModeMapOutput { + return o +} + +func (o SubjectModeMapOutput) ToSubjectModeMapOutputWithContext(ctx context.Context) SubjectModeMapOutput { + return o +} + +func (o SubjectModeMapOutput) MapIndex(k pulumi.StringInput) SubjectModeOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SubjectMode { + return vs[0].(map[string]*SubjectMode)[vs[1].(string)] + }).(SubjectModeOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeInput)(nil)).Elem(), &SubjectMode{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeArrayInput)(nil)).Elem(), SubjectModeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubjectModeMapInput)(nil)).Elem(), SubjectModeMap{}) + pulumi.RegisterOutputType(SubjectModeOutput{}) + pulumi.RegisterOutputType(SubjectModeArrayOutput{}) + pulumi.RegisterOutputType(SubjectModeMapOutput{}) +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java index bd7b48a7..b4f48f90 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java @@ -21,7 +21,7 @@ /** * ## Import * - * You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `<Environment ID>/<Kafka API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Kafka API Key + * You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key * * ```sh * $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV" @@ -81,14 +81,14 @@ public Output displayName() { return this.displayName; } /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ @Export(name="managedResource", type=ApiKeyManagedResource.class, parameters={}) private Output managedResource; /** - * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ public Output> managedResource() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKeyArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKeyArgs.java index b1311afd..c8a4456a 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKeyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKeyArgs.java @@ -64,14 +64,14 @@ public Optional> displayName() { } /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ @Import(name="managedResource") private @Nullable Output managedResource; /** - * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ public Optional> managedResource() { @@ -185,7 +185,7 @@ public Builder displayName(String displayName) { } /** - * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * * @return builder * @@ -196,7 +196,7 @@ public Builder managedResource(@Nullable Output manag } /** - * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Config.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Config.java index fa240668..3e8c5289 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Config.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Config.java @@ -46,6 +46,13 @@ public Optional kafkaApiKey() { public Optional kafkaApiSecret() { return Codegen.stringProp("kafkaApiSecret").config(config).get(); } +/** + * The Kafka Cluster ID. + * + */ + public Optional kafkaId() { + return Codegen.stringProp("kafkaId").config(config).get(); + } /** * The Kafka Cluster REST Endpoint. * @@ -60,4 +67,32 @@ public Optional kafkaRestEndpoint() { public Optional maxRetries() { return Codegen.integerProp("maxRetries").config(config).get(); } +/** + * The Schema Registry Cluster API Key. + * + */ + public Optional schemaRegistryApiKey() { + return Codegen.stringProp("schemaRegistryApiKey").config(config).get(); + } +/** + * The Schema Registry Cluster API Secret. + * + */ + public Optional schemaRegistryApiSecret() { + return Codegen.stringProp("schemaRegistryApiSecret").config(config).get(); + } +/** + * The Schema Registry Cluster ID. + * + */ + public Optional schemaRegistryId() { + return Codegen.stringProp("schemaRegistryId").config(config).get(); + } +/** + * The Schema Registry Cluster REST Endpoint. + * + */ + public Optional schemaRegistryRestEndpoint() { + return Codegen.stringProp("schemaRegistryRestEndpoint").config(config).get(); + } } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ConfluentcloudFunctions.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ConfluentcloudFunctions.java index 5dbef65b..ed6e7647 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ConfluentcloudFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ConfluentcloudFunctions.java @@ -26,12 +26,22 @@ import com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessPlainArgs; import com.pulumi.confluentcloud.inputs.GetRoleBindingArgs; import com.pulumi.confluentcloud.inputs.GetRoleBindingPlainArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaPlainArgs; import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigPlainArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModeArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModePlainArgs; import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterPlainArgs; import com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionArgs; import com.pulumi.confluentcloud.inputs.GetSchemaRegistryRegionPlainArgs; import com.pulumi.confluentcloud.inputs.GetServiceAccountArgs; import com.pulumi.confluentcloud.inputs.GetServiceAccountPlainArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectConfigArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectConfigPlainArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectModeArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectModePlainArgs; import com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentArgs; import com.pulumi.confluentcloud.inputs.GetTransitGatewayAttachmentPlainArgs; import com.pulumi.confluentcloud.inputs.GetUserArgs; @@ -48,9 +58,14 @@ import com.pulumi.confluentcloud.outputs.GetPeeringResult; import com.pulumi.confluentcloud.outputs.GetPrivateLinkAccessResult; import com.pulumi.confluentcloud.outputs.GetRoleBindingResult; +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterConfigResult; +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterModeResult; import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterResult; import com.pulumi.confluentcloud.outputs.GetSchemaRegistryRegionResult; +import com.pulumi.confluentcloud.outputs.GetSchemaResult; import com.pulumi.confluentcloud.outputs.GetServiceAccountResult; +import com.pulumi.confluentcloud.outputs.GetSubjectConfigResult; +import com.pulumi.confluentcloud.outputs.GetSubjectModeResult; import com.pulumi.confluentcloud.outputs.GetTransitGatewayAttachmentResult; import com.pulumi.confluentcloud.outputs.GetUserResult; import com.pulumi.core.Output; @@ -404,7 +419,7 @@ public static CompletableFuture getEnvironmentPlain(GetEnv return Deployment.getInstance().invokeAsync("confluentcloud:index/getEnvironment:getEnvironment", TypeShape.of(GetEnvironmentResult.class), args, Utilities.withVersion(options)); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` describes an Identity Pool data source. * @@ -456,7 +471,7 @@ public static Output getIdentityPool(GetIdentityPoolArgs return getIdentityPool(args, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` describes an Identity Pool data source. * @@ -508,7 +523,7 @@ public static CompletableFuture getIdentityPoolPlain(GetI return getIdentityPoolPlain(args, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` describes an Identity Pool data source. * @@ -560,7 +575,7 @@ public static Output getIdentityPool(GetIdentityPoolArgs return Deployment.getInstance().invoke("confluentcloud:index/getIdentityPool:getIdentityPool", TypeShape.of(GetIdentityPoolResult.class), args, Utilities.withVersion(options)); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` describes an Identity Pool data source. * @@ -612,7 +627,7 @@ public static CompletableFuture getIdentityPoolPlain(GetI return Deployment.getInstance().invokeAsync("confluentcloud:index/getIdentityPool:getIdentityPool", TypeShape.of(GetIdentityPoolResult.class), args, Utilities.withVersion(options)); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -657,7 +672,7 @@ public static Output getIdentityProvider() { return getIdentityProvider(GetIdentityProviderArgs.Empty, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -702,7 +717,7 @@ public static CompletableFuture getIdentityProviderPl return getIdentityProviderPlain(GetIdentityProviderPlainArgs.Empty, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -747,7 +762,7 @@ public static Output getIdentityProvider(GetIdentityP return getIdentityProvider(args, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -792,7 +807,7 @@ public static CompletableFuture getIdentityProviderPl return getIdentityProviderPlain(args, InvokeOptions.Empty); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -837,7 +852,7 @@ public static Output getIdentityProvider(GetIdentityP return Deployment.getInstance().invoke("confluentcloud:index/getIdentityProvider:getIdentityProvider", TypeShape.of(GetIdentityProviderResult.class), args, Utilities.withVersion(options)); } /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -882,10 +897,7 @@ public static CompletableFuture getIdentityProviderPl return Deployment.getInstance().invokeAsync("confluentcloud:index/getIdentityProvider:getIdentityProvider", TypeShape.of(GetIdentityProviderResult.class), args, Utilities.withVersion(options)); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. * @@ -927,10 +939,7 @@ public static Output getKafkaClientQuota(GetKafkaClie return getKafkaClientQuota(args, InvokeOptions.Empty); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. * @@ -972,10 +981,7 @@ public static CompletableFuture getKafkaClientQuotaPl return getKafkaClientQuotaPlain(args, InvokeOptions.Empty); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. * @@ -1017,10 +1023,7 @@ public static Output getKafkaClientQuota(GetKafkaClie return Deployment.getInstance().invoke("confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota", TypeShape.of(GetKafkaClientQuotaResult.class), args, Utilities.withVersion(options)); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. * @@ -1289,203 +1292,15 @@ public static Output getKafkaCluster(GetKafkaClusterArgs public static CompletableFuture getKafkaClusterPlain(GetKafkaClusterPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("confluentcloud:index/getKafkaCluster:getKafkaCluster", TypeShape.of(GetKafkaClusterResult.class), args, Utilities.withVersion(options)); } - /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.confluentcloud.ConfluentcloudFunctions; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicKafkaClusterArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicCredentialsArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * final var orders = ConfluentcloudFunctions.getKafkaTopic(GetKafkaTopicArgs.builder() - * .kafkaCluster(GetKafkaTopicKafkaClusterArgs.builder() - * .id(confluent_kafka_cluster.basic-cluster().id()) - * .build()) - * .topicName("orders") - * .restEndpoint(confluent_kafka_cluster.basic-cluster().rest_endpoint()) - * .credentials(GetKafkaTopicCredentialsArgs.builder() - * .key("<Kafka API Key for confluent_kafka_cluster.basic-cluster>") - * .secret("<Kafka API Secret for confluent_kafka_cluster.basic-cluster>") - * .build()) - * .build()); - * - * ctx.export("config", orders.applyValue(getKafkaTopicResult -> getKafkaTopicResult.config())); - * } - * } - * ``` - * - */ public static Output getKafkaTopic(GetKafkaTopicArgs args) { return getKafkaTopic(args, InvokeOptions.Empty); } - /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.confluentcloud.ConfluentcloudFunctions; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicKafkaClusterArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicCredentialsArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * final var orders = ConfluentcloudFunctions.getKafkaTopic(GetKafkaTopicArgs.builder() - * .kafkaCluster(GetKafkaTopicKafkaClusterArgs.builder() - * .id(confluent_kafka_cluster.basic-cluster().id()) - * .build()) - * .topicName("orders") - * .restEndpoint(confluent_kafka_cluster.basic-cluster().rest_endpoint()) - * .credentials(GetKafkaTopicCredentialsArgs.builder() - * .key("<Kafka API Key for confluent_kafka_cluster.basic-cluster>") - * .secret("<Kafka API Secret for confluent_kafka_cluster.basic-cluster>") - * .build()) - * .build()); - * - * ctx.export("config", orders.applyValue(getKafkaTopicResult -> getKafkaTopicResult.config())); - * } - * } - * ``` - * - */ public static CompletableFuture getKafkaTopicPlain(GetKafkaTopicPlainArgs args) { return getKafkaTopicPlain(args, InvokeOptions.Empty); } - /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.confluentcloud.ConfluentcloudFunctions; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicKafkaClusterArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicCredentialsArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * final var orders = ConfluentcloudFunctions.getKafkaTopic(GetKafkaTopicArgs.builder() - * .kafkaCluster(GetKafkaTopicKafkaClusterArgs.builder() - * .id(confluent_kafka_cluster.basic-cluster().id()) - * .build()) - * .topicName("orders") - * .restEndpoint(confluent_kafka_cluster.basic-cluster().rest_endpoint()) - * .credentials(GetKafkaTopicCredentialsArgs.builder() - * .key("<Kafka API Key for confluent_kafka_cluster.basic-cluster>") - * .secret("<Kafka API Secret for confluent_kafka_cluster.basic-cluster>") - * .build()) - * .build()); - * - * ctx.export("config", orders.applyValue(getKafkaTopicResult -> getKafkaTopicResult.config())); - * } - * } - * ``` - * - */ public static Output getKafkaTopic(GetKafkaTopicArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("confluentcloud:index/getKafkaTopic:getKafkaTopic", TypeShape.of(GetKafkaTopicResult.class), args, Utilities.withVersion(options)); } - /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.confluentcloud.ConfluentcloudFunctions; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicKafkaClusterArgs; - * import com.pulumi.confluentcloud.inputs.GetKafkaTopicCredentialsArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * final var orders = ConfluentcloudFunctions.getKafkaTopic(GetKafkaTopicArgs.builder() - * .kafkaCluster(GetKafkaTopicKafkaClusterArgs.builder() - * .id(confluent_kafka_cluster.basic-cluster().id()) - * .build()) - * .topicName("orders") - * .restEndpoint(confluent_kafka_cluster.basic-cluster().rest_endpoint()) - * .credentials(GetKafkaTopicCredentialsArgs.builder() - * .key("<Kafka API Key for confluent_kafka_cluster.basic-cluster>") - * .secret("<Kafka API Secret for confluent_kafka_cluster.basic-cluster>") - * .build()) - * .build()); - * - * ctx.export("config", orders.applyValue(getKafkaTopicResult -> getKafkaTopicResult.config())); - * } - * } - * ``` - * - */ public static CompletableFuture getKafkaTopicPlain(GetKafkaTopicPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("confluentcloud:index/getKafkaTopic:getKafkaTopic", TypeShape.of(GetKafkaTopicResult.class), args, Utilities.withVersion(options)); } @@ -2731,6 +2546,18 @@ public static Output getRoleBinding(GetRoleBindingArgs arg public static CompletableFuture getRoleBindingPlain(GetRoleBindingPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("confluentcloud:index/getRoleBinding:getRoleBinding", TypeShape.of(GetRoleBindingResult.class), args, Utilities.withVersion(options)); } + public static Output getSchema(GetSchemaArgs args) { + return getSchema(args, InvokeOptions.Empty); + } + public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args) { + return getSchemaPlain(args, InvokeOptions.Empty); + } + public static Output getSchema(GetSchemaArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("confluentcloud:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("confluentcloud:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options)); + } /** * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * @@ -2939,6 +2766,42 @@ public static Output getSchemaRegistryCluster(Ge public static CompletableFuture getSchemaRegistryClusterPlain(GetSchemaRegistryClusterPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("confluentcloud:index/getSchemaRegistryCluster:getSchemaRegistryCluster", TypeShape.of(GetSchemaRegistryClusterResult.class), args, Utilities.withVersion(options)); } + public static Output getSchemaRegistryClusterConfig() { + return getSchemaRegistryClusterConfig(GetSchemaRegistryClusterConfigArgs.Empty, InvokeOptions.Empty); + } + public static CompletableFuture getSchemaRegistryClusterConfigPlain() { + return getSchemaRegistryClusterConfigPlain(GetSchemaRegistryClusterConfigPlainArgs.Empty, InvokeOptions.Empty); + } + public static Output getSchemaRegistryClusterConfig(GetSchemaRegistryClusterConfigArgs args) { + return getSchemaRegistryClusterConfig(args, InvokeOptions.Empty); + } + public static CompletableFuture getSchemaRegistryClusterConfigPlain(GetSchemaRegistryClusterConfigPlainArgs args) { + return getSchemaRegistryClusterConfigPlain(args, InvokeOptions.Empty); + } + public static Output getSchemaRegistryClusterConfig(GetSchemaRegistryClusterConfigArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", TypeShape.of(GetSchemaRegistryClusterConfigResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getSchemaRegistryClusterConfigPlain(GetSchemaRegistryClusterConfigPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", TypeShape.of(GetSchemaRegistryClusterConfigResult.class), args, Utilities.withVersion(options)); + } + public static Output getSchemaRegistryClusterMode() { + return getSchemaRegistryClusterMode(GetSchemaRegistryClusterModeArgs.Empty, InvokeOptions.Empty); + } + public static CompletableFuture getSchemaRegistryClusterModePlain() { + return getSchemaRegistryClusterModePlain(GetSchemaRegistryClusterModePlainArgs.Empty, InvokeOptions.Empty); + } + public static Output getSchemaRegistryClusterMode(GetSchemaRegistryClusterModeArgs args) { + return getSchemaRegistryClusterMode(args, InvokeOptions.Empty); + } + public static CompletableFuture getSchemaRegistryClusterModePlain(GetSchemaRegistryClusterModePlainArgs args) { + return getSchemaRegistryClusterModePlain(args, InvokeOptions.Empty); + } + public static Output getSchemaRegistryClusterMode(GetSchemaRegistryClusterModeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", TypeShape.of(GetSchemaRegistryClusterModeResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getSchemaRegistryClusterModePlain(GetSchemaRegistryClusterModePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", TypeShape.of(GetSchemaRegistryClusterModeResult.class), args, Utilities.withVersion(options)); + } /** * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * @@ -3389,11 +3252,32 @@ public static Output getServiceAccount(GetServiceAccoun public static CompletableFuture getServiceAccountPlain(GetServiceAccountPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("confluentcloud:index/getServiceAccount:getServiceAccount", TypeShape.of(GetServiceAccountResult.class), args, Utilities.withVersion(options)); } + public static Output getSubjectConfig(GetSubjectConfigArgs args) { + return getSubjectConfig(args, InvokeOptions.Empty); + } + public static CompletableFuture getSubjectConfigPlain(GetSubjectConfigPlainArgs args) { + return getSubjectConfigPlain(args, InvokeOptions.Empty); + } + public static Output getSubjectConfig(GetSubjectConfigArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("confluentcloud:index/getSubjectConfig:getSubjectConfig", TypeShape.of(GetSubjectConfigResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getSubjectConfigPlain(GetSubjectConfigPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("confluentcloud:index/getSubjectConfig:getSubjectConfig", TypeShape.of(GetSubjectConfigResult.class), args, Utilities.withVersion(options)); + } + public static Output getSubjectMode(GetSubjectModeArgs args) { + return getSubjectMode(args, InvokeOptions.Empty); + } + public static CompletableFuture getSubjectModePlain(GetSubjectModePlainArgs args) { + return getSubjectModePlain(args, InvokeOptions.Empty); + } + public static Output getSubjectMode(GetSubjectModeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("confluentcloud:index/getSubjectMode:getSubjectMode", TypeShape.of(GetSubjectModeResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getSubjectModePlain(GetSubjectModePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("confluentcloud:index/getSubjectMode:getSubjectMode", TypeShape.of(GetSubjectModeResult.class), args, Utilities.withVersion(options)); + } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. * @@ -3445,10 +3329,7 @@ public static Output getTransitGatewayAttachm return getTransitGatewayAttachment(args, InvokeOptions.Empty); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. * @@ -3500,10 +3381,7 @@ public static CompletableFuture getTransitGat return getTransitGatewayAttachmentPlain(args, InvokeOptions.Empty); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. * @@ -3555,10 +3433,7 @@ public static Output getTransitGatewayAttachm return Deployment.getInstance().invoke("confluentcloud:index/getTransitGatewayAttachment:getTransitGatewayAttachment", TypeShape.of(GetTransitGatewayAttachmentResult.class), args, Utilities.withVersion(options)); } /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. * diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java index c203375c..ead590c7 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java @@ -15,7 +15,7 @@ import javax.annotation.Nullable; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. * diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java index 1313f1e1..7fac6558 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java @@ -14,7 +14,7 @@ import javax.annotation.Nullable; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. * diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java index 0c9f69c9..29283595 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java @@ -20,7 +20,13 @@ /** * ## Import * - * You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `<Kafka cluster ID>/<Kafka ACL resource type>#<Kafka ACL resource name>#<Kafka ACL pattern type>#<Kafka ACL principal>#<Kafka ACL host>#<Kafka ACL operation>#<Kafka ACL permission>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + * You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `<Kafka cluster ID>/<Kafka ACL resource type>#<Kafka ACL resource name>#<Kafka ACL pattern type>#<Kafka ACL principal>#<Kafka ACL host>#<Kafka ACL operation>#<Kafka ACL permission>`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" + * ``` + * + * Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" * * ```sh * $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" @@ -60,10 +66,10 @@ public Output host() { return this.host; } @Export(name="kafkaCluster", type=KafkaAclKafkaCluster.class, parameters={}) - private Output kafkaCluster; + private Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Output> kafkaCluster() { + return Codegen.optional(this.kafkaCluster); } /** * The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAclArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAclArgs.java index ac2725f3..7db49920 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAclArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAclArgs.java @@ -47,11 +47,11 @@ public Output host() { return this.host; } - @Import(name="kafkaCluster", required=true) - private Output kafkaCluster; + @Import(name="kafkaCluster") + private @Nullable Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Optional> kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** @@ -234,7 +234,7 @@ public Builder host(String host) { return host(Output.of(host)); } - public Builder kafkaCluster(Output kafkaCluster) { + public Builder kafkaCluster(@Nullable Output kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; } @@ -392,7 +392,6 @@ public Builder restEndpoint(String restEndpoint) { public KafkaAclArgs build() { $.host = Objects.requireNonNull($.host, "expected parameter 'host' to be non-null"); - $.kafkaCluster = Objects.requireNonNull($.kafkaCluster, "expected parameter 'kafkaCluster' to be non-null"); $.operation = Objects.requireNonNull($.operation, "expected parameter 'operation' to be non-null"); $.patternType = Objects.requireNonNull($.patternType, "expected parameter 'patternType' to be non-null"); $.permission = Objects.requireNonNull($.permission, "expected parameter 'permission' to be non-null"); diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java index 0c2ac379..b74f0773 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java @@ -19,56 +19,15 @@ import javax.annotation.Nullable; /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. - * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.confluentcloud.KafkaClusterConfig; - * import com.pulumi.confluentcloud.KafkaClusterConfigArgs; - * import com.pulumi.confluentcloud.inputs.KafkaClusterConfigKafkaClusterArgs; - * import com.pulumi.confluentcloud.inputs.KafkaClusterConfigCredentialsArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } + * ## Import * - * public static void stack(Context ctx) { - * var orders = new KafkaClusterConfig("orders", KafkaClusterConfigArgs.builder() - * .kafkaCluster(KafkaClusterConfigKafkaClusterArgs.builder() - * .id(confluent_kafka_cluster.dedicated().id()) - * .build()) - * .restEndpoint(confluent_kafka_cluster.dedicated().rest_endpoint()) - * .config(Map.ofEntries( - * Map.entry("auto.create.topics.enable", "true"), - * Map.entry("log.retention.ms", "604800123") - * )) - * .credentials(KafkaClusterConfigCredentialsArgs.builder() - * .key(confluent_api_key.app-manager-kafka-api-key().id()) - * .secret(confluent_api_key.app-manager-kafka-api-key().secret()) - * .build()) - * .build()); + * You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" * - * } - * } + * ```sh + * $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 * ``` * - * ## Import - * - * You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + * Option #2Manage a single Kafka cluster in the same Terraform workspace * * ```sh * $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 @@ -108,10 +67,10 @@ public Output> credentials() { return Codegen.optional(this.credentials); } @Export(name="kafkaCluster", type=KafkaClusterConfigKafkaCluster.class, parameters={}) - private Output kafkaCluster; + private Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Output> kafkaCluster() { + return Codegen.optional(this.kafkaCluster); } /** * The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfigArgs.java index f2f331f7..6e50f17b 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfigArgs.java @@ -48,11 +48,11 @@ public Optional> credentials() { return Optional.ofNullable(this.credentials); } - @Import(name="kafkaCluster", required=true) - private Output kafkaCluster; + @Import(name="kafkaCluster") + private @Nullable Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Optional> kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** @@ -139,7 +139,7 @@ public Builder credentials(KafkaClusterConfigCredentialsArgs credentials) { return credentials(Output.of(credentials)); } - public Builder kafkaCluster(Output kafkaCluster) { + public Builder kafkaCluster(@Nullable Output kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; } @@ -171,7 +171,6 @@ public Builder restEndpoint(String restEndpoint) { public KafkaClusterConfigArgs build() { $.config = Objects.requireNonNull($.config, "expected parameter 'config' to be non-null"); - $.kafkaCluster = Objects.requireNonNull($.kafkaCluster, "expected parameter 'kafkaCluster' to be non-null"); return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java index 39df1a95..dd2a1e8a 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java @@ -22,7 +22,13 @@ /** * ## Import * - * You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for example$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + * You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `<Kafka cluster ID>/<Kafka topic name>`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 + * ``` + * + * Option #2Manage a single Kafka cluster in the same Terraform workspace * * ```sh * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 @@ -160,10 +166,10 @@ public Output httpEndpoint() { return this.httpEndpoint; } @Export(name="kafkaCluster", type=KafkaTopicKafkaCluster.class, parameters={}) - private Output kafkaCluster; + private Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Output> kafkaCluster() { + return Codegen.optional(this.kafkaCluster); } /** * The number of partitions to create in the topic. Defaults to `6`. diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java index b0ea9867..d63caa19 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java @@ -72,11 +72,11 @@ public Optional> httpEndpoint() { return Optional.ofNullable(this.httpEndpoint); } - @Import(name="kafkaCluster", required=true) - private Output kafkaCluster; + @Import(name="kafkaCluster") + private @Nullable Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Optional> kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** @@ -225,7 +225,7 @@ public Builder httpEndpoint(String httpEndpoint) { return httpEndpoint(Output.of(httpEndpoint)); } - public Builder kafkaCluster(Output kafkaCluster) { + public Builder kafkaCluster(@Nullable Output kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; } @@ -298,7 +298,6 @@ public Builder topicName(String topicName) { } public KafkaTopicArgs build() { - $.kafkaCluster = Objects.requireNonNull($.kafkaCluster, "expected parameter 'kafkaCluster' to be non-null"); $.topicName = Objects.requireNonNull($.topicName, "expected parameter 'topicName' to be non-null"); return $; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java index afb5c96a..90d6fb46 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java @@ -8,6 +8,7 @@ import com.pulumi.confluentcloud.inputs.NetworkState; import com.pulumi.confluentcloud.outputs.NetworkAw; import com.pulumi.confluentcloud.outputs.NetworkAzure; +import com.pulumi.confluentcloud.outputs.NetworkDnsConfig; import com.pulumi.confluentcloud.outputs.NetworkEnvironment; import com.pulumi.confluentcloud.outputs.NetworkGcp; import com.pulumi.core.Output; @@ -117,6 +118,20 @@ public Output> connectionTypes() { public Output displayName() { return this.displayName; } + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + @Export(name="dnsConfig", type=NetworkDnsConfig.class, parameters={}) + private Output dnsConfig; + + /** + * @return Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + public Output dnsConfig() { + return this.dnsConfig; + } /** * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. * @@ -203,7 +218,8 @@ public Output> zonalSubdomains() { } /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -214,7 +230,8 @@ public Output> zonalSubdomains() { /** * @return The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkArgs.java index 37b91cff..32e8e438 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.confluentcloud.inputs.NetworkAwArgs; import com.pulumi.confluentcloud.inputs.NetworkAzureArgs; +import com.pulumi.confluentcloud.inputs.NetworkDnsConfigArgs; import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs; import com.pulumi.confluentcloud.inputs.NetworkGcpArgs; import com.pulumi.core.Output; @@ -110,6 +111,21 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + @Import(name="dnsConfig") + private @Nullable Output dnsConfig; + + /** + * @return Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + public Optional> dnsConfig() { + return Optional.ofNullable(this.dnsConfig); + } + /** * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * @@ -157,7 +173,8 @@ public Output region() { /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -168,7 +185,8 @@ public Output region() { /** * @return The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -187,6 +205,7 @@ private NetworkArgs(NetworkArgs $) { this.cloud = $.cloud; this.connectionTypes = $.connectionTypes; this.displayName = $.displayName; + this.dnsConfig = $.dnsConfig; this.environment = $.environment; this.gcps = $.gcps; this.region = $.region; @@ -367,6 +386,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param dnsConfig Network DNS config. It applies only to the PRIVATELINK network connection type. + * + * @return builder + * + */ + public Builder dnsConfig(@Nullable Output dnsConfig) { + $.dnsConfig = dnsConfig; + return this; + } + + /** + * @param dnsConfig Network DNS config. It applies only to the PRIVATELINK network connection type. + * + * @return builder + * + */ + public Builder dnsConfig(NetworkDnsConfigArgs dnsConfig) { + return dnsConfig(Output.of(dnsConfig)); + } + /** * @param environment Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * @@ -442,7 +482,8 @@ public Builder region(String region) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -457,7 +498,8 @@ public Builder zones(@Nullable Output> zones) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -471,7 +513,8 @@ public Builder zones(List zones) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java index 421567b2..16873cc6 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java @@ -93,6 +93,20 @@ public Output> kafkaApiKey() { public Output> kafkaApiSecret() { return Codegen.optional(this.kafkaApiSecret); } + /** + * The Kafka Cluster ID. + * + */ + @Export(name="kafkaId", type=String.class, parameters={}) + private Output kafkaId; + + /** + * @return The Kafka Cluster ID. + * + */ + public Output> kafkaId() { + return Codegen.optional(this.kafkaId); + } /** * The Kafka Cluster REST Endpoint. * @@ -107,6 +121,62 @@ public Output> kafkaApiSecret() { public Output> kafkaRestEndpoint() { return Codegen.optional(this.kafkaRestEndpoint); } + /** + * The Schema Registry Cluster API Key. + * + */ + @Export(name="schemaRegistryApiKey", type=String.class, parameters={}) + private Output schemaRegistryApiKey; + + /** + * @return The Schema Registry Cluster API Key. + * + */ + public Output> schemaRegistryApiKey() { + return Codegen.optional(this.schemaRegistryApiKey); + } + /** + * The Schema Registry Cluster API Secret. + * + */ + @Export(name="schemaRegistryApiSecret", type=String.class, parameters={}) + private Output schemaRegistryApiSecret; + + /** + * @return The Schema Registry Cluster API Secret. + * + */ + public Output> schemaRegistryApiSecret() { + return Codegen.optional(this.schemaRegistryApiSecret); + } + /** + * The Schema Registry Cluster ID. + * + */ + @Export(name="schemaRegistryId", type=String.class, parameters={}) + private Output schemaRegistryId; + + /** + * @return The Schema Registry Cluster ID. + * + */ + public Output> schemaRegistryId() { + return Codegen.optional(this.schemaRegistryId); + } + /** + * The Schema Registry Cluster REST Endpoint. + * + */ + @Export(name="schemaRegistryRestEndpoint", type=String.class, parameters={}) + private Output schemaRegistryRestEndpoint; + + /** + * @return The Schema Registry Cluster REST Endpoint. + * + */ + public Output> schemaRegistryRestEndpoint() { + return Codegen.optional(this.schemaRegistryRestEndpoint); + } /** * @@ -140,7 +210,9 @@ private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@N "cloudApiKey", "cloudApiSecret", "kafkaApiKey", - "kafkaApiSecret" + "kafkaApiSecret", + "schemaRegistryApiKey", + "schemaRegistryApiSecret" )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ProviderArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ProviderArgs.java index 2650df80..da8783bd 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ProviderArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ProviderArgs.java @@ -91,6 +91,21 @@ public Optional> kafkaApiSecret() { return Optional.ofNullable(this.kafkaApiSecret); } + /** + * The Kafka Cluster ID. + * + */ + @Import(name="kafkaId") + private @Nullable Output kafkaId; + + /** + * @return The Kafka Cluster ID. + * + */ + public Optional> kafkaId() { + return Optional.ofNullable(this.kafkaId); + } + /** * The Kafka Cluster REST Endpoint. * @@ -121,6 +136,66 @@ public Optional> maxRetries() { return Optional.ofNullable(this.maxRetries); } + /** + * The Schema Registry Cluster API Key. + * + */ + @Import(name="schemaRegistryApiKey") + private @Nullable Output schemaRegistryApiKey; + + /** + * @return The Schema Registry Cluster API Key. + * + */ + public Optional> schemaRegistryApiKey() { + return Optional.ofNullable(this.schemaRegistryApiKey); + } + + /** + * The Schema Registry Cluster API Secret. + * + */ + @Import(name="schemaRegistryApiSecret") + private @Nullable Output schemaRegistryApiSecret; + + /** + * @return The Schema Registry Cluster API Secret. + * + */ + public Optional> schemaRegistryApiSecret() { + return Optional.ofNullable(this.schemaRegistryApiSecret); + } + + /** + * The Schema Registry Cluster ID. + * + */ + @Import(name="schemaRegistryId") + private @Nullable Output schemaRegistryId; + + /** + * @return The Schema Registry Cluster ID. + * + */ + public Optional> schemaRegistryId() { + return Optional.ofNullable(this.schemaRegistryId); + } + + /** + * The Schema Registry Cluster REST Endpoint. + * + */ + @Import(name="schemaRegistryRestEndpoint") + private @Nullable Output schemaRegistryRestEndpoint; + + /** + * @return The Schema Registry Cluster REST Endpoint. + * + */ + public Optional> schemaRegistryRestEndpoint() { + return Optional.ofNullable(this.schemaRegistryRestEndpoint); + } + private ProviderArgs() {} private ProviderArgs(ProviderArgs $) { @@ -129,8 +204,13 @@ private ProviderArgs(ProviderArgs $) { this.endpoint = $.endpoint; this.kafkaApiKey = $.kafkaApiKey; this.kafkaApiSecret = $.kafkaApiSecret; + this.kafkaId = $.kafkaId; this.kafkaRestEndpoint = $.kafkaRestEndpoint; this.maxRetries = $.maxRetries; + this.schemaRegistryApiKey = $.schemaRegistryApiKey; + this.schemaRegistryApiSecret = $.schemaRegistryApiSecret; + this.schemaRegistryId = $.schemaRegistryId; + this.schemaRegistryRestEndpoint = $.schemaRegistryRestEndpoint; } public static Builder builder() { @@ -256,6 +336,27 @@ public Builder kafkaApiSecret(String kafkaApiSecret) { return kafkaApiSecret(Output.of(kafkaApiSecret)); } + /** + * @param kafkaId The Kafka Cluster ID. + * + * @return builder + * + */ + public Builder kafkaId(@Nullable Output kafkaId) { + $.kafkaId = kafkaId; + return this; + } + + /** + * @param kafkaId The Kafka Cluster ID. + * + * @return builder + * + */ + public Builder kafkaId(String kafkaId) { + return kafkaId(Output.of(kafkaId)); + } + /** * @param kafkaRestEndpoint The Kafka Cluster REST Endpoint. * @@ -298,6 +399,90 @@ public Builder maxRetries(Integer maxRetries) { return maxRetries(Output.of(maxRetries)); } + /** + * @param schemaRegistryApiKey The Schema Registry Cluster API Key. + * + * @return builder + * + */ + public Builder schemaRegistryApiKey(@Nullable Output schemaRegistryApiKey) { + $.schemaRegistryApiKey = schemaRegistryApiKey; + return this; + } + + /** + * @param schemaRegistryApiKey The Schema Registry Cluster API Key. + * + * @return builder + * + */ + public Builder schemaRegistryApiKey(String schemaRegistryApiKey) { + return schemaRegistryApiKey(Output.of(schemaRegistryApiKey)); + } + + /** + * @param schemaRegistryApiSecret The Schema Registry Cluster API Secret. + * + * @return builder + * + */ + public Builder schemaRegistryApiSecret(@Nullable Output schemaRegistryApiSecret) { + $.schemaRegistryApiSecret = schemaRegistryApiSecret; + return this; + } + + /** + * @param schemaRegistryApiSecret The Schema Registry Cluster API Secret. + * + * @return builder + * + */ + public Builder schemaRegistryApiSecret(String schemaRegistryApiSecret) { + return schemaRegistryApiSecret(Output.of(schemaRegistryApiSecret)); + } + + /** + * @param schemaRegistryId The Schema Registry Cluster ID. + * + * @return builder + * + */ + public Builder schemaRegistryId(@Nullable Output schemaRegistryId) { + $.schemaRegistryId = schemaRegistryId; + return this; + } + + /** + * @param schemaRegistryId The Schema Registry Cluster ID. + * + * @return builder + * + */ + public Builder schemaRegistryId(String schemaRegistryId) { + return schemaRegistryId(Output.of(schemaRegistryId)); + } + + /** + * @param schemaRegistryRestEndpoint The Schema Registry Cluster REST Endpoint. + * + * @return builder + * + */ + public Builder schemaRegistryRestEndpoint(@Nullable Output schemaRegistryRestEndpoint) { + $.schemaRegistryRestEndpoint = schemaRegistryRestEndpoint; + return this; + } + + /** + * @param schemaRegistryRestEndpoint The Schema Registry Cluster REST Endpoint. + * + * @return builder + * + */ + public Builder schemaRegistryRestEndpoint(String schemaRegistryRestEndpoint) { + return schemaRegistryRestEndpoint(Output.of(schemaRegistryRestEndpoint)); + } + public ProviderArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java new file mode 100644 index 00000000..0e3e831b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.SchemaArgs; +import com.pulumi.confluentcloud.Utilities; +import com.pulumi.confluentcloud.inputs.SchemaState; +import com.pulumi.confluentcloud.outputs.SchemaCredentials; +import com.pulumi.confluentcloud.outputs.SchemaSchemaReference; +import com.pulumi.confluentcloud.outputs.SchemaSchemaRegistryCluster; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Import + * + * You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `<Schema Registry cluster ID>/<Subject name>/<Schema identifier>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + * + */ +@ResourceType(type="confluentcloud:index/schema:Schema") +public class Schema extends com.pulumi.resources.CustomResource { + /** + * The Cluster API Credentials. + * + */ + @Export(name="credentials", type=SchemaCredentials.class, parameters={}) + private Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Output> credentials() { + return Codegen.optional(this.credentials); + } + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + @Export(name="format", type=String.class, parameters={}) + private Output format; + + /** + * @return The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + public Output format() { + return this.format; + } + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Export(name="restEndpoint", type=String.class, parameters={}) + private Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Output> restEndpoint() { + return Codegen.optional(this.restEndpoint); + } + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + @Export(name="schema", type=String.class, parameters={}) + private Output schema; + + /** + * @return The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + public Output schema() { + return this.schema; + } + /** + * (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + @Export(name="schemaIdentifier", type=Integer.class, parameters={}) + private Output schemaIdentifier; + + /** + * @return (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + public Output schemaIdentifier() { + return this.schemaIdentifier; + } + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + @Export(name="schemaReferences", type=List.class, parameters={SchemaSchemaReference.class}) + private Output> schemaReferences; + + /** + * @return The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + public Output>> schemaReferences() { + return Codegen.optional(this.schemaReferences); + } + @Export(name="schemaRegistryCluster", type=SchemaSchemaRegistryCluster.class, parameters={}) + private Output schemaRegistryCluster; + + public Output> schemaRegistryCluster() { + return Codegen.optional(this.schemaRegistryCluster); + } + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + @Export(name="subjectName", type=String.class, parameters={}) + private Output subjectName; + + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public Output subjectName() { + return this.subjectName; + } + /** + * The version, representing the exact version of the schema under the registered subject. + * + */ + @Export(name="version", type=Integer.class, parameters={}) + private Output version; + + /** + * @return The version, representing the exact version of the schema under the registered subject. + * + */ + public Output version() { + return this.version; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Schema(String name) { + this(name, SchemaArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Schema(String name, SchemaArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Schema(String name, SchemaArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schema:Schema", name, args == null ? SchemaArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private Schema(String name, Output id, @Nullable SchemaState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schema:Schema", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "credentials" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Schema get(String name, Output id, @Nullable SchemaState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Schema(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaArgs.java new file mode 100644 index 00000000..bfcfd14e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaArgs.java @@ -0,0 +1,302 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.inputs.SchemaCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaSchemaReferenceArgs; +import com.pulumi.confluentcloud.inputs.SchemaSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaArgs Empty = new SchemaArgs(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + @Import(name="format", required=true) + private Output format; + + /** + * @return The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + public Output format() { + return this.format; + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + @Import(name="schema", required=true) + private Output schema; + + /** + * @return The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + public Output schema() { + return this.schema; + } + + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + @Import(name="schemaReferences") + private @Nullable Output> schemaReferences; + + /** + * @return The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + public Optional>> schemaReferences() { + return Optional.ofNullable(this.schemaReferences); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public Output subjectName() { + return this.subjectName; + } + + private SchemaArgs() {} + + private SchemaArgs(SchemaArgs $) { + this.credentials = $.credentials; + this.format = $.format; + this.restEndpoint = $.restEndpoint; + this.schema = $.schema; + this.schemaReferences = $.schemaReferences; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaArgs $; + + public Builder() { + $ = new SchemaArgs(); + } + + public Builder(SchemaArgs defaults) { + $ = new SchemaArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param format The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + * @return builder + * + */ + public Builder format(Output format) { + $.format = format; + return this; + } + + /** + * @param format The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + * @return builder + * + */ + public Builder format(String format) { + return format(Output.of(format)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + /** + * @param schema The schema string, for example, `file("./schema_version_1.avsc")`. + * + * @return builder + * + */ + public Builder schema(Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema The schema string, for example, `file("./schema_version_1.avsc")`. + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(@Nullable Output> schemaReferences) { + $.schemaReferences = schemaReferences; + return this; + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(List schemaReferences) { + return schemaReferences(Output.of(schemaReferences)); + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(SchemaSchemaReferenceArgs... schemaReferences) { + return schemaReferences(List.of(schemaReferences)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public SchemaArgs build() { + $.format = Objects.requireNonNull($.format, "expected parameter 'format' to be non-null"); + $.schema = Objects.requireNonNull($.schema, "expected parameter 'schema' to be non-null"); + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java new file mode 100644 index 00000000..dcd1f5ce --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.SchemaRegistryClusterConfigArgs; +import com.pulumi.confluentcloud.Utilities; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigState; +import com.pulumi.confluentcloud.outputs.SchemaRegistryClusterConfigCredentials; +import com.pulumi.confluentcloud.outputs.SchemaRegistryClusterConfigSchemaRegistryCluster; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Import + * + * You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + * + */ +@ResourceType(type="confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig") +public class SchemaRegistryClusterConfig extends com.pulumi.resources.CustomResource { + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Export(name="compatibilityLevel", type=String.class, parameters={}) + private Output compatibilityLevel; + + /** + * @return The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Output compatibilityLevel() { + return this.compatibilityLevel; + } + /** + * The Cluster API Credentials. + * + */ + @Export(name="credentials", type=SchemaRegistryClusterConfigCredentials.class, parameters={}) + private Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Output> credentials() { + return Codegen.optional(this.credentials); + } + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Export(name="restEndpoint", type=String.class, parameters={}) + private Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Output> restEndpoint() { + return Codegen.optional(this.restEndpoint); + } + @Export(name="schemaRegistryCluster", type=SchemaRegistryClusterConfigSchemaRegistryCluster.class, parameters={}) + private Output schemaRegistryCluster; + + public Output> schemaRegistryCluster() { + return Codegen.optional(this.schemaRegistryCluster); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SchemaRegistryClusterConfig(String name) { + this(name, SchemaRegistryClusterConfigArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SchemaRegistryClusterConfig(String name, @Nullable SchemaRegistryClusterConfigArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public SchemaRegistryClusterConfig(String name, @Nullable SchemaRegistryClusterConfigArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, args == null ? SchemaRegistryClusterConfigArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SchemaRegistryClusterConfig(String name, Output id, @Nullable SchemaRegistryClusterConfigState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "credentials" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static SchemaRegistryClusterConfig get(String name, Output id, @Nullable SchemaRegistryClusterConfigState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SchemaRegistryClusterConfig(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfigArgs.java new file mode 100644 index 00000000..3527ec19 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfigArgs.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaRegistryClusterConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterConfigArgs Empty = new SchemaRegistryClusterConfigArgs(); + + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Import(name="compatibilityLevel") + private @Nullable Output compatibilityLevel; + + /** + * @return The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Optional> compatibilityLevel() { + return Optional.ofNullable(this.compatibilityLevel); + } + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private SchemaRegistryClusterConfigArgs() {} + + private SchemaRegistryClusterConfigArgs(SchemaRegistryClusterConfigArgs $) { + this.compatibilityLevel = $.compatibilityLevel; + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterConfigArgs $; + + public Builder() { + $ = new SchemaRegistryClusterConfigArgs(); + } + + public Builder(SchemaRegistryClusterConfigArgs defaults) { + $ = new SchemaRegistryClusterConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compatibilityLevel The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(@Nullable Output compatibilityLevel) { + $.compatibilityLevel = compatibilityLevel; + return this; + } + + /** + * @param compatibilityLevel The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(String compatibilityLevel) { + return compatibilityLevel(Output.of(compatibilityLevel)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaRegistryClusterConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaRegistryClusterConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public SchemaRegistryClusterConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java new file mode 100644 index 00000000..b1b2f304 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.SchemaRegistryClusterModeArgs; +import com.pulumi.confluentcloud.Utilities; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterModeState; +import com.pulumi.confluentcloud.outputs.SchemaRegistryClusterModeCredentials; +import com.pulumi.confluentcloud.outputs.SchemaRegistryClusterModeSchemaRegistryCluster; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Import + * + * You can import a Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + * + */ +@ResourceType(type="confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode") +public class SchemaRegistryClusterMode extends com.pulumi.resources.CustomResource { + /** + * The Cluster API Credentials. + * + */ + @Export(name="credentials", type=SchemaRegistryClusterModeCredentials.class, parameters={}) + private Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Output> credentials() { + return Codegen.optional(this.credentials); + } + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Export(name="mode", type=String.class, parameters={}) + private Output mode; + + /** + * @return The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Output mode() { + return this.mode; + } + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Export(name="restEndpoint", type=String.class, parameters={}) + private Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Output> restEndpoint() { + return Codegen.optional(this.restEndpoint); + } + @Export(name="schemaRegistryCluster", type=SchemaRegistryClusterModeSchemaRegistryCluster.class, parameters={}) + private Output schemaRegistryCluster; + + public Output> schemaRegistryCluster() { + return Codegen.optional(this.schemaRegistryCluster); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SchemaRegistryClusterMode(String name) { + this(name, SchemaRegistryClusterModeArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SchemaRegistryClusterMode(String name, @Nullable SchemaRegistryClusterModeArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public SchemaRegistryClusterMode(String name, @Nullable SchemaRegistryClusterModeArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, args == null ? SchemaRegistryClusterModeArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SchemaRegistryClusterMode(String name, Output id, @Nullable SchemaRegistryClusterModeState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "credentials" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static SchemaRegistryClusterMode get(String name, Output id, @Nullable SchemaRegistryClusterModeState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SchemaRegistryClusterMode(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterModeArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterModeArgs.java new file mode 100644 index 00000000..022b04cc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterModeArgs.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaRegistryClusterModeArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterModeArgs Empty = new SchemaRegistryClusterModeArgs(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Import(name="mode") + private @Nullable Output mode; + + /** + * @return The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private SchemaRegistryClusterModeArgs() {} + + private SchemaRegistryClusterModeArgs(SchemaRegistryClusterModeArgs $) { + this.credentials = $.credentials; + this.mode = $.mode; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterModeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterModeArgs $; + + public Builder() { + $ = new SchemaRegistryClusterModeArgs(); + } + + public Builder(SchemaRegistryClusterModeArgs defaults) { + $ = new SchemaRegistryClusterModeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaRegistryClusterModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param mode The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + /** + * @param mode The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaRegistryClusterModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public SchemaRegistryClusterModeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java new file mode 100644 index 00000000..cb2fe7b1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.SubjectConfigArgs; +import com.pulumi.confluentcloud.Utilities; +import com.pulumi.confluentcloud.inputs.SubjectConfigState; +import com.pulumi.confluentcloud.outputs.SubjectConfigCredentials; +import com.pulumi.confluentcloud.outputs.SubjectConfigSchemaRegistryCluster; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Import + * + * You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>/<Subject name>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + * + */ +@ResourceType(type="confluentcloud:index/subjectConfig:SubjectConfig") +public class SubjectConfig extends com.pulumi.resources.CustomResource { + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Export(name="compatibilityLevel", type=String.class, parameters={}) + private Output compatibilityLevel; + + /** + * @return The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Output compatibilityLevel() { + return this.compatibilityLevel; + } + /** + * The Cluster API Credentials. + * + */ + @Export(name="credentials", type=SubjectConfigCredentials.class, parameters={}) + private Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Output> credentials() { + return Codegen.optional(this.credentials); + } + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Export(name="restEndpoint", type=String.class, parameters={}) + private Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Output> restEndpoint() { + return Codegen.optional(this.restEndpoint); + } + @Export(name="schemaRegistryCluster", type=SubjectConfigSchemaRegistryCluster.class, parameters={}) + private Output schemaRegistryCluster; + + public Output> schemaRegistryCluster() { + return Codegen.optional(this.schemaRegistryCluster); + } + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Export(name="subjectName", type=String.class, parameters={}) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SubjectConfig(String name) { + this(name, SubjectConfigArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SubjectConfig(String name, SubjectConfigArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public SubjectConfig(String name, SubjectConfigArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/subjectConfig:SubjectConfig", name, args == null ? SubjectConfigArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SubjectConfig(String name, Output id, @Nullable SubjectConfigState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/subjectConfig:SubjectConfig", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "credentials" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static SubjectConfig get(String name, Output id, @Nullable SubjectConfigState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SubjectConfig(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfigArgs.java new file mode 100644 index 00000000..c49968de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfigArgs.java @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.inputs.SubjectConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SubjectConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SubjectConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectConfigArgs Empty = new SubjectConfigArgs(); + + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Import(name="compatibilityLevel") + private @Nullable Output compatibilityLevel; + + /** + * @return The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Optional> compatibilityLevel() { + return Optional.ofNullable(this.compatibilityLevel); + } + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + private SubjectConfigArgs() {} + + private SubjectConfigArgs(SubjectConfigArgs $) { + this.compatibilityLevel = $.compatibilityLevel; + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectConfigArgs $; + + public Builder() { + $ = new SubjectConfigArgs(); + } + + public Builder(SubjectConfigArgs defaults) { + $ = new SubjectConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compatibilityLevel The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(@Nullable Output compatibilityLevel) { + $.compatibilityLevel = compatibilityLevel; + return this; + } + + /** + * @param compatibilityLevel The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(String compatibilityLevel) { + return compatibilityLevel(Output.of(compatibilityLevel)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SubjectConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SubjectConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public SubjectConfigArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java new file mode 100644 index 00000000..8fd387be --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.SubjectModeArgs; +import com.pulumi.confluentcloud.Utilities; +import com.pulumi.confluentcloud.inputs.SubjectModeState; +import com.pulumi.confluentcloud.outputs.SubjectModeCredentials; +import com.pulumi.confluentcloud.outputs.SubjectModeSchemaRegistryCluster; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Import + * + * You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `<Schema Registry cluster ID>/<Subject name>`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>" + * + * ```sh + * $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + * + */ +@ResourceType(type="confluentcloud:index/subjectMode:SubjectMode") +public class SubjectMode extends com.pulumi.resources.CustomResource { + /** + * The Cluster API Credentials. + * + */ + @Export(name="credentials", type=SubjectModeCredentials.class, parameters={}) + private Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Output> credentials() { + return Codegen.optional(this.credentials); + } + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Export(name="mode", type=String.class, parameters={}) + private Output mode; + + /** + * @return The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Output mode() { + return this.mode; + } + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Export(name="restEndpoint", type=String.class, parameters={}) + private Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Output> restEndpoint() { + return Codegen.optional(this.restEndpoint); + } + @Export(name="schemaRegistryCluster", type=SubjectModeSchemaRegistryCluster.class, parameters={}) + private Output schemaRegistryCluster; + + public Output> schemaRegistryCluster() { + return Codegen.optional(this.schemaRegistryCluster); + } + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Export(name="subjectName", type=String.class, parameters={}) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SubjectMode(String name) { + this(name, SubjectModeArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SubjectMode(String name, SubjectModeArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public SubjectMode(String name, SubjectModeArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/subjectMode:SubjectMode", name, args == null ? SubjectModeArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SubjectMode(String name, Output id, @Nullable SubjectModeState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("confluentcloud:index/subjectMode:SubjectMode", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "credentials" + )) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static SubjectMode get(String name, Output id, @Nullable SubjectModeState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SubjectMode(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectModeArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectModeArgs.java new file mode 100644 index 00000000..08e579a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectModeArgs.java @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud; + +import com.pulumi.confluentcloud.inputs.SubjectModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SubjectModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SubjectModeArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectModeArgs Empty = new SubjectModeArgs(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Import(name="mode") + private @Nullable Output mode; + + /** + * @return The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + private SubjectModeArgs() {} + + private SubjectModeArgs(SubjectModeArgs $) { + this.credentials = $.credentials; + this.mode = $.mode; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectModeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectModeArgs $; + + public Builder() { + $ = new SubjectModeArgs(); + } + + public Builder(SubjectModeArgs defaults) { + $ = new SubjectModeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SubjectModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param mode The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + /** + * @param mode The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SubjectModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public SubjectModeArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/ApiKeyState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/ApiKeyState.java index a42b6722..55969a11 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/ApiKeyState.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/ApiKeyState.java @@ -64,14 +64,14 @@ public Optional> displayName() { } /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ @Import(name="managedResource") private @Nullable Output managedResource; /** - * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @return The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * */ public Optional> managedResource() { @@ -201,7 +201,7 @@ public Builder displayName(String displayName) { } /** - * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * * @return builder * @@ -212,7 +212,7 @@ public Builder managedResource(@Nullable Output manag } /** - * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * @param managedResource The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolArgs.java index 0e54d9c7..10ac675d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolArgs.java @@ -46,9 +46,17 @@ public Optional> id() { return Optional.ofNullable(this.id); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="identityProvider", required=true) private Output identityProvider; + /** + * @return (Required Configuration Block) supports the following: + * + */ public Output identityProvider() { return this.identityProvider; } @@ -121,11 +129,23 @@ public Builder id(String id) { return id(Output.of(id)); } + /** + * @param identityProvider (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder identityProvider(Output identityProvider) { $.identityProvider = identityProvider; return this; } + /** + * @param identityProvider (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder identityProvider(GetIdentityPoolIdentityProviderArgs identityProvider) { return identityProvider(Output.of(identityProvider)); } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolPlainArgs.java index ce8efe1d..7680eeba 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetIdentityPoolPlainArgs.java @@ -45,9 +45,17 @@ public Optional id() { return Optional.ofNullable(this.id); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="identityProvider", required=true) private GetIdentityPoolIdentityProvider identityProvider; + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetIdentityPoolIdentityProvider identityProvider() { return this.identityProvider; } @@ -100,6 +108,12 @@ public Builder id(@Nullable String id) { return this; } + /** + * @param identityProvider (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder identityProvider(GetIdentityPoolIdentityProvider identityProvider) { $.identityProvider = identityProvider; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicArgs.java index e9503ace..24db6568 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicArgs.java @@ -24,11 +24,11 @@ public Optional> credentials() { return Optional.ofNullable(this.credentials); } - @Import(name="kafkaCluster", required=true) - private Output kafkaCluster; + @Import(name="kafkaCluster") + private @Nullable Output kafkaCluster; - public Output kafkaCluster() { - return this.kafkaCluster; + public Optional> kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** @@ -97,7 +97,7 @@ public Builder credentials(GetKafkaTopicCredentialsArgs credentials) { return credentials(Output.of(credentials)); } - public Builder kafkaCluster(Output kafkaCluster) { + public Builder kafkaCluster(@Nullable Output kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; } @@ -149,7 +149,6 @@ public Builder topicName(String topicName) { } public GetKafkaTopicArgs build() { - $.kafkaCluster = Objects.requireNonNull($.kafkaCluster, "expected parameter 'kafkaCluster' to be non-null"); $.restEndpoint = Objects.requireNonNull($.restEndpoint, "expected parameter 'restEndpoint' to be non-null"); $.topicName = Objects.requireNonNull($.topicName, "expected parameter 'topicName' to be non-null"); return $; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicPlainArgs.java index 8ded411c..23e96d11 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetKafkaTopicPlainArgs.java @@ -23,11 +23,11 @@ public Optional credentials() { return Optional.ofNullable(this.credentials); } - @Import(name="kafkaCluster", required=true) - private GetKafkaTopicKafkaCluster kafkaCluster; + @Import(name="kafkaCluster") + private @Nullable GetKafkaTopicKafkaCluster kafkaCluster; - public GetKafkaTopicKafkaCluster kafkaCluster() { - return this.kafkaCluster; + public Optional kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** @@ -92,7 +92,7 @@ public Builder credentials(@Nullable GetKafkaTopicCredentials credentials) { return this; } - public Builder kafkaCluster(GetKafkaTopicKafkaCluster kafkaCluster) { + public Builder kafkaCluster(@Nullable GetKafkaTopicKafkaCluster kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; } @@ -120,7 +120,6 @@ public Builder topicName(String topicName) { } public GetKafkaTopicPlainArgs build() { - $.kafkaCluster = Objects.requireNonNull($.kafkaCluster, "expected parameter 'kafkaCluster' to be non-null"); $.restEndpoint = Objects.requireNonNull($.restEndpoint, "expected parameter 'restEndpoint' to be non-null"); $.topicName = Objects.requireNonNull($.topicName, "expected parameter 'topicName' to be non-null"); return $; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkArgs.java index 691d4529..b5710770 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.confluentcloud.inputs.GetNetworkAwArgs; import com.pulumi.confluentcloud.inputs.GetNetworkAzureArgs; +import com.pulumi.confluentcloud.inputs.GetNetworkDnsConfigArgs; import com.pulumi.confluentcloud.inputs.GetNetworkEnvironmentArgs; import com.pulumi.confluentcloud.inputs.GetNetworkGcpArgs; import com.pulumi.core.Output; @@ -65,6 +66,21 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + @Import(name="dnsConfigs") + private @Nullable Output> dnsConfigs; + + /** + * @return (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + public Optional>> dnsConfigs() { + return Optional.ofNullable(this.dnsConfigs); + } + @Import(name="environment", required=true) private Output environment; @@ -108,6 +124,7 @@ private GetNetworkArgs(GetNetworkArgs $) { this.aws = $.aws; this.azures = $.azures; this.displayName = $.displayName; + this.dnsConfigs = $.dnsConfigs; this.environment = $.environment; this.gcps = $.gcps; this.id = $.id; @@ -214,6 +231,37 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param dnsConfigs (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + * @return builder + * + */ + public Builder dnsConfigs(@Nullable Output> dnsConfigs) { + $.dnsConfigs = dnsConfigs; + return this; + } + + /** + * @param dnsConfigs (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + * @return builder + * + */ + public Builder dnsConfigs(List dnsConfigs) { + return dnsConfigs(Output.of(dnsConfigs)); + } + + /** + * @param dnsConfigs (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + * @return builder + * + */ + public Builder dnsConfigs(GetNetworkDnsConfigArgs... dnsConfigs) { + return dnsConfigs(List.of(dnsConfigs)); + } + public Builder environment(Output environment) { $.environment = environment; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfig.java new file mode 100644 index 00000000..68b4afb0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfig.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetNetworkDnsConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetNetworkDnsConfig Empty = new GetNetworkDnsConfig(); + + /** + * (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + @Import(name="resolution", required=true) + private String resolution; + + /** + * @return (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + public String resolution() { + return this.resolution; + } + + private GetNetworkDnsConfig() {} + + private GetNetworkDnsConfig(GetNetworkDnsConfig $) { + this.resolution = $.resolution; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetNetworkDnsConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetNetworkDnsConfig $; + + public Builder() { + $ = new GetNetworkDnsConfig(); + } + + public Builder(GetNetworkDnsConfig defaults) { + $ = new GetNetworkDnsConfig(Objects.requireNonNull(defaults)); + } + + /** + * @param resolution (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + * @return builder + * + */ + public Builder resolution(String resolution) { + $.resolution = resolution; + return this; + } + + public GetNetworkDnsConfig build() { + $.resolution = Objects.requireNonNull($.resolution, "expected parameter 'resolution' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfigArgs.java new file mode 100644 index 00000000..b7bfebac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkDnsConfigArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetNetworkDnsConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetNetworkDnsConfigArgs Empty = new GetNetworkDnsConfigArgs(); + + /** + * (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + @Import(name="resolution", required=true) + private Output resolution; + + /** + * @return (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + public Output resolution() { + return this.resolution; + } + + private GetNetworkDnsConfigArgs() {} + + private GetNetworkDnsConfigArgs(GetNetworkDnsConfigArgs $) { + this.resolution = $.resolution; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetNetworkDnsConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetNetworkDnsConfigArgs $; + + public Builder() { + $ = new GetNetworkDnsConfigArgs(); + } + + public Builder(GetNetworkDnsConfigArgs defaults) { + $ = new GetNetworkDnsConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param resolution (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + * @return builder + * + */ + public Builder resolution(Output resolution) { + $.resolution = resolution; + return this; + } + + /** + * @param resolution (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + * @return builder + * + */ + public Builder resolution(String resolution) { + return resolution(Output.of(resolution)); + } + + public GetNetworkDnsConfigArgs build() { + $.resolution = Objects.requireNonNull($.resolution, "expected parameter 'resolution' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkPlainArgs.java index e1d4c1c0..51f77e13 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetNetworkPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.confluentcloud.inputs.GetNetworkAw; import com.pulumi.confluentcloud.inputs.GetNetworkAzure; +import com.pulumi.confluentcloud.inputs.GetNetworkDnsConfig; import com.pulumi.confluentcloud.inputs.GetNetworkEnvironment; import com.pulumi.confluentcloud.inputs.GetNetworkGcp; import com.pulumi.core.annotations.Import; @@ -64,6 +65,21 @@ public Optional displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + @Import(name="dnsConfigs") + private @Nullable List dnsConfigs; + + /** + * @return (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + public Optional> dnsConfigs() { + return Optional.ofNullable(this.dnsConfigs); + } + @Import(name="environment", required=true) private GetNetworkEnvironment environment; @@ -107,6 +123,7 @@ private GetNetworkPlainArgs(GetNetworkPlainArgs $) { this.aws = $.aws; this.azures = $.azures; this.displayName = $.displayName; + this.dnsConfigs = $.dnsConfigs; this.environment = $.environment; this.gcps = $.gcps; this.id = $.id; @@ -183,6 +200,27 @@ public Builder displayName(@Nullable String displayName) { return this; } + /** + * @param dnsConfigs (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + * @return builder + * + */ + public Builder dnsConfigs(@Nullable List dnsConfigs) { + $.dnsConfigs = dnsConfigs; + return this; + } + + /** + * @param dnsConfigs (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + * @return builder + * + */ + public Builder dnsConfigs(GetNetworkDnsConfig... dnsConfigs) { + return dnsConfigs(List.of(dnsConfigs)); + } + public Builder environment(GetNetworkEnvironment environment) { $.environment = environment; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringArgs.java index f19734f0..8854f640 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringArgs.java @@ -31,9 +31,17 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private Output environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public Output environment() { return this.environment; } @@ -100,11 +108,23 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(Output environment) { $.environment = environment; return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetPeeringEnvironmentArgs environment) { return environment(Output.of(environment)); } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringPlainArgs.java index a0ff92b1..4653cbbf 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPeeringPlainArgs.java @@ -30,9 +30,17 @@ public Optional displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private GetPeeringEnvironment environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetPeeringEnvironment environment() { return this.environment; } @@ -89,6 +97,12 @@ public Builder displayName(@Nullable String displayName) { return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetPeeringEnvironment environment) { $.environment = environment; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessArgs.java index 9ab2196e..9a288d5a 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessArgs.java @@ -31,9 +31,17 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private Output environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public Output environment() { return this.environment; } @@ -100,11 +108,23 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(Output environment) { $.environment = environment; return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetPrivateLinkAccessEnvironmentArgs environment) { return environment(Output.of(environment)); } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessPlainArgs.java index dae8a088..cb176c72 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetPrivateLinkAccessPlainArgs.java @@ -30,9 +30,17 @@ public Optional displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private GetPrivateLinkAccessEnvironment environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetPrivateLinkAccessEnvironment environment() { return this.environment; } @@ -89,6 +97,12 @@ public Builder displayName(@Nullable String displayName) { return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetPrivateLinkAccessEnvironment environment) { $.environment = environment; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaArgs.java new file mode 100644 index 00000000..3c55ac29 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaArgs.java @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaCredentialsArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaArgs Empty = new GetSchemaArgs(); + + @Import(name="credentials") + private @Nullable Output credentials; + + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + /** + * The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + @Import(name="schemaIdentifier", required=true) + private Output schemaIdentifier; + + /** + * @return The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + public Output schemaIdentifier() { + return this.schemaIdentifier; + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + public Output subjectName() { + return this.subjectName; + } + + private GetSchemaArgs() {} + + private GetSchemaArgs(GetSchemaArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaIdentifier = $.schemaIdentifier; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaArgs $; + + public Builder() { + $ = new GetSchemaArgs(); + } + + public Builder(GetSchemaArgs defaults) { + $ = new GetSchemaArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + public Builder credentials(GetSchemaCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + /** + * @param schemaIdentifier The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + * @return builder + * + */ + public Builder schemaIdentifier(Output schemaIdentifier) { + $.schemaIdentifier = schemaIdentifier; + return this; + } + + /** + * @param schemaIdentifier The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + * @return builder + * + */ + public Builder schemaIdentifier(Integer schemaIdentifier) { + return schemaIdentifier(Output.of(schemaIdentifier)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(GetSchemaSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public GetSchemaArgs build() { + $.schemaIdentifier = Objects.requireNonNull($.schemaIdentifier, "expected parameter 'schemaIdentifier' to be non-null"); + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentials.java new file mode 100644 index 00000000..ef476e58 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentials.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaCredentials extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaCredentials Empty = new GetSchemaCredentials(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private String key; + + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private String secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + private GetSchemaCredentials() {} + + private GetSchemaCredentials(GetSchemaCredentials $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaCredentials defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaCredentials $; + + public Builder() { + $ = new GetSchemaCredentials(); + } + + public Builder(GetSchemaCredentials defaults) { + $ = new GetSchemaCredentials(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + $.key = key; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + $.secret = secret; + return this; + } + + public GetSchemaCredentials build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentialsArgs.java new file mode 100644 index 00000000..d57c0a25 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaCredentialsArgs Empty = new GetSchemaCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private GetSchemaCredentialsArgs() {} + + private GetSchemaCredentialsArgs(GetSchemaCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaCredentialsArgs $; + + public Builder() { + $ = new GetSchemaCredentialsArgs(); + } + + public Builder(GetSchemaCredentialsArgs defaults) { + $ = new GetSchemaCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public GetSchemaCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaPlainArgs.java new file mode 100644 index 00000000..a687dc40 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaPlainArgs.java @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaCredentials; +import com.pulumi.confluentcloud.inputs.GetSchemaSchemaRegistryCluster; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaPlainArgs Empty = new GetSchemaPlainArgs(); + + @Import(name="credentials") + private @Nullable GetSchemaCredentials credentials; + + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable String restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + /** + * The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + @Import(name="schemaIdentifier", required=true) + private Integer schemaIdentifier; + + /** + * @return The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + public Integer schemaIdentifier() { + return this.schemaIdentifier; + } + + @Import(name="schemaRegistryCluster") + private @Nullable GetSchemaSchemaRegistryCluster schemaRegistryCluster; + + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + @Import(name="subjectName", required=true) + private String subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + public String subjectName() { + return this.subjectName; + } + + private GetSchemaPlainArgs() {} + + private GetSchemaPlainArgs(GetSchemaPlainArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaIdentifier = $.schemaIdentifier; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaPlainArgs $; + + public Builder() { + $ = new GetSchemaPlainArgs(); + } + + public Builder(GetSchemaPlainArgs defaults) { + $ = new GetSchemaPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable GetSchemaCredentials credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable String restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param schemaIdentifier The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + * @return builder + * + */ + public Builder schemaIdentifier(Integer schemaIdentifier) { + $.schemaIdentifier = schemaIdentifier; + return this; + } + + public Builder schemaRegistryCluster(@Nullable GetSchemaSchemaRegistryCluster schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + $.subjectName = subjectName; + return this; + } + + public GetSchemaPlainArgs build() { + $.schemaIdentifier = Objects.requireNonNull($.schemaIdentifier, "expected parameter 'schemaIdentifier' to be non-null"); + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigArgs.java new file mode 100644 index 00000000..e713dc83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigArgs.java @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaRegistryClusterConfigArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterConfigArgs Empty = new GetSchemaRegistryClusterConfigArgs(); + + @Import(name="credentials") + private @Nullable Output credentials; + + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private GetSchemaRegistryClusterConfigArgs() {} + + private GetSchemaRegistryClusterConfigArgs(GetSchemaRegistryClusterConfigArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigArgs(); + } + + public Builder(GetSchemaRegistryClusterConfigArgs defaults) { + $ = new GetSchemaRegistryClusterConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + public Builder credentials(GetSchemaRegistryClusterConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public GetSchemaRegistryClusterConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentials.java new file mode 100644 index 00000000..b4276eb0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentials.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterConfigCredentials extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterConfigCredentials Empty = new GetSchemaRegistryClusterConfigCredentials(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private String key; + + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private String secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + private GetSchemaRegistryClusterConfigCredentials() {} + + private GetSchemaRegistryClusterConfigCredentials(GetSchemaRegistryClusterConfigCredentials $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigCredentials defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigCredentials $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigCredentials(); + } + + public Builder(GetSchemaRegistryClusterConfigCredentials defaults) { + $ = new GetSchemaRegistryClusterConfigCredentials(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + $.key = key; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + $.secret = secret; + return this; + } + + public GetSchemaRegistryClusterConfigCredentials build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentialsArgs.java new file mode 100644 index 00000000..28221306 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterConfigCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaRegistryClusterConfigCredentialsArgs Empty = new GetSchemaRegistryClusterConfigCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private GetSchemaRegistryClusterConfigCredentialsArgs() {} + + private GetSchemaRegistryClusterConfigCredentialsArgs(GetSchemaRegistryClusterConfigCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigCredentialsArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigCredentialsArgs(); + } + + public Builder(GetSchemaRegistryClusterConfigCredentialsArgs defaults) { + $ = new GetSchemaRegistryClusterConfigCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public GetSchemaRegistryClusterConfigCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigPlainArgs.java new file mode 100644 index 00000000..c327ff8f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigPlainArgs.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigCredentials; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaRegistryClusterConfigPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterConfigPlainArgs Empty = new GetSchemaRegistryClusterConfigPlainArgs(); + + @Import(name="credentials") + private @Nullable GetSchemaRegistryClusterConfigCredentials credentials; + + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable String restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable GetSchemaRegistryClusterConfigSchemaRegistryCluster schemaRegistryCluster; + + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private GetSchemaRegistryClusterConfigPlainArgs() {} + + private GetSchemaRegistryClusterConfigPlainArgs(GetSchemaRegistryClusterConfigPlainArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigPlainArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigPlainArgs(); + } + + public Builder(GetSchemaRegistryClusterConfigPlainArgs defaults) { + $ = new GetSchemaRegistryClusterConfigPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable GetSchemaRegistryClusterConfigCredentials credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable String restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + public Builder schemaRegistryCluster(@Nullable GetSchemaRegistryClusterConfigSchemaRegistryCluster schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public GetSchemaRegistryClusterConfigPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..a1540419 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterConfigSchemaRegistryCluster extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterConfigSchemaRegistryCluster Empty = new GetSchemaRegistryClusterConfigSchemaRegistryCluster(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + private GetSchemaRegistryClusterConfigSchemaRegistryCluster() {} + + private GetSchemaRegistryClusterConfigSchemaRegistryCluster(GetSchemaRegistryClusterConfigSchemaRegistryCluster $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigSchemaRegistryCluster $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigSchemaRegistryCluster(); + } + + public Builder(GetSchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + $ = new GetSchemaRegistryClusterConfigSchemaRegistryCluster(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetSchemaRegistryClusterConfigSchemaRegistryCluster build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..2d91ac5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs Empty = new GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs() {} + + private GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs(GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + } + + public Builder(GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs defaults) { + $ = new GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeArgs.java new file mode 100644 index 00000000..0b142efd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeArgs.java @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaRegistryClusterModeArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterModeArgs Empty = new GetSchemaRegistryClusterModeArgs(); + + @Import(name="credentials") + private @Nullable Output credentials; + + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private GetSchemaRegistryClusterModeArgs() {} + + private GetSchemaRegistryClusterModeArgs(GetSchemaRegistryClusterModeArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModeArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterModeArgs(); + } + + public Builder(GetSchemaRegistryClusterModeArgs defaults) { + $ = new GetSchemaRegistryClusterModeArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + public Builder credentials(GetSchemaRegistryClusterModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(GetSchemaRegistryClusterModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public GetSchemaRegistryClusterModeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentials.java new file mode 100644 index 00000000..11135efb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentials.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterModeCredentials extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterModeCredentials Empty = new GetSchemaRegistryClusterModeCredentials(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private String key; + + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private String secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + private GetSchemaRegistryClusterModeCredentials() {} + + private GetSchemaRegistryClusterModeCredentials(GetSchemaRegistryClusterModeCredentials $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModeCredentials defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModeCredentials $; + + public Builder() { + $ = new GetSchemaRegistryClusterModeCredentials(); + } + + public Builder(GetSchemaRegistryClusterModeCredentials defaults) { + $ = new GetSchemaRegistryClusterModeCredentials(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + $.key = key; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + $.secret = secret; + return this; + } + + public GetSchemaRegistryClusterModeCredentials build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentialsArgs.java new file mode 100644 index 00000000..a6db2230 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterModeCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaRegistryClusterModeCredentialsArgs Empty = new GetSchemaRegistryClusterModeCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private GetSchemaRegistryClusterModeCredentialsArgs() {} + + private GetSchemaRegistryClusterModeCredentialsArgs(GetSchemaRegistryClusterModeCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModeCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModeCredentialsArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterModeCredentialsArgs(); + } + + public Builder(GetSchemaRegistryClusterModeCredentialsArgs defaults) { + $ = new GetSchemaRegistryClusterModeCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public GetSchemaRegistryClusterModeCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModePlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModePlainArgs.java new file mode 100644 index 00000000..dfa66c5b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModePlainArgs.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModeCredentials; +import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClusterModeSchemaRegistryCluster; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSchemaRegistryClusterModePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterModePlainArgs Empty = new GetSchemaRegistryClusterModePlainArgs(); + + @Import(name="credentials") + private @Nullable GetSchemaRegistryClusterModeCredentials credentials; + + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable String restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable GetSchemaRegistryClusterModeSchemaRegistryCluster schemaRegistryCluster; + + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private GetSchemaRegistryClusterModePlainArgs() {} + + private GetSchemaRegistryClusterModePlainArgs(GetSchemaRegistryClusterModePlainArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModePlainArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterModePlainArgs(); + } + + public Builder(GetSchemaRegistryClusterModePlainArgs defaults) { + $ = new GetSchemaRegistryClusterModePlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable GetSchemaRegistryClusterModeCredentials credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable String restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + public Builder schemaRegistryCluster(@Nullable GetSchemaRegistryClusterModeSchemaRegistryCluster schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public GetSchemaRegistryClusterModePlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java new file mode 100644 index 00000000..f0f4b96e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterModeSchemaRegistryCluster extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaRegistryClusterModeSchemaRegistryCluster Empty = new GetSchemaRegistryClusterModeSchemaRegistryCluster(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + private GetSchemaRegistryClusterModeSchemaRegistryCluster() {} + + private GetSchemaRegistryClusterModeSchemaRegistryCluster(GetSchemaRegistryClusterModeSchemaRegistryCluster $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModeSchemaRegistryCluster $; + + public Builder() { + $ = new GetSchemaRegistryClusterModeSchemaRegistryCluster(); + } + + public Builder(GetSchemaRegistryClusterModeSchemaRegistryCluster defaults) { + $ = new GetSchemaRegistryClusterModeSchemaRegistryCluster(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetSchemaRegistryClusterModeSchemaRegistryCluster build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..a8bfeb3e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaRegistryClusterModeSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaRegistryClusterModeSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaRegistryClusterModeSchemaRegistryClusterArgs Empty = new GetSchemaRegistryClusterModeSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private GetSchemaRegistryClusterModeSchemaRegistryClusterArgs() {} + + private GetSchemaRegistryClusterModeSchemaRegistryClusterArgs(GetSchemaRegistryClusterModeSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaRegistryClusterModeSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaRegistryClusterModeSchemaRegistryClusterArgs $; + + public Builder() { + $ = new GetSchemaRegistryClusterModeSchemaRegistryClusterArgs(); + } + + public Builder(GetSchemaRegistryClusterModeSchemaRegistryClusterArgs defaults) { + $ = new GetSchemaRegistryClusterModeSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetSchemaRegistryClusterModeSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryCluster.java new file mode 100644 index 00000000..4acf9226 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryCluster.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaSchemaRegistryCluster extends com.pulumi.resources.InvokeArgs { + + public static final GetSchemaSchemaRegistryCluster Empty = new GetSchemaSchemaRegistryCluster(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + private GetSchemaSchemaRegistryCluster() {} + + private GetSchemaSchemaRegistryCluster(GetSchemaSchemaRegistryCluster $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaSchemaRegistryCluster $; + + public Builder() { + $ = new GetSchemaSchemaRegistryCluster(); + } + + public Builder(GetSchemaSchemaRegistryCluster defaults) { + $ = new GetSchemaSchemaRegistryCluster(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetSchemaSchemaRegistryCluster build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..a15199fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSchemaSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSchemaSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSchemaSchemaRegistryClusterArgs Empty = new GetSchemaSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private GetSchemaSchemaRegistryClusterArgs() {} + + private GetSchemaSchemaRegistryClusterArgs(GetSchemaSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSchemaSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSchemaSchemaRegistryClusterArgs $; + + public Builder() { + $ = new GetSchemaSchemaRegistryClusterArgs(); + } + + public Builder(GetSchemaSchemaRegistryClusterArgs defaults) { + $ = new GetSchemaSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetSchemaSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigArgs.java new file mode 100644 index 00000000..113ac2fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigArgs.java @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSubjectConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubjectConfigArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectConfigArgs Empty = new GetSubjectConfigArgs(); + + @Import(name="credentials") + private @Nullable Output credentials; + + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + private GetSubjectConfigArgs() {} + + private GetSubjectConfigArgs(GetSubjectConfigArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigArgs $; + + public Builder() { + $ = new GetSubjectConfigArgs(); + } + + public Builder(GetSubjectConfigArgs defaults) { + $ = new GetSubjectConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + public Builder credentials(GetSubjectConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(GetSubjectConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public GetSubjectConfigArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentials.java new file mode 100644 index 00000000..8fc853e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentials.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectConfigCredentials extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectConfigCredentials Empty = new GetSubjectConfigCredentials(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private String key; + + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private String secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + private GetSubjectConfigCredentials() {} + + private GetSubjectConfigCredentials(GetSubjectConfigCredentials $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigCredentials defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigCredentials $; + + public Builder() { + $ = new GetSubjectConfigCredentials(); + } + + public Builder(GetSubjectConfigCredentials defaults) { + $ = new GetSubjectConfigCredentials(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + $.key = key; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + $.secret = secret; + return this; + } + + public GetSubjectConfigCredentials build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentialsArgs.java new file mode 100644 index 00000000..984eb7be --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectConfigCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubjectConfigCredentialsArgs Empty = new GetSubjectConfigCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private GetSubjectConfigCredentialsArgs() {} + + private GetSubjectConfigCredentialsArgs(GetSubjectConfigCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigCredentialsArgs $; + + public Builder() { + $ = new GetSubjectConfigCredentialsArgs(); + } + + public Builder(GetSubjectConfigCredentialsArgs defaults) { + $ = new GetSubjectConfigCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public GetSubjectConfigCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigPlainArgs.java new file mode 100644 index 00000000..90519b7a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigPlainArgs.java @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSubjectConfigCredentials; +import com.pulumi.confluentcloud.inputs.GetSubjectConfigSchemaRegistryCluster; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubjectConfigPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectConfigPlainArgs Empty = new GetSubjectConfigPlainArgs(); + + @Import(name="credentials") + private @Nullable GetSubjectConfigCredentials credentials; + + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable String restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable GetSubjectConfigSchemaRegistryCluster schemaRegistryCluster; + + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private String subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public String subjectName() { + return this.subjectName; + } + + private GetSubjectConfigPlainArgs() {} + + private GetSubjectConfigPlainArgs(GetSubjectConfigPlainArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigPlainArgs $; + + public Builder() { + $ = new GetSubjectConfigPlainArgs(); + } + + public Builder(GetSubjectConfigPlainArgs defaults) { + $ = new GetSubjectConfigPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable GetSubjectConfigCredentials credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable String restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + public Builder schemaRegistryCluster(@Nullable GetSubjectConfigSchemaRegistryCluster schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + $.subjectName = subjectName; + return this; + } + + public GetSubjectConfigPlainArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..d28af638 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryCluster.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectConfigSchemaRegistryCluster extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectConfigSchemaRegistryCluster Empty = new GetSubjectConfigSchemaRegistryCluster(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + private GetSubjectConfigSchemaRegistryCluster() {} + + private GetSubjectConfigSchemaRegistryCluster(GetSubjectConfigSchemaRegistryCluster $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigSchemaRegistryCluster $; + + public Builder() { + $ = new GetSubjectConfigSchemaRegistryCluster(); + } + + public Builder(GetSubjectConfigSchemaRegistryCluster defaults) { + $ = new GetSubjectConfigSchemaRegistryCluster(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetSubjectConfigSchemaRegistryCluster build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..6df9c8a9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectConfigSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectConfigSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubjectConfigSchemaRegistryClusterArgs Empty = new GetSubjectConfigSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private GetSubjectConfigSchemaRegistryClusterArgs() {} + + private GetSubjectConfigSchemaRegistryClusterArgs(GetSubjectConfigSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectConfigSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectConfigSchemaRegistryClusterArgs $; + + public Builder() { + $ = new GetSubjectConfigSchemaRegistryClusterArgs(); + } + + public Builder(GetSubjectConfigSchemaRegistryClusterArgs defaults) { + $ = new GetSubjectConfigSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetSubjectConfigSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeArgs.java new file mode 100644 index 00000000..ec387193 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeArgs.java @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSubjectModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.GetSubjectModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubjectModeArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectModeArgs Empty = new GetSubjectModeArgs(); + + @Import(name="credentials") + private @Nullable Output credentials; + + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Output subjectName() { + return this.subjectName; + } + + private GetSubjectModeArgs() {} + + private GetSubjectModeArgs(GetSubjectModeArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModeArgs $; + + public Builder() { + $ = new GetSubjectModeArgs(); + } + + public Builder(GetSubjectModeArgs defaults) { + $ = new GetSubjectModeArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + public Builder credentials(GetSubjectModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(GetSubjectModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public GetSubjectModeArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentials.java new file mode 100644 index 00000000..8bdbce14 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentials.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectModeCredentials extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectModeCredentials Empty = new GetSubjectModeCredentials(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private String key; + + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private String secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + private GetSubjectModeCredentials() {} + + private GetSubjectModeCredentials(GetSubjectModeCredentials $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModeCredentials defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModeCredentials $; + + public Builder() { + $ = new GetSubjectModeCredentials(); + } + + public Builder(GetSubjectModeCredentials defaults) { + $ = new GetSubjectModeCredentials(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + $.key = key; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + $.secret = secret; + return this; + } + + public GetSubjectModeCredentials build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentialsArgs.java new file mode 100644 index 00000000..17964b2b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectModeCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubjectModeCredentialsArgs Empty = new GetSubjectModeCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private GetSubjectModeCredentialsArgs() {} + + private GetSubjectModeCredentialsArgs(GetSubjectModeCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModeCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModeCredentialsArgs $; + + public Builder() { + $ = new GetSubjectModeCredentialsArgs(); + } + + public Builder(GetSubjectModeCredentialsArgs defaults) { + $ = new GetSubjectModeCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public GetSubjectModeCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModePlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModePlainArgs.java new file mode 100644 index 00000000..58a74f88 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModePlainArgs.java @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.GetSubjectModeCredentials; +import com.pulumi.confluentcloud.inputs.GetSubjectModeSchemaRegistryCluster; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSubjectModePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectModePlainArgs Empty = new GetSubjectModePlainArgs(); + + @Import(name="credentials") + private @Nullable GetSubjectModeCredentials credentials; + + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable String restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable GetSubjectModeSchemaRegistryCluster schemaRegistryCluster; + + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName", required=true) + private String subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public String subjectName() { + return this.subjectName; + } + + private GetSubjectModePlainArgs() {} + + private GetSubjectModePlainArgs(GetSubjectModePlainArgs $) { + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModePlainArgs $; + + public Builder() { + $ = new GetSubjectModePlainArgs(); + } + + public Builder(GetSubjectModePlainArgs defaults) { + $ = new GetSubjectModePlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder credentials(@Nullable GetSubjectModeCredentials credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable String restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + public Builder schemaRegistryCluster(@Nullable GetSubjectModeSchemaRegistryCluster schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + $.subjectName = subjectName; + return this; + } + + public GetSubjectModePlainArgs build() { + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryCluster.java new file mode 100644 index 00000000..adb6567b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryCluster.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectModeSchemaRegistryCluster extends com.pulumi.resources.InvokeArgs { + + public static final GetSubjectModeSchemaRegistryCluster Empty = new GetSubjectModeSchemaRegistryCluster(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + private GetSubjectModeSchemaRegistryCluster() {} + + private GetSubjectModeSchemaRegistryCluster(GetSubjectModeSchemaRegistryCluster $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModeSchemaRegistryCluster $; + + public Builder() { + $ = new GetSubjectModeSchemaRegistryCluster(); + } + + public Builder(GetSubjectModeSchemaRegistryCluster defaults) { + $ = new GetSubjectModeSchemaRegistryCluster(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetSubjectModeSchemaRegistryCluster build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..c1b2331a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetSubjectModeSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetSubjectModeSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSubjectModeSchemaRegistryClusterArgs Empty = new GetSubjectModeSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private GetSubjectModeSchemaRegistryClusterArgs() {} + + private GetSubjectModeSchemaRegistryClusterArgs(GetSubjectModeSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSubjectModeSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSubjectModeSchemaRegistryClusterArgs $; + + public Builder() { + $ = new GetSubjectModeSchemaRegistryClusterArgs(); + } + + public Builder(GetSubjectModeSchemaRegistryClusterArgs defaults) { + $ = new GetSubjectModeSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetSubjectModeSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentArgs.java index b5c9c773..ae23e2e7 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentArgs.java @@ -31,9 +31,17 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private Output environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public Output environment() { return this.environment; } @@ -100,11 +108,23 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(Output environment) { $.environment = environment; return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetTransitGatewayAttachmentEnvironmentArgs environment) { return environment(Output.of(environment)); } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentPlainArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentPlainArgs.java index 34a3252b..cd6b1a95 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/GetTransitGatewayAttachmentPlainArgs.java @@ -30,9 +30,17 @@ public Optional displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Required Configuration Block) supports the following: + * + */ @Import(name="environment", required=true) private GetTransitGatewayAttachmentEnvironment environment; + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetTransitGatewayAttachmentEnvironment environment() { return this.environment; } @@ -89,6 +97,12 @@ public Builder displayName(@Nullable String displayName) { return this; } + /** + * @param environment (Required Configuration Block) supports the following: + * + * @return builder + * + */ public Builder environment(GetTransitGatewayAttachmentEnvironment environment) { $.environment = environment; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkDnsConfigArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkDnsConfigArgs.java new file mode 100644 index 00000000..4cc0bdb6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkDnsConfigArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class NetworkDnsConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final NetworkDnsConfigArgs Empty = new NetworkDnsConfigArgs(); + + /** + * Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + @Import(name="resolution", required=true) + private Output resolution; + + /** + * @return Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + public Output resolution() { + return this.resolution; + } + + private NetworkDnsConfigArgs() {} + + private NetworkDnsConfigArgs(NetworkDnsConfigArgs $) { + this.resolution = $.resolution; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NetworkDnsConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NetworkDnsConfigArgs $; + + public Builder() { + $ = new NetworkDnsConfigArgs(); + } + + public Builder(NetworkDnsConfigArgs defaults) { + $ = new NetworkDnsConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param resolution Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + * @return builder + * + */ + public Builder resolution(Output resolution) { + $.resolution = resolution; + return this; + } + + /** + * @param resolution Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + * @return builder + * + */ + public Builder resolution(String resolution) { + return resolution(Output.of(resolution)); + } + + public NetworkDnsConfigArgs build() { + $.resolution = Objects.requireNonNull($.resolution, "expected parameter 'resolution' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkState.java index 6afaf2e3..3727b85f 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkState.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/NetworkState.java @@ -5,6 +5,7 @@ import com.pulumi.confluentcloud.inputs.NetworkAwArgs; import com.pulumi.confluentcloud.inputs.NetworkAzureArgs; +import com.pulumi.confluentcloud.inputs.NetworkDnsConfigArgs; import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs; import com.pulumi.confluentcloud.inputs.NetworkGcpArgs; import com.pulumi.core.Output; @@ -111,6 +112,21 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + @Import(name="dnsConfig") + private @Nullable Output dnsConfig; + + /** + * @return Network DNS config. It applies only to the PRIVATELINK network connection type. + * + */ + public Optional> dnsConfig() { + return Optional.ofNullable(this.dnsConfig); + } + /** * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. * @@ -203,7 +219,8 @@ public Optional>> zonalSubdomains() { /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -214,7 +231,8 @@ public Optional>> zonalSubdomains() { /** * @return The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -233,6 +251,7 @@ private NetworkState(NetworkState $) { this.cloud = $.cloud; this.connectionTypes = $.connectionTypes; this.displayName = $.displayName; + this.dnsConfig = $.dnsConfig; this.dnsDomain = $.dnsDomain; this.environment = $.environment; this.gcps = $.gcps; @@ -416,6 +435,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param dnsConfig Network DNS config. It applies only to the PRIVATELINK network connection type. + * + * @return builder + * + */ + public Builder dnsConfig(@Nullable Output dnsConfig) { + $.dnsConfig = dnsConfig; + return this; + } + + /** + * @param dnsConfig Network DNS config. It applies only to the PRIVATELINK network connection type. + * + * @return builder + * + */ + public Builder dnsConfig(NetworkDnsConfigArgs dnsConfig) { + return dnsConfig(Output.of(dnsConfig)); + } + /** * @param dnsDomain (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. * @@ -554,7 +594,8 @@ public Builder zonalSubdomains(Map zonalSubdomains) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -569,7 +610,8 @@ public Builder zones(@Nullable Output> zones) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -583,7 +625,8 @@ public Builder zones(List zones) { /** * @param zones The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaCredentialsArgs.java new file mode 100644 index 00000000..b8614345 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaCredentialsArgs Empty = new SchemaCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private SchemaCredentialsArgs() {} + + private SchemaCredentialsArgs(SchemaCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaCredentialsArgs $; + + public Builder() { + $ = new SchemaCredentialsArgs(); + } + + public Builder(SchemaCredentialsArgs defaults) { + $ = new SchemaCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public SchemaCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigCredentialsArgs.java new file mode 100644 index 00000000..3e669258 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaRegistryClusterConfigCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterConfigCredentialsArgs Empty = new SchemaRegistryClusterConfigCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private SchemaRegistryClusterConfigCredentialsArgs() {} + + private SchemaRegistryClusterConfigCredentialsArgs(SchemaRegistryClusterConfigCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterConfigCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterConfigCredentialsArgs $; + + public Builder() { + $ = new SchemaRegistryClusterConfigCredentialsArgs(); + } + + public Builder(SchemaRegistryClusterConfigCredentialsArgs defaults) { + $ = new SchemaRegistryClusterConfigCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public SchemaRegistryClusterConfigCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..c2802468 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaRegistryClusterConfigSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterConfigSchemaRegistryClusterArgs Empty = new SchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private SchemaRegistryClusterConfigSchemaRegistryClusterArgs() {} + + private SchemaRegistryClusterConfigSchemaRegistryClusterArgs(SchemaRegistryClusterConfigSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterConfigSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterConfigSchemaRegistryClusterArgs $; + + public Builder() { + $ = new SchemaRegistryClusterConfigSchemaRegistryClusterArgs(); + } + + public Builder(SchemaRegistryClusterConfigSchemaRegistryClusterArgs defaults) { + $ = new SchemaRegistryClusterConfigSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public SchemaRegistryClusterConfigSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigState.java new file mode 100644 index 00000000..1c7e1c4f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterConfigState.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaRegistryClusterConfigState extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterConfigState Empty = new SchemaRegistryClusterConfigState(); + + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Import(name="compatibilityLevel") + private @Nullable Output compatibilityLevel; + + /** + * @return The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Optional> compatibilityLevel() { + return Optional.ofNullable(this.compatibilityLevel); + } + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private SchemaRegistryClusterConfigState() {} + + private SchemaRegistryClusterConfigState(SchemaRegistryClusterConfigState $) { + this.compatibilityLevel = $.compatibilityLevel; + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterConfigState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterConfigState $; + + public Builder() { + $ = new SchemaRegistryClusterConfigState(); + } + + public Builder(SchemaRegistryClusterConfigState defaults) { + $ = new SchemaRegistryClusterConfigState(Objects.requireNonNull(defaults)); + } + + /** + * @param compatibilityLevel The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(@Nullable Output compatibilityLevel) { + $.compatibilityLevel = compatibilityLevel; + return this; + } + + /** + * @param compatibilityLevel The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(String compatibilityLevel) { + return compatibilityLevel(Output.of(compatibilityLevel)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaRegistryClusterConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaRegistryClusterConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public SchemaRegistryClusterConfigState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeCredentialsArgs.java new file mode 100644 index 00000000..9ecc27a9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaRegistryClusterModeCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterModeCredentialsArgs Empty = new SchemaRegistryClusterModeCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private SchemaRegistryClusterModeCredentialsArgs() {} + + private SchemaRegistryClusterModeCredentialsArgs(SchemaRegistryClusterModeCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterModeCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterModeCredentialsArgs $; + + public Builder() { + $ = new SchemaRegistryClusterModeCredentialsArgs(); + } + + public Builder(SchemaRegistryClusterModeCredentialsArgs defaults) { + $ = new SchemaRegistryClusterModeCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public SchemaRegistryClusterModeCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..e885b818 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaRegistryClusterModeSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterModeSchemaRegistryClusterArgs Empty = new SchemaRegistryClusterModeSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private SchemaRegistryClusterModeSchemaRegistryClusterArgs() {} + + private SchemaRegistryClusterModeSchemaRegistryClusterArgs(SchemaRegistryClusterModeSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterModeSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterModeSchemaRegistryClusterArgs $; + + public Builder() { + $ = new SchemaRegistryClusterModeSchemaRegistryClusterArgs(); + } + + public Builder(SchemaRegistryClusterModeSchemaRegistryClusterArgs defaults) { + $ = new SchemaRegistryClusterModeSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public SchemaRegistryClusterModeSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeState.java new file mode 100644 index 00000000..326244dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaRegistryClusterModeState.java @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaRegistryClusterModeState extends com.pulumi.resources.ResourceArgs { + + public static final SchemaRegistryClusterModeState Empty = new SchemaRegistryClusterModeState(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Import(name="mode") + private @Nullable Output mode; + + /** + * @return The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + private SchemaRegistryClusterModeState() {} + + private SchemaRegistryClusterModeState(SchemaRegistryClusterModeState $) { + this.credentials = $.credentials; + this.mode = $.mode; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaRegistryClusterModeState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaRegistryClusterModeState $; + + public Builder() { + $ = new SchemaRegistryClusterModeState(); + } + + public Builder(SchemaRegistryClusterModeState defaults) { + $ = new SchemaRegistryClusterModeState(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaRegistryClusterModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param mode The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + /** + * @param mode The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaRegistryClusterModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + public SchemaRegistryClusterModeState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaReferenceArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaReferenceArgs.java new file mode 100644 index 00000000..7776ed01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaReferenceArgs.java @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaSchemaReferenceArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaSchemaReferenceArgs Empty = new SchemaSchemaReferenceArgs(); + + /** + * The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + public Output name() { + return this.name; + } + + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + @Import(name="subjectName", required=true) + private Output subjectName; + + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public Output subjectName() { + return this.subjectName; + } + + /** + * The version, representing the exact version of the schema under the registered subject. + * + */ + @Import(name="version", required=true) + private Output version; + + /** + * @return The version, representing the exact version of the schema under the registered subject. + * + */ + public Output version() { + return this.version; + } + + private SchemaSchemaReferenceArgs() {} + + private SchemaSchemaReferenceArgs(SchemaSchemaReferenceArgs $) { + this.name = $.name; + this.subjectName = $.subjectName; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaSchemaReferenceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaSchemaReferenceArgs $; + + public Builder() { + $ = new SchemaSchemaReferenceArgs(); + } + + public Builder(SchemaSchemaReferenceArgs defaults) { + $ = new SchemaSchemaReferenceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the subject, representing the subject under which the referenced schema is registered. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the subject, representing the subject under which the referenced schema is registered. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + /** + * @param version The version, representing the exact version of the schema under the registered subject. + * + * @return builder + * + */ + public Builder version(Output version) { + $.version = version; + return this; + } + + /** + * @param version The version, representing the exact version of the schema under the registered subject. + * + * @return builder + * + */ + public Builder version(Integer version) { + return version(Output.of(version)); + } + + public SchemaSchemaReferenceArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.subjectName = Objects.requireNonNull($.subjectName, "expected parameter 'subjectName' to be non-null"); + $.version = Objects.requireNonNull($.version, "expected parameter 'version' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..abdbd9de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SchemaSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final SchemaSchemaRegistryClusterArgs Empty = new SchemaSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private SchemaSchemaRegistryClusterArgs() {} + + private SchemaSchemaRegistryClusterArgs(SchemaSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaSchemaRegistryClusterArgs $; + + public Builder() { + $ = new SchemaSchemaRegistryClusterArgs(); + } + + public Builder(SchemaSchemaRegistryClusterArgs defaults) { + $ = new SchemaSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public SchemaSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaState.java new file mode 100644 index 00000000..bed6eecf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SchemaState.java @@ -0,0 +1,374 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.SchemaCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SchemaSchemaReferenceArgs; +import com.pulumi.confluentcloud.inputs.SchemaSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SchemaState extends com.pulumi.resources.ResourceArgs { + + public static final SchemaState Empty = new SchemaState(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + @Import(name="format") + private @Nullable Output format; + + /** + * @return The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + public Optional> format() { + return Optional.ofNullable(this.format); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + @Import(name="schema") + private @Nullable Output schema; + + /** + * @return The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + public Optional> schema() { + return Optional.ofNullable(this.schema); + } + + /** + * (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + @Import(name="schemaIdentifier") + private @Nullable Output schemaIdentifier; + + /** + * @return (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + */ + public Optional> schemaIdentifier() { + return Optional.ofNullable(this.schemaIdentifier); + } + + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + @Import(name="schemaReferences") + private @Nullable Output> schemaReferences; + + /** + * @return The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + public Optional>> schemaReferences() { + return Optional.ofNullable(this.schemaReferences); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + @Import(name="subjectName") + private @Nullable Output subjectName; + + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public Optional> subjectName() { + return Optional.ofNullable(this.subjectName); + } + + /** + * The version, representing the exact version of the schema under the registered subject. + * + */ + @Import(name="version") + private @Nullable Output version; + + /** + * @return The version, representing the exact version of the schema under the registered subject. + * + */ + public Optional> version() { + return Optional.ofNullable(this.version); + } + + private SchemaState() {} + + private SchemaState(SchemaState $) { + this.credentials = $.credentials; + this.format = $.format; + this.restEndpoint = $.restEndpoint; + this.schema = $.schema; + this.schemaIdentifier = $.schemaIdentifier; + this.schemaReferences = $.schemaReferences; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SchemaState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SchemaState $; + + public Builder() { + $ = new SchemaState(); + } + + public Builder(SchemaState defaults) { + $ = new SchemaState(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SchemaCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param format The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + * @return builder + * + */ + public Builder format(@Nullable Output format) { + $.format = format; + return this; + } + + /** + * @param format The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + * @return builder + * + */ + public Builder format(String format) { + return format(Output.of(format)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + /** + * @param schema The schema string, for example, `file("./schema_version_1.avsc")`. + * + * @return builder + * + */ + public Builder schema(@Nullable Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema The schema string, for example, `file("./schema_version_1.avsc")`. + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param schemaIdentifier (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + * @return builder + * + */ + public Builder schemaIdentifier(@Nullable Output schemaIdentifier) { + $.schemaIdentifier = schemaIdentifier; + return this; + } + + /** + * @param schemaIdentifier (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + * + * @return builder + * + */ + public Builder schemaIdentifier(Integer schemaIdentifier) { + return schemaIdentifier(Output.of(schemaIdentifier)); + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(@Nullable Output> schemaReferences) { + $.schemaReferences = schemaReferences; + return this; + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(List schemaReferences) { + return schemaReferences(Output.of(schemaReferences)); + } + + /** + * @param schemaReferences The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + * @return builder + * + */ + public Builder schemaReferences(SchemaSchemaReferenceArgs... schemaReferences) { + return schemaReferences(List.of(schemaReferences)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SchemaSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(@Nullable Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + /** + * @param version The version, representing the exact version of the schema under the registered subject. + * + * @return builder + * + */ + public Builder version(@Nullable Output version) { + $.version = version; + return this; + } + + /** + * @param version The version, representing the exact version of the schema under the registered subject. + * + * @return builder + * + */ + public Builder version(Integer version) { + return version(Output.of(version)); + } + + public SchemaState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigCredentialsArgs.java new file mode 100644 index 00000000..3a9957d8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SubjectConfigCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectConfigCredentialsArgs Empty = new SubjectConfigCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private SubjectConfigCredentialsArgs() {} + + private SubjectConfigCredentialsArgs(SubjectConfigCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectConfigCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectConfigCredentialsArgs $; + + public Builder() { + $ = new SubjectConfigCredentialsArgs(); + } + + public Builder(SubjectConfigCredentialsArgs defaults) { + $ = new SubjectConfigCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public SubjectConfigCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..7dcebde0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SubjectConfigSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectConfigSchemaRegistryClusterArgs Empty = new SubjectConfigSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private SubjectConfigSchemaRegistryClusterArgs() {} + + private SubjectConfigSchemaRegistryClusterArgs(SubjectConfigSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectConfigSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectConfigSchemaRegistryClusterArgs $; + + public Builder() { + $ = new SubjectConfigSchemaRegistryClusterArgs(); + } + + public Builder(SubjectConfigSchemaRegistryClusterArgs defaults) { + $ = new SubjectConfigSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public SubjectConfigSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigState.java new file mode 100644 index 00000000..5d28dc07 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectConfigState.java @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.SubjectConfigCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SubjectConfigSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SubjectConfigState extends com.pulumi.resources.ResourceArgs { + + public static final SubjectConfigState Empty = new SubjectConfigState(); + + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + @Import(name="compatibilityLevel") + private @Nullable Output compatibilityLevel; + + /** + * @return The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public Optional> compatibilityLevel() { + return Optional.ofNullable(this.compatibilityLevel); + } + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName") + private @Nullable Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Optional> subjectName() { + return Optional.ofNullable(this.subjectName); + } + + private SubjectConfigState() {} + + private SubjectConfigState(SubjectConfigState $) { + this.compatibilityLevel = $.compatibilityLevel; + this.credentials = $.credentials; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectConfigState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectConfigState $; + + public Builder() { + $ = new SubjectConfigState(); + } + + public Builder(SubjectConfigState defaults) { + $ = new SubjectConfigState(Objects.requireNonNull(defaults)); + } + + /** + * @param compatibilityLevel The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(@Nullable Output compatibilityLevel) { + $.compatibilityLevel = compatibilityLevel; + return this; + } + + /** + * @param compatibilityLevel The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + * @return builder + * + */ + public Builder compatibilityLevel(String compatibilityLevel) { + return compatibilityLevel(Output.of(compatibilityLevel)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SubjectConfigCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SubjectConfigSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(@Nullable Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public SubjectConfigState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeCredentialsArgs.java new file mode 100644 index 00000000..a7390a38 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeCredentialsArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SubjectModeCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectModeCredentialsArgs Empty = new SubjectModeCredentialsArgs(); + + /** + * The Schema Registry API Key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The Schema Registry API Key. + * + */ + public Output key() { + return this.key; + } + + /** + * The Schema Registry API Secret. + * + */ + @Import(name="secret", required=true) + private Output secret; + + /** + * @return The Schema Registry API Secret. + * + */ + public Output secret() { + return this.secret; + } + + private SubjectModeCredentialsArgs() {} + + private SubjectModeCredentialsArgs(SubjectModeCredentialsArgs $) { + this.key = $.key; + this.secret = $.secret; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectModeCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectModeCredentialsArgs $; + + public Builder() { + $ = new SubjectModeCredentialsArgs(); + } + + public Builder(SubjectModeCredentialsArgs defaults) { + $ = new SubjectModeCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The Schema Registry API Key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret The Schema Registry API Secret. + * + * @return builder + * + */ + public Builder secret(String secret) { + return secret(Output.of(secret)); + } + + public SubjectModeCredentialsArgs build() { + $.key = Objects.requireNonNull($.key, "expected parameter 'key' to be non-null"); + $.secret = Objects.requireNonNull($.secret, "expected parameter 'secret' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeSchemaRegistryClusterArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeSchemaRegistryClusterArgs.java new file mode 100644 index 00000000..e35ddf84 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeSchemaRegistryClusterArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class SubjectModeSchemaRegistryClusterArgs extends com.pulumi.resources.ResourceArgs { + + public static final SubjectModeSchemaRegistryClusterArgs Empty = new SubjectModeSchemaRegistryClusterArgs(); + + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public Output id() { + return this.id; + } + + private SubjectModeSchemaRegistryClusterArgs() {} + + private SubjectModeSchemaRegistryClusterArgs(SubjectModeSchemaRegistryClusterArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectModeSchemaRegistryClusterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectModeSchemaRegistryClusterArgs $; + + public Builder() { + $ = new SubjectModeSchemaRegistryClusterArgs(); + } + + public Builder(SubjectModeSchemaRegistryClusterArgs defaults) { + $ = new SubjectModeSchemaRegistryClusterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public SubjectModeSchemaRegistryClusterArgs build() { + $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeState.java new file mode 100644 index 00000000..cf33aeae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/SubjectModeState.java @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.inputs; + +import com.pulumi.confluentcloud.inputs.SubjectModeCredentialsArgs; +import com.pulumi.confluentcloud.inputs.SubjectModeSchemaRegistryClusterArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SubjectModeState extends com.pulumi.resources.ResourceArgs { + + public static final SubjectModeState Empty = new SubjectModeState(); + + /** + * The Cluster API Credentials. + * + */ + @Import(name="credentials") + private @Nullable Output credentials; + + /** + * @return The Cluster API Credentials. + * + */ + public Optional> credentials() { + return Optional.ofNullable(this.credentials); + } + + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + @Import(name="mode") + private @Nullable Output mode; + + /** + * @return The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + @Import(name="restEndpoint") + private @Nullable Output restEndpoint; + + /** + * @return The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + */ + public Optional> restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + + @Import(name="schemaRegistryCluster") + private @Nullable Output schemaRegistryCluster; + + public Optional> schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + @Import(name="subjectName") + private @Nullable Output subjectName; + + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + */ + public Optional> subjectName() { + return Optional.ofNullable(this.subjectName); + } + + private SubjectModeState() {} + + private SubjectModeState(SubjectModeState $) { + this.credentials = $.credentials; + this.mode = $.mode; + this.restEndpoint = $.restEndpoint; + this.schemaRegistryCluster = $.schemaRegistryCluster; + this.subjectName = $.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SubjectModeState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SubjectModeState $; + + public Builder() { + $ = new SubjectModeState(); + } + + public Builder(SubjectModeState defaults) { + $ = new SubjectModeState(Objects.requireNonNull(defaults)); + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(@Nullable Output credentials) { + $.credentials = credentials; + return this; + } + + /** + * @param credentials The Cluster API Credentials. + * + * @return builder + * + */ + public Builder credentials(SubjectModeCredentialsArgs credentials) { + return credentials(Output.of(credentials)); + } + + /** + * @param mode The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + /** + * @param mode The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + * @return builder + * + */ + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(@Nullable Output restEndpoint) { + $.restEndpoint = restEndpoint; + return this; + } + + /** + * @param restEndpoint The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + * + * @return builder + * + */ + public Builder restEndpoint(String restEndpoint) { + return restEndpoint(Output.of(restEndpoint)); + } + + public Builder schemaRegistryCluster(@Nullable Output schemaRegistryCluster) { + $.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + + public Builder schemaRegistryCluster(SubjectModeSchemaRegistryClusterArgs schemaRegistryCluster) { + return schemaRegistryCluster(Output.of(schemaRegistryCluster)); + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(@Nullable Output subjectName) { + $.subjectName = subjectName; + return this; + } + + /** + * @param subjectName The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + * + * @return builder + * + */ + public Builder subjectName(String subjectName) { + return subjectName(Output.of(subjectName)); + } + + public SubjectModeState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/TransitGatewayAttachmentAwsArgs.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/TransitGatewayAttachmentAwsArgs.java index e77ebefc..787a7af6 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/TransitGatewayAttachmentAwsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/TransitGatewayAttachmentAwsArgs.java @@ -5,7 +5,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -17,21 +16,6 @@ public final class TransitGatewayAttachmentAwsArgs extends com.pulumi.resources. public static final TransitGatewayAttachmentAwsArgs Empty = new TransitGatewayAttachmentAwsArgs(); - /** - * Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - @Import(name="enableCustomRoutes") - private @Nullable Output enableCustomRoutes; - - /** - * @return Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - public Optional> enableCustomRoutes() { - return Optional.ofNullable(this.enableCustomRoutes); - } - /** * The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -51,15 +35,15 @@ public Output ramResourceShareArn() { * List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. * */ - @Import(name="routes") - private @Nullable Output> routes; + @Import(name="routes", required=true) + private Output> routes; /** * @return List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. * */ - public Optional>> routes() { - return Optional.ofNullable(this.routes); + public Output> routes() { + return this.routes; } /** @@ -95,7 +79,6 @@ public Output transitGatewayId() { private TransitGatewayAttachmentAwsArgs() {} private TransitGatewayAttachmentAwsArgs(TransitGatewayAttachmentAwsArgs $) { - this.enableCustomRoutes = $.enableCustomRoutes; this.ramResourceShareArn = $.ramResourceShareArn; this.routes = $.routes; this.transitGatewayAttachmentId = $.transitGatewayAttachmentId; @@ -120,27 +103,6 @@ public Builder(TransitGatewayAttachmentAwsArgs defaults) { $ = new TransitGatewayAttachmentAwsArgs(Objects.requireNonNull(defaults)); } - /** - * @param enableCustomRoutes Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - * @return builder - * - */ - public Builder enableCustomRoutes(@Nullable Output enableCustomRoutes) { - $.enableCustomRoutes = enableCustomRoutes; - return this; - } - - /** - * @param enableCustomRoutes Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - * @return builder - * - */ - public Builder enableCustomRoutes(Boolean enableCustomRoutes) { - return enableCustomRoutes(Output.of(enableCustomRoutes)); - } - /** * @param ramResourceShareArn The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -168,7 +130,7 @@ public Builder ramResourceShareArn(String ramResourceShareArn) { * @return builder * */ - public Builder routes(@Nullable Output> routes) { + public Builder routes(Output> routes) { $.routes = routes; return this; } @@ -237,6 +199,7 @@ public Builder transitGatewayId(String transitGatewayId) { public TransitGatewayAttachmentAwsArgs build() { $.ramResourceShareArn = Objects.requireNonNull($.ramResourceShareArn, "expected parameter 'ramResourceShareArn' to be non-null"); + $.routes = Objects.requireNonNull($.routes, "expected parameter 'routes' to be non-null"); $.transitGatewayId = Objects.requireNonNull($.transitGatewayId, "expected parameter 'transitGatewayId' to be non-null"); return $; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetIdentityPoolResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetIdentityPoolResult.java index 38c6dc38..310d5920 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetIdentityPoolResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetIdentityPoolResult.java @@ -35,6 +35,10 @@ public final class GetIdentityPoolResult { * */ private String identityClaim; + /** + * @return (Required Configuration Block) supports the following: + * + */ private GetIdentityPoolIdentityProvider identityProvider; private GetIdentityPoolResult() {} @@ -73,6 +77,10 @@ public String id() { public String identityClaim() { return this.identityClaim; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetIdentityPoolIdentityProvider identityProvider() { return this.identityProvider; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClientQuotaResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClientQuotaResult.java index 7ed1e8ec..0630c0dd 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClientQuotaResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClientQuotaResult.java @@ -15,7 +15,6 @@ public final class GetKafkaClientQuotaResult { /** * @return (Required String) The description of the Kafka Client Quota. - * - `throughput` (Required Configuration Block) supports the following: * */ private String description; @@ -24,25 +23,35 @@ public final class GetKafkaClientQuotaResult { * */ private String displayName; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List environments; /** * @return (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`. * */ private String id; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List kafkaClusters; /** * @return (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - * - `kafka_cluster` (Required Configuration Block) supports the following: * */ private List principals; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List throughputs; private GetKafkaClientQuotaResult() {} /** * @return (Required String) The description of the Kafka Client Quota. - * - `throughput` (Required Configuration Block) supports the following: * */ public String description() { @@ -55,6 +64,10 @@ public String description() { public String displayName() { return this.displayName; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List environments() { return this.environments; } @@ -65,17 +78,24 @@ public List environments() { public String id() { return this.id; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List kafkaClusters() { return this.kafkaClusters; } /** * @return (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - * - `kafka_cluster` (Required Configuration Block) supports the following: * */ public List principals() { return this.principals; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List throughputs() { return this.throughputs; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClusterResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClusterResult.java index 42731c8b..b8ebe4ee 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClusterResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaClusterResult.java @@ -63,6 +63,10 @@ public final class GetKafkaClusterResult { * */ private String kind; + /** + * @return (Optional Configuration Block) supports the following: + * + */ private List networks; /** * @return (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`. @@ -152,6 +156,10 @@ public String id() { public String kind() { return this.kind; } + /** + * @return (Optional Configuration Block) supports the following: + * + */ public List networks() { return this.networks; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaTopicResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaTopicResult.java index 8bfeb879..8c243a84 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaTopicResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKafkaTopicResult.java @@ -26,7 +26,7 @@ public final class GetKafkaTopicResult { * */ private String id; - private GetKafkaTopicKafkaCluster kafkaCluster; + private @Nullable GetKafkaTopicKafkaCluster kafkaCluster; /** * @return (Required Number) The number of partitions to create in the topic. Defaults to `6`. * @@ -53,8 +53,8 @@ public Optional credentials() { public String id() { return this.id; } - public GetKafkaTopicKafkaCluster kafkaCluster() { - return this.kafkaCluster; + public Optional kafkaCluster() { + return Optional.ofNullable(this.kafkaCluster); } /** * @return (Required Number) The number of partitions to create in the topic. Defaults to `6`. @@ -82,7 +82,7 @@ public static final class Builder { private Map config; private @Nullable GetKafkaTopicCredentials credentials; private String id; - private GetKafkaTopicKafkaCluster kafkaCluster; + private @Nullable GetKafkaTopicKafkaCluster kafkaCluster; private Integer partitionsCount; private String restEndpoint; private String topicName; @@ -114,8 +114,8 @@ public Builder id(String id) { return this; } @CustomType.Setter - public Builder kafkaCluster(GetKafkaTopicKafkaCluster kafkaCluster) { - this.kafkaCluster = Objects.requireNonNull(kafkaCluster); + public Builder kafkaCluster(@Nullable GetKafkaTopicKafkaCluster kafkaCluster) { + this.kafkaCluster = kafkaCluster; return this; } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKsqlClusterResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKsqlClusterResult.java index 3b9358b8..2ffd6e45 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKsqlClusterResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetKsqlClusterResult.java @@ -20,10 +20,13 @@ public final class GetKsqlClusterResult { * */ private String apiVersion; + /** + * @return (Optional Configuration Block) supports the following: + * + */ private List credentialIdentities; /** * @return (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - * - `use_detailed_processing_log` (Optional Boolean) Controls whether the row data should be included in the processing log topic. * */ private Integer csu; @@ -34,6 +37,10 @@ public final class GetKsqlClusterResult { * */ private String id; + /** + * @return (Optional Configuration Block) supports the following: + * + */ private List kafkaClusters; /** * @return (Required String) A kind of the ksqlDB cluster, for example, `Cluster`. @@ -47,13 +54,8 @@ public final class GetKsqlClusterResult { private String resourceName; /** * @return (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - * - `kafka_cluster` (Optional Configuration Block) supports the following: - * - * @deprecated - * use rest_endpoint instead * */ - @Deprecated /* use rest_endpoint instead */ private String restEndpoint; /** * @return (Required Integer) The amount of storage (in GB) provisioned to this cluster. @@ -65,6 +67,10 @@ public final class GetKsqlClusterResult { * */ private String topicPrefix; + /** + * @return (Optional Boolean) Controls whether the row data should be included in the processing log topic. + * + */ private Boolean useDetailedProcessingLog; private GetKsqlClusterResult() {} @@ -75,12 +81,15 @@ private GetKsqlClusterResult() {} public String apiVersion() { return this.apiVersion; } + /** + * @return (Optional Configuration Block) supports the following: + * + */ public List credentialIdentities() { return this.credentialIdentities; } /** * @return (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - * - `use_detailed_processing_log` (Optional Boolean) Controls whether the row data should be included in the processing log topic. * */ public Integer csu() { @@ -99,6 +108,10 @@ public GetKsqlClusterEnvironment environment() { public String id() { return this.id; } + /** + * @return (Optional Configuration Block) supports the following: + * + */ public List kafkaClusters() { return this.kafkaClusters; } @@ -118,13 +131,8 @@ public String resourceName() { } /** * @return (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - * - `kafka_cluster` (Optional Configuration Block) supports the following: - * - * @deprecated - * use rest_endpoint instead * */ - @Deprecated /* use rest_endpoint instead */ public String restEndpoint() { return this.restEndpoint; } @@ -142,6 +150,10 @@ public Integer storage() { public String topicPrefix() { return this.topicPrefix; } + /** + * @return (Optional Boolean) Controls whether the row data should be included in the processing log topic. + * + */ public Boolean useDetailedProcessingLog() { return this.useDetailedProcessingLog; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkDnsConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkDnsConfig.java new file mode 100644 index 00000000..7ff3351d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkDnsConfig.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetNetworkDnsConfig { + /** + * @return (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + private String resolution; + + private GetNetworkDnsConfig() {} + /** + * @return (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + public String resolution() { + return this.resolution; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetNetworkDnsConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String resolution; + public Builder() {} + public Builder(GetNetworkDnsConfig defaults) { + Objects.requireNonNull(defaults); + this.resolution = defaults.resolution; + } + + @CustomType.Setter + public Builder resolution(String resolution) { + this.resolution = Objects.requireNonNull(resolution); + return this; + } + public GetNetworkDnsConfig build() { + final var o = new GetNetworkDnsConfig(); + o.resolution = resolution; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkResult.java index 46599b2f..90b0b83d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetNetworkResult.java @@ -5,6 +5,7 @@ import com.pulumi.confluentcloud.outputs.GetNetworkAw; import com.pulumi.confluentcloud.outputs.GetNetworkAzure; +import com.pulumi.confluentcloud.outputs.GetNetworkDnsConfig; import com.pulumi.confluentcloud.outputs.GetNetworkEnvironment; import com.pulumi.confluentcloud.outputs.GetNetworkGcp; import com.pulumi.core.annotations.CustomType; @@ -45,6 +46,11 @@ public final class GetNetworkResult { * */ private String displayName; + /** + * @return (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + private List dnsConfigs; private String dnsDomain; private GetNetworkEnvironment environment; /** @@ -70,7 +76,8 @@ public final class GetNetworkResult { private Map zonalSubdomains; /** * @return (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -121,6 +128,13 @@ public List connectionTypes() { public String displayName() { return this.displayName; } + /** + * @return (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + * + */ + public List dnsConfigs() { + return this.dnsConfigs; + } public String dnsDomain() { return this.dnsDomain; } @@ -160,7 +174,8 @@ public Map zonalSubdomains() { } /** * @return (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -185,6 +200,7 @@ public static final class Builder { private String cloud; private List connectionTypes; private String displayName; + private List dnsConfigs; private String dnsDomain; private GetNetworkEnvironment environment; private List gcps; @@ -202,6 +218,7 @@ public Builder(GetNetworkResult defaults) { this.cloud = defaults.cloud; this.connectionTypes = defaults.connectionTypes; this.displayName = defaults.displayName; + this.dnsConfigs = defaults.dnsConfigs; this.dnsDomain = defaults.dnsDomain; this.environment = defaults.environment; this.gcps = defaults.gcps; @@ -252,6 +269,14 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder dnsConfigs(List dnsConfigs) { + this.dnsConfigs = Objects.requireNonNull(dnsConfigs); + return this; + } + public Builder dnsConfigs(GetNetworkDnsConfig... dnsConfigs) { + return dnsConfigs(List.of(dnsConfigs)); + } + @CustomType.Setter public Builder dnsDomain(String dnsDomain) { this.dnsDomain = Objects.requireNonNull(dnsDomain); return this; @@ -305,6 +330,7 @@ public GetNetworkResult build() { o.cloud = cloud; o.connectionTypes = connectionTypes; o.displayName = displayName; + o.dnsConfigs = dnsConfigs; o.dnsDomain = dnsDomain; o.environment = environment; o.gcps = gcps; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPeeringResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPeeringResult.java index 0248d59f..482984da 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPeeringResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPeeringResult.java @@ -27,10 +27,13 @@ public final class GetPeeringResult { private List azures; /** * @return (Optional String) The name of the Peering. - * - `environment` (Required Configuration Block) supports the following: * */ private String displayName; + /** + * @return (Required Configuration Block) supports the following: + * + */ private GetPeeringEnvironment environment; /** * @return (Optional Configuration Block) The Azure-specific Peering details if available. It supports the following: @@ -42,6 +45,10 @@ public final class GetPeeringResult { * */ private String id; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List networks; private GetPeeringResult() {} @@ -61,12 +68,15 @@ public List azures() { } /** * @return (Optional String) The name of the Peering. - * - `environment` (Required Configuration Block) supports the following: * */ public String displayName() { return this.displayName; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetPeeringEnvironment environment() { return this.environment; } @@ -84,6 +94,10 @@ public List gcps() { public String id() { return this.id; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List networks() { return this.networks; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPrivateLinkAccessResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPrivateLinkAccessResult.java index d0a816ab..9e69f5ae 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPrivateLinkAccessResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetPrivateLinkAccessResult.java @@ -27,10 +27,13 @@ public final class GetPrivateLinkAccessResult { private List azures; /** * @return (Optional String) The name of the Private Link Access. - * - `environment` (Required Configuration Block) supports the following: * */ private String displayName; + /** + * @return (Required Configuration Block) supports the following: + * + */ private GetPrivateLinkAccessEnvironment environment; /** * @return (Optional Configuration Block) The GCP-specific Private Service Connect details if available. It supports the following: @@ -42,6 +45,10 @@ public final class GetPrivateLinkAccessResult { * */ private String id; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List networks; private GetPrivateLinkAccessResult() {} @@ -61,12 +68,15 @@ public List azures() { } /** * @return (Optional String) The name of the Private Link Access. - * - `environment` (Required Configuration Block) supports the following: * */ public String displayName() { return this.displayName; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetPrivateLinkAccessEnvironment environment() { return this.environment; } @@ -84,6 +94,10 @@ public List gcps() { public String id() { return this.id; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List networks() { return this.networks; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaCredentials.java new file mode 100644 index 00000000..585ea9ad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private GetSchemaCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(GetSchemaCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public GetSchemaCredentials build() { + final var o = new GetSchemaCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigCredentials.java new file mode 100644 index 00000000..7addbb74 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaRegistryClusterConfigCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private GetSchemaRegistryClusterConfigCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterConfigCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(GetSchemaRegistryClusterConfigCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public GetSchemaRegistryClusterConfigCredentials build() { + final var o = new GetSchemaRegistryClusterConfigCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigResult.java new file mode 100644 index 00000000..a961d32d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigResult.java @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterConfigCredentials; +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSchemaRegistryClusterConfigResult { + /** + * @return (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + private String compatibilityLevel; + private @Nullable GetSchemaRegistryClusterConfigCredentials credentials; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String restEndpoint; + private @Nullable GetSchemaRegistryClusterConfigSchemaRegistryCluster schemaRegistryCluster; + + private GetSchemaRegistryClusterConfigResult() {} + /** + * @return (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public String compatibilityLevel() { + return this.compatibilityLevel; + } + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterConfigResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compatibilityLevel; + private @Nullable GetSchemaRegistryClusterConfigCredentials credentials; + private String id; + private @Nullable String restEndpoint; + private @Nullable GetSchemaRegistryClusterConfigSchemaRegistryCluster schemaRegistryCluster; + public Builder() {} + public Builder(GetSchemaRegistryClusterConfigResult defaults) { + Objects.requireNonNull(defaults); + this.compatibilityLevel = defaults.compatibilityLevel; + this.credentials = defaults.credentials; + this.id = defaults.id; + this.restEndpoint = defaults.restEndpoint; + this.schemaRegistryCluster = defaults.schemaRegistryCluster; + } + + @CustomType.Setter + public Builder compatibilityLevel(String compatibilityLevel) { + this.compatibilityLevel = Objects.requireNonNull(compatibilityLevel); + return this; + } + @CustomType.Setter + public Builder credentials(@Nullable GetSchemaRegistryClusterConfigCredentials credentials) { + this.credentials = credentials; + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder restEndpoint(@Nullable String restEndpoint) { + this.restEndpoint = restEndpoint; + return this; + } + @CustomType.Setter + public Builder schemaRegistryCluster(@Nullable GetSchemaRegistryClusterConfigSchemaRegistryCluster schemaRegistryCluster) { + this.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + public GetSchemaRegistryClusterConfigResult build() { + final var o = new GetSchemaRegistryClusterConfigResult(); + o.compatibilityLevel = compatibilityLevel; + o.credentials = credentials; + o.id = id; + o.restEndpoint = restEndpoint; + o.schemaRegistryCluster = schemaRegistryCluster; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..b24f15f1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterConfigSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private GetSchemaRegistryClusterConfigSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetSchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetSchemaRegistryClusterConfigSchemaRegistryCluster build() { + final var o = new GetSchemaRegistryClusterConfigSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeCredentials.java new file mode 100644 index 00000000..1b58f9fa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaRegistryClusterModeCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private GetSchemaRegistryClusterModeCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterModeCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(GetSchemaRegistryClusterModeCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public GetSchemaRegistryClusterModeCredentials build() { + final var o = new GetSchemaRegistryClusterModeCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeResult.java new file mode 100644 index 00000000..0a2ef878 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeResult.java @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterModeCredentials; +import com.pulumi.confluentcloud.outputs.GetSchemaRegistryClusterModeSchemaRegistryCluster; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSchemaRegistryClusterModeResult { + private @Nullable GetSchemaRegistryClusterModeCredentials credentials; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + private String mode; + private @Nullable String restEndpoint; + private @Nullable GetSchemaRegistryClusterModeSchemaRegistryCluster schemaRegistryCluster; + + private GetSchemaRegistryClusterModeResult() {} + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public String mode() { + return this.mode; + } + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterModeResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSchemaRegistryClusterModeCredentials credentials; + private String id; + private String mode; + private @Nullable String restEndpoint; + private @Nullable GetSchemaRegistryClusterModeSchemaRegistryCluster schemaRegistryCluster; + public Builder() {} + public Builder(GetSchemaRegistryClusterModeResult defaults) { + Objects.requireNonNull(defaults); + this.credentials = defaults.credentials; + this.id = defaults.id; + this.mode = defaults.mode; + this.restEndpoint = defaults.restEndpoint; + this.schemaRegistryCluster = defaults.schemaRegistryCluster; + } + + @CustomType.Setter + public Builder credentials(@Nullable GetSchemaRegistryClusterModeCredentials credentials) { + this.credentials = credentials; + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder mode(String mode) { + this.mode = Objects.requireNonNull(mode); + return this; + } + @CustomType.Setter + public Builder restEndpoint(@Nullable String restEndpoint) { + this.restEndpoint = restEndpoint; + return this; + } + @CustomType.Setter + public Builder schemaRegistryCluster(@Nullable GetSchemaRegistryClusterModeSchemaRegistryCluster schemaRegistryCluster) { + this.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + public GetSchemaRegistryClusterModeResult build() { + final var o = new GetSchemaRegistryClusterModeResult(); + o.credentials = credentials; + o.id = id; + o.mode = mode; + o.restEndpoint = restEndpoint; + o.schemaRegistryCluster = schemaRegistryCluster; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java new file mode 100644 index 00000000..a181eb0b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterModeSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaRegistryClusterModeSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private GetSchemaRegistryClusterModeSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaRegistryClusterModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetSchemaRegistryClusterModeSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetSchemaRegistryClusterModeSchemaRegistryCluster build() { + final var o = new GetSchemaRegistryClusterModeSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterResult.java index 183faa04..10cf418d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaRegistryClusterResult.java @@ -31,10 +31,13 @@ public final class GetSchemaRegistryClusterResult { private String kind; /** * @return (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - * - `region` (Required Configuration Block) supports the following: * */ private String package_; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List regions; /** * @return (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123`. @@ -77,12 +80,15 @@ public String kind() { } /** * @return (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - * - `region` (Required Configuration Block) supports the following: * */ public String package_() { return this.package_; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List regions() { return this.regions; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaResult.java new file mode 100644 index 00000000..d52aba12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaResult.java @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.confluentcloud.outputs.GetSchemaCredentials; +import com.pulumi.confluentcloud.outputs.GetSchemaSchemaReference; +import com.pulumi.confluentcloud.outputs.GetSchemaSchemaRegistryCluster; +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSchemaResult { + private @Nullable GetSchemaCredentials credentials; + /** + * @return (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + private String format; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String restEndpoint; + /** + * @return (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + private String schema; + private Integer schemaIdentifier; + /** + * @return (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + private List schemaReferences; + private @Nullable GetSchemaSchemaRegistryCluster schemaRegistryCluster; + /** + * @return (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + private String subjectName; + /** + * @return (Required Integer) The version of the Schema, for example, `4`. + * + */ + private Integer version; + + private GetSchemaResult() {} + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + /** + * @return (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + * + */ + public String format() { + return this.format; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + /** + * @return (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + * + */ + public String schema() { + return this.schema; + } + public Integer schemaIdentifier() { + return this.schemaIdentifier; + } + /** + * @return (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + * + */ + public List schemaReferences() { + return this.schemaReferences; + } + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + /** + * @return (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public String subjectName() { + return this.subjectName; + } + /** + * @return (Required Integer) The version of the Schema, for example, `4`. + * + */ + public Integer version() { + return this.version; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSchemaCredentials credentials; + private String format; + private String id; + private @Nullable String restEndpoint; + private String schema; + private Integer schemaIdentifier; + private List schemaReferences; + private @Nullable GetSchemaSchemaRegistryCluster schemaRegistryCluster; + private String subjectName; + private Integer version; + public Builder() {} + public Builder(GetSchemaResult defaults) { + Objects.requireNonNull(defaults); + this.credentials = defaults.credentials; + this.format = defaults.format; + this.id = defaults.id; + this.restEndpoint = defaults.restEndpoint; + this.schema = defaults.schema; + this.schemaIdentifier = defaults.schemaIdentifier; + this.schemaReferences = defaults.schemaReferences; + this.schemaRegistryCluster = defaults.schemaRegistryCluster; + this.subjectName = defaults.subjectName; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder credentials(@Nullable GetSchemaCredentials credentials) { + this.credentials = credentials; + return this; + } + @CustomType.Setter + public Builder format(String format) { + this.format = Objects.requireNonNull(format); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder restEndpoint(@Nullable String restEndpoint) { + this.restEndpoint = restEndpoint; + return this; + } + @CustomType.Setter + public Builder schema(String schema) { + this.schema = Objects.requireNonNull(schema); + return this; + } + @CustomType.Setter + public Builder schemaIdentifier(Integer schemaIdentifier) { + this.schemaIdentifier = Objects.requireNonNull(schemaIdentifier); + return this; + } + @CustomType.Setter + public Builder schemaReferences(List schemaReferences) { + this.schemaReferences = Objects.requireNonNull(schemaReferences); + return this; + } + public Builder schemaReferences(GetSchemaSchemaReference... schemaReferences) { + return schemaReferences(List.of(schemaReferences)); + } + @CustomType.Setter + public Builder schemaRegistryCluster(@Nullable GetSchemaSchemaRegistryCluster schemaRegistryCluster) { + this.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + @CustomType.Setter + public Builder subjectName(String subjectName) { + this.subjectName = Objects.requireNonNull(subjectName); + return this; + } + @CustomType.Setter + public Builder version(Integer version) { + this.version = Objects.requireNonNull(version); + return this; + } + public GetSchemaResult build() { + final var o = new GetSchemaResult(); + o.credentials = credentials; + o.format = format; + o.id = id; + o.restEndpoint = restEndpoint; + o.schema = schema; + o.schemaIdentifier = schemaIdentifier; + o.schemaReferences = schemaReferences; + o.schemaRegistryCluster = schemaRegistryCluster; + o.subjectName = subjectName; + o.version = version; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaReference.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaReference.java new file mode 100644 index 00000000..303a3596 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaReference.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaSchemaReference { + /** + * @return (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + private String name; + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + private String subjectName; + /** + * @return (Required Integer) The version of the Schema, for example, `4`. + * + */ + private Integer version; + + private GetSchemaSchemaReference() {} + /** + * @return (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + public String name() { + return this.name; + } + /** + * @return The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + * + */ + public String subjectName() { + return this.subjectName; + } + /** + * @return (Required Integer) The version of the Schema, for example, `4`. + * + */ + public Integer version() { + return this.version; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaSchemaReference defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String subjectName; + private Integer version; + public Builder() {} + public Builder(GetSchemaSchemaReference defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.subjectName = defaults.subjectName; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder subjectName(String subjectName) { + this.subjectName = Objects.requireNonNull(subjectName); + return this; + } + @CustomType.Setter + public Builder version(Integer version) { + this.version = Objects.requireNonNull(version); + return this; + } + public GetSchemaSchemaReference build() { + final var o = new GetSchemaSchemaReference(); + o.name = name; + o.subjectName = subjectName; + o.version = version; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaRegistryCluster.java new file mode 100644 index 00000000..ba4fafe5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSchemaSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSchemaSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private GetSchemaSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSchemaSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetSchemaSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetSchemaSchemaRegistryCluster build() { + final var o = new GetSchemaSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigCredentials.java new file mode 100644 index 00000000..271ca0d3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubjectConfigCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private GetSubjectConfigCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectConfigCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(GetSubjectConfigCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public GetSubjectConfigCredentials build() { + final var o = new GetSubjectConfigCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigResult.java new file mode 100644 index 00000000..8a82c7d5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigResult.java @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.confluentcloud.outputs.GetSubjectConfigCredentials; +import com.pulumi.confluentcloud.outputs.GetSubjectConfigSchemaRegistryCluster; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubjectConfigResult { + /** + * @return (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + private String compatibilityLevel; + private @Nullable GetSubjectConfigCredentials credentials; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String restEndpoint; + private @Nullable GetSubjectConfigSchemaRegistryCluster schemaRegistryCluster; + private String subjectName; + + private GetSubjectConfigResult() {} + /** + * @return (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + * + */ + public String compatibilityLevel() { + return this.compatibilityLevel; + } + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + public String subjectName() { + return this.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectConfigResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compatibilityLevel; + private @Nullable GetSubjectConfigCredentials credentials; + private String id; + private @Nullable String restEndpoint; + private @Nullable GetSubjectConfigSchemaRegistryCluster schemaRegistryCluster; + private String subjectName; + public Builder() {} + public Builder(GetSubjectConfigResult defaults) { + Objects.requireNonNull(defaults); + this.compatibilityLevel = defaults.compatibilityLevel; + this.credentials = defaults.credentials; + this.id = defaults.id; + this.restEndpoint = defaults.restEndpoint; + this.schemaRegistryCluster = defaults.schemaRegistryCluster; + this.subjectName = defaults.subjectName; + } + + @CustomType.Setter + public Builder compatibilityLevel(String compatibilityLevel) { + this.compatibilityLevel = Objects.requireNonNull(compatibilityLevel); + return this; + } + @CustomType.Setter + public Builder credentials(@Nullable GetSubjectConfigCredentials credentials) { + this.credentials = credentials; + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder restEndpoint(@Nullable String restEndpoint) { + this.restEndpoint = restEndpoint; + return this; + } + @CustomType.Setter + public Builder schemaRegistryCluster(@Nullable GetSubjectConfigSchemaRegistryCluster schemaRegistryCluster) { + this.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + @CustomType.Setter + public Builder subjectName(String subjectName) { + this.subjectName = Objects.requireNonNull(subjectName); + return this; + } + public GetSubjectConfigResult build() { + final var o = new GetSubjectConfigResult(); + o.compatibilityLevel = compatibilityLevel; + o.credentials = credentials; + o.id = id; + o.restEndpoint = restEndpoint; + o.schemaRegistryCluster = schemaRegistryCluster; + o.subjectName = subjectName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..5f170b29 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectConfigSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubjectConfigSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private GetSubjectConfigSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetSubjectConfigSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetSubjectConfigSchemaRegistryCluster build() { + final var o = new GetSubjectConfigSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeCredentials.java new file mode 100644 index 00000000..74e78ec4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubjectModeCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private GetSubjectModeCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectModeCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(GetSubjectModeCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public GetSubjectModeCredentials build() { + final var o = new GetSubjectModeCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeResult.java new file mode 100644 index 00000000..b7423f3d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeResult.java @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.confluentcloud.outputs.GetSubjectModeCredentials; +import com.pulumi.confluentcloud.outputs.GetSubjectModeSchemaRegistryCluster; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSubjectModeResult { + private @Nullable GetSubjectModeCredentials credentials; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + private String mode; + private @Nullable String restEndpoint; + private @Nullable GetSubjectModeSchemaRegistryCluster schemaRegistryCluster; + private String subjectName; + + private GetSubjectModeResult() {} + public Optional credentials() { + return Optional.ofNullable(this.credentials); + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + * + */ + public String mode() { + return this.mode; + } + public Optional restEndpoint() { + return Optional.ofNullable(this.restEndpoint); + } + public Optional schemaRegistryCluster() { + return Optional.ofNullable(this.schemaRegistryCluster); + } + public String subjectName() { + return this.subjectName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectModeResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSubjectModeCredentials credentials; + private String id; + private String mode; + private @Nullable String restEndpoint; + private @Nullable GetSubjectModeSchemaRegistryCluster schemaRegistryCluster; + private String subjectName; + public Builder() {} + public Builder(GetSubjectModeResult defaults) { + Objects.requireNonNull(defaults); + this.credentials = defaults.credentials; + this.id = defaults.id; + this.mode = defaults.mode; + this.restEndpoint = defaults.restEndpoint; + this.schemaRegistryCluster = defaults.schemaRegistryCluster; + this.subjectName = defaults.subjectName; + } + + @CustomType.Setter + public Builder credentials(@Nullable GetSubjectModeCredentials credentials) { + this.credentials = credentials; + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder mode(String mode) { + this.mode = Objects.requireNonNull(mode); + return this; + } + @CustomType.Setter + public Builder restEndpoint(@Nullable String restEndpoint) { + this.restEndpoint = restEndpoint; + return this; + } + @CustomType.Setter + public Builder schemaRegistryCluster(@Nullable GetSubjectModeSchemaRegistryCluster schemaRegistryCluster) { + this.schemaRegistryCluster = schemaRegistryCluster; + return this; + } + @CustomType.Setter + public Builder subjectName(String subjectName) { + this.subjectName = Objects.requireNonNull(subjectName); + return this; + } + public GetSubjectModeResult build() { + final var o = new GetSubjectModeResult(); + o.credentials = credentials; + o.id = id; + o.mode = mode; + o.restEndpoint = restEndpoint; + o.schemaRegistryCluster = schemaRegistryCluster; + o.subjectName = subjectName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeSchemaRegistryCluster.java new file mode 100644 index 00000000..9b6f24d6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetSubjectModeSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSubjectModeSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private GetSubjectModeSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSubjectModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetSubjectModeSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetSubjectModeSchemaRegistryCluster build() { + final var o = new GetSubjectModeSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentAw.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentAw.java index 216b5624..2b7e1246 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentAw.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentAw.java @@ -4,18 +4,12 @@ package com.pulumi.confluentcloud.outputs; import com.pulumi.core.annotations.CustomType; -import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @CustomType public final class GetTransitGatewayAttachmentAw { - /** - * @return (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - private Boolean enableCustomRoutes; /** * @return (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -38,13 +32,6 @@ public final class GetTransitGatewayAttachmentAw { private String transitGatewayId; private GetTransitGatewayAttachmentAw() {} - /** - * @return (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - public Boolean enableCustomRoutes() { - return this.enableCustomRoutes; - } /** * @return (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -83,7 +70,6 @@ public static Builder builder(GetTransitGatewayAttachmentAw defaults) { } @CustomType.Builder public static final class Builder { - private Boolean enableCustomRoutes; private String ramResourceShareArn; private List routes; private String transitGatewayAttachmentId; @@ -91,18 +77,12 @@ public static final class Builder { public Builder() {} public Builder(GetTransitGatewayAttachmentAw defaults) { Objects.requireNonNull(defaults); - this.enableCustomRoutes = defaults.enableCustomRoutes; this.ramResourceShareArn = defaults.ramResourceShareArn; this.routes = defaults.routes; this.transitGatewayAttachmentId = defaults.transitGatewayAttachmentId; this.transitGatewayId = defaults.transitGatewayId; } - @CustomType.Setter - public Builder enableCustomRoutes(Boolean enableCustomRoutes) { - this.enableCustomRoutes = Objects.requireNonNull(enableCustomRoutes); - return this; - } @CustomType.Setter public Builder ramResourceShareArn(String ramResourceShareArn) { this.ramResourceShareArn = Objects.requireNonNull(ramResourceShareArn); @@ -128,7 +108,6 @@ public Builder transitGatewayId(String transitGatewayId) { } public GetTransitGatewayAttachmentAw build() { final var o = new GetTransitGatewayAttachmentAw(); - o.enableCustomRoutes = enableCustomRoutes; o.ramResourceShareArn = ramResourceShareArn; o.routes = routes; o.transitGatewayAttachmentId = transitGatewayAttachmentId; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentResult.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentResult.java index 52a78679..84a0b815 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentResult.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/GetTransitGatewayAttachmentResult.java @@ -20,16 +20,23 @@ public final class GetTransitGatewayAttachmentResult { private List aws; /** * @return (Required String) The name of the Transit Gateway Attachment. - * - `environment` (Required Configuration Block) supports the following: * */ private String displayName; + /** + * @return (Required Configuration Block) supports the following: + * + */ private GetTransitGatewayAttachmentEnvironment environment; /** * @return (Required String) The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. * */ private String id; + /** + * @return (Required Configuration Block) supports the following: + * + */ private List networks; private GetTransitGatewayAttachmentResult() {} @@ -42,12 +49,15 @@ public List aws() { } /** * @return (Required String) The name of the Transit Gateway Attachment. - * - `environment` (Required Configuration Block) supports the following: * */ public String displayName() { return this.displayName; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public GetTransitGatewayAttachmentEnvironment environment() { return this.environment; } @@ -58,6 +68,10 @@ public GetTransitGatewayAttachmentEnvironment environment() { public String id() { return this.id; } + /** + * @return (Required Configuration Block) supports the following: + * + */ public List networks() { return this.networks; } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/NetworkDnsConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/NetworkDnsConfig.java new file mode 100644 index 00000000..21b1df4c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/NetworkDnsConfig.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class NetworkDnsConfig { + /** + * @return Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + private String resolution; + + private NetworkDnsConfig() {} + /** + * @return Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + * + */ + public String resolution() { + return this.resolution; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NetworkDnsConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String resolution; + public Builder() {} + public Builder(NetworkDnsConfig defaults) { + Objects.requireNonNull(defaults); + this.resolution = defaults.resolution; + } + + @CustomType.Setter + public Builder resolution(String resolution) { + this.resolution = Objects.requireNonNull(resolution); + return this; + } + public NetworkDnsConfig build() { + final var o = new NetworkDnsConfig(); + o.resolution = resolution; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaCredentials.java new file mode 100644 index 00000000..d201c30b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private SchemaCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(SchemaCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public SchemaCredentials build() { + final var o = new SchemaCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigCredentials.java new file mode 100644 index 00000000..1b61b476 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaRegistryClusterConfigCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private SchemaRegistryClusterConfigCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaRegistryClusterConfigCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(SchemaRegistryClusterConfigCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public SchemaRegistryClusterConfigCredentials build() { + final var o = new SchemaRegistryClusterConfigCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..d46b8869 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterConfigSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private SchemaRegistryClusterConfigSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(SchemaRegistryClusterConfigSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public SchemaRegistryClusterConfigSchemaRegistryCluster build() { + final var o = new SchemaRegistryClusterConfigSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeCredentials.java new file mode 100644 index 00000000..3822ad62 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaRegistryClusterModeCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private SchemaRegistryClusterModeCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaRegistryClusterModeCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(SchemaRegistryClusterModeCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public SchemaRegistryClusterModeCredentials build() { + final var o = new SchemaRegistryClusterModeCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeSchemaRegistryCluster.java new file mode 100644 index 00000000..cc9b5243 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaRegistryClusterModeSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaRegistryClusterModeSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private SchemaRegistryClusterModeSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaRegistryClusterModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(SchemaRegistryClusterModeSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public SchemaRegistryClusterModeSchemaRegistryCluster build() { + final var o = new SchemaRegistryClusterModeSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaReference.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaReference.java new file mode 100644 index 00000000..d60d5e62 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaReference.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaSchemaReference { + /** + * @return The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + private String name; + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + private String subjectName; + /** + * @return The version, representing the exact version of the schema under the registered subject. + * + */ + private Integer version; + + private SchemaSchemaReference() {} + /** + * @return The name of the subject, representing the subject under which the referenced schema is registered. + * + */ + public String name() { + return this.name; + } + /** + * @return The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + * + */ + public String subjectName() { + return this.subjectName; + } + /** + * @return The version, representing the exact version of the schema under the registered subject. + * + */ + public Integer version() { + return this.version; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaSchemaReference defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String subjectName; + private Integer version; + public Builder() {} + public Builder(SchemaSchemaReference defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.subjectName = defaults.subjectName; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder subjectName(String subjectName) { + this.subjectName = Objects.requireNonNull(subjectName); + return this; + } + @CustomType.Setter + public Builder version(Integer version) { + this.version = Objects.requireNonNull(version); + return this; + } + public SchemaSchemaReference build() { + final var o = new SchemaSchemaReference(); + o.name = name; + o.subjectName = subjectName; + o.version = version; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaRegistryCluster.java new file mode 100644 index 00000000..3a980f90 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SchemaSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SchemaSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private SchemaSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SchemaSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(SchemaSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public SchemaSchemaRegistryCluster build() { + final var o = new SchemaSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigCredentials.java new file mode 100644 index 00000000..5b547f65 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SubjectConfigCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private SubjectConfigCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SubjectConfigCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(SubjectConfigCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public SubjectConfigCredentials build() { + final var o = new SubjectConfigCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigSchemaRegistryCluster.java new file mode 100644 index 00000000..0f5d65e0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectConfigSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SubjectConfigSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private SubjectConfigSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SubjectConfigSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(SubjectConfigSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public SubjectConfigSchemaRegistryCluster build() { + final var o = new SubjectConfigSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeCredentials.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeCredentials.java new file mode 100644 index 00000000..0b79c319 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeCredentials.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SubjectModeCredentials { + /** + * @return The Schema Registry API Key. + * + */ + private String key; + /** + * @return The Schema Registry API Secret. + * + */ + private String secret; + + private SubjectModeCredentials() {} + /** + * @return The Schema Registry API Key. + * + */ + public String key() { + return this.key; + } + /** + * @return The Schema Registry API Secret. + * + */ + public String secret() { + return this.secret; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SubjectModeCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String secret; + public Builder() {} + public Builder(SubjectModeCredentials defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.secret = defaults.secret; + } + + @CustomType.Setter + public Builder key(String key) { + this.key = Objects.requireNonNull(key); + return this; + } + @CustomType.Setter + public Builder secret(String secret) { + this.secret = Objects.requireNonNull(secret); + return this; + } + public SubjectModeCredentials build() { + final var o = new SubjectModeCredentials(); + o.key = key; + o.secret = secret; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeSchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeSchemaRegistryCluster.java new file mode 100644 index 00000000..81d46b4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/SubjectModeSchemaRegistryCluster.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.confluentcloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SubjectModeSchemaRegistryCluster { + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + private String id; + + private SubjectModeSchemaRegistryCluster() {} + /** + * @return The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SubjectModeSchemaRegistryCluster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(SubjectModeSchemaRegistryCluster defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public SubjectModeSchemaRegistryCluster build() { + final var o = new SubjectModeSchemaRegistryCluster(); + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/TransitGatewayAttachmentAws.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/TransitGatewayAttachmentAws.java index b4b45d15..a6d05c1a 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/TransitGatewayAttachmentAws.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/outputs/TransitGatewayAttachmentAws.java @@ -4,7 +4,6 @@ package com.pulumi.confluentcloud.outputs; import com.pulumi.core.annotations.CustomType; -import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -13,11 +12,6 @@ @CustomType public final class TransitGatewayAttachmentAws { - /** - * @return Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - private @Nullable Boolean enableCustomRoutes; /** * @return The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -27,7 +21,7 @@ public final class TransitGatewayAttachmentAws { * @return List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. * */ - private @Nullable List routes; + private List routes; /** * @return (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. * @@ -40,13 +34,6 @@ public final class TransitGatewayAttachmentAws { private String transitGatewayId; private TransitGatewayAttachmentAws() {} - /** - * @return Enable custom destination routes in Confluent Cloud. Defaults to `false`. - * - */ - public Optional enableCustomRoutes() { - return Optional.ofNullable(this.enableCustomRoutes); - } /** * @return The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. * @@ -59,7 +46,7 @@ public String ramResourceShareArn() { * */ public List routes() { - return this.routes == null ? List.of() : this.routes; + return this.routes; } /** * @return (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. @@ -85,34 +72,27 @@ public static Builder builder(TransitGatewayAttachmentAws defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable Boolean enableCustomRoutes; private String ramResourceShareArn; - private @Nullable List routes; + private List routes; private @Nullable String transitGatewayAttachmentId; private String transitGatewayId; public Builder() {} public Builder(TransitGatewayAttachmentAws defaults) { Objects.requireNonNull(defaults); - this.enableCustomRoutes = defaults.enableCustomRoutes; this.ramResourceShareArn = defaults.ramResourceShareArn; this.routes = defaults.routes; this.transitGatewayAttachmentId = defaults.transitGatewayAttachmentId; this.transitGatewayId = defaults.transitGatewayId; } - @CustomType.Setter - public Builder enableCustomRoutes(@Nullable Boolean enableCustomRoutes) { - this.enableCustomRoutes = enableCustomRoutes; - return this; - } @CustomType.Setter public Builder ramResourceShareArn(String ramResourceShareArn) { this.ramResourceShareArn = Objects.requireNonNull(ramResourceShareArn); return this; } @CustomType.Setter - public Builder routes(@Nullable List routes) { - this.routes = routes; + public Builder routes(List routes) { + this.routes = Objects.requireNonNull(routes); return this; } public Builder routes(String... routes) { @@ -130,7 +110,6 @@ public Builder transitGatewayId(String transitGatewayId) { } public TransitGatewayAttachmentAws build() { final var o = new TransitGatewayAttachmentAws(); - o.enableCustomRoutes = enableCustomRoutes; o.ramResourceShareArn = ramResourceShareArn; o.routes = routes; o.transitGatewayAttachmentId = transitGatewayAttachmentId; diff --git a/sdk/nodejs/apiKey.ts b/sdk/nodejs/apiKey.ts index 46703dcf..535bba18 100644 --- a/sdk/nodejs/apiKey.ts +++ b/sdk/nodejs/apiKey.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; /** * ## Import * - * You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Kafka API Key + * You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Cluster API Key * * ```sh * $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV" @@ -64,7 +64,7 @@ export class ApiKey extends pulumi.CustomResource { */ public readonly displayName!: pulumi.Output; /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. */ public readonly managedResource!: pulumi.Output; /** @@ -131,7 +131,7 @@ export interface ApiKeyState { */ displayName?: pulumi.Input; /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. */ managedResource?: pulumi.Input; /** @@ -161,7 +161,7 @@ export interface ApiKeyArgs { */ displayName?: pulumi.Input; /** - * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. */ managedResource?: pulumi.Input; /** diff --git a/sdk/nodejs/config/vars.ts b/sdk/nodejs/config/vars.ts index 0898a599..660ae7a1 100644 --- a/sdk/nodejs/config/vars.ts +++ b/sdk/nodejs/config/vars.ts @@ -62,6 +62,17 @@ Object.defineProperty(exports, "kafkaApiSecret", { enumerable: true, }); +/** + * The Kafka Cluster ID. + */ +export declare const kafkaId: string | undefined; +Object.defineProperty(exports, "kafkaId", { + get() { + return __config.get("kafkaId"); + }, + enumerable: true, +}); + /** * The Kafka Cluster REST Endpoint. */ @@ -84,3 +95,47 @@ Object.defineProperty(exports, "maxRetries", { enumerable: true, }); +/** + * The Schema Registry Cluster API Key. + */ +export declare const schemaRegistryApiKey: string | undefined; +Object.defineProperty(exports, "schemaRegistryApiKey", { + get() { + return __config.get("schemaRegistryApiKey"); + }, + enumerable: true, +}); + +/** + * The Schema Registry Cluster API Secret. + */ +export declare const schemaRegistryApiSecret: string | undefined; +Object.defineProperty(exports, "schemaRegistryApiSecret", { + get() { + return __config.get("schemaRegistryApiSecret"); + }, + enumerable: true, +}); + +/** + * The Schema Registry Cluster ID. + */ +export declare const schemaRegistryId: string | undefined; +Object.defineProperty(exports, "schemaRegistryId", { + get() { + return __config.get("schemaRegistryId"); + }, + enumerable: true, +}); + +/** + * The Schema Registry Cluster REST Endpoint. + */ +export declare const schemaRegistryRestEndpoint: string | undefined; +Object.defineProperty(exports, "schemaRegistryRestEndpoint", { + get() { + return __config.get("schemaRegistryRestEndpoint"); + }, + enumerable: true, +}); + diff --git a/sdk/nodejs/getEnvironment.ts b/sdk/nodejs/getEnvironment.ts index 4173c291..4a9f3739 100644 --- a/sdk/nodejs/getEnvironment.ts +++ b/sdk/nodejs/getEnvironment.ts @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; */ export function getEnvironment(args?: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getEnvironment:getEnvironment", { "displayName": args.displayName, "id": args.id, @@ -76,9 +73,36 @@ export interface GetEnvironmentResult { */ readonly resourceName: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.Environment` describes an Environment data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdEnvironment = confluentcloud.getEnvironment({ + * id: "env-abc123", + * }); + * export const exampleUsingId = exampleUsingIdEnvironment; + * const exampleUsingNameEnvironment = confluentcloud.getEnvironment({ + * displayName: "stag", + * }); + * const exampleUsingNameServiceAccount = confluentcloud.getServiceAccount({ + * displayName: "test_sa", + * }); + * const test_role_binding = new confluentcloud.RoleBinding("test-role-binding", { + * principal: exampleUsingNameServiceAccount.then(exampleUsingNameServiceAccount => `User:${exampleUsingNameServiceAccount.id}`), + * roleName: "EnvironmentAdmin", + * crnPattern: exampleUsingNameEnvironment.then(exampleUsingNameEnvironment => exampleUsingNameEnvironment.resourceName), + * }); + * ``` + */ export function getEnvironmentOutput(args?: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getEnvironment(a, opts)) + return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) } /** diff --git a/sdk/nodejs/getIdentityPool.ts b/sdk/nodejs/getIdentityPool.ts index 40bf7afa..7fbf2b3f 100644 --- a/sdk/nodejs/getIdentityPool.ts +++ b/sdk/nodejs/getIdentityPool.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` describes an Identity Pool data source. * @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getIdentityPool(args: GetIdentityPoolArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getIdentityPool:getIdentityPool", { "displayName": args.displayName, "id": args.id, @@ -58,6 +55,9 @@ export interface GetIdentityPoolArgs { * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. */ id?: string; + /** + * (Required Configuration Block) supports the following: + */ identityProvider: inputs.GetIdentityPoolIdentityProvider; } @@ -85,11 +85,40 @@ export interface GetIdentityPoolResult { * (Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see [Registered Claim Names](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1) for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". */ readonly identityClaim: string; + /** + * (Required Configuration Block) supports the following: + */ readonly identityProvider: outputs.GetIdentityPoolIdentityProvider; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.IdentityPool` describes an Identity Pool data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdIdentityPool = confluentcloud.getIdentityPool({ + * id: "pool-xyz456", + * identityProvider: { + * id: "op-abc123", + * }, + * }); + * export const exampleUsingId = exampleUsingIdIdentityPool; + * const exampleUsingNameIdentityPool = confluentcloud.getIdentityPool({ + * displayName: "My Identity Pool", + * identityProvider: { + * id: "op-abc123", + * }, + * }); + * export const exampleUsingName = exampleUsingNameIdentityPool; + * ``` + */ export function getIdentityPoolOutput(args: GetIdentityPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdentityPool(a, opts)) + return pulumi.output(args).apply((a: any) => getIdentityPool(a, opts)) } /** @@ -104,5 +133,8 @@ export interface GetIdentityPoolOutputArgs { * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. */ id?: pulumi.Input; + /** + * (Required Configuration Block) supports the following: + */ identityProvider: pulumi.Input; } diff --git a/sdk/nodejs/getIdentityProvider.ts b/sdk/nodejs/getIdentityProvider.ts index 1911bf79..3be9e3dc 100644 --- a/sdk/nodejs/getIdentityProvider.ts +++ b/sdk/nodejs/getIdentityProvider.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` describes an Identity Provider data source. * @@ -27,11 +27,8 @@ import * as utilities from "./utilities"; */ export function getIdentityProvider(args?: GetIdentityProviderArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getIdentityProvider:getIdentityProvider", { "displayName": args.displayName, "id": args.id, @@ -77,9 +74,29 @@ export interface GetIdentityProviderResult { */ readonly jwksUri: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.IdentityProvider` describes an Identity Provider data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdIdentityProvider = confluentcloud.getIdentityProvider({ + * id: "op-abc123", + * }); + * export const exampleUsingId = exampleUsingIdIdentityProvider; + * const exampleUsingNameIdentityProvider = confluentcloud.getIdentityProvider({ + * displayName: "My OIDC Provider: Azure AD", + * }); + * export const exampleUsingName = exampleUsingNameIdentityProvider; + * ``` + */ export function getIdentityProviderOutput(args?: GetIdentityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdentityProvider(a, opts)) + return pulumi.output(args).apply((a: any) => getIdentityProvider(a, opts)) } /** diff --git a/sdk/nodejs/getKafkaClientQuota.ts b/sdk/nodejs/getKafkaClientQuota.ts index 0942282b..afe359de 100644 --- a/sdk/nodejs/getKafkaClientQuota.ts +++ b/sdk/nodejs/getKafkaClientQuota.ts @@ -7,10 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. * @@ -29,11 +26,8 @@ import * as utilities from "./utilities"; * ``` */ export function getKafkaClientQuota(args: GetKafkaClientQuotaArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota", { "id": args.id, }, opts); @@ -55,29 +49,54 @@ export interface GetKafkaClientQuotaArgs { export interface GetKafkaClientQuotaResult { /** * (Required String) The description of the Kafka Client Quota. - * - `throughput` (Required Configuration Block) supports the following: */ readonly description: string; /** * (Required String) The name of the Kafka Client Quota. */ readonly displayName: string; + /** + * (Required Configuration Block) supports the following: + */ readonly environments: outputs.GetKafkaClientQuotaEnvironment[]; /** * (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`. */ readonly id: string; + /** + * (Required Configuration Block) supports the following: + */ readonly kafkaClusters: outputs.GetKafkaClientQuotaKafkaCluster[]; /** * (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - * - `kafkaCluster` (Required Configuration Block) supports the following: */ readonly principals: string[]; + /** + * (Required Configuration Block) supports the following: + */ readonly throughputs: outputs.GetKafkaClientQuotaThroughput[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota. + * + * > **Note:** See [Control application usage with Client Quotas](https://docs.confluent.io/cloud/current/clusters/client-quotas.html#control-application-usage-with-client-quotas) for more details. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleKafkaClientQuota = confluentcloud.getKafkaClientQuota({ + * id: "cq-abc123", + * }); + * export const example = exampleKafkaClientQuota; + * ``` + */ export function getKafkaClientQuotaOutput(args: GetKafkaClientQuotaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getKafkaClientQuota(a, opts)) + return pulumi.output(args).apply((a: any) => getKafkaClientQuota(a, opts)) } /** diff --git a/sdk/nodejs/getKafkaCluster.ts b/sdk/nodejs/getKafkaCluster.ts index d5bfa5e3..223a385b 100644 --- a/sdk/nodejs/getKafkaCluster.ts +++ b/sdk/nodejs/getKafkaCluster.ts @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getKafkaCluster(args: GetKafkaClusterArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getKafkaCluster:getKafkaCluster", { "basics": args.basics, "dedicated": args.dedicated, @@ -117,6 +114,9 @@ export interface GetKafkaClusterResult { * (Required String) A kind of the Kafka cluster, for example, `Cluster`. */ readonly kind: string; + /** + * (Optional Configuration Block) supports the following: + */ readonly networks: outputs.GetKafkaClusterNetwork[]; /** * (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`. @@ -135,9 +135,35 @@ export interface GetKafkaClusterResult { */ readonly standards?: outputs.GetKafkaClusterStandard[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.KafkaCluster` describes a Kafka cluster data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingId = confluentcloud.getKafkaCluster({ + * id: "lkc-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * const test_sa = new confluentcloud.ServiceAccount("test-sa", {description: exampleUsingId.then(exampleUsingId => `app_mgr for ${exampleUsingId.displayName}`)}); + * const exampleUsingNameKafkaCluster = confluentcloud.getKafkaCluster({ + * displayName: "basic_kafka_cluster", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNameKafkaCluster; + * ``` + */ export function getKafkaClusterOutput(args: GetKafkaClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getKafkaCluster(a, opts)) + return pulumi.output(args).apply((a: any) => getKafkaCluster(a, opts)) } /** diff --git a/sdk/nodejs/getKafkaTopic.ts b/sdk/nodejs/getKafkaTopic.ts index 830c38d7..68a8820b 100644 --- a/sdk/nodejs/getKafkaTopic.ts +++ b/sdk/nodejs/getKafkaTopic.ts @@ -6,37 +6,9 @@ import * as inputs from "./types/input"; import * as outputs from "./types/output"; import * as utilities from "./utilities"; -/** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaTopic` describes a Kafka Topic data source. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as confluentcloud from "@pulumi/confluentcloud"; - * - * const orders = confluentcloud.getKafkaTopic({ - * kafkaCluster: { - * id: confluent_kafka_cluster["basic-cluster"].id, - * }, - * topicName: "orders", - * restEndpoint: confluent_kafka_cluster["basic-cluster"].rest_endpoint, - * credentials: { - * key: "", - * secret: "", - * }, - * }); - * export const config = orders.then(orders => orders.config); - * ``` - */ export function getKafkaTopic(args: GetKafkaTopicArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getKafkaTopic:getKafkaTopic", { "credentials": args.credentials, "kafkaCluster": args.kafkaCluster, @@ -50,7 +22,7 @@ export function getKafkaTopic(args: GetKafkaTopicArgs, opts?: pulumi.InvokeOptio */ export interface GetKafkaTopicArgs { credentials?: inputs.GetKafkaTopicCredentials; - kafkaCluster: inputs.GetKafkaTopicKafkaCluster; + kafkaCluster?: inputs.GetKafkaTopicKafkaCluster; /** * The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). */ @@ -74,7 +46,7 @@ export interface GetKafkaTopicResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; - readonly kafkaCluster: outputs.GetKafkaTopicKafkaCluster; + readonly kafkaCluster?: outputs.GetKafkaTopicKafkaCluster; /** * (Required Number) The number of partitions to create in the topic. Defaults to `6`. */ @@ -82,9 +54,8 @@ export interface GetKafkaTopicResult { readonly restEndpoint: string; readonly topicName: string; } - export function getKafkaTopicOutput(args: GetKafkaTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getKafkaTopic(a, opts)) + return pulumi.output(args).apply((a: any) => getKafkaTopic(a, opts)) } /** @@ -92,7 +63,7 @@ export function getKafkaTopicOutput(args: GetKafkaTopicOutputArgs, opts?: pulumi */ export interface GetKafkaTopicOutputArgs { credentials?: pulumi.Input; - kafkaCluster: pulumi.Input; + kafkaCluster?: pulumi.Input; /** * The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). */ diff --git a/sdk/nodejs/getKsqlCluster.ts b/sdk/nodejs/getKsqlCluster.ts index 7ae6cea8..c2742067 100644 --- a/sdk/nodejs/getKsqlCluster.ts +++ b/sdk/nodejs/getKsqlCluster.ts @@ -36,11 +36,8 @@ import * as utilities from "./utilities"; * ``` */ export function getKsqlCluster(args: GetKsqlClusterArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getKsqlCluster:getKsqlCluster", { "displayName": args.displayName, "environment": args.environment, @@ -71,10 +68,12 @@ export interface GetKsqlClusterResult { * (Required String) An API Version of the schema version of the ksqlDB cluster, for example, `ksqldbcm/v2`. */ readonly apiVersion: string; + /** + * (Optional Configuration Block) supports the following: + */ readonly credentialIdentities: outputs.GetKsqlClusterCredentialIdentity[]; /** * (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - * - `useDetailedProcessingLog` (Optional Boolean) Controls whether the row data should be included in the processing log topic. */ readonly csu: number; readonly displayName: string; @@ -83,6 +82,9 @@ export interface GetKsqlClusterResult { * (Required String) The ID of the service or user account that the ksqlDB cluster belongs to, for example, `sa-abc123`. */ readonly id: string; + /** + * (Optional Configuration Block) supports the following: + */ readonly kafkaClusters: outputs.GetKsqlClusterKafkaCluster[]; /** * (Required String) A kind of the ksqlDB cluster, for example, `Cluster`. @@ -94,9 +96,6 @@ export interface GetKsqlClusterResult { readonly resourceName: string; /** * (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - * - `kafkaCluster` (Optional Configuration Block) supports the following: - * - * @deprecated use rest_endpoint instead */ readonly restEndpoint: string; /** @@ -107,11 +106,42 @@ export interface GetKsqlClusterResult { * (Required String) Topic name prefix used by this ksqlDB cluster. Used to assign ACLs for this ksqlDB cluster to use, for example, `pksqlc-00000`. */ readonly topicPrefix: string; + /** + * (Optional Boolean) Controls whether the row data should be included in the processing log topic. + */ readonly useDetailedProcessingLog: boolean; } - +/** + * ## # confluentcloud.KsqlCluster Data Source + * + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.KsqlCluster` describes a ksqlDB cluster data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdKsqlCluster = confluentcloud.getKsqlCluster({ + * id: "lksqlc-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingId = exampleUsingIdKsqlCluster; + * const exampleUsingNameKsqlCluster = confluentcloud.getKsqlCluster({ + * displayName: "ksqldb_cluster", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNameKsqlCluster; + * ``` + */ export function getKsqlClusterOutput(args: GetKsqlClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getKsqlCluster(a, opts)) + return pulumi.output(args).apply((a: any) => getKsqlCluster(a, opts)) } /** diff --git a/sdk/nodejs/getNetwork.ts b/sdk/nodejs/getNetwork.ts index 191ae6d5..91d77434 100644 --- a/sdk/nodejs/getNetwork.ts +++ b/sdk/nodejs/getNetwork.ts @@ -34,15 +34,13 @@ import * as utilities from "./utilities"; * ``` */ export function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getNetwork:getNetwork", { "aws": args.aws, "azures": args.azures, "displayName": args.displayName, + "dnsConfigs": args.dnsConfigs, "environment": args.environment, "gcps": args.gcps, "id": args.id, @@ -65,6 +63,10 @@ export interface GetNetworkArgs { * A human-readable name for the Network. */ displayName?: string; + /** + * (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + */ + dnsConfigs?: inputs.GetNetworkDnsConfig[]; environment: inputs.GetNetworkEnvironment; /** * (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -104,6 +106,10 @@ export interface GetNetworkResult { * (Required String) The name of the Network. */ readonly displayName: string; + /** + * (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + */ + readonly dnsConfigs: outputs.GetNetworkDnsConfig[]; readonly dnsDomain: string; readonly environment: outputs.GetNetworkEnvironment; /** @@ -125,16 +131,43 @@ export interface GetNetworkResult { readonly zonalSubdomains: {[key: string]: string}; /** * (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. */ readonly zones: string[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.Network` describes a Network data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingId = confluentcloud.getNetwork({ + * id: "n-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * const test_sa = new confluentcloud.ServiceAccount("test-sa", {description: exampleUsingId.then(exampleUsingId => `test_sa for ${exampleUsingId.displayName}`)}); + * const exampleUsingNameNetwork = confluentcloud.getNetwork({ + * displayName: "my_network", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNameNetwork; + * ``` + */ export function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getNetwork(a, opts)) + return pulumi.output(args).apply((a: any) => getNetwork(a, opts)) } /** @@ -153,6 +186,10 @@ export interface GetNetworkOutputArgs { * A human-readable name for the Network. */ displayName?: pulumi.Input; + /** + * (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + */ + dnsConfigs?: pulumi.Input[]>; environment: pulumi.Input; /** * (Optional Configuration Block) The GCP-specific network details if available. It supports the following: diff --git a/sdk/nodejs/getOrganization.ts b/sdk/nodejs/getOrganization.ts index 2920056b..c3a0825e 100644 --- a/sdk/nodejs/getOrganization.ts +++ b/sdk/nodejs/getOrganization.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrganization(opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getOrganization:getOrganization", { }, opts); } diff --git a/sdk/nodejs/getPeering.ts b/sdk/nodejs/getPeering.ts index 7681db8c..e9932ab4 100644 --- a/sdk/nodejs/getPeering.ts +++ b/sdk/nodejs/getPeering.ts @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getPeering(args: GetPeeringArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getPeering:getPeering", { "displayName": args.displayName, "environment": args.environment, @@ -54,6 +51,9 @@ export interface GetPeeringArgs { * A human-readable name for the Peering. */ displayName?: string; + /** + * (Required Configuration Block) supports the following: + */ environment: inputs.GetPeeringEnvironment; /** * The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. @@ -75,9 +75,11 @@ export interface GetPeeringResult { readonly azures: outputs.GetPeeringAzure[]; /** * (Optional String) The name of the Peering. - * - `environment` (Required Configuration Block) supports the following: */ readonly displayName: string; + /** + * (Required Configuration Block) supports the following: + */ readonly environment: outputs.GetPeeringEnvironment; /** * (Optional Configuration Block) The Azure-specific Peering details if available. It supports the following: @@ -87,11 +89,40 @@ export interface GetPeeringResult { * (Required String) The ID of the Network that the Peering belongs to, for example, `n-abc123`. */ readonly id: string; + /** + * (Required Configuration Block) supports the following: + */ readonly networks: outputs.GetPeeringNetwork[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.Peering` describes a Peering data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdPeering = confluentcloud.getPeering({ + * id: "peer-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingId = exampleUsingIdPeering; + * const exampleUsingNamePeering = confluentcloud.getPeering({ + * displayName: "my_peering", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNamePeering; + * ``` + */ export function getPeeringOutput(args: GetPeeringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getPeering(a, opts)) + return pulumi.output(args).apply((a: any) => getPeering(a, opts)) } /** @@ -102,6 +133,9 @@ export interface GetPeeringOutputArgs { * A human-readable name for the Peering. */ displayName?: pulumi.Input; + /** + * (Required Configuration Block) supports the following: + */ environment: pulumi.Input; /** * The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. diff --git a/sdk/nodejs/getPrivateLinkAccess.ts b/sdk/nodejs/getPrivateLinkAccess.ts index cabd7a99..ebf7d305 100644 --- a/sdk/nodejs/getPrivateLinkAccess.ts +++ b/sdk/nodejs/getPrivateLinkAccess.ts @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getPrivateLinkAccess(args: GetPrivateLinkAccessArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getPrivateLinkAccess:getPrivateLinkAccess", { "displayName": args.displayName, "environment": args.environment, @@ -54,6 +51,9 @@ export interface GetPrivateLinkAccessArgs { * A human-readable name for the Private Link Access. */ displayName?: string; + /** + * (Required Configuration Block) supports the following: + */ environment: inputs.GetPrivateLinkAccessEnvironment; /** * The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. @@ -75,9 +75,11 @@ export interface GetPrivateLinkAccessResult { readonly azures: outputs.GetPrivateLinkAccessAzure[]; /** * (Optional String) The name of the Private Link Access. - * - `environment` (Required Configuration Block) supports the following: */ readonly displayName: string; + /** + * (Required Configuration Block) supports the following: + */ readonly environment: outputs.GetPrivateLinkAccessEnvironment; /** * (Optional Configuration Block) The GCP-specific Private Service Connect details if available. It supports the following: @@ -87,11 +89,40 @@ export interface GetPrivateLinkAccessResult { * (Required String) The ID of the Network that the Private Link Access belongs to, for example, `n-abc123`. */ readonly id: string; + /** + * (Required Configuration Block) supports the following: + */ readonly networks: outputs.GetPrivateLinkAccessNetwork[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.PrivateLinkAccess` describes a Private Link Access data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdPrivateLinkAccess = confluentcloud.getPrivateLinkAccess({ + * id: "pla-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingId = exampleUsingIdPrivateLinkAccess; + * const exampleUsingNamePrivateLinkAccess = confluentcloud.getPrivateLinkAccess({ + * displayName: "my_pla", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNamePrivateLinkAccess; + * ``` + */ export function getPrivateLinkAccessOutput(args: GetPrivateLinkAccessOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getPrivateLinkAccess(a, opts)) + return pulumi.output(args).apply((a: any) => getPrivateLinkAccess(a, opts)) } /** @@ -102,6 +133,9 @@ export interface GetPrivateLinkAccessOutputArgs { * A human-readable name for the Private Link Access. */ displayName?: pulumi.Input; + /** + * (Required Configuration Block) supports the following: + */ environment: pulumi.Input; /** * The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. diff --git a/sdk/nodejs/getRoleBinding.ts b/sdk/nodejs/getRoleBinding.ts index 538484e0..d3b5ffe3 100644 --- a/sdk/nodejs/getRoleBinding.ts +++ b/sdk/nodejs/getRoleBinding.ts @@ -22,11 +22,8 @@ import * as utilities from "./utilities"; * ``` */ export function getRoleBinding(args: GetRoleBindingArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getRoleBinding:getRoleBinding", { "id": args.id, }, opts); @@ -60,9 +57,25 @@ export interface GetRoleBindingResult { */ readonly roleName: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.RoleBinding` describes a Role Binding. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleRoleBinding = confluentcloud.getRoleBinding({ + * id: "rb-abc123", + * }); + * export const example = exampleRoleBinding; + * ``` + */ export function getRoleBindingOutput(args: GetRoleBindingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getRoleBinding(a, opts)) + return pulumi.output(args).apply((a: any) => getRoleBinding(a, opts)) } /** diff --git a/sdk/nodejs/getSchema.ts b/sdk/nodejs/getSchema.ts new file mode 100644 index 00000000..157dec28 --- /dev/null +++ b/sdk/nodejs/getSchema.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("confluentcloud:index/getSchema:getSchema", { + "credentials": args.credentials, + "restEndpoint": args.restEndpoint, + "schemaIdentifier": args.schemaIdentifier, + "schemaRegistryCluster": args.schemaRegistryCluster, + "subjectName": args.subjectName, + }, opts); +} + +/** + * A collection of arguments for invoking getSchema. + */ +export interface GetSchemaArgs { + credentials?: inputs.GetSchemaCredentials; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: string; + /** + * The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + */ + schemaIdentifier: number; + schemaRegistryCluster?: inputs.GetSchemaSchemaRegistryCluster; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + */ + subjectName: string; +} + +/** + * A collection of values returned by getSchema. + */ +export interface GetSchemaResult { + readonly credentials?: outputs.GetSchemaCredentials; + /** + * (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + */ + readonly format: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly restEndpoint?: string; + /** + * (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + */ + readonly schema: string; + readonly schemaIdentifier: number; + /** + * (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + */ + readonly schemaReferences: outputs.GetSchemaSchemaReference[]; + readonly schemaRegistryCluster?: outputs.GetSchemaSchemaRegistryCluster; + /** + * (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + readonly subjectName: string; + /** + * (Required Integer) The version of the Schema, for example, `4`. + */ + readonly version: number; +} +export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSchema(a, opts)) +} + +/** + * A collection of arguments for invoking getSchema. + */ +export interface GetSchemaOutputArgs { + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + /** + * The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + */ + schemaIdentifier: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/getSchemaRegistryCluster.ts b/sdk/nodejs/getSchemaRegistryCluster.ts index 0643f73a..6dc3c6c7 100644 --- a/sdk/nodejs/getSchemaRegistryCluster.ts +++ b/sdk/nodejs/getSchemaRegistryCluster.ts @@ -34,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getSchemaRegistryCluster(args: GetSchemaRegistryClusterArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryCluster:getSchemaRegistryCluster", { "displayName": args.displayName, "environment": args.environment, @@ -81,9 +78,11 @@ export interface GetSchemaRegistryClusterResult { readonly kind: string; /** * (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - * - `region` (Required Configuration Block) supports the following: */ readonly package: string; + /** + * (Required Configuration Block) supports the following: + */ readonly regions: outputs.GetSchemaRegistryClusterRegion[]; /** * (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123`. @@ -94,9 +93,35 @@ export interface GetSchemaRegistryClusterResult { */ readonly restEndpoint: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.SchemaRegistryCluster` describes a Schema Registry cluster data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({ + * id: "lsrc-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingId = exampleUsingIdSchemaRegistryCluster; + * const exampleUsingNameSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({ + * displayName: "Stream Governance Package", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNameSchemaRegistryCluster; + * ``` + */ export function getSchemaRegistryClusterOutput(args: GetSchemaRegistryClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getSchemaRegistryCluster(a, opts)) + return pulumi.output(args).apply((a: any) => getSchemaRegistryCluster(a, opts)) } /** diff --git a/sdk/nodejs/getSchemaRegistryClusterConfig.ts b/sdk/nodejs/getSchemaRegistryClusterConfig.ts new file mode 100644 index 00000000..b165f9a2 --- /dev/null +++ b/sdk/nodejs/getSchemaRegistryClusterConfig.ts @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export function getSchemaRegistryClusterConfig(args?: GetSchemaRegistryClusterConfigArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", { + "credentials": args.credentials, + "restEndpoint": args.restEndpoint, + "schemaRegistryCluster": args.schemaRegistryCluster, + }, opts); +} + +/** + * A collection of arguments for invoking getSchemaRegistryClusterConfig. + */ +export interface GetSchemaRegistryClusterConfigArgs { + credentials?: inputs.GetSchemaRegistryClusterConfigCredentials; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: string; + schemaRegistryCluster?: inputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster; +} + +/** + * A collection of values returned by getSchemaRegistryClusterConfig. + */ +export interface GetSchemaRegistryClusterConfigResult { + /** + * (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + readonly compatibilityLevel: string; + readonly credentials?: outputs.GetSchemaRegistryClusterConfigCredentials; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly restEndpoint?: string; + readonly schemaRegistryCluster?: outputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster; +} +export function getSchemaRegistryClusterConfigOutput(args?: GetSchemaRegistryClusterConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSchemaRegistryClusterConfig(a, opts)) +} + +/** + * A collection of arguments for invoking getSchemaRegistryClusterConfig. + */ +export interface GetSchemaRegistryClusterConfigOutputArgs { + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} diff --git a/sdk/nodejs/getSchemaRegistryClusterMode.ts b/sdk/nodejs/getSchemaRegistryClusterMode.ts new file mode 100644 index 00000000..bc48ae32 --- /dev/null +++ b/sdk/nodejs/getSchemaRegistryClusterMode.ts @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export function getSchemaRegistryClusterMode(args?: GetSchemaRegistryClusterModeArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", { + "credentials": args.credentials, + "restEndpoint": args.restEndpoint, + "schemaRegistryCluster": args.schemaRegistryCluster, + }, opts); +} + +/** + * A collection of arguments for invoking getSchemaRegistryClusterMode. + */ +export interface GetSchemaRegistryClusterModeArgs { + credentials?: inputs.GetSchemaRegistryClusterModeCredentials; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: string; + schemaRegistryCluster?: inputs.GetSchemaRegistryClusterModeSchemaRegistryCluster; +} + +/** + * A collection of values returned by getSchemaRegistryClusterMode. + */ +export interface GetSchemaRegistryClusterModeResult { + readonly credentials?: outputs.GetSchemaRegistryClusterModeCredentials; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + readonly mode: string; + readonly restEndpoint?: string; + readonly schemaRegistryCluster?: outputs.GetSchemaRegistryClusterModeSchemaRegistryCluster; +} +export function getSchemaRegistryClusterModeOutput(args?: GetSchemaRegistryClusterModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSchemaRegistryClusterMode(a, opts)) +} + +/** + * A collection of arguments for invoking getSchemaRegistryClusterMode. + */ +export interface GetSchemaRegistryClusterModeOutputArgs { + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} diff --git a/sdk/nodejs/getSchemaRegistryRegion.ts b/sdk/nodejs/getSchemaRegistryRegion.ts index 3303a1e3..8f96929f 100644 --- a/sdk/nodejs/getSchemaRegistryRegion.ts +++ b/sdk/nodejs/getSchemaRegistryRegion.ts @@ -24,11 +24,8 @@ import * as utilities from "./utilities"; * ``` */ export function getSchemaRegistryRegion(args: GetSchemaRegistryRegionArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryRegion:getSchemaRegistryRegion", { "cloud": args.cloud, "package": args.package, @@ -66,9 +63,27 @@ export interface GetSchemaRegistryRegionResult { readonly package: string; readonly region: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.getSchemaRegistryRegion` describes a Schema Registry cluster data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleSchemaRegistryRegion = confluentcloud.getSchemaRegistryRegion({ + * cloud: "AWS", + * region: "us-east-2", + * "package": "ESSENTIALS", + * }); + * export const example = exampleSchemaRegistryRegion; + * ``` + */ export function getSchemaRegistryRegionOutput(args: GetSchemaRegistryRegionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getSchemaRegistryRegion(a, opts)) + return pulumi.output(args).apply((a: any) => getSchemaRegistryRegion(a, opts)) } /** diff --git a/sdk/nodejs/getServiceAccount.ts b/sdk/nodejs/getServiceAccount.ts index 05f7f3e4..7e55b368 100644 --- a/sdk/nodejs/getServiceAccount.ts +++ b/sdk/nodejs/getServiceAccount.ts @@ -27,11 +27,8 @@ import * as utilities from "./utilities"; */ export function getServiceAccount(args?: GetServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getServiceAccount:getServiceAccount", { "displayName": args.displayName, "id": args.id, @@ -77,9 +74,29 @@ export interface GetServiceAccountResult { */ readonly kind: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.ServiceAccount` describes a Service Account data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdServiceAccount = confluentcloud.getServiceAccount({ + * id: "sa-abc123", + * }); + * export const exampleUsingId = exampleUsingIdServiceAccount; + * const exampleUsingName = confluentcloud.getServiceAccount({ + * displayName: "test_sa", + * }); + * const test_env = new confluentcloud.Environment("test-env", {}); + * ``` + */ export function getServiceAccountOutput(args?: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getServiceAccount(a, opts)) + return pulumi.output(args).apply((a: any) => getServiceAccount(a, opts)) } /** diff --git a/sdk/nodejs/getSubjectConfig.ts b/sdk/nodejs/getSubjectConfig.ts new file mode 100644 index 00000000..0cf264c9 --- /dev/null +++ b/sdk/nodejs/getSubjectConfig.ts @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export function getSubjectConfig(args: GetSubjectConfigArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("confluentcloud:index/getSubjectConfig:getSubjectConfig", { + "credentials": args.credentials, + "restEndpoint": args.restEndpoint, + "schemaRegistryCluster": args.schemaRegistryCluster, + "subjectName": args.subjectName, + }, opts); +} + +/** + * A collection of arguments for invoking getSubjectConfig. + */ +export interface GetSubjectConfigArgs { + credentials?: inputs.GetSubjectConfigCredentials; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: string; + schemaRegistryCluster?: inputs.GetSubjectConfigSchemaRegistryCluster; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: string; +} + +/** + * A collection of values returned by getSubjectConfig. + */ +export interface GetSubjectConfigResult { + /** + * (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + readonly compatibilityLevel: string; + readonly credentials?: outputs.GetSubjectConfigCredentials; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly restEndpoint?: string; + readonly schemaRegistryCluster?: outputs.GetSubjectConfigSchemaRegistryCluster; + readonly subjectName: string; +} +export function getSubjectConfigOutput(args: GetSubjectConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSubjectConfig(a, opts)) +} + +/** + * A collection of arguments for invoking getSubjectConfig. + */ +export interface GetSubjectConfigOutputArgs { + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/getSubjectMode.ts b/sdk/nodejs/getSubjectMode.ts new file mode 100644 index 00000000..3d91f318 --- /dev/null +++ b/sdk/nodejs/getSubjectMode.ts @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export function getSubjectMode(args: GetSubjectModeArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("confluentcloud:index/getSubjectMode:getSubjectMode", { + "credentials": args.credentials, + "restEndpoint": args.restEndpoint, + "schemaRegistryCluster": args.schemaRegistryCluster, + "subjectName": args.subjectName, + }, opts); +} + +/** + * A collection of arguments for invoking getSubjectMode. + */ +export interface GetSubjectModeArgs { + credentials?: inputs.GetSubjectModeCredentials; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: string; + schemaRegistryCluster?: inputs.GetSubjectModeSchemaRegistryCluster; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: string; +} + +/** + * A collection of values returned by getSubjectMode. + */ +export interface GetSubjectModeResult { + readonly credentials?: outputs.GetSubjectModeCredentials; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + readonly mode: string; + readonly restEndpoint?: string; + readonly schemaRegistryCluster?: outputs.GetSubjectModeSchemaRegistryCluster; + readonly subjectName: string; +} +export function getSubjectModeOutput(args: GetSubjectModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSubjectMode(a, opts)) +} + +/** + * A collection of arguments for invoking getSubjectMode. + */ +export interface GetSubjectModeOutputArgs { + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/getTransitGatewayAttachment.ts b/sdk/nodejs/getTransitGatewayAttachment.ts index abd443c4..e4cda47d 100644 --- a/sdk/nodejs/getTransitGatewayAttachment.ts +++ b/sdk/nodejs/getTransitGatewayAttachment.ts @@ -7,10 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - * - * > **Note:** `confluentcloud.TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\ - * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. * @@ -37,11 +34,8 @@ import * as utilities from "./utilities"; * ``` */ export function getTransitGatewayAttachment(args: GetTransitGatewayAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getTransitGatewayAttachment:getTransitGatewayAttachment", { "displayName": args.displayName, "environment": args.environment, @@ -57,6 +51,9 @@ export interface GetTransitGatewayAttachmentArgs { * A human-readable name for the Transit Gateway Attachment. */ displayName?: string; + /** + * (Required Configuration Block) supports the following: + */ environment: inputs.GetTransitGatewayAttachmentEnvironment; /** * The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. @@ -74,19 +71,50 @@ export interface GetTransitGatewayAttachmentResult { readonly aws: outputs.GetTransitGatewayAttachmentAw[]; /** * (Required String) The name of the Transit Gateway Attachment. - * - `environment` (Required Configuration Block) supports the following: */ readonly displayName: string; + /** + * (Required Configuration Block) supports the following: + */ readonly environment: outputs.GetTransitGatewayAttachmentEnvironment; /** * (Required String) The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. */ readonly id: string; + /** + * (Required Configuration Block) supports the following: + */ readonly networks: outputs.GetTransitGatewayAttachmentNetwork[]; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.TransitGatewayAttachment` describes a Transit Gateway Attachment data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({ + * id: "tgwa-abc123", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingId = exampleUsingIdTransitGatewayAttachment; + * const exampleUsingNameTransitGatewayAttachment = confluentcloud.getTransitGatewayAttachment({ + * displayName: "my_tgwa", + * environment: { + * id: "env-xyz456", + * }, + * }); + * export const exampleUsingName = exampleUsingNameTransitGatewayAttachment; + * ``` + */ export function getTransitGatewayAttachmentOutput(args: GetTransitGatewayAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getTransitGatewayAttachment(a, opts)) + return pulumi.output(args).apply((a: any) => getTransitGatewayAttachment(a, opts)) } /** @@ -97,6 +125,9 @@ export interface GetTransitGatewayAttachmentOutputArgs { * A human-readable name for the Transit Gateway Attachment. */ displayName?: pulumi.Input; + /** + * (Required Configuration Block) supports the following: + */ environment: pulumi.Input; /** * The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 198bda13..5952359b 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -44,11 +44,8 @@ import * as utilities from "./utilities"; */ export function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getUser:getUser", { "email": args.email, "fullName": args.fullName, @@ -99,9 +96,46 @@ export interface GetUserResult { */ readonly kind: string; } - +/** + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) + * + * `confluentcloud.getUser` describes a User data source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as confluentcloud from "@pulumi/confluentcloud"; + * + * const exampleUsingIdUser = confluentcloud.getUser({ + * id: "u-abc123", + * }); + * export const exampleUsingId = exampleUsingIdUser; + * const exampleUsingEmail = confluentcloud.getUser({ + * email: "test123@gmail.com", + * }); + * const test_env = new confluentcloud.Environment("test-env", {}); + * const standard_cluster_on_aws = new confluentcloud.KafkaCluster("standard-cluster-on-aws", { + * availability: "SINGLE_ZONE", + * cloud: "AWS", + * region: "us-west-2", + * standard: {}, + * environment: { + * id: test_env.id, + * }, + * }); + * const test_role_binding = new confluentcloud.RoleBinding("test-role-binding", { + * principal: exampleUsingEmail.then(exampleUsingEmail => `User:${exampleUsingEmail.id}`), + * roleName: "CloudClusterAdmin", + * crnPattern: standard_cluster_on_aws.rbacCrn, + * }); + * const exampleUsingFullName = confluentcloud.getUser({ + * fullName: "John Doe", + * }); + * ``` + */ export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getUser(a, opts)) + return pulumi.output(args).apply((a: any) => getUser(a, opts)) } /** diff --git a/sdk/nodejs/identityPool.ts b/sdk/nodejs/identityPool.ts index 9e5589be..8e1cfe63 100644 --- a/sdk/nodejs/identityPool.ts +++ b/sdk/nodejs/identityPool.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. * diff --git a/sdk/nodejs/identityProvider.ts b/sdk/nodejs/identityProvider.ts index c9d6ff54..bdf1c05e 100644 --- a/sdk/nodejs/identityProvider.ts +++ b/sdk/nodejs/identityProvider.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) * * `confluentcloud.IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. * @@ -14,9 +14,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as confluent from "@pulumi/confluent"; + * import * as confluentcloud from "@pulumi/confluentcloud"; * - * const azure = new confluent.IdentityProvider("azure", { + * const azure = new confluentcloud.IdentityProvider("azure", { * description: "My description", * displayName: "My OIDC Provider: Azure AD", * issuer: "https://login.microsoftonline.com/{tenant_id}/v2.0", @@ -27,9 +27,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as confluent from "@pulumi/confluent"; + * import * as confluentcloud from "@pulumi/confluentcloud"; * - * const okta = new confluent.IdentityProvider("okta", { + * const okta = new confluentcloud.IdentityProvider("okta", { * description: "My description", * displayName: "My OIDC Provider: Okta", * issuer: "https://mycompany.okta.com/oauth2/default", diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index e389d71c..bb7e5b3e 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -8,193 +8,243 @@ import * as utilities from "./utilities"; export { ApiKeyArgs, ApiKeyState } from "./apiKey"; export type ApiKey = import("./apiKey").ApiKey; export const ApiKey: typeof import("./apiKey").ApiKey = null as any; +utilities.lazyLoad(exports, ["ApiKey"], () => require("./apiKey")); export { ClusterLinkArgs, ClusterLinkState } from "./clusterLink"; export type ClusterLink = import("./clusterLink").ClusterLink; export const ClusterLink: typeof import("./clusterLink").ClusterLink = null as any; +utilities.lazyLoad(exports, ["ClusterLink"], () => require("./clusterLink")); export { ConnectorArgs, ConnectorState } from "./connector"; export type Connector = import("./connector").Connector; export const Connector: typeof import("./connector").Connector = null as any; +utilities.lazyLoad(exports, ["Connector"], () => require("./connector")); export { EnvironmentArgs, EnvironmentState } from "./environment"; export type Environment = import("./environment").Environment; export const Environment: typeof import("./environment").Environment = null as any; +utilities.lazyLoad(exports, ["Environment"], () => require("./environment")); export { GetEnvironmentArgs, GetEnvironmentResult, GetEnvironmentOutputArgs } from "./getEnvironment"; export const getEnvironment: typeof import("./getEnvironment").getEnvironment = null as any; export const getEnvironmentOutput: typeof import("./getEnvironment").getEnvironmentOutput = null as any; +utilities.lazyLoad(exports, ["getEnvironment","getEnvironmentOutput"], () => require("./getEnvironment")); export { GetIdentityPoolArgs, GetIdentityPoolResult, GetIdentityPoolOutputArgs } from "./getIdentityPool"; export const getIdentityPool: typeof import("./getIdentityPool").getIdentityPool = null as any; export const getIdentityPoolOutput: typeof import("./getIdentityPool").getIdentityPoolOutput = null as any; +utilities.lazyLoad(exports, ["getIdentityPool","getIdentityPoolOutput"], () => require("./getIdentityPool")); export { GetIdentityProviderArgs, GetIdentityProviderResult, GetIdentityProviderOutputArgs } from "./getIdentityProvider"; export const getIdentityProvider: typeof import("./getIdentityProvider").getIdentityProvider = null as any; export const getIdentityProviderOutput: typeof import("./getIdentityProvider").getIdentityProviderOutput = null as any; +utilities.lazyLoad(exports, ["getIdentityProvider","getIdentityProviderOutput"], () => require("./getIdentityProvider")); export { GetKafkaClientQuotaArgs, GetKafkaClientQuotaResult, GetKafkaClientQuotaOutputArgs } from "./getKafkaClientQuota"; export const getKafkaClientQuota: typeof import("./getKafkaClientQuota").getKafkaClientQuota = null as any; export const getKafkaClientQuotaOutput: typeof import("./getKafkaClientQuota").getKafkaClientQuotaOutput = null as any; +utilities.lazyLoad(exports, ["getKafkaClientQuota","getKafkaClientQuotaOutput"], () => require("./getKafkaClientQuota")); export { GetKafkaClusterArgs, GetKafkaClusterResult, GetKafkaClusterOutputArgs } from "./getKafkaCluster"; export const getKafkaCluster: typeof import("./getKafkaCluster").getKafkaCluster = null as any; export const getKafkaClusterOutput: typeof import("./getKafkaCluster").getKafkaClusterOutput = null as any; +utilities.lazyLoad(exports, ["getKafkaCluster","getKafkaClusterOutput"], () => require("./getKafkaCluster")); export { GetKafkaTopicArgs, GetKafkaTopicResult, GetKafkaTopicOutputArgs } from "./getKafkaTopic"; export const getKafkaTopic: typeof import("./getKafkaTopic").getKafkaTopic = null as any; export const getKafkaTopicOutput: typeof import("./getKafkaTopic").getKafkaTopicOutput = null as any; +utilities.lazyLoad(exports, ["getKafkaTopic","getKafkaTopicOutput"], () => require("./getKafkaTopic")); export { GetKsqlClusterArgs, GetKsqlClusterResult, GetKsqlClusterOutputArgs } from "./getKsqlCluster"; export const getKsqlCluster: typeof import("./getKsqlCluster").getKsqlCluster = null as any; export const getKsqlClusterOutput: typeof import("./getKsqlCluster").getKsqlClusterOutput = null as any; +utilities.lazyLoad(exports, ["getKsqlCluster","getKsqlClusterOutput"], () => require("./getKsqlCluster")); export { GetNetworkArgs, GetNetworkResult, GetNetworkOutputArgs } from "./getNetwork"; export const getNetwork: typeof import("./getNetwork").getNetwork = null as any; export const getNetworkOutput: typeof import("./getNetwork").getNetworkOutput = null as any; +utilities.lazyLoad(exports, ["getNetwork","getNetworkOutput"], () => require("./getNetwork")); export { GetOrganizationResult } from "./getOrganization"; export const getOrganization: typeof import("./getOrganization").getOrganization = null as any; +utilities.lazyLoad(exports, ["getOrganization"], () => require("./getOrganization")); export { GetPeeringArgs, GetPeeringResult, GetPeeringOutputArgs } from "./getPeering"; export const getPeering: typeof import("./getPeering").getPeering = null as any; export const getPeeringOutput: typeof import("./getPeering").getPeeringOutput = null as any; +utilities.lazyLoad(exports, ["getPeering","getPeeringOutput"], () => require("./getPeering")); export { GetPrivateLinkAccessArgs, GetPrivateLinkAccessResult, GetPrivateLinkAccessOutputArgs } from "./getPrivateLinkAccess"; export const getPrivateLinkAccess: typeof import("./getPrivateLinkAccess").getPrivateLinkAccess = null as any; export const getPrivateLinkAccessOutput: typeof import("./getPrivateLinkAccess").getPrivateLinkAccessOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateLinkAccess","getPrivateLinkAccessOutput"], () => require("./getPrivateLinkAccess")); export { GetRoleBindingArgs, GetRoleBindingResult, GetRoleBindingOutputArgs } from "./getRoleBinding"; export const getRoleBinding: typeof import("./getRoleBinding").getRoleBinding = null as any; export const getRoleBindingOutput: typeof import("./getRoleBinding").getRoleBindingOutput = null as any; +utilities.lazyLoad(exports, ["getRoleBinding","getRoleBindingOutput"], () => require("./getRoleBinding")); + +export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema"; +export const getSchema: typeof import("./getSchema").getSchema = null as any; +export const getSchemaOutput: typeof import("./getSchema").getSchemaOutput = null as any; +utilities.lazyLoad(exports, ["getSchema","getSchemaOutput"], () => require("./getSchema")); export { GetSchemaRegistryClusterArgs, GetSchemaRegistryClusterResult, GetSchemaRegistryClusterOutputArgs } from "./getSchemaRegistryCluster"; export const getSchemaRegistryCluster: typeof import("./getSchemaRegistryCluster").getSchemaRegistryCluster = null as any; export const getSchemaRegistryClusterOutput: typeof import("./getSchemaRegistryCluster").getSchemaRegistryClusterOutput = null as any; +utilities.lazyLoad(exports, ["getSchemaRegistryCluster","getSchemaRegistryClusterOutput"], () => require("./getSchemaRegistryCluster")); + +export { GetSchemaRegistryClusterConfigArgs, GetSchemaRegistryClusterConfigResult, GetSchemaRegistryClusterConfigOutputArgs } from "./getSchemaRegistryClusterConfig"; +export const getSchemaRegistryClusterConfig: typeof import("./getSchemaRegistryClusterConfig").getSchemaRegistryClusterConfig = null as any; +export const getSchemaRegistryClusterConfigOutput: typeof import("./getSchemaRegistryClusterConfig").getSchemaRegistryClusterConfigOutput = null as any; +utilities.lazyLoad(exports, ["getSchemaRegistryClusterConfig","getSchemaRegistryClusterConfigOutput"], () => require("./getSchemaRegistryClusterConfig")); + +export { GetSchemaRegistryClusterModeArgs, GetSchemaRegistryClusterModeResult, GetSchemaRegistryClusterModeOutputArgs } from "./getSchemaRegistryClusterMode"; +export const getSchemaRegistryClusterMode: typeof import("./getSchemaRegistryClusterMode").getSchemaRegistryClusterMode = null as any; +export const getSchemaRegistryClusterModeOutput: typeof import("./getSchemaRegistryClusterMode").getSchemaRegistryClusterModeOutput = null as any; +utilities.lazyLoad(exports, ["getSchemaRegistryClusterMode","getSchemaRegistryClusterModeOutput"], () => require("./getSchemaRegistryClusterMode")); export { GetSchemaRegistryRegionArgs, GetSchemaRegistryRegionResult, GetSchemaRegistryRegionOutputArgs } from "./getSchemaRegistryRegion"; export const getSchemaRegistryRegion: typeof import("./getSchemaRegistryRegion").getSchemaRegistryRegion = null as any; export const getSchemaRegistryRegionOutput: typeof import("./getSchemaRegistryRegion").getSchemaRegistryRegionOutput = null as any; +utilities.lazyLoad(exports, ["getSchemaRegistryRegion","getSchemaRegistryRegionOutput"], () => require("./getSchemaRegistryRegion")); export { GetServiceAccountArgs, GetServiceAccountResult, GetServiceAccountOutputArgs } from "./getServiceAccount"; export const getServiceAccount: typeof import("./getServiceAccount").getServiceAccount = null as any; export const getServiceAccountOutput: typeof import("./getServiceAccount").getServiceAccountOutput = null as any; +utilities.lazyLoad(exports, ["getServiceAccount","getServiceAccountOutput"], () => require("./getServiceAccount")); + +export { GetSubjectConfigArgs, GetSubjectConfigResult, GetSubjectConfigOutputArgs } from "./getSubjectConfig"; +export const getSubjectConfig: typeof import("./getSubjectConfig").getSubjectConfig = null as any; +export const getSubjectConfigOutput: typeof import("./getSubjectConfig").getSubjectConfigOutput = null as any; +utilities.lazyLoad(exports, ["getSubjectConfig","getSubjectConfigOutput"], () => require("./getSubjectConfig")); + +export { GetSubjectModeArgs, GetSubjectModeResult, GetSubjectModeOutputArgs } from "./getSubjectMode"; +export const getSubjectMode: typeof import("./getSubjectMode").getSubjectMode = null as any; +export const getSubjectModeOutput: typeof import("./getSubjectMode").getSubjectModeOutput = null as any; +utilities.lazyLoad(exports, ["getSubjectMode","getSubjectModeOutput"], () => require("./getSubjectMode")); export { GetTransitGatewayAttachmentArgs, GetTransitGatewayAttachmentResult, GetTransitGatewayAttachmentOutputArgs } from "./getTransitGatewayAttachment"; export const getTransitGatewayAttachment: typeof import("./getTransitGatewayAttachment").getTransitGatewayAttachment = null as any; export const getTransitGatewayAttachmentOutput: typeof import("./getTransitGatewayAttachment").getTransitGatewayAttachmentOutput = null as any; +utilities.lazyLoad(exports, ["getTransitGatewayAttachment","getTransitGatewayAttachmentOutput"], () => require("./getTransitGatewayAttachment")); export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser"; export const getUser: typeof import("./getUser").getUser = null as any; export const getUserOutput: typeof import("./getUser").getUserOutput = null as any; +utilities.lazyLoad(exports, ["getUser","getUserOutput"], () => require("./getUser")); export { IdentityPoolArgs, IdentityPoolState } from "./identityPool"; export type IdentityPool = import("./identityPool").IdentityPool; export const IdentityPool: typeof import("./identityPool").IdentityPool = null as any; +utilities.lazyLoad(exports, ["IdentityPool"], () => require("./identityPool")); export { IdentityProviderArgs, IdentityProviderState } from "./identityProvider"; export type IdentityProvider = import("./identityProvider").IdentityProvider; export const IdentityProvider: typeof import("./identityProvider").IdentityProvider = null as any; +utilities.lazyLoad(exports, ["IdentityProvider"], () => require("./identityProvider")); export { KafkaAclArgs, KafkaAclState } from "./kafkaAcl"; export type KafkaAcl = import("./kafkaAcl").KafkaAcl; export const KafkaAcl: typeof import("./kafkaAcl").KafkaAcl = null as any; +utilities.lazyLoad(exports, ["KafkaAcl"], () => require("./kafkaAcl")); export { KafkaClientQuotaArgs, KafkaClientQuotaState } from "./kafkaClientQuota"; export type KafkaClientQuota = import("./kafkaClientQuota").KafkaClientQuota; export const KafkaClientQuota: typeof import("./kafkaClientQuota").KafkaClientQuota = null as any; +utilities.lazyLoad(exports, ["KafkaClientQuota"], () => require("./kafkaClientQuota")); export { KafkaClusterArgs, KafkaClusterState } from "./kafkaCluster"; export type KafkaCluster = import("./kafkaCluster").KafkaCluster; export const KafkaCluster: typeof import("./kafkaCluster").KafkaCluster = null as any; +utilities.lazyLoad(exports, ["KafkaCluster"], () => require("./kafkaCluster")); export { KafkaClusterConfigArgs, KafkaClusterConfigState } from "./kafkaClusterConfig"; export type KafkaClusterConfig = import("./kafkaClusterConfig").KafkaClusterConfig; export const KafkaClusterConfig: typeof import("./kafkaClusterConfig").KafkaClusterConfig = null as any; +utilities.lazyLoad(exports, ["KafkaClusterConfig"], () => require("./kafkaClusterConfig")); export { KafkaMirrorTopicArgs, KafkaMirrorTopicState } from "./kafkaMirrorTopic"; export type KafkaMirrorTopic = import("./kafkaMirrorTopic").KafkaMirrorTopic; export const KafkaMirrorTopic: typeof import("./kafkaMirrorTopic").KafkaMirrorTopic = null as any; +utilities.lazyLoad(exports, ["KafkaMirrorTopic"], () => require("./kafkaMirrorTopic")); export { KafkaTopicArgs, KafkaTopicState } from "./kafkaTopic"; export type KafkaTopic = import("./kafkaTopic").KafkaTopic; export const KafkaTopic: typeof import("./kafkaTopic").KafkaTopic = null as any; +utilities.lazyLoad(exports, ["KafkaTopic"], () => require("./kafkaTopic")); export { KsqlClusterArgs, KsqlClusterState } from "./ksqlCluster"; export type KsqlCluster = import("./ksqlCluster").KsqlCluster; export const KsqlCluster: typeof import("./ksqlCluster").KsqlCluster = null as any; +utilities.lazyLoad(exports, ["KsqlCluster"], () => require("./ksqlCluster")); export { NetworkArgs, NetworkState } from "./network"; export type Network = import("./network").Network; export const Network: typeof import("./network").Network = null as any; +utilities.lazyLoad(exports, ["Network"], () => require("./network")); export { PeeringArgs, PeeringState } from "./peering"; export type Peering = import("./peering").Peering; export const Peering: typeof import("./peering").Peering = null as any; +utilities.lazyLoad(exports, ["Peering"], () => require("./peering")); export { PrivateLinkAccessArgs, PrivateLinkAccessState } from "./privateLinkAccess"; export type PrivateLinkAccess = import("./privateLinkAccess").PrivateLinkAccess; export const PrivateLinkAccess: typeof import("./privateLinkAccess").PrivateLinkAccess = null as any; +utilities.lazyLoad(exports, ["PrivateLinkAccess"], () => require("./privateLinkAccess")); export { ProviderArgs } from "./provider"; export type Provider = import("./provider").Provider; export const Provider: typeof import("./provider").Provider = null as any; +utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); export { RoleBindingArgs, RoleBindingState } from "./roleBinding"; export type RoleBinding = import("./roleBinding").RoleBinding; export const RoleBinding: typeof import("./roleBinding").RoleBinding = null as any; +utilities.lazyLoad(exports, ["RoleBinding"], () => require("./roleBinding")); + +export { SchemaArgs, SchemaState } from "./schema"; +export type Schema = import("./schema").Schema; +export const Schema: typeof import("./schema").Schema = null as any; +utilities.lazyLoad(exports, ["Schema"], () => require("./schema")); export { SchemaRegistryClusterArgs, SchemaRegistryClusterState } from "./schemaRegistryCluster"; export type SchemaRegistryCluster = import("./schemaRegistryCluster").SchemaRegistryCluster; export const SchemaRegistryCluster: typeof import("./schemaRegistryCluster").SchemaRegistryCluster = null as any; +utilities.lazyLoad(exports, ["SchemaRegistryCluster"], () => require("./schemaRegistryCluster")); + +export { SchemaRegistryClusterConfigArgs, SchemaRegistryClusterConfigState } from "./schemaRegistryClusterConfig"; +export type SchemaRegistryClusterConfig = import("./schemaRegistryClusterConfig").SchemaRegistryClusterConfig; +export const SchemaRegistryClusterConfig: typeof import("./schemaRegistryClusterConfig").SchemaRegistryClusterConfig = null as any; +utilities.lazyLoad(exports, ["SchemaRegistryClusterConfig"], () => require("./schemaRegistryClusterConfig")); + +export { SchemaRegistryClusterModeArgs, SchemaRegistryClusterModeState } from "./schemaRegistryClusterMode"; +export type SchemaRegistryClusterMode = import("./schemaRegistryClusterMode").SchemaRegistryClusterMode; +export const SchemaRegistryClusterMode: typeof import("./schemaRegistryClusterMode").SchemaRegistryClusterMode = null as any; +utilities.lazyLoad(exports, ["SchemaRegistryClusterMode"], () => require("./schemaRegistryClusterMode")); export { ServiceAccountArgs, ServiceAccountState } from "./serviceAccount"; export type ServiceAccount = import("./serviceAccount").ServiceAccount; export const ServiceAccount: typeof import("./serviceAccount").ServiceAccount = null as any; +utilities.lazyLoad(exports, ["ServiceAccount"], () => require("./serviceAccount")); + +export { SubjectConfigArgs, SubjectConfigState } from "./subjectConfig"; +export type SubjectConfig = import("./subjectConfig").SubjectConfig; +export const SubjectConfig: typeof import("./subjectConfig").SubjectConfig = null as any; +utilities.lazyLoad(exports, ["SubjectConfig"], () => require("./subjectConfig")); + +export { SubjectModeArgs, SubjectModeState } from "./subjectMode"; +export type SubjectMode = import("./subjectMode").SubjectMode; +export const SubjectMode: typeof import("./subjectMode").SubjectMode = null as any; +utilities.lazyLoad(exports, ["SubjectMode"], () => require("./subjectMode")); export { TransitGatewayAttachmentArgs, TransitGatewayAttachmentState } from "./transitGatewayAttachment"; export type TransitGatewayAttachment = import("./transitGatewayAttachment").TransitGatewayAttachment; export const TransitGatewayAttachment: typeof import("./transitGatewayAttachment").TransitGatewayAttachment = null as any; - -utilities.lazyLoad(exports, ["ApiKey"], () => require("./apiKey")); -utilities.lazyLoad(exports, ["ClusterLink"], () => require("./clusterLink")); -utilities.lazyLoad(exports, ["Connector"], () => require("./connector")); -utilities.lazyLoad(exports, ["Environment"], () => require("./environment")); -utilities.lazyLoad(exports, ["getEnvironment","getEnvironmentOutput"], () => require("./getEnvironment")); -utilities.lazyLoad(exports, ["getIdentityPool","getIdentityPoolOutput"], () => require("./getIdentityPool")); -utilities.lazyLoad(exports, ["getIdentityProvider","getIdentityProviderOutput"], () => require("./getIdentityProvider")); -utilities.lazyLoad(exports, ["getKafkaClientQuota","getKafkaClientQuotaOutput"], () => require("./getKafkaClientQuota")); -utilities.lazyLoad(exports, ["getKafkaCluster","getKafkaClusterOutput"], () => require("./getKafkaCluster")); -utilities.lazyLoad(exports, ["getKafkaTopic","getKafkaTopicOutput"], () => require("./getKafkaTopic")); -utilities.lazyLoad(exports, ["getKsqlCluster","getKsqlClusterOutput"], () => require("./getKsqlCluster")); -utilities.lazyLoad(exports, ["getNetwork","getNetworkOutput"], () => require("./getNetwork")); -utilities.lazyLoad(exports, ["getOrganization"], () => require("./getOrganization")); -utilities.lazyLoad(exports, ["getPeering","getPeeringOutput"], () => require("./getPeering")); -utilities.lazyLoad(exports, ["getPrivateLinkAccess","getPrivateLinkAccessOutput"], () => require("./getPrivateLinkAccess")); -utilities.lazyLoad(exports, ["getRoleBinding","getRoleBindingOutput"], () => require("./getRoleBinding")); -utilities.lazyLoad(exports, ["getSchemaRegistryCluster","getSchemaRegistryClusterOutput"], () => require("./getSchemaRegistryCluster")); -utilities.lazyLoad(exports, ["getSchemaRegistryRegion","getSchemaRegistryRegionOutput"], () => require("./getSchemaRegistryRegion")); -utilities.lazyLoad(exports, ["getServiceAccount","getServiceAccountOutput"], () => require("./getServiceAccount")); -utilities.lazyLoad(exports, ["getTransitGatewayAttachment","getTransitGatewayAttachmentOutput"], () => require("./getTransitGatewayAttachment")); -utilities.lazyLoad(exports, ["getUser","getUserOutput"], () => require("./getUser")); -utilities.lazyLoad(exports, ["IdentityPool"], () => require("./identityPool")); -utilities.lazyLoad(exports, ["IdentityProvider"], () => require("./identityProvider")); -utilities.lazyLoad(exports, ["KafkaAcl"], () => require("./kafkaAcl")); -utilities.lazyLoad(exports, ["KafkaClientQuota"], () => require("./kafkaClientQuota")); -utilities.lazyLoad(exports, ["KafkaCluster"], () => require("./kafkaCluster")); -utilities.lazyLoad(exports, ["KafkaClusterConfig"], () => require("./kafkaClusterConfig")); -utilities.lazyLoad(exports, ["KafkaMirrorTopic"], () => require("./kafkaMirrorTopic")); -utilities.lazyLoad(exports, ["KafkaTopic"], () => require("./kafkaTopic")); -utilities.lazyLoad(exports, ["KsqlCluster"], () => require("./ksqlCluster")); -utilities.lazyLoad(exports, ["Network"], () => require("./network")); -utilities.lazyLoad(exports, ["Peering"], () => require("./peering")); -utilities.lazyLoad(exports, ["PrivateLinkAccess"], () => require("./privateLinkAccess")); -utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); -utilities.lazyLoad(exports, ["RoleBinding"], () => require("./roleBinding")); -utilities.lazyLoad(exports, ["SchemaRegistryCluster"], () => require("./schemaRegistryCluster")); -utilities.lazyLoad(exports, ["ServiceAccount"], () => require("./serviceAccount")); utilities.lazyLoad(exports, ["TransitGatewayAttachment"], () => require("./transitGatewayAttachment")); + // Export sub-modules: import * as config from "./config"; import * as types from "./types"; @@ -242,10 +292,20 @@ const _module = { return new PrivateLinkAccess(name, undefined, { urn }) case "confluentcloud:index/roleBinding:RoleBinding": return new RoleBinding(name, undefined, { urn }) + case "confluentcloud:index/schema:Schema": + return new Schema(name, undefined, { urn }) case "confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": return new SchemaRegistryCluster(name, undefined, { urn }) + case "confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig": + return new SchemaRegistryClusterConfig(name, undefined, { urn }) + case "confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode": + return new SchemaRegistryClusterMode(name, undefined, { urn }) case "confluentcloud:index/serviceAccount:ServiceAccount": return new ServiceAccount(name, undefined, { urn }) + case "confluentcloud:index/subjectConfig:SubjectConfig": + return new SubjectConfig(name, undefined, { urn }) + case "confluentcloud:index/subjectMode:SubjectMode": + return new SubjectMode(name, undefined, { urn }) case "confluentcloud:index/transitGatewayAttachment:TransitGatewayAttachment": return new TransitGatewayAttachment(name, undefined, { urn }) default: @@ -270,8 +330,13 @@ pulumi.runtime.registerResourceModule("confluentcloud", "index/network", _module pulumi.runtime.registerResourceModule("confluentcloud", "index/peering", _module) pulumi.runtime.registerResourceModule("confluentcloud", "index/privateLinkAccess", _module) pulumi.runtime.registerResourceModule("confluentcloud", "index/roleBinding", _module) +pulumi.runtime.registerResourceModule("confluentcloud", "index/schema", _module) pulumi.runtime.registerResourceModule("confluentcloud", "index/schemaRegistryCluster", _module) +pulumi.runtime.registerResourceModule("confluentcloud", "index/schemaRegistryClusterConfig", _module) +pulumi.runtime.registerResourceModule("confluentcloud", "index/schemaRegistryClusterMode", _module) pulumi.runtime.registerResourceModule("confluentcloud", "index/serviceAccount", _module) +pulumi.runtime.registerResourceModule("confluentcloud", "index/subjectConfig", _module) +pulumi.runtime.registerResourceModule("confluentcloud", "index/subjectMode", _module) pulumi.runtime.registerResourceModule("confluentcloud", "index/transitGatewayAttachment", _module) pulumi.runtime.registerResourcePackage("confluentcloud", { version: utilities.getVersion(), diff --git a/sdk/nodejs/kafkaAcl.ts b/sdk/nodejs/kafkaAcl.ts index 6e81f9d6..989905b7 100644 --- a/sdk/nodejs/kafkaAcl.ts +++ b/sdk/nodejs/kafkaAcl.ts @@ -9,7 +9,13 @@ import * as utilities from "./utilities"; /** * ## Import * - * You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + * You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" + * ``` + * + * Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" * * ```sh * $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" @@ -53,7 +59,7 @@ export class KafkaAcl extends pulumi.CustomResource { * The host for the ACL. Should be set to `*` for Confluent Cloud. */ public readonly host!: pulumi.Output; - public readonly kafkaCluster!: pulumi.Output; + public readonly kafkaCluster!: pulumi.Output; /** * The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. */ @@ -111,9 +117,6 @@ export class KafkaAcl extends pulumi.CustomResource { if ((!args || args.host === undefined) && !opts.urn) { throw new Error("Missing required property 'host'"); } - if ((!args || args.kafkaCluster === undefined) && !opts.urn) { - throw new Error("Missing required property 'kafkaCluster'"); - } if ((!args || args.operation === undefined) && !opts.urn) { throw new Error("Missing required property 'operation'"); } @@ -205,7 +208,7 @@ export interface KafkaAclArgs { * The host for the ACL. Should be set to `*` for Confluent Cloud. */ host: pulumi.Input; - kafkaCluster: pulumi.Input; + kafkaCluster?: pulumi.Input; /** * The operation type for the ACL. Accepted values are: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS`, `ALTER_CONFIGS`, and `IDEMPOTENT_WRITE`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. */ diff --git a/sdk/nodejs/kafkaClusterConfig.ts b/sdk/nodejs/kafkaClusterConfig.ts index d41242b7..b217158a 100644 --- a/sdk/nodejs/kafkaClusterConfig.ts +++ b/sdk/nodejs/kafkaClusterConfig.ts @@ -7,35 +7,15 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - * - * `confluentcloud.KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. - * - * ## Example Usage + * ## Import * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as confluentcloud from "@pulumi/confluentcloud"; + * You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" * - * const orders = new confluentcloud.KafkaClusterConfig("orders", { - * kafkaCluster: { - * id: confluent_kafka_cluster.dedicated.id, - * }, - * restEndpoint: confluent_kafka_cluster.dedicated.rest_endpoint, - * config: { - * "auto.create.topics.enable": "true", - * "log.retention.ms": "604800123", - * }, - * credentials: { - * key: confluent_api_key["app-manager-kafka-api-key"].id, - * secret: confluent_api_key["app-manager-kafka-api-key"].secret, - * }, - * }); + * ```sh + * $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 * ``` * - * ## Import - * - * You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + * Option #2Manage a single Kafka cluster in the same Terraform workspace * * ```sh * $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 @@ -79,7 +59,7 @@ export class KafkaClusterConfig extends pulumi.CustomResource { * The Cluster API Credentials. */ public readonly credentials!: pulumi.Output; - public readonly kafkaCluster!: pulumi.Output; + public readonly kafkaCluster!: pulumi.Output; /** * The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). */ @@ -107,9 +87,6 @@ export class KafkaClusterConfig extends pulumi.CustomResource { if ((!args || args.config === undefined) && !opts.urn) { throw new Error("Missing required property 'config'"); } - if ((!args || args.kafkaCluster === undefined) && !opts.urn) { - throw new Error("Missing required property 'kafkaCluster'"); - } resourceInputs["config"] = args ? args.config : undefined; resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined; @@ -153,7 +130,7 @@ export interface KafkaClusterConfigArgs { * The Cluster API Credentials. */ credentials?: pulumi.Input; - kafkaCluster: pulumi.Input; + kafkaCluster?: pulumi.Input; /** * The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). */ diff --git a/sdk/nodejs/kafkaTopic.ts b/sdk/nodejs/kafkaTopic.ts index 635f61ea..c54d55a2 100644 --- a/sdk/nodejs/kafkaTopic.ts +++ b/sdk/nodejs/kafkaTopic.ts @@ -9,7 +9,13 @@ import * as utilities from "./utilities"; /** * ## Import * - * You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + * You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 + * ``` + * + * Option #2Manage a single Kafka cluster in the same Terraform workspace * * ```sh * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 @@ -139,7 +145,7 @@ export class KafkaTopic extends pulumi.CustomResource { * @deprecated This parameter has been deprecated in favour of Rest Endpoint */ public readonly httpEndpoint!: pulumi.Output; - public readonly kafkaCluster!: pulumi.Output; + public readonly kafkaCluster!: pulumi.Output; /** * The number of partitions to create in the topic. Defaults to `6`. */ @@ -175,9 +181,6 @@ export class KafkaTopic extends pulumi.CustomResource { resourceInputs["topicName"] = state ? state.topicName : undefined; } else { const args = argsOrState as KafkaTopicArgs | undefined; - if ((!args || args.kafkaCluster === undefined) && !opts.urn) { - throw new Error("Missing required property 'kafkaCluster'"); - } if ((!args || args.topicName === undefined) && !opts.urn) { throw new Error("Missing required property 'topicName'"); } @@ -247,7 +250,7 @@ export interface KafkaTopicArgs { * @deprecated This parameter has been deprecated in favour of Rest Endpoint */ httpEndpoint?: pulumi.Input; - kafkaCluster: pulumi.Input; + kafkaCluster?: pulumi.Input; /** * The number of partitions to create in the topic. Defaults to `6`. */ diff --git a/sdk/nodejs/network.ts b/sdk/nodejs/network.ts index 2e804761..05c7f77f 100644 --- a/sdk/nodejs/network.ts +++ b/sdk/nodejs/network.ts @@ -69,6 +69,10 @@ export class Network extends pulumi.CustomResource { * The name of the Network. */ public readonly displayName!: pulumi.Output; + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + */ + public readonly dnsConfig!: pulumi.Output; /** * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. */ @@ -95,7 +99,8 @@ export class Network extends pulumi.CustomResource { public /*out*/ readonly zonalSubdomains!: pulumi.Output<{[key: string]: string}>; /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -121,6 +126,7 @@ export class Network extends pulumi.CustomResource { resourceInputs["cloud"] = state ? state.cloud : undefined; resourceInputs["connectionTypes"] = state ? state.connectionTypes : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["dnsConfig"] = state ? state.dnsConfig : undefined; resourceInputs["dnsDomain"] = state ? state.dnsDomain : undefined; resourceInputs["environment"] = state ? state.environment : undefined; resourceInputs["gcps"] = state ? state.gcps : undefined; @@ -148,6 +154,7 @@ export class Network extends pulumi.CustomResource { resourceInputs["cloud"] = args ? args.cloud : undefined; resourceInputs["connectionTypes"] = args ? args.connectionTypes : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["dnsConfig"] = args ? args.dnsConfig : undefined; resourceInputs["environment"] = args ? args.environment : undefined; resourceInputs["gcps"] = args ? args.gcps : undefined; resourceInputs["region"] = args ? args.region : undefined; @@ -189,6 +196,10 @@ export interface NetworkState { * The name of the Network. */ displayName?: pulumi.Input; + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + */ + dnsConfig?: pulumi.Input; /** * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. */ @@ -215,7 +226,8 @@ export interface NetworkState { zonalSubdomains?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -251,6 +263,10 @@ export interface NetworkArgs { * The name of the Network. */ displayName?: pulumi.Input; + /** + * Network DNS config. It applies only to the PRIVATELINK network connection type. + */ + dnsConfig?: pulumi.Input; /** * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. */ @@ -265,7 +281,8 @@ export interface NetworkArgs { region: pulumi.Input; /** * The 3 availability zones for this network. They can optionally be specified for AWS networks - * used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + * used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + * networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index b76fe405..5f9a3312 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -45,10 +45,30 @@ export class Provider extends pulumi.ProviderResource { * The Kafka Cluster API Secret. */ public readonly kafkaApiSecret!: pulumi.Output; + /** + * The Kafka Cluster ID. + */ + public readonly kafkaId!: pulumi.Output; /** * The Kafka Cluster REST Endpoint. */ public readonly kafkaRestEndpoint!: pulumi.Output; + /** + * The Schema Registry Cluster API Key. + */ + public readonly schemaRegistryApiKey!: pulumi.Output; + /** + * The Schema Registry Cluster API Secret. + */ + public readonly schemaRegistryApiSecret!: pulumi.Output; + /** + * The Schema Registry Cluster ID. + */ + public readonly schemaRegistryId!: pulumi.Output; + /** + * The Schema Registry Cluster REST Endpoint. + */ + public readonly schemaRegistryRestEndpoint!: pulumi.Output; /** * Create a Provider resource with the given unique name, arguments, and options. @@ -66,11 +86,16 @@ export class Provider extends pulumi.ProviderResource { resourceInputs["endpoint"] = args ? args.endpoint : undefined; resourceInputs["kafkaApiKey"] = args?.kafkaApiKey ? pulumi.secret(args.kafkaApiKey) : undefined; resourceInputs["kafkaApiSecret"] = args?.kafkaApiSecret ? pulumi.secret(args.kafkaApiSecret) : undefined; + resourceInputs["kafkaId"] = args ? args.kafkaId : undefined; resourceInputs["kafkaRestEndpoint"] = args ? args.kafkaRestEndpoint : undefined; resourceInputs["maxRetries"] = pulumi.output(args ? args.maxRetries : undefined).apply(JSON.stringify); + resourceInputs["schemaRegistryApiKey"] = args?.schemaRegistryApiKey ? pulumi.secret(args.schemaRegistryApiKey) : undefined; + resourceInputs["schemaRegistryApiSecret"] = args?.schemaRegistryApiSecret ? pulumi.secret(args.schemaRegistryApiSecret) : undefined; + resourceInputs["schemaRegistryId"] = args ? args.schemaRegistryId : undefined; + resourceInputs["schemaRegistryRestEndpoint"] = args ? args.schemaRegistryRestEndpoint : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const secretOpts = { additionalSecretOutputs: ["cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret"] }; + const secretOpts = { additionalSecretOutputs: ["cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret", "schemaRegistryApiKey", "schemaRegistryApiSecret"] }; opts = pulumi.mergeOptions(opts, secretOpts); super(Provider.__pulumiType, name, resourceInputs, opts); } @@ -100,6 +125,10 @@ export interface ProviderArgs { * The Kafka Cluster API Secret. */ kafkaApiSecret?: pulumi.Input; + /** + * The Kafka Cluster ID. + */ + kafkaId?: pulumi.Input; /** * The Kafka Cluster REST Endpoint. */ @@ -108,4 +137,20 @@ export interface ProviderArgs { * Maximum number of retries of HTTP client. Defaults to 4. */ maxRetries?: pulumi.Input; + /** + * The Schema Registry Cluster API Key. + */ + schemaRegistryApiKey?: pulumi.Input; + /** + * The Schema Registry Cluster API Secret. + */ + schemaRegistryApiSecret?: pulumi.Input; + /** + * The Schema Registry Cluster ID. + */ + schemaRegistryId?: pulumi.Input; + /** + * The Schema Registry Cluster REST Endpoint. + */ + schemaRegistryRestEndpoint?: pulumi.Input; } diff --git a/sdk/nodejs/schema.ts b/sdk/nodejs/schema.ts new file mode 100644 index 00000000..88732eac --- /dev/null +++ b/sdk/nodejs/schema.ts @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Import + * + * You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `//`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + */ +export class Schema extends pulumi.CustomResource { + /** + * Get an existing Schema resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SchemaState, opts?: pulumi.CustomResourceOptions): Schema { + return new Schema(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'confluentcloud:index/schema:Schema'; + + /** + * Returns true if the given object is an instance of Schema. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Schema { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Schema.__pulumiType; + } + + /** + * The Cluster API Credentials. + */ + public readonly credentials!: pulumi.Output; + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + */ + public readonly format!: pulumi.Output; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + public readonly restEndpoint!: pulumi.Output; + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + */ + public readonly schema!: pulumi.Output; + /** + * (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + */ + public /*out*/ readonly schemaIdentifier!: pulumi.Output; + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + */ + public readonly schemaReferences!: pulumi.Output; + public readonly schemaRegistryCluster!: pulumi.Output; + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + public readonly subjectName!: pulumi.Output; + /** + * The version, representing the exact version of the schema under the registered subject. + */ + public /*out*/ readonly version!: pulumi.Output; + + /** + * Create a Schema resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: SchemaArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SchemaArgs | SchemaState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SchemaState | undefined; + resourceInputs["credentials"] = state ? state.credentials : undefined; + resourceInputs["format"] = state ? state.format : undefined; + resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined; + resourceInputs["schema"] = state ? state.schema : undefined; + resourceInputs["schemaIdentifier"] = state ? state.schemaIdentifier : undefined; + resourceInputs["schemaReferences"] = state ? state.schemaReferences : undefined; + resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = state ? state.subjectName : undefined; + resourceInputs["version"] = state ? state.version : undefined; + } else { + const args = argsOrState as SchemaArgs | undefined; + if ((!args || args.format === undefined) && !opts.urn) { + throw new Error("Missing required property 'format'"); + } + if ((!args || args.schema === undefined) && !opts.urn) { + throw new Error("Missing required property 'schema'"); + } + if ((!args || args.subjectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'subjectName'"); + } + resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; + resourceInputs["format"] = args ? args.format : undefined; + resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined; + resourceInputs["schema"] = args ? args.schema : undefined; + resourceInputs["schemaReferences"] = args ? args.schemaReferences : undefined; + resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = args ? args.subjectName : undefined; + resourceInputs["schemaIdentifier"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["credentials"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(Schema.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Schema resources. + */ +export interface SchemaState { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + */ + format?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + */ + schema?: pulumi.Input; + /** + * (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + */ + schemaIdentifier?: pulumi.Input; + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + */ + schemaReferences?: pulumi.Input[]>; + schemaRegistryCluster?: pulumi.Input; + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + subjectName?: pulumi.Input; + /** + * The version, representing the exact version of the schema under the registered subject. + */ + version?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Schema resource. + */ +export interface SchemaArgs { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + */ + format: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + /** + * The schema string, for example, `file("./schema_version_1.avsc")`. + */ + schema: pulumi.Input; + /** + * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + */ + schemaReferences?: pulumi.Input[]>; + schemaRegistryCluster?: pulumi.Input; + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/schemaRegistryClusterConfig.ts b/sdk/nodejs/schemaRegistryClusterConfig.ts new file mode 100644 index 00000000..788eaed6 --- /dev/null +++ b/sdk/nodejs/schemaRegistryClusterConfig.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Import + * + * You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + */ +export class SchemaRegistryClusterConfig extends pulumi.CustomResource { + /** + * Get an existing SchemaRegistryClusterConfig resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SchemaRegistryClusterConfigState, opts?: pulumi.CustomResourceOptions): SchemaRegistryClusterConfig { + return new SchemaRegistryClusterConfig(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig'; + + /** + * Returns true if the given object is an instance of SchemaRegistryClusterConfig. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SchemaRegistryClusterConfig { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SchemaRegistryClusterConfig.__pulumiType; + } + + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + public readonly compatibilityLevel!: pulumi.Output; + /** + * The Cluster API Credentials. + */ + public readonly credentials!: pulumi.Output; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + public readonly restEndpoint!: pulumi.Output; + public readonly schemaRegistryCluster!: pulumi.Output; + + /** + * Create a SchemaRegistryClusterConfig resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: SchemaRegistryClusterConfigArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SchemaRegistryClusterConfigArgs | SchemaRegistryClusterConfigState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SchemaRegistryClusterConfigState | undefined; + resourceInputs["compatibilityLevel"] = state ? state.compatibilityLevel : undefined; + resourceInputs["credentials"] = state ? state.credentials : undefined; + resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined; + } else { + const args = argsOrState as SchemaRegistryClusterConfigArgs | undefined; + resourceInputs["compatibilityLevel"] = args ? args.compatibilityLevel : undefined; + resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; + resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["credentials"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(SchemaRegistryClusterConfig.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SchemaRegistryClusterConfig resources. + */ +export interface SchemaRegistryClusterConfigState { + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + compatibilityLevel?: pulumi.Input; + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SchemaRegistryClusterConfig resource. + */ +export interface SchemaRegistryClusterConfigArgs { + /** + * The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + compatibilityLevel?: pulumi.Input; + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} diff --git a/sdk/nodejs/schemaRegistryClusterMode.ts b/sdk/nodejs/schemaRegistryClusterMode.ts new file mode 100644 index 00000000..867636c0 --- /dev/null +++ b/sdk/nodejs/schemaRegistryClusterMode.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Import + * + * You can import a Mode by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + */ +export class SchemaRegistryClusterMode extends pulumi.CustomResource { + /** + * Get an existing SchemaRegistryClusterMode resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SchemaRegistryClusterModeState, opts?: pulumi.CustomResourceOptions): SchemaRegistryClusterMode { + return new SchemaRegistryClusterMode(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode'; + + /** + * Returns true if the given object is an instance of SchemaRegistryClusterMode. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SchemaRegistryClusterMode { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SchemaRegistryClusterMode.__pulumiType; + } + + /** + * The Cluster API Credentials. + */ + public readonly credentials!: pulumi.Output; + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + public readonly mode!: pulumi.Output; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + public readonly restEndpoint!: pulumi.Output; + public readonly schemaRegistryCluster!: pulumi.Output; + + /** + * Create a SchemaRegistryClusterMode resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: SchemaRegistryClusterModeArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SchemaRegistryClusterModeArgs | SchemaRegistryClusterModeState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SchemaRegistryClusterModeState | undefined; + resourceInputs["credentials"] = state ? state.credentials : undefined; + resourceInputs["mode"] = state ? state.mode : undefined; + resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined; + } else { + const args = argsOrState as SchemaRegistryClusterModeArgs | undefined; + resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; + resourceInputs["mode"] = args ? args.mode : undefined; + resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["credentials"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(SchemaRegistryClusterMode.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SchemaRegistryClusterMode resources. + */ +export interface SchemaRegistryClusterModeState { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + mode?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SchemaRegistryClusterMode resource. + */ +export interface SchemaRegistryClusterModeArgs { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + mode?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; +} diff --git a/sdk/nodejs/subjectConfig.ts b/sdk/nodejs/subjectConfig.ts new file mode 100644 index 00000000..d857bce3 --- /dev/null +++ b/sdk/nodejs/subjectConfig.ts @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Import + * + * You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + */ +export class SubjectConfig extends pulumi.CustomResource { + /** + * Get an existing SubjectConfig resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SubjectConfigState, opts?: pulumi.CustomResourceOptions): SubjectConfig { + return new SubjectConfig(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'confluentcloud:index/subjectConfig:SubjectConfig'; + + /** + * Returns true if the given object is an instance of SubjectConfig. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SubjectConfig { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SubjectConfig.__pulumiType; + } + + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + public readonly compatibilityLevel!: pulumi.Output; + /** + * The Cluster API Credentials. + */ + public readonly credentials!: pulumi.Output; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + public readonly restEndpoint!: pulumi.Output; + public readonly schemaRegistryCluster!: pulumi.Output; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + public readonly subjectName!: pulumi.Output; + + /** + * Create a SubjectConfig resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: SubjectConfigArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SubjectConfigArgs | SubjectConfigState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SubjectConfigState | undefined; + resourceInputs["compatibilityLevel"] = state ? state.compatibilityLevel : undefined; + resourceInputs["credentials"] = state ? state.credentials : undefined; + resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = state ? state.subjectName : undefined; + } else { + const args = argsOrState as SubjectConfigArgs | undefined; + if ((!args || args.subjectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'subjectName'"); + } + resourceInputs["compatibilityLevel"] = args ? args.compatibilityLevel : undefined; + resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; + resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = args ? args.subjectName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["credentials"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(SubjectConfig.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SubjectConfig resources. + */ +export interface SubjectConfigState { + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + compatibilityLevel?: pulumi.Input; + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SubjectConfig resource. + */ +export interface SubjectConfigArgs { + /** + * The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + */ + compatibilityLevel?: pulumi.Input; + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/subjectMode.ts b/sdk/nodejs/subjectMode.ts new file mode 100644 index 00000000..a8f598f1 --- /dev/null +++ b/sdk/nodejs/subjectMode.ts @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Import + * + * You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + * + * ```sh + * $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject + * ``` + * + * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + */ +export class SubjectMode extends pulumi.CustomResource { + /** + * Get an existing SubjectMode resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SubjectModeState, opts?: pulumi.CustomResourceOptions): SubjectMode { + return new SubjectMode(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'confluentcloud:index/subjectMode:SubjectMode'; + + /** + * Returns true if the given object is an instance of SubjectMode. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SubjectMode { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SubjectMode.__pulumiType; + } + + /** + * The Cluster API Credentials. + */ + public readonly credentials!: pulumi.Output; + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + public readonly mode!: pulumi.Output; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + public readonly restEndpoint!: pulumi.Output; + public readonly schemaRegistryCluster!: pulumi.Output; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + public readonly subjectName!: pulumi.Output; + + /** + * Create a SubjectMode resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: SubjectModeArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SubjectModeArgs | SubjectModeState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SubjectModeState | undefined; + resourceInputs["credentials"] = state ? state.credentials : undefined; + resourceInputs["mode"] = state ? state.mode : undefined; + resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = state ? state.subjectName : undefined; + } else { + const args = argsOrState as SubjectModeArgs | undefined; + if ((!args || args.subjectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'subjectName'"); + } + resourceInputs["credentials"] = args?.credentials ? pulumi.secret(args.credentials) : undefined; + resourceInputs["mode"] = args ? args.mode : undefined; + resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined; + resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined; + resourceInputs["subjectName"] = args ? args.subjectName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["credentials"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(SubjectMode.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SubjectMode resources. + */ +export interface SubjectModeState { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + mode?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SubjectMode resource. + */ +export interface SubjectModeArgs { + /** + * The Cluster API Credentials. + */ + credentials?: pulumi.Input; + /** + * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + */ + mode?: pulumi.Input; + /** + * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + */ + restEndpoint?: pulumi.Input; + schemaRegistryCluster?: pulumi.Input; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + */ + subjectName: pulumi.Input; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 12bb5b22..c4d23f6e 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -31,9 +31,14 @@ "getPeering.ts", "getPrivateLinkAccess.ts", "getRoleBinding.ts", + "getSchema.ts", "getSchemaRegistryCluster.ts", + "getSchemaRegistryClusterConfig.ts", + "getSchemaRegistryClusterMode.ts", "getSchemaRegistryRegion.ts", "getServiceAccount.ts", + "getSubjectConfig.ts", + "getSubjectMode.ts", "getTransitGatewayAttachment.ts", "getUser.ts", "identityPool.ts", @@ -51,8 +56,13 @@ "privateLinkAccess.ts", "provider.ts", "roleBinding.ts", + "schema.ts", "schemaRegistryCluster.ts", + "schemaRegistryClusterConfig.ts", + "schemaRegistryClusterMode.ts", "serviceAccount.ts", + "subjectConfig.ts", + "subjectMode.ts", "transitGatewayAttachment.ts", "types/index.ts", "types/input.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index ee6d0eaf..ea669e45 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -111,18 +111,18 @@ export interface ConnectorKafkaCluster { id: pulumi.Input; } -export interface GetIdentityPoolIdentityProviderArgs { +export interface GetIdentityPoolIdentityProvider { /** * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. */ - id: pulumi.Input; + id: string; } -export interface GetIdentityPoolIdentityProvider { +export interface GetIdentityPoolIdentityProviderArgs { /** * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. */ - id: string; + id: pulumi.Input; } export interface GetKafkaClusterBasic { @@ -173,40 +173,40 @@ export interface GetKafkaClusterStandard { export interface GetKafkaClusterStandardArgs { } -export interface GetKafkaTopicCredentialsArgs { +export interface GetKafkaTopicCredentials { /** * The Kafka API Key. */ - key: pulumi.Input; + key: string; /** * The Kafka API Secret. */ - secret: pulumi.Input; + secret: string; } -export interface GetKafkaTopicCredentials { +export interface GetKafkaTopicCredentialsArgs { /** * The Kafka API Key. */ - key: string; + key: pulumi.Input; /** * The Kafka API Secret. */ - secret: string; + secret: pulumi.Input; } -export interface GetKafkaTopicKafkaClusterArgs { +export interface GetKafkaTopicKafkaCluster { /** * The ID of the Kafka cluster, for example, `lkc-abc123`. */ - id: pulumi.Input; + id: string; } -export interface GetKafkaTopicKafkaCluster { +export interface GetKafkaTopicKafkaClusterArgs { /** * The ID of the Kafka cluster, for example, `lkc-abc123`. */ - id: string; + id: pulumi.Input; } export interface GetKsqlClusterEnvironment { @@ -253,6 +253,13 @@ export interface GetNetworkAwArgs { vpc?: pulumi.Input; } +export interface GetNetworkAzure { + /** + * (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). + */ + privateLinkServiceAliases?: {[key: string]: string}; +} + export interface GetNetworkAzureArgs { /** * (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). @@ -260,11 +267,22 @@ export interface GetNetworkAzureArgs { privateLinkServiceAliases?: pulumi.Input<{[key: string]: pulumi.Input}>; } -export interface GetNetworkAzure { +export interface GetNetworkDnsConfig { /** - * (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are [Azure Private Link Service Aliases](https://docs.microsoft.com/en-us/azure/private-link/private-link-service-overview#share-your-service). + * (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. */ - privateLinkServiceAliases?: {[key: string]: string}; + resolution?: string; +} + +export interface GetNetworkDnsConfigArgs { + /** + * (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + */ + resolution?: pulumi.Input; } export interface GetNetworkEnvironment { @@ -339,6 +357,64 @@ export interface GetPrivateLinkAccessEnvironmentArgs { id: pulumi.Input; } +export interface GetSchemaCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaCredentialsArgs { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface GetSchemaRegistryClusterConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaRegistryClusterConfigCredentialsArgs { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface GetSchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + export interface GetSchemaRegistryClusterEnvironment { /** * The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. @@ -353,9 +429,124 @@ export interface GetSchemaRegistryClusterEnvironmentArgs { id: pulumi.Input; } -export interface GetTransitGatewayAttachmentEnvironmentArgs { +export interface GetSchemaRegistryClusterModeCredentials { /** - * The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaRegistryClusterModeCredentialsArgs { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface GetSchemaRegistryClusterModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSchemaRegistryClusterModeSchemaRegistryClusterArgs { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface GetSchemaSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSchemaSchemaRegistryClusterArgs { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface GetSubjectConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSubjectConfigCredentialsArgs { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface GetSubjectConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSubjectConfigSchemaRegistryClusterArgs { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface GetSubjectModeCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSubjectModeCredentialsArgs { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface GetSubjectModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSubjectModeSchemaRegistryClusterArgs { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. */ id: pulumi.Input; } @@ -367,6 +558,13 @@ export interface GetTransitGatewayAttachmentEnvironment { id: string; } +export interface GetTransitGatewayAttachmentEnvironmentArgs { + /** + * The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. + */ + id: pulumi.Input; +} + export interface IdentityPoolIdentityProvider { /** * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. @@ -564,6 +762,15 @@ export interface NetworkAzure { privateLinkServiceAliases?: pulumi.Input<{[key: string]: pulumi.Input}>; } +export interface NetworkDnsConfig { + /** + * Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + */ + resolution: pulumi.Input; +} + export interface NetworkEnvironment { /** * The ID of the Environment that the Network belongs to, for example, `env-abc123`. @@ -684,6 +891,35 @@ export interface PrivateLinkAccessNetwork { id: pulumi.Input; } +export interface SchemaCredentials { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface SchemaRegistryClusterConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface SchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + export interface SchemaRegistryClusterEnvironment { /** * The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. @@ -691,6 +927,24 @@ export interface SchemaRegistryClusterEnvironment { id: pulumi.Input; } +export interface SchemaRegistryClusterModeCredentials { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface SchemaRegistryClusterModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + export interface SchemaRegistryClusterRegion { /** * The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. @@ -698,11 +952,65 @@ export interface SchemaRegistryClusterRegion { id: pulumi.Input; } -export interface TransitGatewayAttachmentAws { +export interface SchemaSchemaReference { + /** + * The name of the subject, representing the subject under which the referenced schema is registered. + */ + name: pulumi.Input; + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + subjectName: pulumi.Input; /** - * Enable custom destination routes in Confluent Cloud. Defaults to `false`. + * The version, representing the exact version of the schema under the registered subject. */ - enableCustomRoutes?: pulumi.Input; + version: pulumi.Input; +} + +export interface SchemaSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface SubjectConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface SubjectConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface SubjectModeCredentials { + /** + * The Schema Registry API Key. + */ + key: pulumi.Input; + /** + * The Schema Registry API Secret. + */ + secret: pulumi.Input; +} + +export interface SubjectModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: pulumi.Input; +} + +export interface TransitGatewayAttachmentAws { /** * The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. */ @@ -710,7 +1018,7 @@ export interface TransitGatewayAttachmentAws { /** * List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. */ - routes?: pulumi.Input[]>; + routes: pulumi.Input[]>; /** * (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. */ @@ -734,4 +1042,3 @@ export interface TransitGatewayAttachmentNetwork { */ id: pulumi.Input; } - diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 0207cb8b..785af2f6 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -235,6 +235,15 @@ export interface GetNetworkAzure { privateLinkServiceAliases: {[key: string]: string}; } +export interface GetNetworkDnsConfig { + /** + * (Required String) Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + */ + resolution: string; +} + export interface GetNetworkEnvironment { /** * The ID of the Environment that the Network belongs to, for example, `env-xyz456`. @@ -355,6 +364,35 @@ export interface GetPrivateLinkAccessNetwork { id: string; } +export interface GetSchemaCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaRegistryClusterConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + export interface GetSchemaRegistryClusterEnvironment { /** * The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. @@ -362,6 +400,24 @@ export interface GetSchemaRegistryClusterEnvironment { id: string; } +export interface GetSchemaRegistryClusterModeCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSchemaRegistryClusterModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + export interface GetSchemaRegistryClusterRegion { /** * The ID of the Environment that the Schema Registry cluster belongs to, for example, `env-xyz456`. @@ -369,11 +425,65 @@ export interface GetSchemaRegistryClusterRegion { id: string; } -export interface GetTransitGatewayAttachmentAw { +export interface GetSchemaSchemaReference { /** - * (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. + * (Required String) The name of the subject, representing the subject under which the referenced schema is registered. */ - enableCustomRoutes: boolean; + name: string; + /** + * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + */ + subjectName: string; + /** + * (Required Integer) The version of the Schema, for example, `4`. + */ + version: number; +} + +export interface GetSchemaSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSubjectConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSubjectConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetSubjectModeCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface GetSubjectModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface GetTransitGatewayAttachmentAw { /** * (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. */ @@ -603,6 +713,15 @@ export interface NetworkAzure { privateLinkServiceAliases: {[key: string]: string}; } +export interface NetworkDnsConfig { + /** + * Network DNS resolution. + * When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + * When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + */ + resolution: string; +} + export interface NetworkEnvironment { /** * The ID of the Environment that the Network belongs to, for example, `env-abc123`. @@ -723,6 +842,35 @@ export interface PrivateLinkAccessNetwork { id: string; } +export interface SchemaCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface SchemaRegistryClusterConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface SchemaRegistryClusterConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + export interface SchemaRegistryClusterEnvironment { /** * The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. @@ -730,6 +878,24 @@ export interface SchemaRegistryClusterEnvironment { id: string; } +export interface SchemaRegistryClusterModeCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface SchemaRegistryClusterModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + export interface SchemaRegistryClusterRegion { /** * The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. @@ -737,11 +903,65 @@ export interface SchemaRegistryClusterRegion { id: string; } -export interface TransitGatewayAttachmentAws { +export interface SchemaSchemaReference { /** - * Enable custom destination routes in Confluent Cloud. Defaults to `false`. + * The name of the subject, representing the subject under which the referenced schema is registered. */ - enableCustomRoutes?: boolean; + name: string; + /** + * The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + */ + subjectName: string; + /** + * The version, representing the exact version of the schema under the registered subject. + */ + version: number; +} + +export interface SchemaSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface SubjectConfigCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface SubjectConfigSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface SubjectModeCredentials { + /** + * The Schema Registry API Key. + */ + key: string; + /** + * The Schema Registry API Secret. + */ + secret: string; +} + +export interface SubjectModeSchemaRegistryCluster { + /** + * The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + */ + id: string; +} + +export interface TransitGatewayAttachmentAws { /** * The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. */ @@ -773,3 +993,4 @@ export interface TransitGatewayAttachmentNetwork { */ id: string; } + diff --git a/sdk/python/pulumi_confluentcloud/__init__.py b/sdk/python/pulumi_confluentcloud/__init__.py index 03df2a89..6bb5f8d2 100644 --- a/sdk/python/pulumi_confluentcloud/__init__.py +++ b/sdk/python/pulumi_confluentcloud/__init__.py @@ -21,9 +21,14 @@ from .get_peering import * from .get_private_link_access import * from .get_role_binding import * +from .get_schema import * from .get_schema_registry_cluster import * +from .get_schema_registry_cluster_config import * +from .get_schema_registry_cluster_mode import * from .get_schema_registry_region import * from .get_service_account import * +from .get_subject_config import * +from .get_subject_mode import * from .get_transit_gateway_attachment import * from .get_user import * from .identity_pool import * @@ -40,8 +45,13 @@ from .private_link_access import * from .provider import * from .role_binding import * +from .schema import * from .schema_registry_cluster import * +from .schema_registry_cluster_config import * +from .schema_registry_cluster_mode import * from .service_account import * +from .subject_config import * +from .subject_mode import * from .transit_gateway_attachment import * from ._inputs import * from . import outputs @@ -192,6 +202,14 @@ "confluentcloud:index/roleBinding:RoleBinding": "RoleBinding" } }, + { + "pkg": "confluentcloud", + "mod": "index/schema", + "fqn": "pulumi_confluentcloud", + "classes": { + "confluentcloud:index/schema:Schema": "Schema" + } + }, { "pkg": "confluentcloud", "mod": "index/schemaRegistryCluster", @@ -200,6 +218,22 @@ "confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": "SchemaRegistryCluster" } }, + { + "pkg": "confluentcloud", + "mod": "index/schemaRegistryClusterConfig", + "fqn": "pulumi_confluentcloud", + "classes": { + "confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig": "SchemaRegistryClusterConfig" + } + }, + { + "pkg": "confluentcloud", + "mod": "index/schemaRegistryClusterMode", + "fqn": "pulumi_confluentcloud", + "classes": { + "confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode": "SchemaRegistryClusterMode" + } + }, { "pkg": "confluentcloud", "mod": "index/serviceAccount", @@ -208,6 +242,22 @@ "confluentcloud:index/serviceAccount:ServiceAccount": "ServiceAccount" } }, + { + "pkg": "confluentcloud", + "mod": "index/subjectConfig", + "fqn": "pulumi_confluentcloud", + "classes": { + "confluentcloud:index/subjectConfig:SubjectConfig": "SubjectConfig" + } + }, + { + "pkg": "confluentcloud", + "mod": "index/subjectMode", + "fqn": "pulumi_confluentcloud", + "classes": { + "confluentcloud:index/subjectMode:SubjectMode": "SubjectMode" + } + }, { "pkg": "confluentcloud", "mod": "index/transitGatewayAttachment", diff --git a/sdk/python/pulumi_confluentcloud/_inputs.py b/sdk/python/pulumi_confluentcloud/_inputs.py index 4a20f7e4..18d3234e 100644 --- a/sdk/python/pulumi_confluentcloud/_inputs.py +++ b/sdk/python/pulumi_confluentcloud/_inputs.py @@ -43,6 +43,7 @@ 'KsqlClusterKafkaClusterArgs', 'NetworkAwArgs', 'NetworkAzureArgs', + 'NetworkDnsConfigArgs', 'NetworkEnvironmentArgs', 'NetworkGcpArgs', 'PeeringAwsArgs', @@ -55,8 +56,19 @@ 'PrivateLinkAccessEnvironmentArgs', 'PrivateLinkAccessGcpArgs', 'PrivateLinkAccessNetworkArgs', + 'SchemaCredentialsArgs', + 'SchemaRegistryClusterConfigCredentialsArgs', + 'SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterEnvironmentArgs', + 'SchemaRegistryClusterModeCredentialsArgs', + 'SchemaRegistryClusterModeSchemaRegistryClusterArgs', 'SchemaRegistryClusterRegionArgs', + 'SchemaSchemaReferenceArgs', + 'SchemaSchemaRegistryClusterArgs', + 'SubjectConfigCredentialsArgs', + 'SubjectConfigSchemaRegistryClusterArgs', + 'SubjectModeCredentialsArgs', + 'SubjectModeSchemaRegistryClusterArgs', 'TransitGatewayAttachmentAwsArgs', 'TransitGatewayAttachmentEnvironmentArgs', 'TransitGatewayAttachmentNetworkArgs', @@ -70,11 +82,22 @@ 'GetKsqlClusterEnvironmentArgs', 'GetNetworkAwArgs', 'GetNetworkAzureArgs', + 'GetNetworkDnsConfigArgs', 'GetNetworkEnvironmentArgs', 'GetNetworkGcpArgs', 'GetPeeringEnvironmentArgs', 'GetPrivateLinkAccessEnvironmentArgs', + 'GetSchemaCredentialsArgs', + 'GetSchemaRegistryClusterConfigCredentialsArgs', + 'GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'GetSchemaRegistryClusterEnvironmentArgs', + 'GetSchemaRegistryClusterModeCredentialsArgs', + 'GetSchemaRegistryClusterModeSchemaRegistryClusterArgs', + 'GetSchemaSchemaRegistryClusterArgs', + 'GetSubjectConfigCredentialsArgs', + 'GetSubjectConfigSchemaRegistryClusterArgs', + 'GetSubjectModeCredentialsArgs', + 'GetSubjectModeSchemaRegistryClusterArgs', 'GetTransitGatewayAttachmentEnvironmentArgs', ] @@ -1114,6 +1137,32 @@ def private_link_service_aliases(self, value: Optional[pulumi.Input[Mapping[str, pulumi.set(self, "private_link_service_aliases", value) +@pulumi.input_type +class NetworkDnsConfigArgs: + def __init__(__self__, *, + resolution: pulumi.Input[str]): + """ + :param pulumi.Input[str] resolution: Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + pulumi.set(__self__, "resolution", resolution) + + @property + @pulumi.getter + def resolution(self) -> pulumi.Input[str]: + """ + Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + return pulumi.get(self, "resolution") + + @resolution.setter + def resolution(self, value: pulumi.Input[str]): + pulumi.set(self, "resolution", value) + + @pulumi.input_type class NetworkEnvironmentArgs: def __init__(__self__, *, @@ -1518,33 +1567,85 @@ def id(self, value: pulumi.Input[str]): @pulumi.input_type -class SchemaRegistryClusterEnvironmentArgs: +class SchemaCredentialsArgs: def __init__(__self__, *, - id: pulumi.Input[str]): + key: pulumi.Input[str], + secret: pulumi.Input[str]): """ - :param pulumi.Input[str] id: The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. + :param pulumi.Input[str] key: The Schema Registry API Key. + :param pulumi.Input[str] secret: The Schema Registry API Secret. """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: + def key(self) -> pulumi.Input[str]: """ - The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. + The Schema Registry API Key. """ - return pulumi.get(self, "id") + return pulumi.get(self, "key") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> pulumi.Input[str]: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: pulumi.Input[str]): + pulumi.set(self, "secret", value) @pulumi.input_type -class SchemaRegistryClusterRegionArgs: +class SchemaRegistryClusterConfigCredentialsArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + secret: pulumi.Input[str]): + """ + :param pulumi.Input[str] key: The Schema Registry API Key. + :param pulumi.Input[str] secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> pulumi.Input[str]: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: pulumi.Input[str]): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class SchemaRegistryClusterConfigSchemaRegistryClusterArgs: def __init__(__self__, *, id: pulumi.Input[str]): """ - :param pulumi.Input[str] id: The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. + :param pulumi.Input[str] id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ pulumi.set(__self__, "id", id) @@ -1552,7 +1653,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> pulumi.Input[str]: """ - The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ return pulumi.get(self, "id") @@ -1562,96 +1663,70 @@ def id(self, value: pulumi.Input[str]): @pulumi.input_type -class TransitGatewayAttachmentAwsArgs: +class SchemaRegistryClusterEnvironmentArgs: def __init__(__self__, *, - ram_resource_share_arn: pulumi.Input[str], - transit_gateway_id: pulumi.Input[str], - enable_custom_routes: Optional[pulumi.Input[bool]] = None, - routes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ - :param pulumi.Input[str] ram_resource_share_arn: The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. - :param pulumi.Input[str] transit_gateway_id: The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - :param pulumi.Input[bool] enable_custom_routes: Enable custom destination routes in Confluent Cloud. Defaults to `false`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] routes: List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. - :param pulumi.Input[str] transit_gateway_attachment_id: (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + :param pulumi.Input[str] id: The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. """ - pulumi.set(__self__, "ram_resource_share_arn", ram_resource_share_arn) - pulumi.set(__self__, "transit_gateway_id", transit_gateway_id) - if enable_custom_routes is not None: - pulumi.set(__self__, "enable_custom_routes", enable_custom_routes) - if routes is not None: - pulumi.set(__self__, "routes", routes) - if transit_gateway_attachment_id is not None: - pulumi.set(__self__, "transit_gateway_attachment_id", transit_gateway_attachment_id) + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="ramResourceShareArn") - def ram_resource_share_arn(self) -> pulumi.Input[str]: + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. + The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. """ - return pulumi.get(self, "ram_resource_share_arn") - - @ram_resource_share_arn.setter - def ram_resource_share_arn(self, value: pulumi.Input[str]): - pulumi.set(self, "ram_resource_share_arn", value) + return pulumi.get(self, "id") - @property - @pulumi.getter(name="transitGatewayId") - def transit_gateway_id(self) -> pulumi.Input[str]: - """ - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - """ - return pulumi.get(self, "transit_gateway_id") + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) - @transit_gateway_id.setter - def transit_gateway_id(self, value: pulumi.Input[str]): - pulumi.set(self, "transit_gateway_id", value) - @property - @pulumi.getter(name="enableCustomRoutes") - def enable_custom_routes(self) -> Optional[pulumi.Input[bool]]: +@pulumi.input_type +class SchemaRegistryClusterModeCredentialsArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + secret: pulumi.Input[str]): """ - Enable custom destination routes in Confluent Cloud. Defaults to `false`. + :param pulumi.Input[str] key: The Schema Registry API Key. + :param pulumi.Input[str] secret: The Schema Registry API Secret. """ - return pulumi.get(self, "enable_custom_routes") - - @enable_custom_routes.setter - def enable_custom_routes(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_custom_routes", value) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter - def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def key(self) -> pulumi.Input[str]: """ - List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + The Schema Registry API Key. """ - return pulumi.get(self, "routes") + return pulumi.get(self, "key") - @routes.setter - def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "routes", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="transitGatewayAttachmentId") - def transit_gateway_attachment_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def secret(self) -> pulumi.Input[str]: """ - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + The Schema Registry API Secret. """ - return pulumi.get(self, "transit_gateway_attachment_id") + return pulumi.get(self, "secret") - @transit_gateway_attachment_id.setter - def transit_gateway_attachment_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "transit_gateway_attachment_id", value) + @secret.setter + def secret(self, value: pulumi.Input[str]): + pulumi.set(self, "secret", value) @pulumi.input_type -class TransitGatewayAttachmentEnvironmentArgs: +class SchemaRegistryClusterModeSchemaRegistryClusterArgs: def __init__(__self__, *, id: pulumi.Input[str]): """ - :param pulumi.Input[str] id: The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + :param pulumi.Input[str] id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ pulumi.set(__self__, "id", id) @@ -1659,7 +1734,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> pulumi.Input[str]: """ - The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ return pulumi.get(self, "id") @@ -1669,11 +1744,11 @@ def id(self, value: pulumi.Input[str]): @pulumi.input_type -class TransitGatewayAttachmentNetworkArgs: +class SchemaRegistryClusterRegionArgs: def __init__(__self__, *, id: pulumi.Input[str]): """ - :param pulumi.Input[str] id: The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + :param pulumi.Input[str] id: The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. """ pulumi.set(__self__, "id", id) @@ -1681,7 +1756,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> pulumi.Input[str]: """ - The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, `sgreg-1`. See [Schema Registry Regions](https://docs.confluent.io/cloud/current/stream-governance/packages.html#stream-governance-regions) to find a corresponding region ID based on desired cloud provider region and types of the billing package. """ return pulumi.get(self, "id") @@ -1691,175 +1766,479 @@ def id(self, value: pulumi.Input[str]): @pulumi.input_type -class GetIdentityPoolIdentityProviderArgs: +class SchemaSchemaReferenceArgs: def __init__(__self__, *, - id: str): + name: pulumi.Input[str], + subject_name: pulumi.Input[str], + version: pulumi.Input[int]): """ - :param str id: The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + :param pulumi.Input[str] name: The name of the subject, representing the subject under which the referenced schema is registered. + :param pulumi.Input[str] subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + :param pulumi.Input[int] version: The version, representing the exact version of the schema under the registered subject. """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "subject_name", subject_name) + pulumi.set(__self__, "version", version) @property @pulumi.getter - def id(self) -> str: + def name(self) -> pulumi.Input[str]: """ - The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + The name of the subject, representing the subject under which the referenced schema is registered. """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + return pulumi.get(self, "name") - -@pulumi.input_type -class GetKafkaClusterBasicArgs: - def __init__(__self__): - pass - - -@pulumi.input_type -class GetKafkaClusterDedicatedArgs: - def __init__(__self__, *, - cku: int, - encryption_key: str): - """ - :param int cku: (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. - :param str encryption_key: (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. - """ - pulumi.set(__self__, "cku", cku) - pulumi.set(__self__, "encryption_key", encryption_key) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter - def cku(self) -> int: + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Input[str]: """ - (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. + The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) """ - return pulumi.get(self, "cku") + return pulumi.get(self, "subject_name") - @cku.setter - def cku(self, value: int): - pulumi.set(self, "cku", value) + @subject_name.setter + def subject_name(self, value: pulumi.Input[str]): + pulumi.set(self, "subject_name", value) @property - @pulumi.getter(name="encryptionKey") - def encryption_key(self) -> str: + @pulumi.getter + def version(self) -> pulumi.Input[int]: """ - (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. + The version, representing the exact version of the schema under the registered subject. """ - return pulumi.get(self, "encryption_key") + return pulumi.get(self, "version") - @encryption_key.setter - def encryption_key(self, value: str): - pulumi.set(self, "encryption_key", value) + @version.setter + def version(self, value: pulumi.Input[int]): + pulumi.set(self, "version", value) @pulumi.input_type -class GetKafkaClusterEnvironmentArgs: +class SchemaSchemaRegistryClusterArgs: def __init__(__self__, *, - id: str): + id: pulumi.Input[str]): """ - :param str id: The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + :param pulumi.Input[str] id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> str: + def id(self) -> pulumi.Input[str]: """ - The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ return pulumi.get(self, "id") @id.setter - def id(self, value: str): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type -class GetKafkaClusterStandardArgs: - def __init__(__self__): - pass - - -@pulumi.input_type -class GetKafkaTopicCredentialsArgs: +class SubjectConfigCredentialsArgs: def __init__(__self__, *, - key: str, - secret: str): + key: pulumi.Input[str], + secret: pulumi.Input[str]): """ - :param str key: The Kafka API Key. - :param str secret: The Kafka API Secret. + :param pulumi.Input[str] key: The Schema Registry API Key. + :param pulumi.Input[str] secret: The Schema Registry API Secret. """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "secret", secret) @property @pulumi.getter - def key(self) -> str: + def key(self) -> pulumi.Input[str]: """ - The Kafka API Key. + The Schema Registry API Key. """ return pulumi.get(self, "key") @key.setter - def key(self, value: str): + def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) @property @pulumi.getter - def secret(self) -> str: + def secret(self) -> pulumi.Input[str]: """ - The Kafka API Secret. + The Schema Registry API Secret. """ return pulumi.get(self, "secret") @secret.setter - def secret(self, value: str): + def secret(self, value: pulumi.Input[str]): pulumi.set(self, "secret", value) @pulumi.input_type -class GetKafkaTopicKafkaClusterArgs: +class SubjectConfigSchemaRegistryClusterArgs: def __init__(__self__, *, - id: str): + id: pulumi.Input[str]): """ - :param str id: The ID of the Kafka cluster, for example, `lkc-abc123`. + :param pulumi.Input[str] id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ pulumi.set(__self__, "id", id) @property @pulumi.getter - def id(self) -> str: + def id(self) -> pulumi.Input[str]: """ - The ID of the Kafka cluster, for example, `lkc-abc123`. + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. """ return pulumi.get(self, "id") @id.setter - def id(self, value: str): + def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @pulumi.input_type -class GetKsqlClusterEnvironmentArgs: +class SubjectModeCredentialsArgs: def __init__(__self__, *, - id: str): + key: pulumi.Input[str], + secret: pulumi.Input[str]): """ - :param str id: The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + :param pulumi.Input[str] key: The Schema Registry API Key. + :param pulumi.Input[str] secret: The Schema Registry API Secret. """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter - def id(self) -> str: + def key(self) -> pulumi.Input[str]: """ - The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + The Schema Registry API Key. """ - return pulumi.get(self, "id") + return pulumi.get(self, "key") - @id.setter + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> pulumi.Input[str]: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: pulumi.Input[str]): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class SubjectModeSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class TransitGatewayAttachmentAwsArgs: + def __init__(__self__, *, + ram_resource_share_arn: pulumi.Input[str], + routes: pulumi.Input[Sequence[pulumi.Input[str]]], + transit_gateway_id: pulumi.Input[str], + transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ram_resource_share_arn: The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. + :param pulumi.Input[Sequence[pulumi.Input[str]]] routes: List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + :param pulumi.Input[str] transit_gateway_id: The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. + :param pulumi.Input[str] transit_gateway_attachment_id: (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + """ + pulumi.set(__self__, "ram_resource_share_arn", ram_resource_share_arn) + pulumi.set(__self__, "routes", routes) + pulumi.set(__self__, "transit_gateway_id", transit_gateway_id) + if transit_gateway_attachment_id is not None: + pulumi.set(__self__, "transit_gateway_attachment_id", transit_gateway_attachment_id) + + @property + @pulumi.getter(name="ramResourceShareArn") + def ram_resource_share_arn(self) -> pulumi.Input[str]: + """ + The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. + """ + return pulumi.get(self, "ram_resource_share_arn") + + @ram_resource_share_arn.setter + def ram_resource_share_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "ram_resource_share_arn", value) + + @property + @pulumi.getter + def routes(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + """ + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "routes", value) + + @property + @pulumi.getter(name="transitGatewayId") + def transit_gateway_id(self) -> pulumi.Input[str]: + """ + The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. + """ + return pulumi.get(self, "transit_gateway_id") + + @transit_gateway_id.setter + def transit_gateway_id(self, value: pulumi.Input[str]): + pulumi.set(self, "transit_gateway_id", value) + + @property + @pulumi.getter(name="transitGatewayAttachmentId") + def transit_gateway_attachment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. + """ + return pulumi.get(self, "transit_gateway_attachment_id") + + @transit_gateway_attachment_id.setter + def transit_gateway_attachment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "transit_gateway_attachment_id", value) + + +@pulumi.input_type +class TransitGatewayAttachmentEnvironmentArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class TransitGatewayAttachmentNetworkArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + The ID of the Network that the Transit Gateway Attachment belongs to, for example, `n-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetIdentityPoolIdentityProviderArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetKafkaClusterBasicArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class GetKafkaClusterDedicatedArgs: + def __init__(__self__, *, + cku: int, + encryption_key: str): + """ + :param int cku: (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. + :param str encryption_key: (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. + """ + pulumi.set(__self__, "cku", cku) + pulumi.set(__self__, "encryption_key", encryption_key) + + @property + @pulumi.getter + def cku(self) -> int: + """ + (Required Number) The number of Confluent Kafka Units (CKUs) for Dedicated cluster types. The minimum number of CKUs for `SINGLE_ZONE` dedicated clusters is `1` whereas `MULTI_ZONE` dedicated clusters must have more than `2` CKUs. + """ + return pulumi.get(self, "cku") + + @cku.setter + def cku(self, value: int): + pulumi.set(self, "cku", value) + + @property + @pulumi.getter(name="encryptionKey") + def encryption_key(self) -> str: + """ + (Optional String) The ID of the encryption key that is used to encrypt the data in the Kafka cluster, for example, `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` (key Amazon Resource Name) for AWS or `projects/my-test-project/locations/global/keyRings/test-byok/cryptoKeys/test` for GCP. Append required permissions to the key policy before creating a Kafka cluster, see [Encrypt Confluent Cloud Clusters using Self-Managed Keys](https://docs.confluent.io/cloud/current/clusters/byok/index.html) for more details. At the moment, self-managed encryption keys are only available for the Dedicated clusters on AWS or GCP. + """ + return pulumi.get(self, "encryption_key") + + @encryption_key.setter + def encryption_key(self, value: str): + pulumi.set(self, "encryption_key", value) + + +@pulumi.input_type +class GetKafkaClusterEnvironmentArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Environment that the Kafka cluster belongs to, for example, `env-xyz456`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetKafkaClusterStandardArgs: + def __init__(__self__): + pass + + +@pulumi.input_type +class GetKafkaTopicCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Kafka API Key. + :param str secret: The Kafka API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Kafka API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Kafka API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetKafkaTopicKafkaClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Kafka cluster, for example, `lkc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Kafka cluster, for example, `lkc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetKsqlClusterEnvironmentArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Environment that the ksqlDB cluster belongs to, for example, `env-xyz456`. + """ + return pulumi.get(self, "id") + + @id.setter def id(self, value: str): pulumi.set(self, "id", value) @@ -1938,6 +2317,32 @@ def private_link_service_aliases(self, value: Mapping[str, str]): pulumi.set(self, "private_link_service_aliases", value) +@pulumi.input_type +class GetNetworkDnsConfigArgs: + def __init__(__self__, *, + resolution: str): + """ + :param str resolution: (Required String) Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + pulumi.set(__self__, "resolution", resolution) + + @property + @pulumi.getter + def resolution(self) -> str: + """ + (Required String) Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + return pulumi.get(self, "resolution") + + @resolution.setter + def resolution(self, value: str): + pulumi.set(self, "resolution", value) + + @pulumi.input_type class GetNetworkEnvironmentArgs: def __init__(__self__, *, @@ -2056,6 +2461,102 @@ def id(self, value: str): pulumi.set(self, "id", value) +@pulumi.input_type +class GetSchemaCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetSchemaRegistryClusterConfigCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + @pulumi.input_type class GetSchemaRegistryClusterEnvironmentArgs: def __init__(__self__, *, @@ -2078,6 +2579,205 @@ def id(self, value: str): pulumi.set(self, "id", value) +@pulumi.input_type +class GetSchemaRegistryClusterModeCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetSchemaRegistryClusterModeSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetSchemaSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetSubjectConfigCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetSubjectConfigSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GetSubjectModeCredentialsArgs: + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: str): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class GetSubjectModeSchemaRegistryClusterArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + @pulumi.input_type class GetTransitGatewayAttachmentEnvironmentArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_confluentcloud/api_key.py b/sdk/python/pulumi_confluentcloud/api_key.py index 72de66cf..44e421f3 100644 --- a/sdk/python/pulumi_confluentcloud/api_key.py +++ b/sdk/python/pulumi_confluentcloud/api_key.py @@ -27,7 +27,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: A free-form description of the API Account. :param pulumi.Input[bool] disable_wait_for_ready: An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`. :param pulumi.Input[str] display_name: A human-readable name for the API Key. - :param pulumi.Input['ApiKeyManagedResourceArgs'] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + :param pulumi.Input['ApiKeyManagedResourceArgs'] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. """ pulumi.set(__self__, "owner", owner) if description is not None: @@ -91,7 +91,7 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="managedResource") def managed_resource(self) -> Optional[pulumi.Input['ApiKeyManagedResourceArgs']]: """ - The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. """ return pulumi.get(self, "managed_resource") @@ -114,7 +114,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: A free-form description of the API Account. :param pulumi.Input[bool] disable_wait_for_ready: An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`. :param pulumi.Input[str] display_name: A human-readable name for the API Key. - :param pulumi.Input['ApiKeyManagedResourceArgs'] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + :param pulumi.Input['ApiKeyManagedResourceArgs'] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. :param pulumi.Input['ApiKeyOwnerArgs'] owner: The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. :param pulumi.Input[str] secret: (Required String, Sensitive) The secret of the API Key. """ @@ -171,7 +171,7 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="managedResource") def managed_resource(self) -> Optional[pulumi.Input['ApiKeyManagedResourceArgs']]: """ - The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. """ return pulumi.get(self, "managed_resource") @@ -218,7 +218,7 @@ def __init__(__self__, """ ## Import - You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Kafka API Key + You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Cluster API Key ```sh $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV" @@ -237,7 +237,7 @@ def __init__(__self__, :param pulumi.Input[str] description: A free-form description of the API Account. :param pulumi.Input[bool] disable_wait_for_ready: An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`. :param pulumi.Input[str] display_name: A human-readable name for the API Key. - :param pulumi.Input[pulumi.InputType['ApiKeyManagedResourceArgs']] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + :param pulumi.Input[pulumi.InputType['ApiKeyManagedResourceArgs']] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. :param pulumi.Input[pulumi.InputType['ApiKeyOwnerArgs']] owner: The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. """ ... @@ -249,7 +249,7 @@ def __init__(__self__, """ ## Import - You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Kafka API Key + You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `/`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export API_KEY_SECRET="" Option #1Cluster API Key ```sh $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV" @@ -328,7 +328,7 @@ def get(resource_name: str, :param pulumi.Input[str] description: A free-form description of the API Account. :param pulumi.Input[bool] disable_wait_for_ready: An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`. :param pulumi.Input[str] display_name: A human-readable name for the API Key. - :param pulumi.Input[pulumi.InputType['ApiKeyManagedResourceArgs']] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + :param pulumi.Input[pulumi.InputType['ApiKeyManagedResourceArgs']] managed_resource: The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. :param pulumi.Input[pulumi.InputType['ApiKeyOwnerArgs']] owner: The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. :param pulumi.Input[str] secret: (Required String, Sensitive) The secret of the API Key. """ @@ -372,7 +372,7 @@ def display_name(self) -> pulumi.Output[str]: @pulumi.getter(name="managedResource") def managed_resource(self) -> pulumi.Output[Optional['outputs.ApiKeyManagedResource']]: """ - The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'. + The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'. """ return pulumi.get(self, "managed_resource") diff --git a/sdk/python/pulumi_confluentcloud/config/__init__.pyi b/sdk/python/pulumi_confluentcloud/config/__init__.pyi index ac37dbd5..1b795df1 100644 --- a/sdk/python/pulumi_confluentcloud/config/__init__.pyi +++ b/sdk/python/pulumi_confluentcloud/config/__init__.pyi @@ -34,6 +34,11 @@ kafkaApiSecret: Optional[str] The Kafka Cluster API Secret. """ +kafkaId: Optional[str] +""" +The Kafka Cluster ID. +""" + kafkaRestEndpoint: Optional[str] """ The Kafka Cluster REST Endpoint. @@ -44,3 +49,23 @@ maxRetries: Optional[int] Maximum number of retries of HTTP client. Defaults to 4. """ +schemaRegistryApiKey: Optional[str] +""" +The Schema Registry Cluster API Key. +""" + +schemaRegistryApiSecret: Optional[str] +""" +The Schema Registry Cluster API Secret. +""" + +schemaRegistryId: Optional[str] +""" +The Schema Registry Cluster ID. +""" + +schemaRegistryRestEndpoint: Optional[str] +""" +The Schema Registry Cluster REST Endpoint. +""" + diff --git a/sdk/python/pulumi_confluentcloud/config/vars.py b/sdk/python/pulumi_confluentcloud/config/vars.py index 73724570..0957a297 100644 --- a/sdk/python/pulumi_confluentcloud/config/vars.py +++ b/sdk/python/pulumi_confluentcloud/config/vars.py @@ -50,6 +50,13 @@ def kafka_api_secret(self) -> Optional[str]: """ return __config__.get('kafkaApiSecret') + @property + def kafka_id(self) -> Optional[str]: + """ + The Kafka Cluster ID. + """ + return __config__.get('kafkaId') + @property def kafka_rest_endpoint(self) -> Optional[str]: """ @@ -64,3 +71,31 @@ def max_retries(self) -> Optional[int]: """ return __config__.get_int('maxRetries') + @property + def schema_registry_api_key(self) -> Optional[str]: + """ + The Schema Registry Cluster API Key. + """ + return __config__.get('schemaRegistryApiKey') + + @property + def schema_registry_api_secret(self) -> Optional[str]: + """ + The Schema Registry Cluster API Secret. + """ + return __config__.get('schemaRegistryApiSecret') + + @property + def schema_registry_id(self) -> Optional[str]: + """ + The Schema Registry Cluster ID. + """ + return __config__.get('schemaRegistryId') + + @property + def schema_registry_rest_endpoint(self) -> Optional[str]: + """ + The Schema Registry Cluster REST Endpoint. + """ + return __config__.get('schemaRegistryRestEndpoint') + diff --git a/sdk/python/pulumi_confluentcloud/get_identity_pool.py b/sdk/python/pulumi_confluentcloud/get_identity_pool.py index dbc16ea0..7cc4200e 100644 --- a/sdk/python/pulumi_confluentcloud/get_identity_pool.py +++ b/sdk/python/pulumi_confluentcloud/get_identity_pool.py @@ -86,6 +86,9 @@ def identity_claim(self) -> str: @property @pulumi.getter(name="identityProvider") def identity_provider(self) -> 'outputs.GetIdentityPoolIdentityProviderResult': + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "identity_provider") @@ -108,7 +111,7 @@ def get_identity_pool(display_name: Optional[str] = None, identity_provider: Optional[pulumi.InputType['GetIdentityPoolIdentityProviderArgs']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentityPoolResult: """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityPool` describes an Identity Pool data source. @@ -133,6 +136,7 @@ def get_identity_pool(display_name: Optional[str] = None, :param str display_name: A human-readable name for the Identity Pool. :param str id: The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + :param pulumi.InputType['GetIdentityPoolIdentityProviderArgs'] identity_provider: (Required Configuration Block) supports the following: """ __args__ = dict() __args__['displayName'] = display_name @@ -156,7 +160,7 @@ def get_identity_pool_output(display_name: Optional[pulumi.Input[Optional[str]]] identity_provider: Optional[pulumi.Input[pulumi.InputType['GetIdentityPoolIdentityProviderArgs']]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityPoolResult]: """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityPool` describes an Identity Pool data source. @@ -181,5 +185,6 @@ def get_identity_pool_output(display_name: Optional[pulumi.Input[Optional[str]]] :param str display_name: A human-readable name for the Identity Pool. :param str id: The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`. + :param pulumi.InputType['GetIdentityPoolIdentityProviderArgs'] identity_provider: (Required Configuration Block) supports the following: """ ... diff --git a/sdk/python/pulumi_confluentcloud/get_identity_provider.py b/sdk/python/pulumi_confluentcloud/get_identity_provider.py index 3d0a922d..4bd2941d 100644 --- a/sdk/python/pulumi_confluentcloud/get_identity_provider.py +++ b/sdk/python/pulumi_confluentcloud/get_identity_provider.py @@ -96,7 +96,7 @@ def get_identity_provider(display_name: Optional[str] = None, id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentityProviderResult: """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityProvider` describes an Identity Provider data source. @@ -135,7 +135,7 @@ def get_identity_provider_output(display_name: Optional[pulumi.Input[Optional[st id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityProviderResult]: """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityProvider` describes an Identity Provider data source. diff --git a/sdk/python/pulumi_confluentcloud/get_kafka_client_quota.py b/sdk/python/pulumi_confluentcloud/get_kafka_client_quota.py index 0c9a50e9..820f0a82 100644 --- a/sdk/python/pulumi_confluentcloud/get_kafka_client_quota.py +++ b/sdk/python/pulumi_confluentcloud/get_kafka_client_quota.py @@ -50,7 +50,6 @@ def __init__(__self__, description=None, display_name=None, environments=None, i def description(self) -> str: """ (Required String) The description of the Kafka Client Quota. - - `throughput` (Required Configuration Block) supports the following: """ return pulumi.get(self, "description") @@ -65,6 +64,9 @@ def display_name(self) -> str: @property @pulumi.getter def environments(self) -> Sequence['outputs.GetKafkaClientQuotaEnvironmentResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "environments") @property @@ -78,6 +80,9 @@ def id(self) -> str: @property @pulumi.getter(name="kafkaClusters") def kafka_clusters(self) -> Sequence['outputs.GetKafkaClientQuotaKafkaClusterResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "kafka_clusters") @property @@ -85,13 +90,15 @@ def kafka_clusters(self) -> Sequence['outputs.GetKafkaClientQuotaKafkaClusterRes def principals(self) -> Sequence[str]: """ (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts. - - `kafka_cluster` (Required Configuration Block) supports the following: """ return pulumi.get(self, "principals") @property @pulumi.getter def throughputs(self) -> Sequence['outputs.GetKafkaClientQuotaThroughputResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "throughputs") @@ -113,10 +120,7 @@ def __await__(self): def get_kafka_client_quota(id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaClientQuotaResult: """ - [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - - > **Note:** `KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\\ - **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `KafkaClientQuota` describes a Kafka Client Quota. @@ -154,10 +158,7 @@ def get_kafka_client_quota(id: Optional[str] = None, def get_kafka_client_quota_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaClientQuotaResult]: """ - [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - - > **Note:** `KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\\ - **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `KafkaClientQuota` describes a Kafka Client Quota. diff --git a/sdk/python/pulumi_confluentcloud/get_kafka_cluster.py b/sdk/python/pulumi_confluentcloud/get_kafka_cluster.py index 0b5cddb3..014f144a 100644 --- a/sdk/python/pulumi_confluentcloud/get_kafka_cluster.py +++ b/sdk/python/pulumi_confluentcloud/get_kafka_cluster.py @@ -150,6 +150,9 @@ def kind(self) -> str: @property @pulumi.getter def networks(self) -> Sequence['outputs.GetKafkaClusterNetworkResult']: + """ + (Optional Configuration Block) supports the following: + """ return pulumi.get(self, "networks") @property diff --git a/sdk/python/pulumi_confluentcloud/get_kafka_topic.py b/sdk/python/pulumi_confluentcloud/get_kafka_topic.py index 6ec6c1ca..5a918b48 100644 --- a/sdk/python/pulumi_confluentcloud/get_kafka_topic.py +++ b/sdk/python/pulumi_confluentcloud/get_kafka_topic.py @@ -69,7 +69,7 @@ def id(self) -> str: @property @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> 'outputs.GetKafkaTopicKafkaClusterResult': + def kafka_cluster(self) -> Optional['outputs.GetKafkaTopicKafkaClusterResult']: return pulumi.get(self, "kafka_cluster") @property @@ -112,28 +112,7 @@ def get_kafka_topic(credentials: Optional[pulumi.InputType['GetKafkaTopicCredent topic_name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaTopicResult: """ - [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - - `KafkaTopic` describes a Kafka Topic data source. - - ## Example Usage - - ```python - import pulumi - import pulumi_confluentcloud as confluentcloud - - orders = confluentcloud.get_kafka_topic(kafka_cluster=confluentcloud.GetKafkaTopicKafkaClusterArgs( - id=confluent_kafka_cluster["basic-cluster"]["id"], - ), - topic_name="orders", - rest_endpoint=confluent_kafka_cluster["basic-cluster"]["rest_endpoint"], - credentials=confluentcloud.GetKafkaTopicCredentialsArgs( - key="", - secret="", - )) - pulumi.export("config", orders.config) - ``` - + Use this data source to access information about an existing resource. :param str rest_endpoint: The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :param str topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length and can contain only alphanumeric characters, hyphens, and underscores. @@ -158,33 +137,12 @@ def get_kafka_topic(credentials: Optional[pulumi.InputType['GetKafkaTopicCredent @_utilities.lift_output_func(get_kafka_topic) def get_kafka_topic_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetKafkaTopicCredentialsArgs']]]] = None, - kafka_cluster: Optional[pulumi.Input[pulumi.InputType['GetKafkaTopicKafkaClusterArgs']]] = None, + kafka_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetKafkaTopicKafkaClusterArgs']]]] = None, rest_endpoint: Optional[pulumi.Input[str]] = None, topic_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaTopicResult]: """ - [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - - `KafkaTopic` describes a Kafka Topic data source. - - ## Example Usage - - ```python - import pulumi - import pulumi_confluentcloud as confluentcloud - - orders = confluentcloud.get_kafka_topic(kafka_cluster=confluentcloud.GetKafkaTopicKafkaClusterArgs( - id=confluent_kafka_cluster["basic-cluster"]["id"], - ), - topic_name="orders", - rest_endpoint=confluent_kafka_cluster["basic-cluster"]["rest_endpoint"], - credentials=confluentcloud.GetKafkaTopicCredentialsArgs( - key="", - secret="", - )) - pulumi.export("config", orders.config) - ``` - + Use this data source to access information about an existing resource. :param str rest_endpoint: The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :param str topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 255 characters in length and can contain only alphanumeric characters, hyphens, and underscores. diff --git a/sdk/python/pulumi_confluentcloud/get_ksql_cluster.py b/sdk/python/pulumi_confluentcloud/get_ksql_cluster.py index 28c6707b..7b6e9f38 100644 --- a/sdk/python/pulumi_confluentcloud/get_ksql_cluster.py +++ b/sdk/python/pulumi_confluentcloud/get_ksql_cluster.py @@ -53,10 +53,6 @@ def __init__(__self__, api_version=None, credential_identities=None, csu=None, d pulumi.set(__self__, "resource_name", resource_name) if rest_endpoint and not isinstance(rest_endpoint, str): raise TypeError("Expected argument 'rest_endpoint' to be a str") - if rest_endpoint is not None: - warnings.warn("""use rest_endpoint instead""", DeprecationWarning) - pulumi.log.warn("""rest_endpoint is deprecated: use rest_endpoint instead""") - pulumi.set(__self__, "rest_endpoint", rest_endpoint) if storage and not isinstance(storage, int): raise TypeError("Expected argument 'storage' to be a int") @@ -79,6 +75,9 @@ def api_version(self) -> str: @property @pulumi.getter(name="credentialIdentities") def credential_identities(self) -> Sequence['outputs.GetKsqlClusterCredentialIdentityResult']: + """ + (Optional Configuration Block) supports the following: + """ return pulumi.get(self, "credential_identities") @property @@ -86,7 +85,6 @@ def credential_identities(self) -> Sequence['outputs.GetKsqlClusterCredentialIde def csu(self) -> int: """ (Required Number) The number of CSUs (Confluent Streaming Units) in the ksqlDB cluster. - - `use_detailed_processing_log` (Optional Boolean) Controls whether the row data should be included in the processing log topic. """ return pulumi.get(self, "csu") @@ -111,6 +109,9 @@ def id(self) -> str: @property @pulumi.getter(name="kafkaClusters") def kafka_clusters(self) -> Sequence['outputs.GetKsqlClusterKafkaClusterResult']: + """ + (Optional Configuration Block) supports the following: + """ return pulumi.get(self, "kafka_clusters") @property @@ -134,7 +135,6 @@ def resource_name(self) -> str: def rest_endpoint(self) -> str: """ (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. - - `kafka_cluster` (Optional Configuration Block) supports the following: """ return pulumi.get(self, "rest_endpoint") @@ -157,6 +157,9 @@ def topic_prefix(self) -> str: @property @pulumi.getter(name="useDetailedProcessingLog") def use_detailed_processing_log(self) -> bool: + """ + (Optional Boolean) Controls whether the row data should be included in the processing log topic. + """ return pulumi.get(self, "use_detailed_processing_log") diff --git a/sdk/python/pulumi_confluentcloud/get_network.py b/sdk/python/pulumi_confluentcloud/get_network.py index 5ae2cb70..7d01c9aa 100644 --- a/sdk/python/pulumi_confluentcloud/get_network.py +++ b/sdk/python/pulumi_confluentcloud/get_network.py @@ -23,7 +23,7 @@ class GetNetworkResult: """ A collection of values returned by getNetwork. """ - def __init__(__self__, aws=None, azures=None, cidr=None, cloud=None, connection_types=None, display_name=None, dns_domain=None, environment=None, gcps=None, id=None, region=None, resource_name=None, zonal_subdomains=None, zones=None): + def __init__(__self__, aws=None, azures=None, cidr=None, cloud=None, connection_types=None, display_name=None, dns_configs=None, dns_domain=None, environment=None, gcps=None, id=None, region=None, resource_name=None, zonal_subdomains=None, zones=None): if aws and not isinstance(aws, list): raise TypeError("Expected argument 'aws' to be a list") pulumi.set(__self__, "aws", aws) @@ -42,6 +42,9 @@ def __init__(__self__, aws=None, azures=None, cidr=None, cloud=None, connection_ if display_name and not isinstance(display_name, str): raise TypeError("Expected argument 'display_name' to be a str") pulumi.set(__self__, "display_name", display_name) + if dns_configs and not isinstance(dns_configs, list): + raise TypeError("Expected argument 'dns_configs' to be a list") + pulumi.set(__self__, "dns_configs", dns_configs) if dns_domain and not isinstance(dns_domain, str): raise TypeError("Expected argument 'dns_domain' to be a str") pulumi.set(__self__, "dns_domain", dns_domain) @@ -115,6 +118,14 @@ def display_name(self) -> str: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="dnsConfigs") + def dns_configs(self) -> Sequence['outputs.GetNetworkDnsConfigResult']: + """ + (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: + """ + return pulumi.get(self, "dns_configs") + @property @pulumi.getter(name="dnsDomain") def dns_domain(self) -> str: @@ -167,7 +178,8 @@ def zonal_subdomains(self) -> Mapping[str, str]: def zones(self) -> Sequence[str]: """ (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -187,6 +199,7 @@ def __await__(self): cloud=self.cloud, connection_types=self.connection_types, display_name=self.display_name, + dns_configs=self.dns_configs, dns_domain=self.dns_domain, environment=self.environment, gcps=self.gcps, @@ -200,6 +213,7 @@ def __await__(self): def get_network(aws: Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]] = None, azures: Optional[Sequence[pulumi.InputType['GetNetworkAzureArgs']]] = None, display_name: Optional[str] = None, + dns_configs: Optional[Sequence[pulumi.InputType['GetNetworkDnsConfigArgs']]] = None, environment: Optional[pulumi.InputType['GetNetworkEnvironmentArgs']] = None, gcps: Optional[Sequence[pulumi.InputType['GetNetworkGcpArgs']]] = None, id: Optional[str] = None, @@ -231,6 +245,7 @@ def get_network(aws: Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]] = :param Sequence[pulumi.InputType['GetNetworkAwArgs']] aws: (Optional Configuration Block) The AWS-specific network details if available. It supports the following: :param Sequence[pulumi.InputType['GetNetworkAzureArgs']] azures: (Optional Configuration Block) The Azure-specific network details if available. It supports the following: :param str display_name: A human-readable name for the Network. + :param Sequence[pulumi.InputType['GetNetworkDnsConfigArgs']] dns_configs: (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: :param Sequence[pulumi.InputType['GetNetworkGcpArgs']] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: :param str id: The ID of the Environment that the Network belongs to, for example, `env-xyz456`. """ @@ -238,6 +253,7 @@ def get_network(aws: Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]] = __args__['aws'] = aws __args__['azures'] = azures __args__['displayName'] = display_name + __args__['dnsConfigs'] = dns_configs __args__['environment'] = environment __args__['gcps'] = gcps __args__['id'] = id @@ -251,6 +267,7 @@ def get_network(aws: Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]] = cloud=__ret__.cloud, connection_types=__ret__.connection_types, display_name=__ret__.display_name, + dns_configs=__ret__.dns_configs, dns_domain=__ret__.dns_domain, environment=__ret__.environment, gcps=__ret__.gcps, @@ -265,6 +282,7 @@ def get_network(aws: Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]] = def get_network_output(aws: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetworkAwArgs']]]]] = None, azures: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetworkAzureArgs']]]]] = None, display_name: Optional[pulumi.Input[Optional[str]]] = None, + dns_configs: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetworkDnsConfigArgs']]]]] = None, environment: Optional[pulumi.Input[pulumi.InputType['GetNetworkEnvironmentArgs']]] = None, gcps: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetworkGcpArgs']]]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, @@ -296,6 +314,7 @@ def get_network_output(aws: Optional[pulumi.Input[Optional[Sequence[pulumi.Input :param Sequence[pulumi.InputType['GetNetworkAwArgs']] aws: (Optional Configuration Block) The AWS-specific network details if available. It supports the following: :param Sequence[pulumi.InputType['GetNetworkAzureArgs']] azures: (Optional Configuration Block) The Azure-specific network details if available. It supports the following: :param str display_name: A human-readable name for the Network. + :param Sequence[pulumi.InputType['GetNetworkDnsConfigArgs']] dns_configs: (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following: :param Sequence[pulumi.InputType['GetNetworkGcpArgs']] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: :param str id: The ID of the Environment that the Network belongs to, for example, `env-xyz456`. """ diff --git a/sdk/python/pulumi_confluentcloud/get_peering.py b/sdk/python/pulumi_confluentcloud/get_peering.py index 2c7ec062..c77e9f7d 100644 --- a/sdk/python/pulumi_confluentcloud/get_peering.py +++ b/sdk/python/pulumi_confluentcloud/get_peering.py @@ -67,13 +67,15 @@ def azures(self) -> Sequence['outputs.GetPeeringAzureResult']: def display_name(self) -> str: """ (Optional String) The name of the Peering. - - `environment` (Required Configuration Block) supports the following: """ return pulumi.get(self, "display_name") @property @pulumi.getter def environment(self) -> 'outputs.GetPeeringEnvironmentResult': + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "environment") @property @@ -95,6 +97,9 @@ def id(self) -> str: @property @pulumi.getter def networks(self) -> Sequence['outputs.GetPeeringNetworkResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "networks") @@ -142,6 +147,7 @@ def get_peering(display_name: Optional[str] = None, :param str display_name: A human-readable name for the Peering. + :param pulumi.InputType['GetPeeringEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. """ __args__ = dict() @@ -191,6 +197,7 @@ def get_peering_output(display_name: Optional[pulumi.Input[Optional[str]]] = Non :param str display_name: A human-readable name for the Peering. + :param pulumi.InputType['GetPeeringEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Peering belongs to, for example, `env-xyz456`. """ ... diff --git a/sdk/python/pulumi_confluentcloud/get_private_link_access.py b/sdk/python/pulumi_confluentcloud/get_private_link_access.py index 215d5684..9b52e2df 100644 --- a/sdk/python/pulumi_confluentcloud/get_private_link_access.py +++ b/sdk/python/pulumi_confluentcloud/get_private_link_access.py @@ -67,13 +67,15 @@ def azures(self) -> Sequence['outputs.GetPrivateLinkAccessAzureResult']: def display_name(self) -> str: """ (Optional String) The name of the Private Link Access. - - `environment` (Required Configuration Block) supports the following: """ return pulumi.get(self, "display_name") @property @pulumi.getter def environment(self) -> 'outputs.GetPrivateLinkAccessEnvironmentResult': + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "environment") @property @@ -95,6 +97,9 @@ def id(self) -> str: @property @pulumi.getter def networks(self) -> Sequence['outputs.GetPrivateLinkAccessNetworkResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "networks") @@ -142,6 +147,7 @@ def get_private_link_access(display_name: Optional[str] = None, :param str display_name: A human-readable name for the Private Link Access. + :param pulumi.InputType['GetPrivateLinkAccessEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. """ __args__ = dict() @@ -191,6 +197,7 @@ def get_private_link_access_output(display_name: Optional[pulumi.Input[Optional[ :param str display_name: A human-readable name for the Private Link Access. + :param pulumi.InputType['GetPrivateLinkAccessEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Private Link Access belongs to, for example, `env-xyz456`. """ ... diff --git a/sdk/python/pulumi_confluentcloud/get_schema.py b/sdk/python/pulumi_confluentcloud/get_schema.py new file mode 100644 index 00000000..b4bbd259 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/get_schema.py @@ -0,0 +1,194 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSchemaResult', + 'AwaitableGetSchemaResult', + 'get_schema', + 'get_schema_output', +] + +@pulumi.output_type +class GetSchemaResult: + """ + A collection of values returned by getSchema. + """ + def __init__(__self__, credentials=None, format=None, id=None, rest_endpoint=None, schema=None, schema_identifier=None, schema_references=None, schema_registry_cluster=None, subject_name=None, version=None): + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if format and not isinstance(format, str): + raise TypeError("Expected argument 'format' to be a str") + pulumi.set(__self__, "format", format) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if rest_endpoint and not isinstance(rest_endpoint, str): + raise TypeError("Expected argument 'rest_endpoint' to be a str") + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema and not isinstance(schema, str): + raise TypeError("Expected argument 'schema' to be a str") + pulumi.set(__self__, "schema", schema) + if schema_identifier and not isinstance(schema_identifier, int): + raise TypeError("Expected argument 'schema_identifier' to be a int") + pulumi.set(__self__, "schema_identifier", schema_identifier) + if schema_references and not isinstance(schema_references, list): + raise TypeError("Expected argument 'schema_references' to be a list") + pulumi.set(__self__, "schema_references", schema_references) + if schema_registry_cluster and not isinstance(schema_registry_cluster, dict): + raise TypeError("Expected argument 'schema_registry_cluster' to be a dict") + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name and not isinstance(subject_name, str): + raise TypeError("Expected argument 'subject_name' to be a str") + pulumi.set(__self__, "subject_name", subject_name) + if version and not isinstance(version, int): + raise TypeError("Expected argument 'version' to be a int") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GetSchemaCredentialsResult']: + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def format(self) -> str: + """ + (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + """ + return pulumi.get(self, "format") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[str]: + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter + def schema(self) -> str: + """ + (Required String) The schema string, for example, `file("./schema_version_1.avsc")`. + """ + return pulumi.get(self, "schema") + + @property + @pulumi.getter(name="schemaIdentifier") + def schema_identifier(self) -> int: + return pulumi.get(self, "schema_identifier") + + @property + @pulumi.getter(name="schemaReferences") + def schema_references(self) -> Sequence['outputs.GetSchemaSchemaReferenceResult']: + """ + (Optional List) The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + """ + return pulumi.get(self, "schema_references") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional['outputs.GetSchemaSchemaRegistryClusterResult']: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> str: + """ + (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + return pulumi.get(self, "subject_name") + + @property + @pulumi.getter + def version(self) -> int: + """ + (Required Integer) The version of the Schema, for example, `4`. + """ + return pulumi.get(self, "version") + + +class AwaitableGetSchemaResult(GetSchemaResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSchemaResult( + credentials=self.credentials, + format=self.format, + id=self.id, + rest_endpoint=self.rest_endpoint, + schema=self.schema, + schema_identifier=self.schema_identifier, + schema_references=self.schema_references, + schema_registry_cluster=self.schema_registry_cluster, + subject_name=self.subject_name, + version=self.version) + + +def get_schema(credentials: Optional[pulumi.InputType['GetSchemaCredentialsArgs']] = None, + rest_endpoint: Optional[str] = None, + schema_identifier: Optional[int] = None, + schema_registry_cluster: Optional[pulumi.InputType['GetSchemaSchemaRegistryClusterArgs']] = None, + subject_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchemaResult: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + """ + __args__ = dict() + __args__['credentials'] = credentials + __args__['restEndpoint'] = rest_endpoint + __args__['schemaIdentifier'] = schema_identifier + __args__['schemaRegistryCluster'] = schema_registry_cluster + __args__['subjectName'] = subject_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('confluentcloud:index/getSchema:getSchema', __args__, opts=opts, typ=GetSchemaResult).value + + return AwaitableGetSchemaResult( + credentials=__ret__.credentials, + format=__ret__.format, + id=__ret__.id, + rest_endpoint=__ret__.rest_endpoint, + schema=__ret__.schema, + schema_identifier=__ret__.schema_identifier, + schema_references=__ret__.schema_references, + schema_registry_cluster=__ret__.schema_registry_cluster, + subject_name=__ret__.subject_name, + version=__ret__.version) + + +@_utilities.lift_output_func(get_schema) +def get_schema_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaCredentialsArgs']]]] = None, + rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None, + schema_identifier: Optional[pulumi.Input[int]] = None, + schema_registry_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaSchemaRegistryClusterArgs']]]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + """ + ... diff --git a/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster.py b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster.py index d7d04685..9963a93f 100644 --- a/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster.py +++ b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster.py @@ -91,13 +91,15 @@ def kind(self) -> str: def package(self) -> str: """ (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. - - `region` (Required Configuration Block) supports the following: """ return pulumi.get(self, "package") @property @pulumi.getter def regions(self) -> Sequence['outputs.GetSchemaRegistryClusterRegionResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "regions") @property diff --git a/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_config.py b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_config.py new file mode 100644 index 00000000..fca2f14a --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_config.py @@ -0,0 +1,122 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSchemaRegistryClusterConfigResult', + 'AwaitableGetSchemaRegistryClusterConfigResult', + 'get_schema_registry_cluster_config', + 'get_schema_registry_cluster_config_output', +] + +@pulumi.output_type +class GetSchemaRegistryClusterConfigResult: + """ + A collection of values returned by getSchemaRegistryClusterConfig. + """ + def __init__(__self__, compatibility_level=None, credentials=None, id=None, rest_endpoint=None, schema_registry_cluster=None): + if compatibility_level and not isinstance(compatibility_level, str): + raise TypeError("Expected argument 'compatibility_level' to be a str") + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if rest_endpoint and not isinstance(rest_endpoint, str): + raise TypeError("Expected argument 'rest_endpoint' to be a str") + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster and not isinstance(schema_registry_cluster, dict): + raise TypeError("Expected argument 'schema_registry_cluster' to be a dict") + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> str: + """ + (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GetSchemaRegistryClusterConfigCredentialsResult']: + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[str]: + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional['outputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterResult']: + return pulumi.get(self, "schema_registry_cluster") + + +class AwaitableGetSchemaRegistryClusterConfigResult(GetSchemaRegistryClusterConfigResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSchemaRegistryClusterConfigResult( + compatibility_level=self.compatibility_level, + credentials=self.credentials, + id=self.id, + rest_endpoint=self.rest_endpoint, + schema_registry_cluster=self.schema_registry_cluster) + + +def get_schema_registry_cluster_config(credentials: Optional[pulumi.InputType['GetSchemaRegistryClusterConfigCredentialsArgs']] = None, + rest_endpoint: Optional[str] = None, + schema_registry_cluster: Optional[pulumi.InputType['GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchemaRegistryClusterConfigResult: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + __args__ = dict() + __args__['credentials'] = credentials + __args__['restEndpoint'] = rest_endpoint + __args__['schemaRegistryCluster'] = schema_registry_cluster + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig', __args__, opts=opts, typ=GetSchemaRegistryClusterConfigResult).value + + return AwaitableGetSchemaRegistryClusterConfigResult( + compatibility_level=__ret__.compatibility_level, + credentials=__ret__.credentials, + id=__ret__.id, + rest_endpoint=__ret__.rest_endpoint, + schema_registry_cluster=__ret__.schema_registry_cluster) + + +@_utilities.lift_output_func(get_schema_registry_cluster_config) +def get_schema_registry_cluster_config_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaRegistryClusterConfigCredentialsArgs']]]] = None, + rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None, + schema_registry_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs']]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaRegistryClusterConfigResult]: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + ... diff --git a/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_mode.py b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_mode.py new file mode 100644 index 00000000..4e6c1762 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/get_schema_registry_cluster_mode.py @@ -0,0 +1,122 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSchemaRegistryClusterModeResult', + 'AwaitableGetSchemaRegistryClusterModeResult', + 'get_schema_registry_cluster_mode', + 'get_schema_registry_cluster_mode_output', +] + +@pulumi.output_type +class GetSchemaRegistryClusterModeResult: + """ + A collection of values returned by getSchemaRegistryClusterMode. + """ + def __init__(__self__, credentials=None, id=None, mode=None, rest_endpoint=None, schema_registry_cluster=None): + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if mode and not isinstance(mode, str): + raise TypeError("Expected argument 'mode' to be a str") + pulumi.set(__self__, "mode", mode) + if rest_endpoint and not isinstance(rest_endpoint, str): + raise TypeError("Expected argument 'rest_endpoint' to be a str") + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster and not isinstance(schema_registry_cluster, dict): + raise TypeError("Expected argument 'schema_registry_cluster' to be a dict") + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GetSchemaRegistryClusterModeCredentialsResult']: + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mode(self) -> str: + """ + (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[str]: + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional['outputs.GetSchemaRegistryClusterModeSchemaRegistryClusterResult']: + return pulumi.get(self, "schema_registry_cluster") + + +class AwaitableGetSchemaRegistryClusterModeResult(GetSchemaRegistryClusterModeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSchemaRegistryClusterModeResult( + credentials=self.credentials, + id=self.id, + mode=self.mode, + rest_endpoint=self.rest_endpoint, + schema_registry_cluster=self.schema_registry_cluster) + + +def get_schema_registry_cluster_mode(credentials: Optional[pulumi.InputType['GetSchemaRegistryClusterModeCredentialsArgs']] = None, + rest_endpoint: Optional[str] = None, + schema_registry_cluster: Optional[pulumi.InputType['GetSchemaRegistryClusterModeSchemaRegistryClusterArgs']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchemaRegistryClusterModeResult: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + __args__ = dict() + __args__['credentials'] = credentials + __args__['restEndpoint'] = rest_endpoint + __args__['schemaRegistryCluster'] = schema_registry_cluster + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode', __args__, opts=opts, typ=GetSchemaRegistryClusterModeResult).value + + return AwaitableGetSchemaRegistryClusterModeResult( + credentials=__ret__.credentials, + id=__ret__.id, + mode=__ret__.mode, + rest_endpoint=__ret__.rest_endpoint, + schema_registry_cluster=__ret__.schema_registry_cluster) + + +@_utilities.lift_output_func(get_schema_registry_cluster_mode) +def get_schema_registry_cluster_mode_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaRegistryClusterModeCredentialsArgs']]]] = None, + rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None, + schema_registry_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetSchemaRegistryClusterModeSchemaRegistryClusterArgs']]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaRegistryClusterModeResult]: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + ... diff --git a/sdk/python/pulumi_confluentcloud/get_subject_config.py b/sdk/python/pulumi_confluentcloud/get_subject_config.py new file mode 100644 index 00000000..13d946ef --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/get_subject_config.py @@ -0,0 +1,137 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubjectConfigResult', + 'AwaitableGetSubjectConfigResult', + 'get_subject_config', + 'get_subject_config_output', +] + +@pulumi.output_type +class GetSubjectConfigResult: + """ + A collection of values returned by getSubjectConfig. + """ + def __init__(__self__, compatibility_level=None, credentials=None, id=None, rest_endpoint=None, schema_registry_cluster=None, subject_name=None): + if compatibility_level and not isinstance(compatibility_level, str): + raise TypeError("Expected argument 'compatibility_level' to be a str") + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if rest_endpoint and not isinstance(rest_endpoint, str): + raise TypeError("Expected argument 'rest_endpoint' to be a str") + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster and not isinstance(schema_registry_cluster, dict): + raise TypeError("Expected argument 'schema_registry_cluster' to be a dict") + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name and not isinstance(subject_name, str): + raise TypeError("Expected argument 'subject_name' to be a str") + pulumi.set(__self__, "subject_name", subject_name) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> str: + """ + (Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GetSubjectConfigCredentialsResult']: + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[str]: + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional['outputs.GetSubjectConfigSchemaRegistryClusterResult']: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> str: + return pulumi.get(self, "subject_name") + + +class AwaitableGetSubjectConfigResult(GetSubjectConfigResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubjectConfigResult( + compatibility_level=self.compatibility_level, + credentials=self.credentials, + id=self.id, + rest_endpoint=self.rest_endpoint, + schema_registry_cluster=self.schema_registry_cluster, + subject_name=self.subject_name) + + +def get_subject_config(credentials: Optional[pulumi.InputType['GetSubjectConfigCredentialsArgs']] = None, + rest_endpoint: Optional[str] = None, + schema_registry_cluster: Optional[pulumi.InputType['GetSubjectConfigSchemaRegistryClusterArgs']] = None, + subject_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubjectConfigResult: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + __args__ = dict() + __args__['credentials'] = credentials + __args__['restEndpoint'] = rest_endpoint + __args__['schemaRegistryCluster'] = schema_registry_cluster + __args__['subjectName'] = subject_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('confluentcloud:index/getSubjectConfig:getSubjectConfig', __args__, opts=opts, typ=GetSubjectConfigResult).value + + return AwaitableGetSubjectConfigResult( + compatibility_level=__ret__.compatibility_level, + credentials=__ret__.credentials, + id=__ret__.id, + rest_endpoint=__ret__.rest_endpoint, + schema_registry_cluster=__ret__.schema_registry_cluster, + subject_name=__ret__.subject_name) + + +@_utilities.lift_output_func(get_subject_config) +def get_subject_config_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetSubjectConfigCredentialsArgs']]]] = None, + rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None, + schema_registry_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetSubjectConfigSchemaRegistryClusterArgs']]]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubjectConfigResult]: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + ... diff --git a/sdk/python/pulumi_confluentcloud/get_subject_mode.py b/sdk/python/pulumi_confluentcloud/get_subject_mode.py new file mode 100644 index 00000000..98a43a26 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/get_subject_mode.py @@ -0,0 +1,137 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSubjectModeResult', + 'AwaitableGetSubjectModeResult', + 'get_subject_mode', + 'get_subject_mode_output', +] + +@pulumi.output_type +class GetSubjectModeResult: + """ + A collection of values returned by getSubjectMode. + """ + def __init__(__self__, credentials=None, id=None, mode=None, rest_endpoint=None, schema_registry_cluster=None, subject_name=None): + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if mode and not isinstance(mode, str): + raise TypeError("Expected argument 'mode' to be a str") + pulumi.set(__self__, "mode", mode) + if rest_endpoint and not isinstance(rest_endpoint, str): + raise TypeError("Expected argument 'rest_endpoint' to be a str") + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster and not isinstance(schema_registry_cluster, dict): + raise TypeError("Expected argument 'schema_registry_cluster' to be a dict") + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name and not isinstance(subject_name, str): + raise TypeError("Expected argument 'subject_name' to be a str") + pulumi.set(__self__, "subject_name", subject_name) + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GetSubjectModeCredentialsResult']: + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mode(self) -> str: + """ + (Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[str]: + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional['outputs.GetSubjectModeSchemaRegistryClusterResult']: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> str: + return pulumi.get(self, "subject_name") + + +class AwaitableGetSubjectModeResult(GetSubjectModeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSubjectModeResult( + credentials=self.credentials, + id=self.id, + mode=self.mode, + rest_endpoint=self.rest_endpoint, + schema_registry_cluster=self.schema_registry_cluster, + subject_name=self.subject_name) + + +def get_subject_mode(credentials: Optional[pulumi.InputType['GetSubjectModeCredentialsArgs']] = None, + rest_endpoint: Optional[str] = None, + schema_registry_cluster: Optional[pulumi.InputType['GetSubjectModeSchemaRegistryClusterArgs']] = None, + subject_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubjectModeResult: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + __args__ = dict() + __args__['credentials'] = credentials + __args__['restEndpoint'] = rest_endpoint + __args__['schemaRegistryCluster'] = schema_registry_cluster + __args__['subjectName'] = subject_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('confluentcloud:index/getSubjectMode:getSubjectMode', __args__, opts=opts, typ=GetSubjectModeResult).value + + return AwaitableGetSubjectModeResult( + credentials=__ret__.credentials, + id=__ret__.id, + mode=__ret__.mode, + rest_endpoint=__ret__.rest_endpoint, + schema_registry_cluster=__ret__.schema_registry_cluster, + subject_name=__ret__.subject_name) + + +@_utilities.lift_output_func(get_subject_mode) +def get_subject_mode_output(credentials: Optional[pulumi.Input[Optional[pulumi.InputType['GetSubjectModeCredentialsArgs']]]] = None, + rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None, + schema_registry_cluster: Optional[pulumi.Input[Optional[pulumi.InputType['GetSubjectModeSchemaRegistryClusterArgs']]]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubjectModeResult]: + """ + Use this data source to access information about an existing resource. + + :param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + ... diff --git a/sdk/python/pulumi_confluentcloud/get_transit_gateway_attachment.py b/sdk/python/pulumi_confluentcloud/get_transit_gateway_attachment.py index b382292d..d311fa05 100644 --- a/sdk/python/pulumi_confluentcloud/get_transit_gateway_attachment.py +++ b/sdk/python/pulumi_confluentcloud/get_transit_gateway_attachment.py @@ -53,13 +53,15 @@ def aws(self) -> Sequence['outputs.GetTransitGatewayAttachmentAwResult']: def display_name(self) -> str: """ (Required String) The name of the Transit Gateway Attachment. - - `environment` (Required Configuration Block) supports the following: """ return pulumi.get(self, "display_name") @property @pulumi.getter def environment(self) -> 'outputs.GetTransitGatewayAttachmentEnvironmentResult': + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "environment") @property @@ -73,6 +75,9 @@ def id(self) -> str: @property @pulumi.getter def networks(self) -> Sequence['outputs.GetTransitGatewayAttachmentNetworkResult']: + """ + (Required Configuration Block) supports the following: + """ return pulumi.get(self, "networks") @@ -94,10 +99,7 @@ def get_transit_gateway_attachment(display_name: Optional[str] = None, id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTransitGatewayAttachmentResult: """ - [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - - > **Note:** `TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\\ - **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `TransitGatewayAttachment` describes a Transit Gateway Attachment data source. @@ -121,6 +123,7 @@ def get_transit_gateway_attachment(display_name: Optional[str] = None, :param str display_name: A human-readable name for the Transit Gateway Attachment. + :param pulumi.InputType['GetTransitGatewayAttachmentEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. """ __args__ = dict() @@ -144,10 +147,7 @@ def get_transit_gateway_attachment_output(display_name: Optional[pulumi.Input[Op id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayAttachmentResult]: """ - [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Networking v1](https://img.shields.io/badge/-Request%20Access%20To%20Networking%20v1-%23bc8540)](mailto:ccloud-api-access+networking-v1-early-access@confluent.io?subject=Request%20to%20join%20networking/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20networking/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) - - > **Note:** `TransitGatewayAttachment` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\\ - **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion. + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `TransitGatewayAttachment` describes a Transit Gateway Attachment data source. @@ -171,6 +171,7 @@ def get_transit_gateway_attachment_output(display_name: Optional[pulumi.Input[Op :param str display_name: A human-readable name for the Transit Gateway Attachment. + :param pulumi.InputType['GetTransitGatewayAttachmentEnvironmentArgs'] environment: (Required Configuration Block) supports the following: :param str id: The ID of the Environment that the Transit Gateway Attachment belongs to, for example, `env-xyz456`. """ ... diff --git a/sdk/python/pulumi_confluentcloud/identity_pool.py b/sdk/python/pulumi_confluentcloud/identity_pool.py index 2b0d7a1c..be1c384e 100644 --- a/sdk/python/pulumi_confluentcloud/identity_pool.py +++ b/sdk/python/pulumi_confluentcloud/identity_pool.py @@ -196,7 +196,7 @@ def __init__(__self__, identity_provider: Optional[pulumi.Input[pulumi.InputType['IdentityPoolIdentityProviderArgs']]] = None, __props__=None): """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. @@ -270,7 +270,7 @@ def __init__(__self__, args: IdentityPoolArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityPool` provides an Identity Pool resource that enables creating, editing, and deleting identity pools on Confluent Cloud. diff --git a/sdk/python/pulumi_confluentcloud/identity_provider.py b/sdk/python/pulumi_confluentcloud/identity_provider.py index c57697ae..ed53ed76 100644 --- a/sdk/python/pulumi_confluentcloud/identity_provider.py +++ b/sdk/python/pulumi_confluentcloud/identity_provider.py @@ -162,7 +162,7 @@ def __init__(__self__, jwks_uri: Optional[pulumi.Input[str]] = None, __props__=None): """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. @@ -219,7 +219,7 @@ def __init__(__self__, args: IdentityProviderArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.) + [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) `IdentityProvider` provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud. diff --git a/sdk/python/pulumi_confluentcloud/kafka_acl.py b/sdk/python/pulumi_confluentcloud/kafka_acl.py index ecebce7c..4e9dbc9d 100644 --- a/sdk/python/pulumi_confluentcloud/kafka_acl.py +++ b/sdk/python/pulumi_confluentcloud/kafka_acl.py @@ -17,7 +17,6 @@ class KafkaAclArgs: def __init__(__self__, *, host: pulumi.Input[str], - kafka_cluster: pulumi.Input['KafkaAclKafkaClusterArgs'], operation: pulumi.Input[str], pattern_type: pulumi.Input[str], permission: pulumi.Input[str], @@ -25,6 +24,7 @@ def __init__(__self__, *, resource_name: pulumi.Input[str], resource_type: pulumi.Input[str], credentials: Optional[pulumi.Input['KafkaAclCredentialsArgs']] = None, + kafka_cluster: Optional[pulumi.Input['KafkaAclKafkaClusterArgs']] = None, rest_endpoint: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a KafkaAcl resource. @@ -39,7 +39,6 @@ def __init__(__self__, *, :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`. """ pulumi.set(__self__, "host", host) - pulumi.set(__self__, "kafka_cluster", kafka_cluster) pulumi.set(__self__, "operation", operation) pulumi.set(__self__, "pattern_type", pattern_type) pulumi.set(__self__, "permission", permission) @@ -48,6 +47,8 @@ def __init__(__self__, *, pulumi.set(__self__, "resource_type", resource_type) if credentials is not None: pulumi.set(__self__, "credentials", credentials) + if kafka_cluster is not None: + pulumi.set(__self__, "kafka_cluster", kafka_cluster) if rest_endpoint is not None: pulumi.set(__self__, "rest_endpoint", rest_endpoint) @@ -63,15 +64,6 @@ def host(self) -> pulumi.Input[str]: def host(self, value: pulumi.Input[str]): pulumi.set(self, "host", value) - @property - @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Input['KafkaAclKafkaClusterArgs']: - return pulumi.get(self, "kafka_cluster") - - @kafka_cluster.setter - def kafka_cluster(self, value: pulumi.Input['KafkaAclKafkaClusterArgs']): - pulumi.set(self, "kafka_cluster", value) - @property @pulumi.getter def operation(self) -> pulumi.Input[str]: @@ -156,6 +148,15 @@ def credentials(self) -> Optional[pulumi.Input['KafkaAclCredentialsArgs']]: def credentials(self, value: Optional[pulumi.Input['KafkaAclCredentialsArgs']]): pulumi.set(self, "credentials", value) + @property + @pulumi.getter(name="kafkaCluster") + def kafka_cluster(self) -> Optional[pulumi.Input['KafkaAclKafkaClusterArgs']]: + return pulumi.get(self, "kafka_cluster") + + @kafka_cluster.setter + def kafka_cluster(self, value: Optional[pulumi.Input['KafkaAclKafkaClusterArgs']]): + pulumi.set(self, "kafka_cluster", value) + @property @pulumi.getter(name="restEndpoint") def rest_endpoint(self) -> Optional[pulumi.Input[str]]: @@ -352,7 +353,13 @@ def __init__(__self__, """ ## Import - You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" ```sh $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" @@ -381,7 +388,13 @@ def __init__(__self__, """ ## Import - You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for example$ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `/######`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace $ export CONFLUENT_CLOUD_API_KEY="" $ export CONFLUENT_CLOUD_API_SECRET="" ```sh $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW" @@ -427,8 +440,6 @@ def _internal_init(__self__, if host is None and not opts.urn: raise TypeError("Missing required property 'host'") __props__.__dict__["host"] = host - if kafka_cluster is None and not opts.urn: - raise TypeError("Missing required property 'kafka_cluster'") __props__.__dict__["kafka_cluster"] = kafka_cluster if operation is None and not opts.urn: raise TypeError("Missing required property 'operation'") @@ -522,7 +533,7 @@ def host(self) -> pulumi.Output[str]: @property @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Output['outputs.KafkaAclKafkaCluster']: + def kafka_cluster(self) -> pulumi.Output[Optional['outputs.KafkaAclKafkaCluster']]: return pulumi.get(self, "kafka_cluster") @property diff --git a/sdk/python/pulumi_confluentcloud/kafka_cluster_config.py b/sdk/python/pulumi_confluentcloud/kafka_cluster_config.py index 7223e44a..a1014913 100644 --- a/sdk/python/pulumi_confluentcloud/kafka_cluster_config.py +++ b/sdk/python/pulumi_confluentcloud/kafka_cluster_config.py @@ -17,8 +17,8 @@ class KafkaClusterConfigArgs: def __init__(__self__, *, config: pulumi.Input[Mapping[str, pulumi.Input[str]]], - kafka_cluster: pulumi.Input['KafkaClusterConfigKafkaClusterArgs'], credentials: Optional[pulumi.Input['KafkaClusterConfigCredentialsArgs']] = None, + kafka_cluster: Optional[pulumi.Input['KafkaClusterConfigKafkaClusterArgs']] = None, rest_endpoint: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a KafkaClusterConfig resource. @@ -27,9 +27,10 @@ def __init__(__self__, *, :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). """ pulumi.set(__self__, "config", config) - pulumi.set(__self__, "kafka_cluster", kafka_cluster) if credentials is not None: pulumi.set(__self__, "credentials", credentials) + if kafka_cluster is not None: + pulumi.set(__self__, "kafka_cluster", kafka_cluster) if rest_endpoint is not None: pulumi.set(__self__, "rest_endpoint", rest_endpoint) @@ -45,15 +46,6 @@ def config(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: def config(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "config", value) - @property - @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Input['KafkaClusterConfigKafkaClusterArgs']: - return pulumi.get(self, "kafka_cluster") - - @kafka_cluster.setter - def kafka_cluster(self, value: pulumi.Input['KafkaClusterConfigKafkaClusterArgs']): - pulumi.set(self, "kafka_cluster", value) - @property @pulumi.getter def credentials(self) -> Optional[pulumi.Input['KafkaClusterConfigCredentialsArgs']]: @@ -66,6 +58,15 @@ def credentials(self) -> Optional[pulumi.Input['KafkaClusterConfigCredentialsArg def credentials(self, value: Optional[pulumi.Input['KafkaClusterConfigCredentialsArgs']]): pulumi.set(self, "credentials", value) + @property + @pulumi.getter(name="kafkaCluster") + def kafka_cluster(self) -> Optional[pulumi.Input['KafkaClusterConfigKafkaClusterArgs']]: + return pulumi.get(self, "kafka_cluster") + + @kafka_cluster.setter + def kafka_cluster(self, value: Optional[pulumi.Input['KafkaClusterConfigKafkaClusterArgs']]): + pulumi.set(self, "kafka_cluster", value) + @property @pulumi.getter(name="restEndpoint") def rest_endpoint(self) -> Optional[pulumi.Input[str]]: @@ -158,34 +159,15 @@ def __init__(__self__, rest_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): """ - [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - - `KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. - - ## Example Usage - - ```python - import pulumi - import pulumi_confluentcloud as confluentcloud - - orders = confluentcloud.KafkaClusterConfig("orders", - kafka_cluster=confluentcloud.KafkaClusterConfigKafkaClusterArgs( - id=confluent_kafka_cluster["dedicated"]["id"], - ), - rest_endpoint=confluent_kafka_cluster["dedicated"]["rest_endpoint"], - config={ - "auto.create.topics.enable": "true", - "log.retention.ms": "604800123", - }, - credentials=confluentcloud.KafkaClusterConfigCredentialsArgs( - key=confluent_api_key["app-manager-kafka-api-key"]["id"], - secret=confluent_api_key["app-manager-kafka-api-key"]["secret"], - )) - ``` - ## Import - You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace ```sh $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 @@ -206,34 +188,15 @@ def __init__(__self__, args: KafkaClusterConfigArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) - - `KafkaClusterConfig` provides a Kafka cluster config resource that enables updating configs on a Dedicated Kafka cluster on Confluent Cloud. - - ## Example Usage - - ```python - import pulumi - import pulumi_confluentcloud as confluentcloud - - orders = confluentcloud.KafkaClusterConfig("orders", - kafka_cluster=confluentcloud.KafkaClusterConfigKafkaClusterArgs( - id=confluent_kafka_cluster["dedicated"]["id"], - ), - rest_endpoint=confluent_kafka_cluster["dedicated"]["rest_endpoint"], - config={ - "auto.create.topics.enable": "true", - "log.retention.ms": "604800123", - }, - credentials=confluentcloud.KafkaClusterConfigCredentialsArgs( - key=confluent_api_key["app-manager-kafka-api-key"]["id"], - secret=confluent_api_key["app-manager-kafka-api-key"]["secret"], - )) - ``` - ## Import - You can import a Kafka cluster config by using the Kafka cluster ID, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import a Kafka cluster config by using the Kafka cluster ID, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace ```sh $ pulumi import confluentcloud:index/kafkaClusterConfig:KafkaClusterConfig test lkc-abc123 @@ -273,8 +236,6 @@ def _internal_init(__self__, raise TypeError("Missing required property 'config'") __props__.__dict__["config"] = config __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) - if kafka_cluster is None and not opts.urn: - raise TypeError("Missing required property 'kafka_cluster'") __props__.__dict__["kafka_cluster"] = kafka_cluster __props__.__dict__["rest_endpoint"] = rest_endpoint secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) @@ -332,7 +293,7 @@ def credentials(self) -> pulumi.Output[Optional['outputs.KafkaClusterConfigCrede @property @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Output['outputs.KafkaClusterConfigKafkaCluster']: + def kafka_cluster(self) -> pulumi.Output[Optional['outputs.KafkaClusterConfigKafkaCluster']]: return pulumi.get(self, "kafka_cluster") @property diff --git a/sdk/python/pulumi_confluentcloud/kafka_topic.py b/sdk/python/pulumi_confluentcloud/kafka_topic.py index 777bc06b..c171c2b8 100644 --- a/sdk/python/pulumi_confluentcloud/kafka_topic.py +++ b/sdk/python/pulumi_confluentcloud/kafka_topic.py @@ -16,11 +16,11 @@ @pulumi.input_type class KafkaTopicArgs: def __init__(__self__, *, - kafka_cluster: pulumi.Input['KafkaTopicKafkaClusterArgs'], topic_name: pulumi.Input[str], config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, credentials: Optional[pulumi.Input['KafkaTopicCredentialsArgs']] = None, http_endpoint: Optional[pulumi.Input[str]] = None, + kafka_cluster: Optional[pulumi.Input['KafkaTopicKafkaClusterArgs']] = None, partitions_count: Optional[pulumi.Input[int]] = None, rest_endpoint: Optional[pulumi.Input[str]] = None): """ @@ -32,7 +32,6 @@ def __init__(__self__, *, :param pulumi.Input[int] partitions_count: The number of partitions to create in the topic. Defaults to `6`. :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). """ - pulumi.set(__self__, "kafka_cluster", kafka_cluster) pulumi.set(__self__, "topic_name", topic_name) if config is not None: pulumi.set(__self__, "config", config) @@ -43,20 +42,13 @@ def __init__(__self__, *, pulumi.log.warn("""http_endpoint is deprecated: This parameter has been deprecated in favour of Rest Endpoint""") if http_endpoint is not None: pulumi.set(__self__, "http_endpoint", http_endpoint) + if kafka_cluster is not None: + pulumi.set(__self__, "kafka_cluster", kafka_cluster) if partitions_count is not None: pulumi.set(__self__, "partitions_count", partitions_count) if rest_endpoint is not None: pulumi.set(__self__, "rest_endpoint", rest_endpoint) - @property - @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Input['KafkaTopicKafkaClusterArgs']: - return pulumi.get(self, "kafka_cluster") - - @kafka_cluster.setter - def kafka_cluster(self, value: pulumi.Input['KafkaTopicKafkaClusterArgs']): - pulumi.set(self, "kafka_cluster", value) - @property @pulumi.getter(name="topicName") def topic_name(self) -> pulumi.Input[str]: @@ -105,6 +97,15 @@ def http_endpoint(self) -> Optional[pulumi.Input[str]]: def http_endpoint(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "http_endpoint", value) + @property + @pulumi.getter(name="kafkaCluster") + def kafka_cluster(self) -> Optional[pulumi.Input['KafkaTopicKafkaClusterArgs']]: + return pulumi.get(self, "kafka_cluster") + + @kafka_cluster.setter + def kafka_cluster(self, value: Optional[pulumi.Input['KafkaTopicKafkaClusterArgs']]): + pulumi.set(self, "kafka_cluster", value) + @property @pulumi.getter(name="partitionsCount") def partitions_count(self) -> Optional[pulumi.Input[int]]: @@ -265,7 +266,13 @@ def __init__(__self__, """ ## Import - You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace ```sh $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 @@ -371,7 +378,13 @@ def __init__(__self__, """ ## Import - You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for example$ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + You can import a Kafka topic by using the Kafka cluster ID and Kafka topic name in the format `/`, for exampleOption #1Manage multiple Kafka clusters in the same Terraform workspace $ export IMPORT_KAFKA_API_KEY="" $ export IMPORT_KAFKA_API_SECRET="" $ export IMPORT_KAFKA_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 + ``` + + Option #2Manage a single Kafka cluster in the same Terraform workspace ```sh $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123 @@ -496,8 +509,6 @@ def _internal_init(__self__, warnings.warn("""This parameter has been deprecated in favour of Rest Endpoint""", DeprecationWarning) pulumi.log.warn("""http_endpoint is deprecated: This parameter has been deprecated in favour of Rest Endpoint""") __props__.__dict__["http_endpoint"] = http_endpoint - if kafka_cluster is None and not opts.urn: - raise TypeError("Missing required property 'kafka_cluster'") __props__.__dict__["kafka_cluster"] = kafka_cluster __props__.__dict__["partitions_count"] = partitions_count __props__.__dict__["rest_endpoint"] = rest_endpoint @@ -576,7 +587,7 @@ def http_endpoint(self) -> pulumi.Output[str]: @property @pulumi.getter(name="kafkaCluster") - def kafka_cluster(self) -> pulumi.Output['outputs.KafkaTopicKafkaCluster']: + def kafka_cluster(self) -> pulumi.Output[Optional['outputs.KafkaTopicKafkaCluster']]: return pulumi.get(self, "kafka_cluster") @property diff --git a/sdk/python/pulumi_confluentcloud/network.py b/sdk/python/pulumi_confluentcloud/network.py index f0c3e769..5bc000cc 100644 --- a/sdk/python/pulumi_confluentcloud/network.py +++ b/sdk/python/pulumi_confluentcloud/network.py @@ -24,6 +24,7 @@ def __init__(__self__, *, azures: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAzureArgs']]]] = None, cidr: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input['NetworkDnsConfigArgs']] = None, gcps: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkGcpArgs']]]] = None, zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ @@ -36,9 +37,11 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['NetworkAzureArgs']]] azures: (Optional Configuration Block) The Azure-specific network details if available. It supports the following: :param pulumi.Input[str] cidr: The IPv4 CIDR block to used for the network. Must be `/16`. Required for VPC peering and AWS TransitGateway. :param pulumi.Input[str] display_name: The name of the Network. + :param pulumi.Input['NetworkDnsConfigArgs'] dns_config: Network DNS config. It applies only to the PRIVATELINK network connection type. :param pulumi.Input[Sequence[pulumi.Input['NetworkGcpArgs']]] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -55,6 +58,8 @@ def __init__(__self__, *, pulumi.set(__self__, "cidr", cidr) if display_name is not None: pulumi.set(__self__, "display_name", display_name) + if dns_config is not None: + pulumi.set(__self__, "dns_config", dns_config) if gcps is not None: pulumi.set(__self__, "gcps", gcps) if zones is not None: @@ -156,6 +161,18 @@ def display_name(self) -> Optional[pulumi.Input[str]]: def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) + @property + @pulumi.getter(name="dnsConfig") + def dns_config(self) -> Optional[pulumi.Input['NetworkDnsConfigArgs']]: + """ + Network DNS config. It applies only to the PRIVATELINK network connection type. + """ + return pulumi.get(self, "dns_config") + + @dns_config.setter + def dns_config(self, value: Optional[pulumi.Input['NetworkDnsConfigArgs']]): + pulumi.set(self, "dns_config", value) + @property @pulumi.getter def gcps(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkGcpArgs']]]]: @@ -173,7 +190,8 @@ def gcps(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkGcpArg def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -194,6 +212,7 @@ def __init__(__self__, *, cloud: Optional[pulumi.Input[str]] = None, connection_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input['NetworkDnsConfigArgs']] = None, dns_domain: Optional[pulumi.Input[str]] = None, environment: Optional[pulumi.Input['NetworkEnvironmentArgs']] = None, gcps: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkGcpArgs']]]] = None, @@ -209,6 +228,7 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud: The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`. :param pulumi.Input[Sequence[pulumi.Input[str]]] connection_types: The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`. :param pulumi.Input[str] display_name: The name of the Network. + :param pulumi.Input['NetworkDnsConfigArgs'] dns_config: Network DNS config. It applies only to the PRIVATELINK network connection type. :param pulumi.Input[str] dns_domain: (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. :param pulumi.Input['NetworkEnvironmentArgs'] environment: Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. :param pulumi.Input[Sequence[pulumi.Input['NetworkGcpArgs']]] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -216,7 +236,8 @@ def __init__(__self__, *, :param pulumi.Input[str] resource_name: (Required String) The Confluent Resource Name of the Network. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] zonal_subdomains: (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`. :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -233,6 +254,8 @@ def __init__(__self__, *, pulumi.set(__self__, "connection_types", connection_types) if display_name is not None: pulumi.set(__self__, "display_name", display_name) + if dns_config is not None: + pulumi.set(__self__, "dns_config", dns_config) if dns_domain is not None: pulumi.set(__self__, "dns_domain", dns_domain) if environment is not None: @@ -320,6 +343,18 @@ def display_name(self) -> Optional[pulumi.Input[str]]: def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) + @property + @pulumi.getter(name="dnsConfig") + def dns_config(self) -> Optional[pulumi.Input['NetworkDnsConfigArgs']]: + """ + Network DNS config. It applies only to the PRIVATELINK network connection type. + """ + return pulumi.get(self, "dns_config") + + @dns_config.setter + def dns_config(self, value: Optional[pulumi.Input['NetworkDnsConfigArgs']]): + pulumi.set(self, "dns_config", value) + @property @pulumi.getter(name="dnsDomain") def dns_domain(self) -> Optional[pulumi.Input[str]]: @@ -397,7 +432,8 @@ def zonal_subdomains(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Inpu def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -420,6 +456,7 @@ def __init__(__self__, cloud: Optional[pulumi.Input[str]] = None, connection_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input[pulumi.InputType['NetworkDnsConfigArgs']]] = None, environment: Optional[pulumi.Input[pulumi.InputType['NetworkEnvironmentArgs']]] = None, gcps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkGcpArgs']]]]] = None, region: Optional[pulumi.Input[str]] = None, @@ -444,11 +481,13 @@ def __init__(__self__, :param pulumi.Input[str] cloud: The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`. :param pulumi.Input[Sequence[pulumi.Input[str]]] connection_types: The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`. :param pulumi.Input[str] display_name: The name of the Network. + :param pulumi.Input[pulumi.InputType['NetworkDnsConfigArgs']] dns_config: Network DNS config. It applies only to the PRIVATELINK network connection type. :param pulumi.Input[pulumi.InputType['NetworkEnvironmentArgs']] environment: Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkGcpArgs']]]] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: :param pulumi.Input[str] region: The cloud provider region where the network exists. :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -491,6 +530,7 @@ def _internal_init(__self__, cloud: Optional[pulumi.Input[str]] = None, connection_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input[pulumi.InputType['NetworkDnsConfigArgs']]] = None, environment: Optional[pulumi.Input[pulumi.InputType['NetworkEnvironmentArgs']]] = None, gcps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkGcpArgs']]]]] = None, region: Optional[pulumi.Input[str]] = None, @@ -514,6 +554,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'connection_types'") __props__.__dict__["connection_types"] = connection_types __props__.__dict__["display_name"] = display_name + __props__.__dict__["dns_config"] = dns_config if environment is None and not opts.urn: raise TypeError("Missing required property 'environment'") __props__.__dict__["environment"] = environment @@ -541,6 +582,7 @@ def get(resource_name: str, cloud: Optional[pulumi.Input[str]] = None, connection_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input[pulumi.InputType['NetworkDnsConfigArgs']]] = None, dns_domain: Optional[pulumi.Input[str]] = None, environment: Optional[pulumi.Input[pulumi.InputType['NetworkEnvironmentArgs']]] = None, gcps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkGcpArgs']]]]] = None, @@ -561,6 +603,7 @@ def get(resource_name: str, :param pulumi.Input[str] cloud: The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`. :param pulumi.Input[Sequence[pulumi.Input[str]]] connection_types: The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`. :param pulumi.Input[str] display_name: The name of the Network. + :param pulumi.Input[pulumi.InputType['NetworkDnsConfigArgs']] dns_config: Network DNS config. It applies only to the PRIVATELINK network connection type. :param pulumi.Input[str] dns_domain: (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link. :param pulumi.Input[pulumi.InputType['NetworkEnvironmentArgs']] environment: Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkGcpArgs']]]] gcps: (Optional Configuration Block) The GCP-specific network details if available. It supports the following: @@ -568,7 +611,8 @@ def get(resource_name: str, :param pulumi.Input[str] resource_name_: (Required String) The Confluent Resource Name of the Network. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] zonal_subdomains: (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`. :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. @@ -583,6 +627,7 @@ def get(resource_name: str, __props__.__dict__["cloud"] = cloud __props__.__dict__["connection_types"] = connection_types __props__.__dict__["display_name"] = display_name + __props__.__dict__["dns_config"] = dns_config __props__.__dict__["dns_domain"] = dns_domain __props__.__dict__["environment"] = environment __props__.__dict__["gcps"] = gcps @@ -640,6 +685,14 @@ def display_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="dnsConfig") + def dns_config(self) -> pulumi.Output['outputs.NetworkDnsConfig']: + """ + Network DNS config. It applies only to the PRIVATELINK network connection type. + """ + return pulumi.get(self, "dns_config") + @property @pulumi.getter(name="dnsDomain") def dns_domain(self) -> pulumi.Output[str]: @@ -693,7 +746,8 @@ def zonal_subdomains(self) -> pulumi.Output[Mapping[str, str]]: def zones(self) -> pulumi.Output[Sequence[str]]: """ The 3 availability zones for this network. They can optionally be specified for AWS networks - used with Private Link and for GCP networks used with Private Service Connect. Otherwise, they are automatically chosen by Confluent Cloud. + used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP + networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`. On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`. On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. diff --git a/sdk/python/pulumi_confluentcloud/outputs.py b/sdk/python/pulumi_confluentcloud/outputs.py index dbc2f709..b87c3ba1 100644 --- a/sdk/python/pulumi_confluentcloud/outputs.py +++ b/sdk/python/pulumi_confluentcloud/outputs.py @@ -44,6 +44,7 @@ 'KsqlClusterKafkaCluster', 'NetworkAw', 'NetworkAzure', + 'NetworkDnsConfig', 'NetworkEnvironment', 'NetworkGcp', 'PeeringAws', @@ -56,8 +57,19 @@ 'PrivateLinkAccessEnvironment', 'PrivateLinkAccessGcp', 'PrivateLinkAccessNetwork', + 'SchemaCredentials', + 'SchemaRegistryClusterConfigCredentials', + 'SchemaRegistryClusterConfigSchemaRegistryCluster', 'SchemaRegistryClusterEnvironment', + 'SchemaRegistryClusterModeCredentials', + 'SchemaRegistryClusterModeSchemaRegistryCluster', 'SchemaRegistryClusterRegion', + 'SchemaSchemaReference', + 'SchemaSchemaRegistryCluster', + 'SubjectConfigCredentials', + 'SubjectConfigSchemaRegistryCluster', + 'SubjectModeCredentials', + 'SubjectModeSchemaRegistryCluster', 'TransitGatewayAttachmentAws', 'TransitGatewayAttachmentEnvironment', 'TransitGatewayAttachmentNetwork', @@ -77,6 +89,7 @@ 'GetKsqlClusterKafkaClusterResult', 'GetNetworkAwResult', 'GetNetworkAzureResult', + 'GetNetworkDnsConfigResult', 'GetNetworkEnvironmentResult', 'GetNetworkGcpResult', 'GetPeeringAwResult', @@ -89,8 +102,19 @@ 'GetPrivateLinkAccessEnvironmentResult', 'GetPrivateLinkAccessGcpResult', 'GetPrivateLinkAccessNetworkResult', + 'GetSchemaCredentialsResult', + 'GetSchemaRegistryClusterConfigCredentialsResult', + 'GetSchemaRegistryClusterConfigSchemaRegistryClusterResult', 'GetSchemaRegistryClusterEnvironmentResult', + 'GetSchemaRegistryClusterModeCredentialsResult', + 'GetSchemaRegistryClusterModeSchemaRegistryClusterResult', 'GetSchemaRegistryClusterRegionResult', + 'GetSchemaSchemaReferenceResult', + 'GetSchemaSchemaRegistryClusterResult', + 'GetSubjectConfigCredentialsResult', + 'GetSubjectConfigSchemaRegistryClusterResult', + 'GetSubjectModeCredentialsResult', + 'GetSubjectModeSchemaRegistryClusterResult', 'GetTransitGatewayAttachmentAwResult', 'GetTransitGatewayAttachmentEnvironmentResult', 'GetTransitGatewayAttachmentNetworkResult', @@ -1109,6 +1133,28 @@ def private_link_service_aliases(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "private_link_service_aliases") +@pulumi.output_type +class NetworkDnsConfig(dict): + def __init__(__self__, *, + resolution: str): + """ + :param str resolution: Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + pulumi.set(__self__, "resolution", resolution) + + @property + @pulumi.getter + def resolution(self) -> str: + """ + Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + return pulumi.get(self, "resolution") + + @pulumi.output_type class NetworkEnvironment(dict): def __init__(__self__, *, @@ -1500,6 +1546,82 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class SchemaCredentials(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class SchemaRegistryClusterConfigCredentials(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class SchemaRegistryClusterConfigSchemaRegistryCluster(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class SchemaRegistryClusterEnvironment(dict): def __init__(__self__, *, @@ -1518,6 +1640,53 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class SchemaRegistryClusterModeCredentials(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class SchemaRegistryClusterModeSchemaRegistryCluster(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class SchemaRegistryClusterRegion(dict): def __init__(__self__, *, @@ -1536,6 +1705,175 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class SchemaSchemaReference(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "subjectName": + suggest = "subject_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SchemaSchemaReference. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SchemaSchemaReference.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SchemaSchemaReference.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + subject_name: str, + version: int): + """ + :param str name: The name of the subject, representing the subject under which the referenced schema is registered. + :param str subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + :param int version: The version, representing the exact version of the schema under the registered subject. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "subject_name", subject_name) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the subject, representing the subject under which the referenced schema is registered. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> str: + """ + The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + return pulumi.get(self, "subject_name") + + @property + @pulumi.getter + def version(self) -> int: + """ + The version, representing the exact version of the schema under the registered subject. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class SchemaSchemaRegistryCluster(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class SubjectConfigCredentials(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class SubjectConfigSchemaRegistryCluster(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class SubjectModeCredentials(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class SubjectModeSchemaRegistryCluster(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class TransitGatewayAttachmentAws(dict): @staticmethod @@ -1545,8 +1883,6 @@ def __key_warning(key: str): suggest = "ram_resource_share_arn" elif key == "transitGatewayId": suggest = "transit_gateway_id" - elif key == "enableCustomRoutes": - suggest = "enable_custom_routes" elif key == "transitGatewayAttachmentId": suggest = "transit_gateway_attachment_id" @@ -1563,23 +1899,18 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, ram_resource_share_arn: str, + routes: Sequence[str], transit_gateway_id: str, - enable_custom_routes: Optional[bool] = None, - routes: Optional[Sequence[str]] = None, transit_gateway_attachment_id: Optional[str] = None): """ :param str ram_resource_share_arn: The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. - :param str transit_gateway_id: The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - :param bool enable_custom_routes: Enable custom destination routes in Confluent Cloud. Defaults to `false`. :param Sequence[str] routes: List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + :param str transit_gateway_id: The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. :param str transit_gateway_attachment_id: (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. """ pulumi.set(__self__, "ram_resource_share_arn", ram_resource_share_arn) + pulumi.set(__self__, "routes", routes) pulumi.set(__self__, "transit_gateway_id", transit_gateway_id) - if enable_custom_routes is not None: - pulumi.set(__self__, "enable_custom_routes", enable_custom_routes) - if routes is not None: - pulumi.set(__self__, "routes", routes) if transit_gateway_attachment_id is not None: pulumi.set(__self__, "transit_gateway_attachment_id", transit_gateway_attachment_id) @@ -1592,28 +1923,20 @@ def ram_resource_share_arn(self) -> str: return pulumi.get(self, "ram_resource_share_arn") @property - @pulumi.getter(name="transitGatewayId") - def transit_gateway_id(self) -> str: - """ - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. - """ - return pulumi.get(self, "transit_gateway_id") - - @property - @pulumi.getter(name="enableCustomRoutes") - def enable_custom_routes(self) -> Optional[bool]: + @pulumi.getter + def routes(self) -> Sequence[str]: """ - Enable custom destination routes in Confluent Cloud. Defaults to `false`. + List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. """ - return pulumi.get(self, "enable_custom_routes") + return pulumi.get(self, "routes") @property - @pulumi.getter - def routes(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="transitGatewayId") + def transit_gateway_id(self) -> str: """ - List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. + The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. """ - return pulumi.get(self, "routes") + return pulumi.get(self, "transit_gateway_id") @property @pulumi.getter(name="transitGatewayAttachmentId") @@ -1979,6 +2302,28 @@ def private_link_service_aliases(self) -> Mapping[str, str]: return pulumi.get(self, "private_link_service_aliases") +@pulumi.output_type +class GetNetworkDnsConfigResult(dict): + def __init__(__self__, *, + resolution: str): + """ + :param str resolution: (Required String) Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + pulumi.set(__self__, "resolution", resolution) + + @property + @pulumi.getter + def resolution(self) -> str: + """ + (Required String) Network DNS resolution. + When resolution is `CHASED_PRIVATE`, clusters in this network require both public and private DNS to resolve cluster endpoints. + When resolution is `PRIVATE`, clusters in this network only require private DNS to resolve cluster endpoints. + """ + return pulumi.get(self, "resolution") + + @pulumi.output_type class GetNetworkEnvironmentResult(dict): def __init__(__self__, *, @@ -2294,6 +2639,82 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class GetSchemaCredentialsResult(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class GetSchemaRegistryClusterConfigCredentialsResult(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class GetSchemaRegistryClusterConfigSchemaRegistryClusterResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class GetSchemaRegistryClusterEnvironmentResult(dict): def __init__(__self__, *, @@ -2312,6 +2733,53 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class GetSchemaRegistryClusterModeCredentialsResult(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class GetSchemaRegistryClusterModeSchemaRegistryClusterResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class GetSchemaRegistryClusterRegionResult(dict): def __init__(__self__, *, @@ -2330,35 +2798,176 @@ def id(self) -> str: return pulumi.get(self, "id") +@pulumi.output_type +class GetSchemaSchemaReferenceResult(dict): + def __init__(__self__, *, + name: str, + subject_name: str, + version: int): + """ + :param str name: (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + :param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + :param int version: (Required Integer) The version of the Schema, for example, `4`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "subject_name", subject_name) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def name(self) -> str: + """ + (Required String) The name of the subject, representing the subject under which the referenced schema is registered. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> str: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. Schemas evolve safely, following a compatibility mode defined, under a subject name. + """ + return pulumi.get(self, "subject_name") + + @property + @pulumi.getter + def version(self) -> int: + """ + (Required Integer) The version of the Schema, for example, `4`. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetSchemaSchemaRegistryClusterResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetSubjectConfigCredentialsResult(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class GetSubjectConfigSchemaRegistryClusterResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetSubjectModeCredentialsResult(dict): + def __init__(__self__, *, + key: str, + secret: str): + """ + :param str key: The Schema Registry API Key. + :param str secret: The Schema Registry API Secret. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter + def key(self) -> str: + """ + The Schema Registry API Key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def secret(self) -> str: + """ + The Schema Registry API Secret. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class GetSubjectModeSchemaRegistryClusterResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the Schema Registry cluster, for example, `lsrc-abc123`. + """ + return pulumi.get(self, "id") + + @pulumi.output_type class GetTransitGatewayAttachmentAwResult(dict): def __init__(__self__, *, - enable_custom_routes: bool, ram_resource_share_arn: str, routes: Sequence[str], transit_gateway_attachment_id: str, transit_gateway_id: str): """ - :param bool enable_custom_routes: (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. :param str ram_resource_share_arn: (Required String) The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to. :param Sequence[str] routes: (Required List of String) List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway. :param str transit_gateway_attachment_id: (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway. :param str transit_gateway_id: (Required String) The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with `tgw-`. """ - pulumi.set(__self__, "enable_custom_routes", enable_custom_routes) pulumi.set(__self__, "ram_resource_share_arn", ram_resource_share_arn) pulumi.set(__self__, "routes", routes) pulumi.set(__self__, "transit_gateway_attachment_id", transit_gateway_attachment_id) pulumi.set(__self__, "transit_gateway_id", transit_gateway_id) - @property - @pulumi.getter(name="enableCustomRoutes") - def enable_custom_routes(self) -> bool: - """ - (Required String) Enable custom destination routes in Confluent Cloud. Defaults to `false`. - """ - return pulumi.get(self, "enable_custom_routes") - @property @pulumi.getter(name="ramResourceShareArn") def ram_resource_share_arn(self) -> str: diff --git a/sdk/python/pulumi_confluentcloud/provider.py b/sdk/python/pulumi_confluentcloud/provider.py index 79e37528..873f2f1c 100644 --- a/sdk/python/pulumi_confluentcloud/provider.py +++ b/sdk/python/pulumi_confluentcloud/provider.py @@ -19,8 +19,13 @@ def __init__(__self__, *, endpoint: Optional[pulumi.Input[str]] = None, kafka_api_key: Optional[pulumi.Input[str]] = None, kafka_api_secret: Optional[pulumi.Input[str]] = None, + kafka_id: Optional[pulumi.Input[str]] = None, kafka_rest_endpoint: Optional[pulumi.Input[str]] = None, - max_retries: Optional[pulumi.Input[int]] = None): + max_retries: Optional[pulumi.Input[int]] = None, + schema_registry_api_key: Optional[pulumi.Input[str]] = None, + schema_registry_api_secret: Optional[pulumi.Input[str]] = None, + schema_registry_id: Optional[pulumi.Input[str]] = None, + schema_registry_rest_endpoint: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Provider resource. :param pulumi.Input[str] cloud_api_key: The Confluent Cloud API Key. @@ -28,8 +33,13 @@ def __init__(__self__, *, :param pulumi.Input[str] endpoint: The base endpoint of Confluent Cloud API. :param pulumi.Input[str] kafka_api_key: The Kafka Cluster API Key. :param pulumi.Input[str] kafka_api_secret: The Kafka Cluster API Secret. + :param pulumi.Input[str] kafka_id: The Kafka Cluster ID. :param pulumi.Input[str] kafka_rest_endpoint: The Kafka Cluster REST Endpoint. :param pulumi.Input[int] max_retries: Maximum number of retries of HTTP client. Defaults to 4. + :param pulumi.Input[str] schema_registry_api_key: The Schema Registry Cluster API Key. + :param pulumi.Input[str] schema_registry_api_secret: The Schema Registry Cluster API Secret. + :param pulumi.Input[str] schema_registry_id: The Schema Registry Cluster ID. + :param pulumi.Input[str] schema_registry_rest_endpoint: The Schema Registry Cluster REST Endpoint. """ if cloud_api_key is not None: pulumi.set(__self__, "cloud_api_key", cloud_api_key) @@ -41,10 +51,20 @@ def __init__(__self__, *, pulumi.set(__self__, "kafka_api_key", kafka_api_key) if kafka_api_secret is not None: pulumi.set(__self__, "kafka_api_secret", kafka_api_secret) + if kafka_id is not None: + pulumi.set(__self__, "kafka_id", kafka_id) if kafka_rest_endpoint is not None: pulumi.set(__self__, "kafka_rest_endpoint", kafka_rest_endpoint) if max_retries is not None: pulumi.set(__self__, "max_retries", max_retries) + if schema_registry_api_key is not None: + pulumi.set(__self__, "schema_registry_api_key", schema_registry_api_key) + if schema_registry_api_secret is not None: + pulumi.set(__self__, "schema_registry_api_secret", schema_registry_api_secret) + if schema_registry_id is not None: + pulumi.set(__self__, "schema_registry_id", schema_registry_id) + if schema_registry_rest_endpoint is not None: + pulumi.set(__self__, "schema_registry_rest_endpoint", schema_registry_rest_endpoint) @property @pulumi.getter(name="cloudApiKey") @@ -106,6 +126,18 @@ def kafka_api_secret(self) -> Optional[pulumi.Input[str]]: def kafka_api_secret(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kafka_api_secret", value) + @property + @pulumi.getter(name="kafkaId") + def kafka_id(self) -> Optional[pulumi.Input[str]]: + """ + The Kafka Cluster ID. + """ + return pulumi.get(self, "kafka_id") + + @kafka_id.setter + def kafka_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kafka_id", value) + @property @pulumi.getter(name="kafkaRestEndpoint") def kafka_rest_endpoint(self) -> Optional[pulumi.Input[str]]: @@ -130,6 +162,54 @@ def max_retries(self) -> Optional[pulumi.Input[int]]: def max_retries(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_retries", value) + @property + @pulumi.getter(name="schemaRegistryApiKey") + def schema_registry_api_key(self) -> Optional[pulumi.Input[str]]: + """ + The Schema Registry Cluster API Key. + """ + return pulumi.get(self, "schema_registry_api_key") + + @schema_registry_api_key.setter + def schema_registry_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_registry_api_key", value) + + @property + @pulumi.getter(name="schemaRegistryApiSecret") + def schema_registry_api_secret(self) -> Optional[pulumi.Input[str]]: + """ + The Schema Registry Cluster API Secret. + """ + return pulumi.get(self, "schema_registry_api_secret") + + @schema_registry_api_secret.setter + def schema_registry_api_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_registry_api_secret", value) + + @property + @pulumi.getter(name="schemaRegistryId") + def schema_registry_id(self) -> Optional[pulumi.Input[str]]: + """ + The Schema Registry Cluster ID. + """ + return pulumi.get(self, "schema_registry_id") + + @schema_registry_id.setter + def schema_registry_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_registry_id", value) + + @property + @pulumi.getter(name="schemaRegistryRestEndpoint") + def schema_registry_rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The Schema Registry Cluster REST Endpoint. + """ + return pulumi.get(self, "schema_registry_rest_endpoint") + + @schema_registry_rest_endpoint.setter + def schema_registry_rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_registry_rest_endpoint", value) + class Provider(pulumi.ProviderResource): @overload @@ -141,8 +221,13 @@ def __init__(__self__, endpoint: Optional[pulumi.Input[str]] = None, kafka_api_key: Optional[pulumi.Input[str]] = None, kafka_api_secret: Optional[pulumi.Input[str]] = None, + kafka_id: Optional[pulumi.Input[str]] = None, kafka_rest_endpoint: Optional[pulumi.Input[str]] = None, max_retries: Optional[pulumi.Input[int]] = None, + schema_registry_api_key: Optional[pulumi.Input[str]] = None, + schema_registry_api_secret: Optional[pulumi.Input[str]] = None, + schema_registry_id: Optional[pulumi.Input[str]] = None, + schema_registry_rest_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): """ The provider type for the confluent package. By default, resources use package-wide configuration @@ -157,8 +242,13 @@ def __init__(__self__, :param pulumi.Input[str] endpoint: The base endpoint of Confluent Cloud API. :param pulumi.Input[str] kafka_api_key: The Kafka Cluster API Key. :param pulumi.Input[str] kafka_api_secret: The Kafka Cluster API Secret. + :param pulumi.Input[str] kafka_id: The Kafka Cluster ID. :param pulumi.Input[str] kafka_rest_endpoint: The Kafka Cluster REST Endpoint. :param pulumi.Input[int] max_retries: Maximum number of retries of HTTP client. Defaults to 4. + :param pulumi.Input[str] schema_registry_api_key: The Schema Registry Cluster API Key. + :param pulumi.Input[str] schema_registry_api_secret: The Schema Registry Cluster API Secret. + :param pulumi.Input[str] schema_registry_id: The Schema Registry Cluster ID. + :param pulumi.Input[str] schema_registry_rest_endpoint: The Schema Registry Cluster REST Endpoint. """ ... @overload @@ -192,8 +282,13 @@ def _internal_init(__self__, endpoint: Optional[pulumi.Input[str]] = None, kafka_api_key: Optional[pulumi.Input[str]] = None, kafka_api_secret: Optional[pulumi.Input[str]] = None, + kafka_id: Optional[pulumi.Input[str]] = None, kafka_rest_endpoint: Optional[pulumi.Input[str]] = None, max_retries: Optional[pulumi.Input[int]] = None, + schema_registry_api_key: Optional[pulumi.Input[str]] = None, + schema_registry_api_secret: Optional[pulumi.Input[str]] = None, + schema_registry_id: Optional[pulumi.Input[str]] = None, + schema_registry_rest_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -208,9 +303,14 @@ def _internal_init(__self__, __props__.__dict__["endpoint"] = endpoint __props__.__dict__["kafka_api_key"] = None if kafka_api_key is None else pulumi.Output.secret(kafka_api_key) __props__.__dict__["kafka_api_secret"] = None if kafka_api_secret is None else pulumi.Output.secret(kafka_api_secret) + __props__.__dict__["kafka_id"] = kafka_id __props__.__dict__["kafka_rest_endpoint"] = kafka_rest_endpoint __props__.__dict__["max_retries"] = pulumi.Output.from_input(max_retries).apply(pulumi.runtime.to_json) if max_retries is not None else None - secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret"]) + __props__.__dict__["schema_registry_api_key"] = None if schema_registry_api_key is None else pulumi.Output.secret(schema_registry_api_key) + __props__.__dict__["schema_registry_api_secret"] = None if schema_registry_api_secret is None else pulumi.Output.secret(schema_registry_api_secret) + __props__.__dict__["schema_registry_id"] = schema_registry_id + __props__.__dict__["schema_registry_rest_endpoint"] = schema_registry_rest_endpoint + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["cloudApiKey", "cloudApiSecret", "kafkaApiKey", "kafkaApiSecret", "schemaRegistryApiKey", "schemaRegistryApiSecret"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Provider, __self__).__init__( 'confluentcloud', @@ -258,6 +358,14 @@ def kafka_api_secret(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "kafka_api_secret") + @property + @pulumi.getter(name="kafkaId") + def kafka_id(self) -> pulumi.Output[Optional[str]]: + """ + The Kafka Cluster ID. + """ + return pulumi.get(self, "kafka_id") + @property @pulumi.getter(name="kafkaRestEndpoint") def kafka_rest_endpoint(self) -> pulumi.Output[Optional[str]]: @@ -266,3 +374,35 @@ def kafka_rest_endpoint(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "kafka_rest_endpoint") + @property + @pulumi.getter(name="schemaRegistryApiKey") + def schema_registry_api_key(self) -> pulumi.Output[Optional[str]]: + """ + The Schema Registry Cluster API Key. + """ + return pulumi.get(self, "schema_registry_api_key") + + @property + @pulumi.getter(name="schemaRegistryApiSecret") + def schema_registry_api_secret(self) -> pulumi.Output[Optional[str]]: + """ + The Schema Registry Cluster API Secret. + """ + return pulumi.get(self, "schema_registry_api_secret") + + @property + @pulumi.getter(name="schemaRegistryId") + def schema_registry_id(self) -> pulumi.Output[Optional[str]]: + """ + The Schema Registry Cluster ID. + """ + return pulumi.get(self, "schema_registry_id") + + @property + @pulumi.getter(name="schemaRegistryRestEndpoint") + def schema_registry_rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The Schema Registry Cluster REST Endpoint. + """ + return pulumi.get(self, "schema_registry_rest_endpoint") + diff --git a/sdk/python/pulumi_confluentcloud/schema.py b/sdk/python/pulumi_confluentcloud/schema.py new file mode 100644 index 00000000..75b3d90e --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/schema.py @@ -0,0 +1,493 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SchemaArgs', 'Schema'] + +@pulumi.input_type +class SchemaArgs: + def __init__(__self__, *, + format: pulumi.Input[str], + schema: pulumi.Input[str], + subject_name: pulumi.Input[str], + credentials: Optional[pulumi.Input['SchemaCredentialsArgs']] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_references: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']] = None): + """ + The set of arguments for constructing a Schema resource. + :param pulumi.Input[str] format: The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + :param pulumi.Input[str] schema: The schema string, for example, `file("./schema_version_1.avsc")`. + :param pulumi.Input[str] subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + :param pulumi.Input['SchemaCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]] schema_references: The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + """ + pulumi.set(__self__, "format", format) + pulumi.set(__self__, "schema", schema) + pulumi.set(__self__, "subject_name", subject_name) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_references is not None: + pulumi.set(__self__, "schema_references", schema_references) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter + def format(self) -> pulumi.Input[str]: + """ + The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + """ + return pulumi.get(self, "format") + + @format.setter + def format(self, value: pulumi.Input[str]): + pulumi.set(self, "format", value) + + @property + @pulumi.getter + def schema(self) -> pulumi.Input[str]: + """ + The schema string, for example, `file("./schema_version_1.avsc")`. + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: pulumi.Input[str]): + pulumi.set(self, "schema", value) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Input[str]: + """ + The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: pulumi.Input[str]): + pulumi.set(self, "subject_name", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaReferences") + def schema_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]]: + """ + The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + """ + return pulumi.get(self, "schema_references") + + @schema_references.setter + def schema_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]]): + pulumi.set(self, "schema_references", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +@pulumi.input_type +class _SchemaState: + def __init__(__self__, *, + credentials: Optional[pulumi.Input['SchemaCredentialsArgs']] = None, + format: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + schema_identifier: Optional[pulumi.Input[int]] = None, + schema_references: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']] = None, + subject_name: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None): + """ + Input properties used for looking up and filtering Schema resources. + :param pulumi.Input['SchemaCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] format: The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] schema: The schema string, for example, `file("./schema_version_1.avsc")`. + :param pulumi.Input[int] schema_identifier: (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + :param pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]] schema_references: The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + :param pulumi.Input[str] subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + :param pulumi.Input[int] version: The version, representing the exact version of the schema under the registered subject. + """ + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if format is not None: + pulumi.set(__self__, "format", format) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if schema_identifier is not None: + pulumi.set(__self__, "schema_identifier", schema_identifier) + if schema_references is not None: + pulumi.set(__self__, "schema_references", schema_references) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name is not None: + pulumi.set(__self__, "subject_name", subject_name) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter + def format(self) -> Optional[pulumi.Input[str]]: + """ + The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + """ + return pulumi.get(self, "format") + + @format.setter + def format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "format", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input[str]]: + """ + The schema string, for example, `file("./schema_version_1.avsc")`. + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) + + @property + @pulumi.getter(name="schemaIdentifier") + def schema_identifier(self) -> Optional[pulumi.Input[int]]: + """ + (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + """ + return pulumi.get(self, "schema_identifier") + + @schema_identifier.setter + def schema_identifier(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "schema_identifier", value) + + @property + @pulumi.getter(name="schemaReferences") + def schema_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]]: + """ + The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + """ + return pulumi.get(self, "schema_references") + + @schema_references.setter + def schema_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaSchemaReferenceArgs']]]]): + pulumi.set(self, "schema_references", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> Optional[pulumi.Input[str]]: + """ + The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_name", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + """ + The version, representing the exact version of the schema under the registered subject. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +class Schema(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaCredentialsArgs']]] = None, + format: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + schema_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaSchemaReferenceArgs']]]]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Import + + You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `//`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SchemaCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] format: The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] schema: The schema string, for example, `file("./schema_version_1.avsc")`. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaSchemaReferenceArgs']]]] schema_references: The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + :param pulumi.Input[str] subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SchemaArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier of the Schema in the format `//`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schema:Schema my_schema_1 lsrc-abc123/test-subject/100003 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param SchemaArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SchemaArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaCredentialsArgs']]] = None, + format: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + schema_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaSchemaReferenceArgs']]]]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SchemaArgs.__new__(SchemaArgs) + + __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) + if format is None and not opts.urn: + raise TypeError("Missing required property 'format'") + __props__.__dict__["format"] = format + __props__.__dict__["rest_endpoint"] = rest_endpoint + if schema is None and not opts.urn: + raise TypeError("Missing required property 'schema'") + __props__.__dict__["schema"] = schema + __props__.__dict__["schema_references"] = schema_references + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + if subject_name is None and not opts.urn: + raise TypeError("Missing required property 'subject_name'") + __props__.__dict__["subject_name"] = subject_name + __props__.__dict__["schema_identifier"] = None + __props__.__dict__["version"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(Schema, __self__).__init__( + 'confluentcloud:index/schema:Schema', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaCredentialsArgs']]] = None, + format: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + schema_identifier: Optional[pulumi.Input[int]] = None, + schema_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaSchemaReferenceArgs']]]]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None) -> 'Schema': + """ + Get an existing Schema resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SchemaCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] format: The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] schema: The schema string, for example, `file("./schema_version_1.avsc")`. + :param pulumi.Input[int] schema_identifier: (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaSchemaReferenceArgs']]]] schema_references: The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + :param pulumi.Input[str] subject_name: The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + :param pulumi.Input[int] version: The version, representing the exact version of the schema under the registered subject. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SchemaState.__new__(_SchemaState) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["format"] = format + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema"] = schema + __props__.__dict__["schema_identifier"] = schema_identifier + __props__.__dict__["schema_references"] = schema_references + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + __props__.__dict__["subject_name"] = subject_name + __props__.__dict__["version"] = version + return Schema(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.SchemaCredentials']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def format(self) -> pulumi.Output[str]: + """ + The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. + """ + return pulumi.get(self, "format") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter + def schema(self) -> pulumi.Output[str]: + """ + The schema string, for example, `file("./schema_version_1.avsc")`. + """ + return pulumi.get(self, "schema") + + @property + @pulumi.getter(name="schemaIdentifier") + def schema_identifier(self) -> pulumi.Output[int]: + """ + (Required Integer) The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects. + """ + return pulumi.get(self, "schema_identifier") + + @property + @pulumi.getter(name="schemaReferences") + def schema_references(self) -> pulumi.Output[Optional[Sequence['outputs.SchemaSchemaReference']]]: + """ + The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details): + """ + return pulumi.get(self, "schema_references") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaSchemaRegistryCluster']]: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Output[str]: + """ + The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.) + """ + return pulumi.get(self, "subject_name") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[int]: + """ + The version, representing the exact version of the schema under the registered subject. + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_confluentcloud/schema_registry_cluster_config.py b/sdk/python/pulumi_confluentcloud/schema_registry_cluster_config.py new file mode 100644 index 00000000..2270281d --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/schema_registry_cluster_config.py @@ -0,0 +1,293 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SchemaRegistryClusterConfigArgs', 'SchemaRegistryClusterConfig'] + +@pulumi.input_type +class SchemaRegistryClusterConfigArgs: + def __init__(__self__, *, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None): + """ + The set of arguments for constructing a SchemaRegistryClusterConfig resource. + :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + if compatibility_level is not None: + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> Optional[pulumi.Input[str]]: + """ + The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @compatibility_level.setter + def compatibility_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compatibility_level", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +@pulumi.input_type +class _SchemaRegistryClusterConfigState: + def __init__(__self__, *, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None): + """ + Input properties used for looking up and filtering SchemaRegistryClusterConfig resources. + :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + if compatibility_level is not None: + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> Optional[pulumi.Input[str]]: + """ + The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @compatibility_level.setter + def compatibility_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compatibility_level", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +class SchemaRegistryClusterConfig(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]] = None, + __props__=None): + """ + ## Import + + You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[SchemaRegistryClusterConfigArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param SchemaRegistryClusterConfigArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SchemaRegistryClusterConfigArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SchemaRegistryClusterConfigArgs.__new__(SchemaRegistryClusterConfigArgs) + + __props__.__dict__["compatibility_level"] = compatibility_level + __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(SchemaRegistryClusterConfig, __self__).__init__( + 'confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]] = None) -> 'SchemaRegistryClusterConfig': + """ + Get an existing SchemaRegistryClusterConfig resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input[pulumi.InputType['SchemaRegistryClusterConfigCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SchemaRegistryClusterConfigState.__new__(_SchemaRegistryClusterConfigState) + + __props__.__dict__["compatibility_level"] = compatibility_level + __props__.__dict__["credentials"] = credentials + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + return SchemaRegistryClusterConfig(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> pulumi.Output[str]: + """ + The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigCredentials']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigSchemaRegistryCluster']]: + return pulumi.get(self, "schema_registry_cluster") + diff --git a/sdk/python/pulumi_confluentcloud/schema_registry_cluster_mode.py b/sdk/python/pulumi_confluentcloud/schema_registry_cluster_mode.py new file mode 100644 index 00000000..fe4b0a07 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/schema_registry_cluster_mode.py @@ -0,0 +1,293 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SchemaRegistryClusterModeArgs', 'SchemaRegistryClusterMode'] + +@pulumi.input_type +class SchemaRegistryClusterModeArgs: + def __init__(__self__, *, + credentials: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']] = None): + """ + The set of arguments for constructing a SchemaRegistryClusterMode resource. + :param pulumi.Input['SchemaRegistryClusterModeCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + """ + The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +@pulumi.input_type +class _SchemaRegistryClusterModeState: + def __init__(__self__, *, + credentials: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']] = None): + """ + Input properties used for looking up and filtering SchemaRegistryClusterMode resources. + :param pulumi.Input['SchemaRegistryClusterModeCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + """ + The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +class SchemaRegistryClusterMode(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]] = None, + __props__=None): + """ + ## Import + + You can import a Mode by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[SchemaRegistryClusterModeArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + You can import a Mode by using the Schema Registry cluster ID, Subject name in the format ``, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode example lsrc-abc123 + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param SchemaRegistryClusterModeArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SchemaRegistryClusterModeArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SchemaRegistryClusterModeArgs.__new__(SchemaRegistryClusterModeArgs) + + __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) + __props__.__dict__["mode"] = mode + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(SchemaRegistryClusterMode, __self__).__init__( + 'confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]] = None) -> 'SchemaRegistryClusterMode': + """ + Get an existing SchemaRegistryClusterMode resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SchemaRegistryClusterModeCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SchemaRegistryClusterModeState.__new__(_SchemaRegistryClusterModeState) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["mode"] = mode + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + return SchemaRegistryClusterMode(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterModeCredentials']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[str]: + """ + The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterModeSchemaRegistryCluster']]: + return pulumi.get(self, "schema_registry_cluster") + diff --git a/sdk/python/pulumi_confluentcloud/subject_config.py b/sdk/python/pulumi_confluentcloud/subject_config.py new file mode 100644 index 00000000..baa7f542 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/subject_config.py @@ -0,0 +1,341 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SubjectConfigArgs', 'SubjectConfig'] + +@pulumi.input_type +class SubjectConfigArgs: + def __init__(__self__, *, + subject_name: pulumi.Input[str], + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input['SubjectConfigCredentialsArgs']] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']] = None): + """ + The set of arguments for constructing a SubjectConfig resource. + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + :param pulumi.Input[str] compatibility_level: The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input['SubjectConfigCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + pulumi.set(__self__, "subject_name", subject_name) + if compatibility_level is not None: + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Input[str]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: pulumi.Input[str]): + pulumi.set(self, "subject_name", value) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> Optional[pulumi.Input[str]]: + """ + The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @compatibility_level.setter + def compatibility_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compatibility_level", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SubjectConfigCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SubjectConfigCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +@pulumi.input_type +class _SubjectConfigState: + def __init__(__self__, *, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input['SubjectConfigCredentialsArgs']] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']] = None, + subject_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SubjectConfig resources. + :param pulumi.Input[str] compatibility_level: The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input['SubjectConfigCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + if compatibility_level is not None: + pulumi.set(__self__, "compatibility_level", compatibility_level) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name is not None: + pulumi.set(__self__, "subject_name", subject_name) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> Optional[pulumi.Input[str]]: + """ + The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @compatibility_level.setter + def compatibility_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compatibility_level", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SubjectConfigCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SubjectConfigCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_name", value) + + +class SubjectConfig(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectConfigSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Import + + You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compatibility_level: The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input[pulumi.InputType['SubjectConfigCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SubjectConfigArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + You can import a Subject Config by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/subjectConfig:SubjectConfig example lsrc-abc123/test-subject + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param SubjectConfigArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SubjectConfigArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectConfigSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SubjectConfigArgs.__new__(SubjectConfigArgs) + + __props__.__dict__["compatibility_level"] = compatibility_level + __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + if subject_name is None and not opts.urn: + raise TypeError("Missing required property 'subject_name'") + __props__.__dict__["subject_name"] = subject_name + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(SubjectConfig, __self__).__init__( + 'confluentcloud:index/subjectConfig:SubjectConfig', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + compatibility_level: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectConfigCredentialsArgs']]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectConfigSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None) -> 'SubjectConfig': + """ + Get an existing SubjectConfig resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compatibility_level: The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + :param pulumi.Input[pulumi.InputType['SubjectConfigCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SubjectConfigState.__new__(_SubjectConfigState) + + __props__.__dict__["compatibility_level"] = compatibility_level + __props__.__dict__["credentials"] = credentials + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + __props__.__dict__["subject_name"] = subject_name + return SubjectConfig(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compatibilityLevel") + def compatibility_level(self) -> pulumi.Output[str]: + """ + The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details. + """ + return pulumi.get(self, "compatibility_level") + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.SubjectConfigCredentials']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SubjectConfigSchemaRegistryCluster']]: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Output[str]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") + diff --git a/sdk/python/pulumi_confluentcloud/subject_mode.py b/sdk/python/pulumi_confluentcloud/subject_mode.py new file mode 100644 index 00000000..f4826687 --- /dev/null +++ b/sdk/python/pulumi_confluentcloud/subject_mode.py @@ -0,0 +1,341 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SubjectModeArgs', 'SubjectMode'] + +@pulumi.input_type +class SubjectModeArgs: + def __init__(__self__, *, + subject_name: pulumi.Input[str], + credentials: Optional[pulumi.Input['SubjectModeCredentialsArgs']] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']] = None): + """ + The set of arguments for constructing a SubjectMode resource. + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + :param pulumi.Input['SubjectModeCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + pulumi.set(__self__, "subject_name", subject_name) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Input[str]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: pulumi.Input[str]): + pulumi.set(self, "subject_name", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SubjectModeCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SubjectModeCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + """ + The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + +@pulumi.input_type +class _SubjectModeState: + def __init__(__self__, *, + credentials: Optional[pulumi.Input['SubjectModeCredentialsArgs']] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']] = None, + subject_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SubjectMode resources. + :param pulumi.Input['SubjectModeCredentialsArgs'] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if rest_endpoint is not None: + pulumi.set(__self__, "rest_endpoint", rest_endpoint) + if schema_registry_cluster is not None: + pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster) + if subject_name is not None: + pulumi.set(__self__, "subject_name", subject_name) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['SubjectModeCredentialsArgs']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['SubjectModeCredentialsArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + """ + The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @rest_endpoint.setter + def rest_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rest_endpoint", value) + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']]: + return pulumi.get(self, "schema_registry_cluster") + + @schema_registry_cluster.setter + def schema_registry_cluster(self, value: Optional[pulumi.Input['SubjectModeSchemaRegistryClusterArgs']]): + pulumi.set(self, "schema_registry_cluster", value) + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") + + @subject_name.setter + def subject_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_name", value) + + +class SubjectMode(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectModeSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Import + + You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SubjectModeCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SubjectModeArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + You can import a Subject Mode by using the Schema Registry cluster ID, Subject name in the format `/`, for example$ export IMPORT_SCHEMA_REGISTRY_API_KEY="" $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="" $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="" + + ```sh + $ pulumi import confluentcloud:index/subjectMode:SubjectMode example lsrc-abc123/test-subject + ``` + + !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. + + :param str resource_name: The name of the resource. + :param SubjectModeArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SubjectModeArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectModeSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SubjectModeArgs.__new__(SubjectModeArgs) + + __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) + __props__.__dict__["mode"] = mode + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + if subject_name is None and not opts.urn: + raise TypeError("Missing required property 'subject_name'") + __props__.__dict__["subject_name"] = subject_name + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(SubjectMode, __self__).__init__( + 'confluentcloud:index/subjectMode:SubjectMode', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['SubjectModeCredentialsArgs']]] = None, + mode: Optional[pulumi.Input[str]] = None, + rest_endpoint: Optional[pulumi.Input[str]] = None, + schema_registry_cluster: Optional[pulumi.Input[pulumi.InputType['SubjectModeSchemaRegistryClusterArgs']]] = None, + subject_name: Optional[pulumi.Input[str]] = None) -> 'SubjectMode': + """ + Get an existing SubjectMode resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SubjectModeCredentialsArgs']] credentials: The Cluster API Credentials. + :param pulumi.Input[str] mode: The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + :param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SubjectModeState.__new__(_SubjectModeState) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["mode"] = mode + __props__.__dict__["rest_endpoint"] = rest_endpoint + __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster + __props__.__dict__["subject_name"] = subject_name + return SubjectMode(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.SubjectModeCredentials']]: + """ + The Cluster API Credentials. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[str]: + """ + The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="restEndpoint") + def rest_endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`). + """ + return pulumi.get(self, "rest_endpoint") + + @property + @pulumi.getter(name="schemaRegistryCluster") + def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SubjectModeSchemaRegistryCluster']]: + return pulumi.get(self, "schema_registry_cluster") + + @property + @pulumi.getter(name="subjectName") + def subject_name(self) -> pulumi.Output[str]: + """ + The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`. + """ + return pulumi.get(self, "subject_name") +