From 9a345ca0f51957870043ebe702713b81d1b10f33 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 24 Aug 2023 18:14:07 -0700 Subject: [PATCH] Rebuild sdks (including java version bump) --- Makefile | 2 +- sdk/dotnet/GetKafkaTopic.cs | 10 ----- sdk/dotnet/KafkaTopic.cs | 9 ---- sdk/go/confluentcloud/getKafkaTopic.go | 15 +------ sdk/go/confluentcloud/kafkaTopic.go | 24 +++------- sdk/java/build.gradle | 17 ++++--- .../com/pulumi/confluentcloud/ApiKey.java | 12 ++--- .../confluentcloud/BusinessMetadata.java | 14 +++--- .../BusinessMetadataBinding.java | 14 +++--- .../com/pulumi/confluentcloud/ByokKey.java | 4 +- .../pulumi/confluentcloud/ClusterLink.java | 16 +++---- .../com/pulumi/confluentcloud/Connector.java | 10 ++--- .../pulumi/confluentcloud/Environment.java | 4 +- .../pulumi/confluentcloud/IdentityPool.java | 10 ++--- .../confluentcloud/IdentityProvider.java | 8 ++-- .../com/pulumi/confluentcloud/Invitation.java | 14 +++--- .../com/pulumi/confluentcloud/KafkaAcl.java | 20 ++++----- .../confluentcloud/KafkaClientQuota.java | 12 ++--- .../pulumi/confluentcloud/KafkaCluster.java | 32 ++++++------- .../confluentcloud/KafkaClusterConfig.java | 8 ++-- .../confluentcloud/KafkaMirrorTopic.java | 10 ++--- .../com/pulumi/confluentcloud/KafkaTopic.java | 24 ++++------ .../pulumi/confluentcloud/KafkaTopicArgs.java | 24 ++++------ .../pulumi/confluentcloud/KsqlCluster.java | 24 +++++----- .../com/pulumi/confluentcloud/Network.java | 32 ++++++------- .../confluentcloud/NetworkLinkEndpoint.java | 12 ++--- .../confluentcloud/NetworkLinkService.java | 12 ++--- .../com/pulumi/confluentcloud/Peering.java | 12 ++--- .../confluentcloud/PrivateLinkAccess.java | 12 ++--- .../confluentcloud/PrivateLinkAttachment.java | 18 ++++---- .../PrivateLinkAttachmentConnection.java | 14 +++--- .../com/pulumi/confluentcloud/Provider.java | 22 ++++----- .../pulumi/confluentcloud/RoleBinding.java | 6 +-- .../com/pulumi/confluentcloud/Schema.java | 22 ++++----- .../confluentcloud/SchemaRegistryCluster.java | 16 +++---- .../SchemaRegistryClusterConfig.java | 8 ++-- .../SchemaRegistryClusterMode.java | 8 ++-- .../pulumi/confluentcloud/ServiceAccount.java | 8 ++-- .../pulumi/confluentcloud/SubjectConfig.java | 10 ++--- .../pulumi/confluentcloud/SubjectMode.java | 10 ++--- .../java/com/pulumi/confluentcloud/Tag.java | 14 +++--- .../com/pulumi/confluentcloud/TagBinding.java | 12 ++--- .../com/pulumi/confluentcloud/TfImporter.java | 4 +- .../TransitGatewayAttachment.java | 8 ++-- .../com/pulumi/confluentcloud/Utilities.java | 1 - .../inputs/GetKafkaTopicArgs.java | 45 ------------------- .../inputs/GetKafkaTopicPlainArgs.java | 33 -------------- .../inputs/KafkaTopicState.java | 24 ++++------ .../outputs/GetKafkaTopicResult.java | 24 ---------- sdk/nodejs/getKafkaTopic.ts | 13 ------ sdk/nodejs/kafkaTopic.ts | 12 ++--- .../pulumi_confluentcloud/get_kafka_topic.py | 18 +------- .../pulumi_confluentcloud/kafka_topic.py | 37 +++++---------- 53 files changed, 297 insertions(+), 507 deletions(-) diff --git a/Makefile b/Makefile index e9a493c5..1f8e55f2 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK) VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.5.4 +JAVA_GEN_VERSION := v0.9.5 TESTPARALLELISM := 10 WORKING_DIR := $(shell pwd) diff --git a/sdk/dotnet/GetKafkaTopic.cs b/sdk/dotnet/GetKafkaTopic.cs index b20015ee..ca082e06 100644 --- a/sdk/dotnet/GetKafkaTopic.cs +++ b/sdk/dotnet/GetKafkaTopic.cs @@ -29,9 +29,6 @@ public Inputs.GetKafkaTopicCredentialsArgs? Credentials set => _credentials = value; } - [Input("httpEndpoint")] - public string? HttpEndpoint { get; set; } - [Input("kafkaCluster")] public Inputs.GetKafkaTopicKafkaClusterArgs? KafkaCluster { get; set; } @@ -67,9 +64,6 @@ public Input? Credentials } } - [Input("httpEndpoint")] - public Input? HttpEndpoint { get; set; } - [Input("kafkaCluster")] public Input? KafkaCluster { get; set; } @@ -100,7 +94,6 @@ public sealed class GetKafkaTopicResult /// public readonly ImmutableDictionary Config; public readonly Outputs.GetKafkaTopicCredentialsResult? Credentials; - public readonly string HttpEndpoint; /// /// The provider-assigned unique ID for this managed resource. /// @@ -119,8 +112,6 @@ private GetKafkaTopicResult( Outputs.GetKafkaTopicCredentialsResult? credentials, - string httpEndpoint, - string id, Outputs.GetKafkaTopicKafkaClusterResult? kafkaCluster, @@ -133,7 +124,6 @@ private GetKafkaTopicResult( { Config = config; Credentials = credentials; - HttpEndpoint = httpEndpoint; Id = id; KafkaCluster = kafkaCluster; PartitionsCount = partitionsCount; diff --git a/sdk/dotnet/KafkaTopic.cs b/sdk/dotnet/KafkaTopic.cs index b8f6b017..3df6f346 100644 --- a/sdk/dotnet/KafkaTopic.cs +++ b/sdk/dotnet/KafkaTopic.cs @@ -121,9 +121,6 @@ public partial class KafkaTopic : global::Pulumi.CustomResource [Output("credentials")] public Output Credentials { get; private set; } = null!; - /// - /// The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - /// [Output("httpEndpoint")] public Output HttpEndpoint { get; private set; } = null!; @@ -226,9 +223,6 @@ public Input? Credentials } } - /// - /// The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - /// [Input("httpEndpoint")] public Input? HttpEndpoint { get; set; } @@ -289,9 +283,6 @@ public Input? Credentials } } - /// - /// The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - /// [Input("httpEndpoint")] public Input? HttpEndpoint { get; set; } diff --git a/sdk/go/confluentcloud/getKafkaTopic.go b/sdk/go/confluentcloud/getKafkaTopic.go index 270975de..7c7693f8 100644 --- a/sdk/go/confluentcloud/getKafkaTopic.go +++ b/sdk/go/confluentcloud/getKafkaTopic.go @@ -23,9 +23,7 @@ func LookupKafkaTopic(ctx *pulumi.Context, args *LookupKafkaTopicArgs, opts ...p // A collection of arguments for invoking getKafkaTopic. type LookupKafkaTopicArgs struct { - Credentials *GetKafkaTopicCredentials `pulumi:"credentials"` - // Deprecated: This parameter has been deprecated in favour of Rest Endpoint - HttpEndpoint *string `pulumi:"httpEndpoint"` + 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"` @@ -38,8 +36,6 @@ type LookupKafkaTopicResult struct { // (Optional Map) The custom topic settings: Config map[string]string `pulumi:"config"` Credentials *GetKafkaTopicCredentials `pulumi:"credentials"` - // Deprecated: This parameter has been deprecated in favour of Rest Endpoint - HttpEndpoint string `pulumi:"httpEndpoint"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KafkaCluster *GetKafkaTopicKafkaCluster `pulumi:"kafkaCluster"` @@ -64,9 +60,7 @@ func LookupKafkaTopicOutput(ctx *pulumi.Context, args LookupKafkaTopicOutputArgs // A collection of arguments for invoking getKafkaTopic. type LookupKafkaTopicOutputArgs struct { - Credentials GetKafkaTopicCredentialsPtrInput `pulumi:"credentials"` - // Deprecated: This parameter has been deprecated in favour of Rest Endpoint - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + 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"` @@ -102,11 +96,6 @@ func (o LookupKafkaTopicResultOutput) Credentials() GetKafkaTopicCredentialsPtrO return o.ApplyT(func(v LookupKafkaTopicResult) *GetKafkaTopicCredentials { return v.Credentials }).(GetKafkaTopicCredentialsPtrOutput) } -// Deprecated: This parameter has been deprecated in favour of Rest Endpoint -func (o LookupKafkaTopicResultOutput) HttpEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v LookupKafkaTopicResult) string { return v.HttpEndpoint }).(pulumi.StringOutput) -} - // The provider-assigned unique ID for this managed resource. func (o LookupKafkaTopicResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKafkaTopicResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/confluentcloud/kafkaTopic.go b/sdk/go/confluentcloud/kafkaTopic.go index e12c2154..4ef5827c 100644 --- a/sdk/go/confluentcloud/kafkaTopic.go +++ b/sdk/go/confluentcloud/kafkaTopic.go @@ -118,9 +118,7 @@ type KafkaTopic struct { Config pulumi.StringMapOutput `pulumi:"config"` // The Cluster API Credentials. Credentials KafkaTopicCredentialsPtrOutput `pulumi:"credentials"` - // 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 + // Deprecated: This property has been deprecated. Please use "restEndpoint" instead. HttpEndpoint pulumi.StringOutput `pulumi:"httpEndpoint"` KafkaCluster KafkaTopicKafkaClusterPtrOutput `pulumi:"kafkaCluster"` // The number of partitions to create in the topic. Defaults to `6`. @@ -175,9 +173,7 @@ type kafkaTopicState struct { Config map[string]string `pulumi:"config"` // The Cluster API Credentials. Credentials *KafkaTopicCredentials `pulumi:"credentials"` - // 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 + // Deprecated: This property has been deprecated. Please use "restEndpoint" instead. HttpEndpoint *string `pulumi:"httpEndpoint"` KafkaCluster *KafkaTopicKafkaCluster `pulumi:"kafkaCluster"` // The number of partitions to create in the topic. Defaults to `6`. @@ -193,9 +189,7 @@ type KafkaTopicState struct { Config pulumi.StringMapInput // The Cluster API Credentials. Credentials KafkaTopicCredentialsPtrInput - // 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 + // Deprecated: This property has been deprecated. Please use "restEndpoint" instead. HttpEndpoint pulumi.StringPtrInput KafkaCluster KafkaTopicKafkaClusterPtrInput // The number of partitions to create in the topic. Defaults to `6`. @@ -215,9 +209,7 @@ type kafkaTopicArgs struct { Config map[string]string `pulumi:"config"` // The Cluster API Credentials. Credentials *KafkaTopicCredentials `pulumi:"credentials"` - // 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 + // Deprecated: This property has been deprecated. Please use "restEndpoint" instead. HttpEndpoint *string `pulumi:"httpEndpoint"` KafkaCluster *KafkaTopicKafkaCluster `pulumi:"kafkaCluster"` // The number of partitions to create in the topic. Defaults to `6`. @@ -234,9 +226,7 @@ type KafkaTopicArgs struct { Config pulumi.StringMapInput // The Cluster API Credentials. Credentials KafkaTopicCredentialsPtrInput - // 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 + // Deprecated: This property has been deprecated. Please use "restEndpoint" instead. HttpEndpoint pulumi.StringPtrInput KafkaCluster KafkaTopicKafkaClusterPtrInput // The number of partitions to create in the topic. Defaults to `6`. @@ -344,9 +334,7 @@ func (o KafkaTopicOutput) Credentials() KafkaTopicCredentialsPtrOutput { return o.ApplyT(func(v *KafkaTopic) KafkaTopicCredentialsPtrOutput { return v.Credentials }).(KafkaTopicCredentialsPtrOutput) } -// 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 +// Deprecated: This property has been deprecated. Please use "restEndpoint" instead. func (o KafkaTopicOutput) HttpEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *KafkaTopic) pulumi.StringOutput { return v.HttpEndpoint }).(pulumi.StringOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 491880d4..b80c5327 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -29,7 +29,7 @@ java { compileJava { options.fork = true - options.forkOptions.jvmArgs.addAll(["-Xmx4g"]) + options.forkOptions.jvmArgs.addAll(["-Xmx16g"]) } repositories { @@ -43,17 +43,18 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.5.4") + implementation("com.pulumi:pulumi:0.9.5") } task sourcesJar(type: Jar) { from sourceSets.main.allJava - classifier = 'sources' + archiveClassifier.set('sources') } task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier.set('javadoc') + zip64 = true } def genPulumiResources = tasks.register('genPulumiResources') { @@ -123,7 +124,11 @@ javadoc { if (JavaVersion.current().isJava9Compatible()) { options.addBooleanOption('html5', true) } - options.jFlags("-Xmx2g", "-Xms512m") + options.jFlags("-Xmx8g", "-Xms512m") +} + +jar { + zip64 = true } if (publishRepoUsername) { @@ -144,4 +149,4 @@ if (signingKey) { useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mainPublication } -} +} \ No newline at end of file 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 b4f48f90..2c41ce86 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ApiKey.java @@ -42,7 +42,7 @@ public class ApiKey extends com.pulumi.resources.CustomResource { * A free-form description of the API Account. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -56,7 +56,7 @@ public Output> description() { * 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`. * */ - @Export(name="disableWaitForReady", type=Boolean.class, parameters={}) + @Export(name="disableWaitForReady", refs={Boolean.class}, tree="[0]") private Output disableWaitForReady; /** @@ -70,7 +70,7 @@ public Output> disableWaitForReady() { * A human-readable name for the API Key. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -84,7 +84,7 @@ public Output displayName() { * 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={}) + @Export(name="managedResource", refs={ApiKeyManagedResource.class}, tree="[0]") private Output managedResource; /** @@ -98,7 +98,7 @@ public Output> managedResource() { * The owner to which the API Key belongs. The owner can be one of 'iam.v2.User', 'iam.v2.ServiceAccount'. * */ - @Export(name="owner", type=ApiKeyOwner.class, parameters={}) + @Export(name="owner", refs={ApiKeyOwner.class}, tree="[0]") private Output owner; /** @@ -112,7 +112,7 @@ public Output owner() { * (Required String, Sensitive) The secret of the API Key. * */ - @Export(name="secret", type=String.class, parameters={}) + @Export(name="secret", refs={String.class}, tree="[0]") private Output secret; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadata.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadata.java index 9520761a..a155a86e 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadata.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadata.java @@ -37,7 +37,7 @@ public class BusinessMetadata extends com.pulumi.resources.CustomResource { * The list of attribute definitions (see [Business Metadata](https://docs.confluent.io/cloud/current/stream-governance/stream-catalog.html#business-metadata-for-schemas) for more details): * */ - @Export(name="attributeDefinitions", type=List.class, parameters={BusinessMetadataAttributeDefinition.class}) + @Export(name="attributeDefinitions", refs={List.class,BusinessMetadataAttributeDefinition.class}, tree="[0,1]") private Output> attributeDefinitions; /** @@ -51,7 +51,7 @@ public Output> attributeDefinitions() * The Cluster API Credentials. * */ - @Export(name="credentials", type=BusinessMetadataCredentials.class, parameters={}) + @Export(name="credentials", refs={BusinessMetadataCredentials.class}, tree="[0]") private Output credentials; /** @@ -65,7 +65,7 @@ public Output> credentials() { * The description of the Business Metadata. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -79,7 +79,7 @@ public Output> description() { * The name of the attribute. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -93,7 +93,7 @@ public Output name() { * 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -103,7 +103,7 @@ public Output name() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=BusinessMetadataSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={BusinessMetadataSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -113,7 +113,7 @@ public Output> schemaRegistryClu * (Required Integer) The version of the Business Metadata, for example, `1`. * */ - @Export(name="version", type=Integer.class, parameters={}) + @Export(name="version", refs={Integer.class}, tree="[0]") private Output version; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadataBinding.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadataBinding.java index 01ba6bf9..51d13e44 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadataBinding.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/BusinessMetadataBinding.java @@ -36,7 +36,7 @@ public class BusinessMetadataBinding extends com.pulumi.resources.CustomResource * The attributes. * */ - @Export(name="attributes", type=Map.class, parameters={String.class, String.class}) + @Export(name="attributes", refs={Map.class,String.class}, tree="[0,1,1]") private Output> attributes; /** @@ -50,7 +50,7 @@ public Output> attributes() { * The name of the Business Metadata to be applied, for example, `PII`. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters. * */ - @Export(name="businessMetadataName", type=String.class, parameters={}) + @Export(name="businessMetadataName", refs={String.class}, tree="[0]") private Output businessMetadataName; /** @@ -64,7 +64,7 @@ public Output businessMetadataName() { * The Cluster API Credentials. * */ - @Export(name="credentials", type=BusinessMetadataBindingCredentials.class, parameters={}) + @Export(name="credentials", refs={BusinessMetadataBindingCredentials.class}, tree="[0]") private Output credentials; /** @@ -78,7 +78,7 @@ public Output> credentials() { * The qualified name of the entity., for example, `${confluent_schema_registry_cluster.main.id}:.:${confluent_schema.purchase.schema_identifier}`, `${confluent_schema_registry_cluster.main.id}:${confluent_kafka_cluster.basic.id}:${confluent_kafka_topic.purchase.topic_name}`. * */ - @Export(name="entityName", type=String.class, parameters={}) + @Export(name="entityName", refs={String.class}, tree="[0]") private Output entityName; /** @@ -92,7 +92,7 @@ public Output entityName() { * The entity type, for example, `sr_schema`. Refer to the [Entity types](https://docs.confluent.io/cloud/current/stream-governance/stream-catalog-rest-apis.html#entity-types) to learn more about entity types. * */ - @Export(name="entityType", type=String.class, parameters={}) + @Export(name="entityType", refs={String.class}, tree="[0]") private Output entityType; /** @@ -106,7 +106,7 @@ public Output entityType() { * 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -116,7 +116,7 @@ public Output entityType() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=BusinessMetadataBindingSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={BusinessMetadataBindingSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ByokKey.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ByokKey.java index bd566b79..d0d1b277 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ByokKey.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ByokKey.java @@ -32,7 +32,7 @@ public class ByokKey extends com.pulumi.resources.CustomResource { * (Optional Configuration Block) supports the following: * */ - @Export(name="aws", type=ByokKeyAws.class, parameters={}) + @Export(name="aws", refs={ByokKeyAws.class}, tree="[0]") private Output aws; /** @@ -46,7 +46,7 @@ public Output aws() { * (Optional Configuration Block) supports the following: * */ - @Export(name="azure", type=ByokKeyAzure.class, parameters={}) + @Export(name="azure", refs={ByokKeyAzure.class}, tree="[0]") private Output azure; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ClusterLink.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ClusterLink.java index a314efc3..91763e9d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ClusterLink.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ClusterLink.java @@ -45,7 +45,7 @@ public class ClusterLink extends com.pulumi.resources.CustomResource { * The custom cluster link settings to set: * */ - @Export(name="config", type=Map.class, parameters={String.class, String.class}) + @Export(name="config", refs={Map.class,String.class}, tree="[0,1,1]") private Output> config; /** @@ -59,7 +59,7 @@ public Output> config() { * The connection mode of the cluster link. The supported values are `"INBOUND"` and `"OUTBOUND"`. Defaults to `"OUTBOUND"`. * */ - @Export(name="connectionMode", type=String.class, parameters={}) + @Export(name="connectionMode", refs={String.class}, tree="[0]") private Output connectionMode; /** @@ -69,7 +69,7 @@ public Output> config() { public Output> connectionMode() { return Codegen.optional(this.connectionMode); } - @Export(name="destinationKafkaCluster", type=ClusterLinkDestinationKafkaCluster.class, parameters={}) + @Export(name="destinationKafkaCluster", refs={ClusterLinkDestinationKafkaCluster.class}, tree="[0]") private Output destinationKafkaCluster; public Output> destinationKafkaCluster() { @@ -79,7 +79,7 @@ public Output> destinationKafkaClus * The name of the cluster link, for example, `my-cluster-link`. * */ - @Export(name="link", type=String.class, parameters={}) + @Export(name="link", refs={String.class}, tree="[0]") private Output link; /** @@ -93,7 +93,7 @@ public Output link() { * The mode of the cluster link. The supported values are `"DESTINATION"`, `"SOURCE"`, and `"BIDIRECTIONAL"`. Defaults to `"DESTINATION"`. * */ - @Export(name="linkMode", type=String.class, parameters={}) + @Export(name="linkMode", refs={String.class}, tree="[0]") private Output linkMode; /** @@ -103,19 +103,19 @@ public Output link() { public Output> linkMode() { return Codegen.optional(this.linkMode); } - @Export(name="localKafkaCluster", type=ClusterLinkLocalKafkaCluster.class, parameters={}) + @Export(name="localKafkaCluster", refs={ClusterLinkLocalKafkaCluster.class}, tree="[0]") private Output localKafkaCluster; public Output> localKafkaCluster() { return Codegen.optional(this.localKafkaCluster); } - @Export(name="remoteKafkaCluster", type=ClusterLinkRemoteKafkaCluster.class, parameters={}) + @Export(name="remoteKafkaCluster", refs={ClusterLinkRemoteKafkaCluster.class}, tree="[0]") private Output remoteKafkaCluster; public Output> remoteKafkaCluster() { return Codegen.optional(this.remoteKafkaCluster); } - @Export(name="sourceKafkaCluster", type=ClusterLinkSourceKafkaCluster.class, parameters={}) + @Export(name="sourceKafkaCluster", refs={ClusterLinkSourceKafkaCluster.class}, tree="[0]") private Output sourceKafkaCluster; public Output> sourceKafkaCluster() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Connector.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Connector.java index 7e8897e6..c5ba7bd7 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Connector.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Connector.java @@ -33,7 +33,7 @@ public class Connector extends com.pulumi.resources.CustomResource { * Block for custom *nonsensitive* configuration properties that are *not* labelled with "Type: password" under "Configuration Properties" section in [the docs](https://docs.confluent.io/cloud/current/connectors/index.html): * */ - @Export(name="configNonsensitive", type=Map.class, parameters={String.class, String.class}) + @Export(name="configNonsensitive", refs={Map.class,String.class}, tree="[0,1,1]") private Output> configNonsensitive; /** @@ -47,7 +47,7 @@ public Output> configNonsensitive() { * Block for custom *sensitive* configuration properties that are labelled with "Type: password" under "Configuration Properties" section in [the docs](https://docs.confluent.io/cloud/current/connectors/index.html): * */ - @Export(name="configSensitive", type=Map.class, parameters={String.class, String.class}) + @Export(name="configSensitive", refs={Map.class,String.class}, tree="[0,1,1]") private Output> configSensitive; /** @@ -61,7 +61,7 @@ public Output> configSensitive() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=ConnectorEnvironment.class, parameters={}) + @Export(name="environment", refs={ConnectorEnvironment.class}, tree="[0]") private Output environment; /** @@ -71,13 +71,13 @@ public Output> configSensitive() { public Output environment() { return this.environment; } - @Export(name="kafkaCluster", type=ConnectorKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={ConnectorKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output kafkaCluster() { return this.kafkaCluster; } - @Export(name="status", type=String.class, parameters={}) + @Export(name="status", refs={String.class}, tree="[0]") private Output status; public Output status() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Environment.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Environment.java index 790761f2..32101bdd 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Environment.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Environment.java @@ -31,7 +31,7 @@ public class Environment extends com.pulumi.resources.CustomResource { * A human-readable name for the Environment. Start and end the name with alphanumeric characters, for example, "Development". The name can contain hyphens and underscores. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -45,7 +45,7 @@ public Output displayName() { * (Required String) The Confluent Resource Name of the Environment, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123`. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** 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 ead590c7..3b10a4f3 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityPool.java @@ -131,7 +131,7 @@ public class IdentityPool extends com.pulumi.resources.CustomResource { * A description for the Identity Pool. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -145,7 +145,7 @@ public Output description() { * A human-readable name for the Identity Pool. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -159,7 +159,7 @@ public Output displayName() { * A filter expression in [Supported Common Expression Language (CEL)](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/identity-pools.html#supported-common-expression-language-cel-filters) that specifies which identities can authenticate using your identity pool (see [Set identity pool filters](https://docs.confluent.io/cloud/current/access-management/authenticate/oauth/identity-pools.html#set-identity-pool-filters) for more details). * */ - @Export(name="filter", type=String.class, parameters={}) + @Export(name="filter", refs={String.class}, tree="[0]") private Output filter; /** @@ -173,7 +173,7 @@ public Output filter() { * 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". * */ - @Export(name="identityClaim", type=String.class, parameters={}) + @Export(name="identityClaim", refs={String.class}, tree="[0]") private Output identityClaim; /** @@ -187,7 +187,7 @@ public Output identityClaim() { * Identity Provider objects represent external OAuth/OpenID Connect providers within Confluent Cloud. * */ - @Export(name="identityProvider", type=IdentityPoolIdentityProvider.class, parameters={}) + @Export(name="identityProvider", refs={IdentityPoolIdentityProvider.class}, tree="[0]") private Output identityProvider; /** 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 b6e85b68..4c8f01ea 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/IdentityProvider.java @@ -104,7 +104,7 @@ public class IdentityProvider extends com.pulumi.resources.CustomResource { * A description for the Identity Provider. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -118,7 +118,7 @@ public Output description() { * A human-readable name for the Identity Provider. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -132,7 +132,7 @@ public Output displayName() { * A publicly reachable issuer URI for the Identity Provider. The unique issuer URI string represents the entity for issuing tokens. * */ - @Export(name="issuer", type=String.class, parameters={}) + @Export(name="issuer", refs={String.class}, tree="[0]") private Output issuer; /** @@ -148,7 +148,7 @@ public Output issuer() { * > **Note:** When using Azure AD identity provider, 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**. * */ - @Export(name="jwksUri", type=String.class, parameters={}) + @Export(name="jwksUri", refs={String.class}, tree="[0]") private Output jwksUri; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Invitation.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Invitation.java index d2d1d096..98c3990d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Invitation.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Invitation.java @@ -73,7 +73,7 @@ public class Invitation extends com.pulumi.resources.CustomResource { * (Optional String) The timestamp that the invitation was accepted. * */ - @Export(name="acceptedAt", type=String.class, parameters={}) + @Export(name="acceptedAt", refs={String.class}, tree="[0]") private Output acceptedAt; /** @@ -87,7 +87,7 @@ public Output acceptedAt() { * Accepted values are: `AUTH_TYPE_LOCAL` and `AUTH_TYPE_SSO`. The user/invitee's authentication type. Note that only the [`OrganizationAdmin role`](https://docs.confluent.io/cloud/current/access-management/access-control/cloud-rbac.html#organizationadmin) can invite `AUTH_TYPE_LOCAL` users to SSO organizations. The user's auth_type is set as `AUTH_TYPE_SSO` by default if the organization has SSO enabled. Otherwise, the user's auth_type is `AUTH_TYPE_LOCAL` by default. * */ - @Export(name="authType", type=String.class, parameters={}) + @Export(name="authType", refs={String.class}, tree="[0]") private Output authType; /** @@ -101,7 +101,7 @@ public Output authType() { * (Required Configuration Block) supports the following: * */ - @Export(name="creators", type=List.class, parameters={InvitationCreator.class}) + @Export(name="creators", refs={List.class,InvitationCreator.class}, tree="[0,1]") private Output> creators; /** @@ -115,7 +115,7 @@ public Output> creators() { * The user/invitee's email address. * */ - @Export(name="email", type=String.class, parameters={}) + @Export(name="email", refs={String.class}, tree="[0]") private Output email; /** @@ -129,7 +129,7 @@ public Output email() { * (Optional String) The timestamp that the invitation will expire. * */ - @Export(name="expiresAt", type=String.class, parameters={}) + @Export(name="expiresAt", refs={String.class}, tree="[0]") private Output expiresAt; /** @@ -143,7 +143,7 @@ public Output expiresAt() { * (Optional String) The status of invitations. Accepted values are: `INVITE_STATUS_SENT`,`INVITE_STATUS_STAGED`,`INVITE_STATUS_ACCEPTED`,`INVITE_STATUS_EXPIRED`, and `INVITE_STATUS_DEACTIVATED`. * */ - @Export(name="status", type=String.class, parameters={}) + @Export(name="status", refs={String.class}, tree="[0]") private Output status; /** @@ -157,7 +157,7 @@ public Output status() { * (Required Configuration Block) supports the following: * */ - @Export(name="users", type=List.class, parameters={InvitationUser.class}) + @Export(name="users", refs={List.class,InvitationUser.class}, tree="[0,1]") private Output> users; /** 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 25ea203b..944d6e21 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaAcl.java @@ -41,7 +41,7 @@ public class KafkaAcl extends com.pulumi.resources.CustomResource { * The Cluster API Credentials. * */ - @Export(name="credentials", type=KafkaAclCredentials.class, parameters={}) + @Export(name="credentials", refs={KafkaAclCredentials.class}, tree="[0]") private Output credentials; /** @@ -55,7 +55,7 @@ public Output> credentials() { * The host for the ACL. * */ - @Export(name="host", type=String.class, parameters={}) + @Export(name="host", refs={String.class}, tree="[0]") private Output host; /** @@ -65,7 +65,7 @@ public Output> credentials() { public Output host() { return this.host; } - @Export(name="kafkaCluster", type=KafkaAclKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KafkaAclKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output> kafkaCluster() { @@ -75,7 +75,7 @@ public Output> kafkaCluster() { * The operation type for the ACL. Accepted values are: `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. * */ - @Export(name="operation", type=String.class, parameters={}) + @Export(name="operation", refs={String.class}, tree="[0]") private Output operation; /** @@ -89,7 +89,7 @@ public Output operation() { * The pattern type for the ACL. Accepted values are: `LITERAL` and `PREFIXED`. * */ - @Export(name="patternType", type=String.class, parameters={}) + @Export(name="patternType", refs={String.class}, tree="[0]") private Output patternType; /** @@ -103,7 +103,7 @@ public Output patternType() { * The permission for the ACL. Accepted values are: `DENY` and `ALLOW`. * */ - @Export(name="permission", type=String.class, parameters={}) + @Export(name="permission", refs={String.class}, tree="[0]") private Output permission; /** @@ -117,7 +117,7 @@ public Output permission() { * The principal for the ACL. * */ - @Export(name="principal", type=String.class, parameters={}) + @Export(name="principal", refs={String.class}, tree="[0]") private Output principal; /** @@ -131,7 +131,7 @@ public Output principal() { * The resource name for the ACL. Must be `kafka-cluster` if `resource_type` equals to `CLUSTER`. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** @@ -145,7 +145,7 @@ public Output resourceName() { * The type of the resource. Accepted values are: `TOPIC`, `GROUP`, `CLUSTER`, `TRANSACTIONAL_ID`, `DELEGATION_TOKEN`. See [Authorization using ACLs](https://docs.confluent.io/platform/current/kafka/authorization.html#operations) to find definitions of resource types and mappings of `(resource_type, operation)` to one or more Kafka APIs or request types. * */ - @Export(name="resourceType", type=String.class, parameters={}) + @Export(name="resourceType", refs={String.class}, tree="[0]") private Output resourceType; /** @@ -159,7 +159,7 @@ public Output resourceType() { * The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`. * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClientQuota.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClientQuota.java index c2dfa45f..17091e35 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClientQuota.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClientQuota.java @@ -83,7 +83,7 @@ public class KafkaClientQuota extends com.pulumi.resources.CustomResource { * The description of the Kafka Client Quota. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -97,7 +97,7 @@ public Output> description() { * The name of the Kafka Client Quota. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -111,7 +111,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=KafkaClientQuotaEnvironment.class, parameters={}) + @Export(name="environment", refs={KafkaClientQuotaEnvironment.class}, tree="[0]") private Output environment; /** @@ -121,7 +121,7 @@ public Output displayName() { public Output environment() { return this.environment; } - @Export(name="kafkaCluster", type=KafkaClientQuotaKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KafkaClientQuotaKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output kafkaCluster() { @@ -131,7 +131,7 @@ public Output kafkaCluster() { * 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. * */ - @Export(name="principals", type=List.class, parameters={String.class}) + @Export(name="principals", refs={List.class,String.class}, tree="[0,1]") private Output> principals; /** @@ -145,7 +145,7 @@ public Output> principals() { * Block for representing a Kafka Quota. * */ - @Export(name="throughput", type=KafkaClientQuotaThroughput.class, parameters={}) + @Export(name="throughput", refs={KafkaClientQuotaThroughput.class}, tree="[0]") private Output throughput; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaCluster.java index 5eab1b23..66dd5688 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaCluster.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaCluster.java @@ -40,7 +40,7 @@ public class KafkaCluster extends com.pulumi.resources.CustomResource { * (Required String) An API Version of the schema version of the Kafka cluster, for example, `cmk/v2`. * */ - @Export(name="apiVersion", type=String.class, parameters={}) + @Export(name="apiVersion", refs={String.class}, tree="[0]") private Output apiVersion; /** @@ -54,7 +54,7 @@ public Output apiVersion() { * The availability zone configuration of the Kafka cluster. Accepted values are: `SINGLE_ZONE` and `MULTI_ZONE`. * */ - @Export(name="availability", type=String.class, parameters={}) + @Export(name="availability", refs={String.class}, tree="[0]") private Output availability; /** @@ -68,7 +68,7 @@ public Output availability() { * The configuration of the Basic Kafka cluster. * */ - @Export(name="basic", type=KafkaClusterBasic.class, parameters={}) + @Export(name="basic", refs={KafkaClusterBasic.class}, tree="[0]") private Output basic; /** @@ -82,7 +82,7 @@ public Output> basic() { * (Required String) The bootstrap endpoint used by Kafka clients to connect to the Kafka cluster. (e.g., `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092`). * */ - @Export(name="bootstrapEndpoint", type=String.class, parameters={}) + @Export(name="bootstrapEndpoint", refs={String.class}, tree="[0]") private Output bootstrapEndpoint; /** @@ -92,7 +92,7 @@ public Output> basic() { public Output bootstrapEndpoint() { return this.bootstrapEndpoint; } - @Export(name="byokKey", type=KafkaClusterByokKey.class, parameters={}) + @Export(name="byokKey", refs={KafkaClusterByokKey.class}, tree="[0]") private Output byokKey; public Output byokKey() { @@ -102,7 +102,7 @@ public Output byokKey() { * The cloud service provider that runs the Kafka cluster. Accepted values are: `AWS`, `AZURE`, and `GCP`. * */ - @Export(name="cloud", type=String.class, parameters={}) + @Export(name="cloud", refs={String.class}, tree="[0]") private Output cloud; /** @@ -116,7 +116,7 @@ public Output cloud() { * (Optional Configuration Block) The configuration of the Dedicated Kafka cluster. It supports the following: * */ - @Export(name="dedicated", type=KafkaClusterDedicated.class, parameters={}) + @Export(name="dedicated", refs={KafkaClusterDedicated.class}, tree="[0]") private Output dedicated; /** @@ -130,7 +130,7 @@ public Output> dedicated() { * The name of the Kafka cluster. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -144,7 +144,7 @@ public Output displayName() { * The configuration of the Enterprise Kafka cluster. * */ - @Export(name="enterprises", type=List.class, parameters={KafkaClusterEnterprise.class}) + @Export(name="enterprises", refs={List.class,KafkaClusterEnterprise.class}, tree="[0,1]") private Output> enterprises; /** @@ -158,7 +158,7 @@ public Output>> enterprises() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=KafkaClusterEnvironment.class, parameters={}) + @Export(name="environment", refs={KafkaClusterEnvironment.class}, tree="[0]") private Output environment; /** @@ -172,7 +172,7 @@ public Output environment() { * (Required String) A kind of the Kafka cluster, for example, `Cluster`. * */ - @Export(name="kind", type=String.class, parameters={}) + @Export(name="kind", refs={String.class}, tree="[0]") private Output kind; /** @@ -187,7 +187,7 @@ public Output kind() { * accounts. * */ - @Export(name="network", type=KafkaClusterNetwork.class, parameters={}) + @Export(name="network", refs={KafkaClusterNetwork.class}, tree="[0]") private Output network; /** @@ -202,7 +202,7 @@ public Output network() { * (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`. * */ - @Export(name="rbacCrn", type=String.class, parameters={}) + @Export(name="rbacCrn", refs={String.class}, tree="[0]") private Output rbacCrn; /** @@ -216,7 +216,7 @@ public Output rbacCrn() { * The cloud service provider region where the Kafka cluster is running, for example, `us-west-2`. See [Cloud Providers and Regions](https://docs.confluent.io/cloud/current/clusters/regions.html#cloud-providers-and-regions) for a full list of options for AWS, Azure, and GCP. * */ - @Export(name="region", type=String.class, parameters={}) + @Export(name="region", refs={String.class}, tree="[0]") private Output region; /** @@ -230,7 +230,7 @@ public Output region() { * (Required String) The REST endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -244,7 +244,7 @@ public Output restEndpoint() { * The configuration of the Standard Kafka cluster. * */ - @Export(name="standard", type=KafkaClusterStandard.class, parameters={}) + @Export(name="standard", refs={KafkaClusterStandard.class}, tree="[0]") private Output standard; /** 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 b74f0773..a5de43d2 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaClusterConfig.java @@ -42,7 +42,7 @@ public class KafkaClusterConfig extends com.pulumi.resources.CustomResource { * The custom cluster settings to set: * */ - @Export(name="config", type=Map.class, parameters={String.class, String.class}) + @Export(name="config", refs={Map.class,String.class}, tree="[0,1,1]") private Output> config; /** @@ -56,7 +56,7 @@ public Output> config() { * The Cluster API Credentials. * */ - @Export(name="credentials", type=KafkaClusterConfigCredentials.class, parameters={}) + @Export(name="credentials", refs={KafkaClusterConfigCredentials.class}, tree="[0]") private Output credentials; /** @@ -66,7 +66,7 @@ public Output> config() { public Output> credentials() { return Codegen.optional(this.credentials); } - @Export(name="kafkaCluster", type=KafkaClusterConfigKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KafkaClusterConfigKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output> kafkaCluster() { @@ -76,7 +76,7 @@ public Output> kafkaCluster() { * The REST endpoint of the Dedicated Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaMirrorTopic.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaMirrorTopic.java index 6c611991..f4f8dccb 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaMirrorTopic.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaMirrorTopic.java @@ -30,13 +30,13 @@ */ @ResourceType(type="confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic") public class KafkaMirrorTopic extends com.pulumi.resources.CustomResource { - @Export(name="clusterLink", type=KafkaMirrorTopicClusterLink.class, parameters={}) + @Export(name="clusterLink", refs={KafkaMirrorTopicClusterLink.class}, tree="[0]") private Output clusterLink; public Output clusterLink() { return this.clusterLink; } - @Export(name="kafkaCluster", type=KafkaMirrorTopicKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KafkaMirrorTopicKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output kafkaCluster() { @@ -46,7 +46,7 @@ public Output kafkaCluster() { * The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when `<prefix>` is configured for the cluster link, the mirror topic name has to be of the format `<prefix><source_topic_name>`. * */ - @Export(name="mirrorTopicName", type=String.class, parameters={}) + @Export(name="mirrorTopicName", refs={String.class}, tree="[0]") private Output mirrorTopicName; /** @@ -56,13 +56,13 @@ public Output kafkaCluster() { public Output mirrorTopicName() { return this.mirrorTopicName; } - @Export(name="sourceKafkaTopic", type=KafkaMirrorTopicSourceKafkaTopic.class, parameters={}) + @Export(name="sourceKafkaTopic", refs={KafkaMirrorTopicSourceKafkaTopic.class}, tree="[0]") private Output sourceKafkaTopic; public Output sourceKafkaTopic() { return this.sourceKafkaTopic; } - @Export(name="status", type=String.class, parameters={}) + @Export(name="status", refs={String.class}, tree="[0]") private Output status; public Output status() { 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 dd2a1e8a..bf35d06c 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopic.java @@ -123,7 +123,7 @@ public class KafkaTopic extends com.pulumi.resources.CustomResource { * The custom topic settings to set: * */ - @Export(name="config", type=Map.class, parameters={String.class, String.class}) + @Export(name="config", refs={Map.class,String.class}, tree="[0,1,1]") private Output> config; /** @@ -137,7 +137,7 @@ public Output> config() { * The Cluster API Credentials. * */ - @Export(name="credentials", type=KafkaTopicCredentials.class, parameters={}) + @Export(name="credentials", refs={KafkaTopicCredentials.class}, tree="[0]") private Output credentials; /** @@ -148,24 +148,18 @@ public Output> credentials() { return Codegen.optional(this.credentials); } /** - * 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 + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - @Export(name="httpEndpoint", type=String.class, parameters={}) + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ + @Export(name="httpEndpoint", refs={String.class}, tree="[0]") private Output httpEndpoint; - /** - * @return The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - * - */ public Output httpEndpoint() { return this.httpEndpoint; } - @Export(name="kafkaCluster", type=KafkaTopicKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KafkaTopicKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output> kafkaCluster() { @@ -175,7 +169,7 @@ public Output> kafkaCluster() { * The number of partitions to create in the topic. Defaults to `6`. * */ - @Export(name="partitionsCount", type=Integer.class, parameters={}) + @Export(name="partitionsCount", refs={Integer.class}, tree="[0]") private Output partitionsCount; /** @@ -189,7 +183,7 @@ public Output> partitionsCount() { * The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -203,7 +197,7 @@ public Output> restEndpoint() { * The name of the topic, for example, `orders-1`. The topic name can be up to 249 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic. * */ - @Export(name="topicName", type=String.class, parameters={}) + @Export(name="topicName", refs={String.class}, tree="[0]") private Output topicName; /** 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 d63caa19..b3469e43 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KafkaTopicArgs.java @@ -50,24 +50,20 @@ public Optional> credentials() { } /** - * 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 + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ @Import(name="httpEndpoint") private @Nullable Output httpEndpoint; /** - * @return 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 + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Optional> httpEndpoint() { return Optional.ofNullable(this.httpEndpoint); } @@ -197,30 +193,26 @@ public Builder credentials(KafkaTopicCredentialsArgs credentials) { } /** - * @param httpEndpoint The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - * * @return builder * * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Builder httpEndpoint(@Nullable Output httpEndpoint) { $.httpEndpoint = httpEndpoint; return this; } /** - * @param httpEndpoint The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - * * @return builder * * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Builder httpEndpoint(String httpEndpoint) { return httpEndpoint(Output.of(httpEndpoint)); } diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/KsqlCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/KsqlCluster.java index 6f21a9d0..f15077bf 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/KsqlCluster.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/KsqlCluster.java @@ -39,7 +39,7 @@ public class KsqlCluster extends com.pulumi.resources.CustomResource { * (Required String) An API Version of the schema version of the ksqlDB cluster, for example, `ksqldbcm/v2`. * */ - @Export(name="apiVersion", type=String.class, parameters={}) + @Export(name="apiVersion", refs={String.class}, tree="[0]") private Output apiVersion; /** @@ -49,7 +49,7 @@ public class KsqlCluster extends com.pulumi.resources.CustomResource { public Output apiVersion() { return this.apiVersion; } - @Export(name="credentialIdentity", type=KsqlClusterCredentialIdentity.class, parameters={}) + @Export(name="credentialIdentity", refs={KsqlClusterCredentialIdentity.class}, tree="[0]") private Output credentialIdentity; public Output credentialIdentity() { @@ -59,7 +59,7 @@ public Output credentialIdentity() { * The number of Confluent Streaming Units (CSUs) for the ksqlDB cluster. * */ - @Export(name="csu", type=Integer.class, parameters={}) + @Export(name="csu", refs={Integer.class}, tree="[0]") private Output csu; /** @@ -73,7 +73,7 @@ public Output csu() { * The name of the ksqlDB cluster. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -87,7 +87,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=KsqlClusterEnvironment.class, parameters={}) + @Export(name="environment", refs={KsqlClusterEnvironment.class}, tree="[0]") private Output environment; /** @@ -97,7 +97,7 @@ public Output displayName() { public Output environment() { return this.environment; } - @Export(name="kafkaCluster", type=KsqlClusterKafkaCluster.class, parameters={}) + @Export(name="kafkaCluster", refs={KsqlClusterKafkaCluster.class}, tree="[0]") private Output kafkaCluster; public Output kafkaCluster() { @@ -107,7 +107,7 @@ public Output kafkaCluster() { * (Required String) A kind of the ksqlDB cluster, for example, `Cluster`. * */ - @Export(name="kind", type=String.class, parameters={}) + @Export(name="kind", refs={String.class}, tree="[0]") private Output kind; /** @@ -121,7 +121,7 @@ public Output kind() { * (Required String) The Confluent Resource Name of the ksqlDB cluster. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** @@ -135,7 +135,7 @@ public Output resourceName() { * (Required String) The API endpoint of the ksqlDB cluster, for example, `https://pksqlc-00000.us-central1.gcp.glb.confluent.cloud`. * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -149,7 +149,7 @@ public Output restEndpoint() { * (Required Integer) The amount of storage (in GB) provisioned to the ksqlDB cluster. * */ - @Export(name="storage", type=Integer.class, parameters={}) + @Export(name="storage", refs={Integer.class}, tree="[0]") private Output storage; /** @@ -163,7 +163,7 @@ public Output 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`. * */ - @Export(name="topicPrefix", type=String.class, parameters={}) + @Export(name="topicPrefix", refs={String.class}, tree="[0]") private Output topicPrefix; /** @@ -177,7 +177,7 @@ public Output topicPrefix() { * Controls whether the row data should be included in the processing log topic. Set it to `false` if you don't want to emit sensitive information to the processing log. Defaults to `true`. * */ - @Export(name="useDetailedProcessingLog", type=Boolean.class, parameters={}) + @Export(name="useDetailedProcessingLog", refs={Boolean.class}, tree="[0]") private Output useDetailedProcessingLog; /** 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 00c80c87..2d8e5cf0 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Network.java @@ -39,7 +39,7 @@ public class Network extends com.pulumi.resources.CustomResource { * (Optional Configuration Block) The AWS-specific network details if available. It supports the following: * */ - @Export(name="aws", type=List.class, parameters={NetworkAw.class}) + @Export(name="aws", refs={List.class,NetworkAw.class}, tree="[0,1]") private Output> aws; /** @@ -53,7 +53,7 @@ public Output> aws() { * (Optional Configuration Block) The Azure-specific network details if available. It supports the following: * */ - @Export(name="azures", type=List.class, parameters={NetworkAzure.class}) + @Export(name="azures", refs={List.class,NetworkAzure.class}, tree="[0,1]") private Output> azures; /** @@ -69,7 +69,7 @@ public Output> azures() { * > **Note:** The `zone_info` configuration block and `reserved_cidr` are in a [Limited Availability lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy), and it's available only for AWS networks with PEERING connection type. * */ - @Export(name="cidr", type=String.class, parameters={}) + @Export(name="cidr", refs={String.class}, tree="[0]") private Output cidr; /** @@ -85,7 +85,7 @@ public Output cidr() { * The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`. * */ - @Export(name="cloud", type=String.class, parameters={}) + @Export(name="cloud", refs={String.class}, tree="[0]") private Output cloud; /** @@ -99,7 +99,7 @@ public Output cloud() { * The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`. * */ - @Export(name="connectionTypes", type=List.class, parameters={String.class}) + @Export(name="connectionTypes", refs={List.class,String.class}, tree="[0,1]") private Output> connectionTypes; /** @@ -113,7 +113,7 @@ public Output> connectionTypes() { * The name of the Network. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -127,7 +127,7 @@ public Output displayName() { * Network DNS config. It applies only to the PRIVATELINK network connection type. * */ - @Export(name="dnsConfig", type=NetworkDnsConfig.class, parameters={}) + @Export(name="dnsConfig", refs={NetworkDnsConfig.class}, tree="[0]") private Output dnsConfig; /** @@ -141,7 +141,7 @@ public Output 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. * */ - @Export(name="dnsDomain", type=String.class, parameters={}) + @Export(name="dnsDomain", refs={String.class}, tree="[0]") private Output dnsDomain; /** @@ -155,7 +155,7 @@ public Output dnsDomain() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=NetworkEnvironment.class, parameters={}) + @Export(name="environment", refs={NetworkEnvironment.class}, tree="[0]") private Output environment; /** @@ -169,7 +169,7 @@ public Output environment() { * (Optional Configuration Block) The GCP-specific network details if available. It supports the following: * */ - @Export(name="gcps", type=List.class, parameters={NetworkGcp.class}) + @Export(name="gcps", refs={List.class,NetworkGcp.class}, tree="[0,1]") private Output> gcps; /** @@ -183,7 +183,7 @@ public Output> gcps() { * The cloud provider region where the network exists. * */ - @Export(name="region", type=String.class, parameters={}) + @Export(name="region", refs={String.class}, tree="[0]") private Output region; /** @@ -197,7 +197,7 @@ public Output region() { * The reserved IPv4 CIDR block to be used for the network. Must be `/24`. If not specified, Confluent Cloud Network uses `172.20.255.0/24`. * */ - @Export(name="reservedCidr", type=String.class, parameters={}) + @Export(name="reservedCidr", refs={String.class}, tree="[0]") private Output reservedCidr; /** @@ -211,7 +211,7 @@ public Output reservedCidr() { * (Required String) The Confluent Resource Name of the Network. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** @@ -225,7 +225,7 @@ public Output resourceName() { * (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`. * */ - @Export(name="zonalSubdomains", type=Map.class, parameters={String.class, String.class}) + @Export(name="zonalSubdomains", refs={Map.class,String.class}, tree="[0,1,1]") private Output> zonalSubdomains; /** @@ -239,7 +239,7 @@ public Output> zonalSubdomains() { * Each item represents information related to a single zone. * */ - @Export(name="zoneInfos", type=List.class, parameters={NetworkZoneInfo.class}) + @Export(name="zoneInfos", refs={List.class,NetworkZoneInfo.class}, tree="[0,1]") private Output> zoneInfos; /** @@ -258,7 +258,7 @@ public Output> zoneInfos() { * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers. * */ - @Export(name="zones", type=List.class, parameters={String.class}) + @Export(name="zones", refs={List.class,String.class}, tree="[0,1]") private Output> zones; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkEndpoint.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkEndpoint.java index 9e90f2d2..f83c881e 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkEndpoint.java @@ -34,7 +34,7 @@ public class NetworkLinkEndpoint extends com.pulumi.resources.CustomResource { * The description of the Network Link Endpoint. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -48,7 +48,7 @@ public Output description() { * The name of the Network Link Endpoint. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -62,7 +62,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=NetworkLinkEndpointEnvironment.class, parameters={}) + @Export(name="environment", refs={NetworkLinkEndpointEnvironment.class}, tree="[0]") private Output environment; /** @@ -77,7 +77,7 @@ public Output environment() { * accounts. * */ - @Export(name="network", type=NetworkLinkEndpointNetwork.class, parameters={}) + @Export(name="network", refs={NetworkLinkEndpointNetwork.class}, tree="[0]") private Output network; /** @@ -88,7 +88,7 @@ public Output environment() { public Output network() { return this.network; } - @Export(name="networkLinkService", type=NetworkLinkEndpointNetworkLinkService.class, parameters={}) + @Export(name="networkLinkService", refs={NetworkLinkEndpointNetworkLinkService.class}, tree="[0]") private Output networkLinkService; public Output networkLinkService() { @@ -98,7 +98,7 @@ public Output networkLinkService() { * (Required String) The Confluent Resource Name of the Network Link Endpoint. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkService.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkService.java index 032ad824..62246cdf 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkService.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/NetworkLinkService.java @@ -30,7 +30,7 @@ */ @ResourceType(type="confluentcloud:index/networkLinkService:NetworkLinkService") public class NetworkLinkService extends com.pulumi.resources.CustomResource { - @Export(name="accept", type=NetworkLinkServiceAccept.class, parameters={}) + @Export(name="accept", refs={NetworkLinkServiceAccept.class}, tree="[0]") private Output accept; public Output accept() { @@ -40,7 +40,7 @@ public Output accept() { * The description of the Network Link Service. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -54,7 +54,7 @@ public Output description() { * The name of the Network Link Service. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -68,7 +68,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=NetworkLinkServiceEnvironment.class, parameters={}) + @Export(name="environment", refs={NetworkLinkServiceEnvironment.class}, tree="[0]") private Output environment; /** @@ -83,7 +83,7 @@ public Output environment() { * accounts. * */ - @Export(name="network", type=NetworkLinkServiceNetwork.class, parameters={}) + @Export(name="network", refs={NetworkLinkServiceNetwork.class}, tree="[0]") private Output network; /** @@ -98,7 +98,7 @@ public Output network() { * (Required String) The Confluent Resource Name of the Network Link Service. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Peering.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Peering.java index a31f9a08..4828bd55 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Peering.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Peering.java @@ -33,13 +33,13 @@ */ @ResourceType(type="confluentcloud:index/peering:Peering") public class Peering extends com.pulumi.resources.CustomResource { - @Export(name="aws", type=PeeringAws.class, parameters={}) + @Export(name="aws", refs={PeeringAws.class}, tree="[0]") private Output aws; public Output> aws() { return Codegen.optional(this.aws); } - @Export(name="azure", type=PeeringAzure.class, parameters={}) + @Export(name="azure", refs={PeeringAzure.class}, tree="[0]") private Output azure; public Output> azure() { @@ -49,7 +49,7 @@ public Output> azure() { * The name of the Peering. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -63,7 +63,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=PeeringEnvironment.class, parameters={}) + @Export(name="environment", refs={PeeringEnvironment.class}, tree="[0]") private Output environment; /** @@ -73,7 +73,7 @@ public Output displayName() { public Output environment() { return this.environment; } - @Export(name="gcp", type=PeeringGcp.class, parameters={}) + @Export(name="gcp", refs={PeeringGcp.class}, tree="[0]") private Output gcp; public Output> gcp() { @@ -84,7 +84,7 @@ public Output> gcp() { * accounts. * */ - @Export(name="network", type=PeeringNetwork.class, parameters={}) + @Export(name="network", refs={PeeringNetwork.class}, tree="[0]") private Output network; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAccess.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAccess.java index f1c3a7e9..5f3b0d6d 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAccess.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAccess.java @@ -33,13 +33,13 @@ */ @ResourceType(type="confluentcloud:index/privateLinkAccess:PrivateLinkAccess") public class PrivateLinkAccess extends com.pulumi.resources.CustomResource { - @Export(name="aws", type=PrivateLinkAccessAws.class, parameters={}) + @Export(name="aws", refs={PrivateLinkAccessAws.class}, tree="[0]") private Output aws; public Output> aws() { return Codegen.optional(this.aws); } - @Export(name="azure", type=PrivateLinkAccessAzure.class, parameters={}) + @Export(name="azure", refs={PrivateLinkAccessAzure.class}, tree="[0]") private Output azure; public Output> azure() { @@ -49,7 +49,7 @@ public Output> azure() { * The name of the Private Link Access. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -63,7 +63,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=PrivateLinkAccessEnvironment.class, parameters={}) + @Export(name="environment", refs={PrivateLinkAccessEnvironment.class}, tree="[0]") private Output environment; /** @@ -73,7 +73,7 @@ public Output displayName() { public Output environment() { return this.environment; } - @Export(name="gcp", type=PrivateLinkAccessGcp.class, parameters={}) + @Export(name="gcp", refs={PrivateLinkAccessGcp.class}, tree="[0]") private Output gcp; public Output> gcp() { @@ -84,7 +84,7 @@ public Output> gcp() { * accounts. * */ - @Export(name="network", type=PrivateLinkAccessNetwork.class, parameters={}) + @Export(name="network", refs={PrivateLinkAccessNetwork.class}, tree="[0]") private Output network; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachment.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachment.java index f3567a45..f6c2d996 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachment.java @@ -81,7 +81,7 @@ public class PrivateLinkAttachment extends com.pulumi.resources.CustomResource { * (Optional Configuration Block) supports the following: * */ - @Export(name="aws", type=List.class, parameters={PrivateLinkAttachmentAw.class}) + @Export(name="aws", refs={List.class,PrivateLinkAttachmentAw.class}, tree="[0,1]") private Output> aws; /** @@ -91,7 +91,7 @@ public class PrivateLinkAttachment extends com.pulumi.resources.CustomResource { public Output> aws() { return this.aws; } - @Export(name="azures", type=List.class, parameters={PrivateLinkAttachmentAzure.class}) + @Export(name="azures", refs={List.class,PrivateLinkAttachmentAzure.class}, tree="[0,1]") private Output> azures; public Output> azures() { @@ -101,7 +101,7 @@ public Output> azures() { * The cloud service provider that hosts the resources to access with the Private Link Attachment. * */ - @Export(name="cloud", type=String.class, parameters={}) + @Export(name="cloud", refs={String.class}, tree="[0]") private Output cloud; /** @@ -115,7 +115,7 @@ public Output cloud() { * The name of the Private Link Attachment. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -129,7 +129,7 @@ public Output displayName() { * (Required String) The root DNS domain for the Private Link Attachment, for example, `pr123a.us-east-2.aws.confluent. * */ - @Export(name="dnsDomain", type=String.class, parameters={}) + @Export(name="dnsDomain", refs={String.class}, tree="[0]") private Output dnsDomain; /** @@ -143,7 +143,7 @@ public Output dnsDomain() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=PrivateLinkAttachmentEnvironment.class, parameters={}) + @Export(name="environment", refs={PrivateLinkAttachmentEnvironment.class}, tree="[0]") private Output environment; /** @@ -153,7 +153,7 @@ public Output dnsDomain() { public Output environment() { return this.environment; } - @Export(name="gcps", type=List.class, parameters={PrivateLinkAttachmentGcp.class}) + @Export(name="gcps", refs={List.class,PrivateLinkAttachmentGcp.class}, tree="[0,1]") private Output> gcps; public Output> gcps() { @@ -163,7 +163,7 @@ public Output> gcps() { * The cloud service provider region where the resources to be accessed using the Private Link Attachment are located. * */ - @Export(name="region", type=String.class, parameters={}) + @Export(name="region", refs={String.class}, tree="[0]") private Output region; /** @@ -177,7 +177,7 @@ public Output region() { * (Required String) The Confluent Resource Name of the Private Link Attachment, for example `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0`. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachmentConnection.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachmentConnection.java index 862d83d8..89caca46 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachmentConnection.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/PrivateLinkAttachmentConnection.java @@ -84,13 +84,13 @@ */ @ResourceType(type="confluentcloud:index/privateLinkAttachmentConnection:PrivateLinkAttachmentConnection") public class PrivateLinkAttachmentConnection extends com.pulumi.resources.CustomResource { - @Export(name="aws", type=PrivateLinkAttachmentConnectionAws.class, parameters={}) + @Export(name="aws", refs={PrivateLinkAttachmentConnectionAws.class}, tree="[0]") private Output aws; public Output> aws() { return Codegen.optional(this.aws); } - @Export(name="azure", type=PrivateLinkAttachmentConnectionAzure.class, parameters={}) + @Export(name="azure", refs={PrivateLinkAttachmentConnectionAzure.class}, tree="[0]") private Output azure; public Output> azure() { @@ -100,7 +100,7 @@ public Output> azure() { * The name of the Private Link Attachment Connection. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -114,7 +114,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=PrivateLinkAttachmentConnectionEnvironment.class, parameters={}) + @Export(name="environment", refs={PrivateLinkAttachmentConnectionEnvironment.class}, tree="[0]") private Output environment; /** @@ -124,7 +124,7 @@ public Output displayName() { public Output environment() { return this.environment; } - @Export(name="gcp", type=PrivateLinkAttachmentConnectionGcp.class, parameters={}) + @Export(name="gcp", refs={PrivateLinkAttachmentConnectionGcp.class}, tree="[0]") private Output gcp; public Output> gcp() { @@ -134,7 +134,7 @@ public Output> gcp() { * The private_link_attachment to which this belongs. * */ - @Export(name="privateLinkAttachment", type=PrivateLinkAttachmentConnectionPrivateLinkAttachment.class, parameters={}) + @Export(name="privateLinkAttachment", refs={PrivateLinkAttachmentConnectionPrivateLinkAttachment.class}, tree="[0]") private Output privateLinkAttachment; /** @@ -148,7 +148,7 @@ public Output privateLinkA * (Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w`. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** 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 16873cc6..f6325457 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Provider.java @@ -27,7 +27,7 @@ public class Provider extends com.pulumi.resources.ProviderResource { * The Confluent Cloud API Key. * */ - @Export(name="cloudApiKey", type=String.class, parameters={}) + @Export(name="cloudApiKey", refs={String.class}, tree="[0]") private Output cloudApiKey; /** @@ -41,7 +41,7 @@ public Output> cloudApiKey() { * The Confluent Cloud API Secret. * */ - @Export(name="cloudApiSecret", type=String.class, parameters={}) + @Export(name="cloudApiSecret", refs={String.class}, tree="[0]") private Output cloudApiSecret; /** @@ -55,7 +55,7 @@ public Output> cloudApiSecret() { * The base endpoint of Confluent Cloud API. * */ - @Export(name="endpoint", type=String.class, parameters={}) + @Export(name="endpoint", refs={String.class}, tree="[0]") private Output endpoint; /** @@ -69,7 +69,7 @@ public Output> endpoint() { * The Kafka Cluster API Key. * */ - @Export(name="kafkaApiKey", type=String.class, parameters={}) + @Export(name="kafkaApiKey", refs={String.class}, tree="[0]") private Output kafkaApiKey; /** @@ -83,7 +83,7 @@ public Output> kafkaApiKey() { * The Kafka Cluster API Secret. * */ - @Export(name="kafkaApiSecret", type=String.class, parameters={}) + @Export(name="kafkaApiSecret", refs={String.class}, tree="[0]") private Output kafkaApiSecret; /** @@ -97,7 +97,7 @@ public Output> kafkaApiSecret() { * The Kafka Cluster ID. * */ - @Export(name="kafkaId", type=String.class, parameters={}) + @Export(name="kafkaId", refs={String.class}, tree="[0]") private Output kafkaId; /** @@ -111,7 +111,7 @@ public Output> kafkaId() { * The Kafka Cluster REST Endpoint. * */ - @Export(name="kafkaRestEndpoint", type=String.class, parameters={}) + @Export(name="kafkaRestEndpoint", refs={String.class}, tree="[0]") private Output kafkaRestEndpoint; /** @@ -125,7 +125,7 @@ public Output> kafkaRestEndpoint() { * The Schema Registry Cluster API Key. * */ - @Export(name="schemaRegistryApiKey", type=String.class, parameters={}) + @Export(name="schemaRegistryApiKey", refs={String.class}, tree="[0]") private Output schemaRegistryApiKey; /** @@ -139,7 +139,7 @@ public Output> schemaRegistryApiKey() { * The Schema Registry Cluster API Secret. * */ - @Export(name="schemaRegistryApiSecret", type=String.class, parameters={}) + @Export(name="schemaRegistryApiSecret", refs={String.class}, tree="[0]") private Output schemaRegistryApiSecret; /** @@ -153,7 +153,7 @@ public Output> schemaRegistryApiSecret() { * The Schema Registry Cluster ID. * */ - @Export(name="schemaRegistryId", type=String.class, parameters={}) + @Export(name="schemaRegistryId", refs={String.class}, tree="[0]") private Output schemaRegistryId; /** @@ -167,7 +167,7 @@ public Output> schemaRegistryId() { * The Schema Registry Cluster REST Endpoint. * */ - @Export(name="schemaRegistryRestEndpoint", type=String.class, parameters={}) + @Export(name="schemaRegistryRestEndpoint", refs={String.class}, tree="[0]") private Output schemaRegistryRestEndpoint; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/RoleBinding.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/RoleBinding.java index d82e6fac..ddb149bb 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/RoleBinding.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/RoleBinding.java @@ -31,7 +31,7 @@ public class RoleBinding extends com.pulumi.resources.CustomResource { * A [Confluent Resource Name(CRN)](<https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)>) that specifies the scope and resource patterns necessary for the role to bind. * */ - @Export(name="crnPattern", type=String.class, parameters={}) + @Export(name="crnPattern", refs={String.class}, tree="[0]") private Output crnPattern; /** @@ -45,7 +45,7 @@ public Output crnPattern() { * A principal User to bind the role to, for example, "User:u-111aaa" for binding to a user "u-111aaa", or "User:sa-111aaa" for binding to a service account "sa-111aaa". * */ - @Export(name="principal", type=String.class, parameters={}) + @Export(name="principal", refs={String.class}, tree="[0]") private Output principal; /** @@ -59,7 +59,7 @@ public Output principal() { * A name of the role to bind to the principal. See [Confluent Cloud RBAC Roles](https://docs.confluent.io/cloud/current/access-management/access-control/cloud-rbac.html#ccloud-rbac-roles) for a full list of supported role names. * */ - @Export(name="roleName", type=String.class, parameters={}) + @Export(name="roleName", refs={String.class}, tree="[0]") private Output roleName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java index 99548514..2ef82f59 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Schema.java @@ -44,7 +44,7 @@ public class Schema extends com.pulumi.resources.CustomResource { * The Cluster API Credentials. * */ - @Export(name="credentials", type=SchemaCredentials.class, parameters={}) + @Export(name="credentials", refs={SchemaCredentials.class}, tree="[0]") private Output credentials; /** @@ -58,7 +58,7 @@ public Output> credentials() { * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`. * */ - @Export(name="format", type=String.class, parameters={}) + @Export(name="format", refs={String.class}, tree="[0]") private Output format; /** @@ -72,7 +72,7 @@ public Output format() { * An optional flag to control whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on destroy (see [Schema Deletion Guidelines](https://docs.confluent.io/platform/current/schema-registry/schema-deletion-guidelines.html#schema-deletion-guidelines) for more details). Must be unset when importing. Defaults to `false` (soft delete). * */ - @Export(name="hardDelete", type=Boolean.class, parameters={}) + @Export(name="hardDelete", refs={Boolean.class}, tree="[0]") private Output hardDelete; /** @@ -86,7 +86,7 @@ public Output> hardDelete() { * An optional flag to control whether a schema should be recreated on an update. Set it to `true` if you want to manage different schema versions using different resource instances. Must be set to the target value when importing. Defaults to `false`, which manages the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates. * */ - @Export(name="recreateOnUpdate", type=Boolean.class, parameters={}) + @Export(name="recreateOnUpdate", refs={Boolean.class}, tree="[0]") private Output recreateOnUpdate; /** @@ -100,7 +100,7 @@ public Output> recreateOnUpdate() { * 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -114,7 +114,7 @@ public Output> restEndpoint() { * The schema string, for example, `file("./schema_version_1.avsc")`. * */ - @Export(name="schema", type=String.class, parameters={}) + @Export(name="schema", refs={String.class}, tree="[0]") private Output schema; /** @@ -128,7 +128,7 @@ public Output 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={}) + @Export(name="schemaIdentifier", refs={Integer.class}, tree="[0]") private Output schemaIdentifier; /** @@ -142,7 +142,7 @@ public Output 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}) + @Export(name="schemaReferences", refs={List.class,SchemaSchemaReference.class}, tree="[0,1]") private Output> schemaReferences; /** @@ -152,7 +152,7 @@ public Output schemaIdentifier() { public Output>> schemaReferences() { return Codegen.optional(this.schemaReferences); } - @Export(name="schemaRegistryCluster", type=SchemaSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={SchemaSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -162,7 +162,7 @@ public Output> 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={}) + @Export(name="subjectName", refs={String.class}, tree="[0]") private Output subjectName; /** @@ -176,7 +176,7 @@ public Output subjectName() { * The version, representing the exact version of the schema under the registered subject. * */ - @Export(name="version", type=Integer.class, parameters={}) + @Export(name="version", refs={Integer.class}, tree="[0]") private Output version; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryCluster.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryCluster.java index 004afde5..41a89e0c 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryCluster.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryCluster.java @@ -82,7 +82,7 @@ public class SchemaRegistryCluster extends com.pulumi.resources.CustomResource { * (Required String) An API Version of the schema version of the Schema Registry cluster, for example, `srcm/v2`. * */ - @Export(name="apiVersion", type=String.class, parameters={}) + @Export(name="apiVersion", refs={String.class}, tree="[0]") private Output apiVersion; /** @@ -96,7 +96,7 @@ public Output apiVersion() { * (Required String) The name of the Schema Registry cluster, for example, `Stream Governance Package`. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -110,7 +110,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=SchemaRegistryClusterEnvironment.class, parameters={}) + @Export(name="environment", refs={SchemaRegistryClusterEnvironment.class}, tree="[0]") private Output environment; /** @@ -124,7 +124,7 @@ public Output environment() { * (Required String) A kind of the Schema Registry cluster, for example, `Cluster`. * */ - @Export(name="kind", type=String.class, parameters={}) + @Export(name="kind", refs={String.class}, tree="[0]") private Output kind; /** @@ -138,7 +138,7 @@ public Output kind() { * The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`. * */ - @Export(name="package", type=String.class, parameters={}) + @Export(name="package", refs={String.class}, tree="[0]") private Output package_; /** @@ -148,7 +148,7 @@ public Output kind() { public Output package_() { return this.package_; } - @Export(name="region", type=SchemaRegistryClusterRegion.class, parameters={}) + @Export(name="region", refs={SchemaRegistryClusterRegion.class}, tree="[0]") private Output region; public Output region() { @@ -158,7 +158,7 @@ public Output region() { * (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`. * */ - @Export(name="resourceName", type=String.class, parameters={}) + @Export(name="resourceName", refs={String.class}, tree="[0]") private Output resourceName; /** @@ -172,7 +172,7 @@ public Output resourceName() { * (Required String) The HTTP endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-west-2.aws.confluent.cloud`. * */ - @Export(name="restEndpoint", type=String.class, parameters={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java index dcd1f5ce..8844c1f1 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterConfig.java @@ -35,7 +35,7 @@ public class SchemaRegistryClusterConfig extends com.pulumi.resources.CustomReso * 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={}) + @Export(name="compatibilityLevel", refs={String.class}, tree="[0]") private Output compatibilityLevel; /** @@ -49,7 +49,7 @@ public Output compatibilityLevel() { * The Cluster API Credentials. * */ - @Export(name="credentials", type=SchemaRegistryClusterConfigCredentials.class, parameters={}) + @Export(name="credentials", refs={SchemaRegistryClusterConfigCredentials.class}, tree="[0]") private Output credentials; /** @@ -63,7 +63,7 @@ public Output> 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -73,7 +73,7 @@ public Output> credentials() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=SchemaRegistryClusterConfigSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={SchemaRegistryClusterConfigSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java index b1b2f304..f60663d4 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SchemaRegistryClusterMode.java @@ -35,7 +35,7 @@ public class SchemaRegistryClusterMode extends com.pulumi.resources.CustomResour * The Cluster API Credentials. * */ - @Export(name="credentials", type=SchemaRegistryClusterModeCredentials.class, parameters={}) + @Export(name="credentials", refs={SchemaRegistryClusterModeCredentials.class}, tree="[0]") private Output credentials; /** @@ -49,7 +49,7 @@ public Output> credentials() { * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. * */ - @Export(name="mode", type=String.class, parameters={}) + @Export(name="mode", refs={String.class}, tree="[0]") private Output mode; /** @@ -63,7 +63,7 @@ public Output 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -73,7 +73,7 @@ public Output mode() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=SchemaRegistryClusterModeSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={SchemaRegistryClusterModeSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/ServiceAccount.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/ServiceAccount.java index aa221e1a..cb3197b1 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/ServiceAccount.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/ServiceAccount.java @@ -32,7 +32,7 @@ public class ServiceAccount extends com.pulumi.resources.CustomResource { * (Required String) An API Version of the schema version of the Service Account, for example, `iam/v2`. * */ - @Export(name="apiVersion", type=String.class, parameters={}) + @Export(name="apiVersion", refs={String.class}, tree="[0]") private Output apiVersion; /** @@ -46,7 +46,7 @@ public Output apiVersion() { * A free-form description of the Service Account. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -60,7 +60,7 @@ public Output> description() { * A human-readable name for the Service Account. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -74,7 +74,7 @@ public Output displayName() { * (Required String) A kind of the Service Account, for example, `ServiceAccount`. * */ - @Export(name="kind", type=String.class, parameters={}) + @Export(name="kind", refs={String.class}, tree="[0]") private Output kind; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java index cb2fe7b1..4f9ac91b 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectConfig.java @@ -35,7 +35,7 @@ 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={}) + @Export(name="compatibilityLevel", refs={String.class}, tree="[0]") private Output compatibilityLevel; /** @@ -49,7 +49,7 @@ public Output compatibilityLevel() { * The Cluster API Credentials. * */ - @Export(name="credentials", type=SubjectConfigCredentials.class, parameters={}) + @Export(name="credentials", refs={SubjectConfigCredentials.class}, tree="[0]") private Output credentials; /** @@ -63,7 +63,7 @@ public Output> 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -73,7 +73,7 @@ public Output> credentials() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=SubjectConfigSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={SubjectConfigSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -83,7 +83,7 @@ public Output> schemaRegistryCluste * 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={}) + @Export(name="subjectName", refs={String.class}, tree="[0]") private Output subjectName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java index 8fd387be..35d25649 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/SubjectMode.java @@ -35,7 +35,7 @@ public class SubjectMode extends com.pulumi.resources.CustomResource { * The Cluster API Credentials. * */ - @Export(name="credentials", type=SubjectModeCredentials.class, parameters={}) + @Export(name="credentials", refs={SubjectModeCredentials.class}, tree="[0]") private Output credentials; /** @@ -49,7 +49,7 @@ public Output> credentials() { * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`. * */ - @Export(name="mode", type=String.class, parameters={}) + @Export(name="mode", refs={String.class}, tree="[0]") private Output mode; /** @@ -63,7 +63,7 @@ public Output 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -73,7 +73,7 @@ public Output mode() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=SubjectModeSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={SubjectModeSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -83,7 +83,7 @@ public Output> 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={}) + @Export(name="subjectName", refs={String.class}, tree="[0]") private Output subjectName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Tag.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Tag.java index d2821a6e..97084f17 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Tag.java @@ -36,7 +36,7 @@ public class Tag extends com.pulumi.resources.CustomResource { * The Cluster API Credentials. * */ - @Export(name="credentials", type=TagCredentials.class, parameters={}) + @Export(name="credentials", refs={TagCredentials.class}, tree="[0]") private Output credentials; /** @@ -50,7 +50,7 @@ public Output> credentials() { * The description of the tag to be created. * */ - @Export(name="description", type=String.class, parameters={}) + @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** @@ -64,7 +64,7 @@ public Output> description() { * (Optional List of String) The entity types of the tag, this always returns `["cf_entity"]`. Refer to the [Entity types](https://docs.confluent.io/cloud/current/stream-governance/stream-catalog-rest-apis.html#entity-types) to learn more about entity types. * */ - @Export(name="entityTypes", type=List.class, parameters={String.class}) + @Export(name="entityTypes", refs={List.class,String.class}, tree="[0,1]") private Output> entityTypes; /** @@ -78,7 +78,7 @@ public Output> entityTypes() { * The name of the tag, for example, `PII`. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -92,7 +92,7 @@ public Output name() { * 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -102,7 +102,7 @@ public Output name() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=TagSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={TagSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -112,7 +112,7 @@ public Output> schemaRegistryCluster() { * (Optional Integer) The version, for example, `1`. * */ - @Export(name="version", type=Integer.class, parameters={}) + @Export(name="version", refs={Integer.class}, tree="[0]") private Output version; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/TagBinding.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/TagBinding.java index 4dc4a585..739cec36 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/TagBinding.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/TagBinding.java @@ -35,7 +35,7 @@ public class TagBinding extends com.pulumi.resources.CustomResource { * The Cluster API Credentials. * */ - @Export(name="credentials", type=TagBindingCredentials.class, parameters={}) + @Export(name="credentials", refs={TagBindingCredentials.class}, tree="[0]") private Output credentials; /** @@ -49,7 +49,7 @@ public Output> credentials() { * The qualified name of the entity., for example, `${confluent_schema_registry_cluster.main.id}:.:${confluent_schema.purchase.schema_identifier}`, `${confluent_schema_registry_cluster.main.id}:${confluent_kafka_cluster.basic.id}:${confluent_kafka_topic.purchase.topic_name}`. * */ - @Export(name="entityName", type=String.class, parameters={}) + @Export(name="entityName", refs={String.class}, tree="[0]") private Output entityName; /** @@ -63,7 +63,7 @@ public Output entityName() { * The entity type. * */ - @Export(name="entityType", type=String.class, parameters={}) + @Export(name="entityType", refs={String.class}, tree="[0]") private Output entityType; /** @@ -77,7 +77,7 @@ public Output entityType() { * 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={}) + @Export(name="restEndpoint", refs={String.class}, tree="[0]") private Output restEndpoint; /** @@ -87,7 +87,7 @@ public Output entityType() { public Output> restEndpoint() { return Codegen.optional(this.restEndpoint); } - @Export(name="schemaRegistryCluster", type=TagBindingSchemaRegistryCluster.class, parameters={}) + @Export(name="schemaRegistryCluster", refs={TagBindingSchemaRegistryCluster.class}, tree="[0]") private Output schemaRegistryCluster; public Output> schemaRegistryCluster() { @@ -97,7 +97,7 @@ public Output> schemaRegistryCluster() * The name of the tag to be applied, for example, `PII`. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters. * */ - @Export(name="tagName", type=String.class, parameters={}) + @Export(name="tagName", refs={String.class}, tree="[0]") private Output tagName; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/TfImporter.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/TfImporter.java index 96265777..935ae6fa 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/TfImporter.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/TfImporter.java @@ -17,7 +17,7 @@ @ResourceType(type="confluentcloud:index/tfImporter:TfImporter") public class TfImporter extends com.pulumi.resources.CustomResource { - @Export(name="outputPath", type=String.class, parameters={}) + @Export(name="outputPath", refs={String.class}, tree="[0]") private Output outputPath; public Output> outputPath() { @@ -27,7 +27,7 @@ public Output> outputPath() { * A list of resources names to export. Defaults to all exportable resources. * */ - @Export(name="resources", type=List.class, parameters={String.class}) + @Export(name="resources", refs={List.class,String.class}, tree="[0,1]") private Output> resources; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/TransitGatewayAttachment.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/TransitGatewayAttachment.java index 9e3b5098..3aa480d2 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/TransitGatewayAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/TransitGatewayAttachment.java @@ -35,7 +35,7 @@ public class TransitGatewayAttachment extends com.pulumi.resources.CustomResourc * (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following: * */ - @Export(name="aws", type=TransitGatewayAttachmentAws.class, parameters={}) + @Export(name="aws", refs={TransitGatewayAttachmentAws.class}, tree="[0]") private Output aws; /** @@ -49,7 +49,7 @@ public Output> aws() { * The name of the Transit Gateway Attachment. * */ - @Export(name="displayName", type=String.class, parameters={}) + @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** @@ -63,7 +63,7 @@ public Output displayName() { * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes. * */ - @Export(name="environment", type=TransitGatewayAttachmentEnvironment.class, parameters={}) + @Export(name="environment", refs={TransitGatewayAttachmentEnvironment.class}, tree="[0]") private Output environment; /** @@ -78,7 +78,7 @@ public Output environment() { * accounts. * */ - @Export(name="network", type=TransitGatewayAttachmentNetwork.class, parameters={}) + @Export(name="network", refs={TransitGatewayAttachmentNetwork.class}, tree="[0]") private Output network; /** diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/Utilities.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/Utilities.java index f74471d4..5eb9a070 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/Utilities.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/Utilities.java @@ -57,7 +57,6 @@ public static Optional getEnvDouble(String... names) { return Optional.empty(); } - // TODO: this probably should be done via a mutator on the InvokeOptions public static InvokeOptions withVersion(@Nullable InvokeOptions options) { if (options != null && options.getVersion().isPresent()) { return options; 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 e1b8eec4..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,25 +24,6 @@ public Optional> credentials() { return Optional.ofNullable(this.credentials); } - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - @Import(name="httpEndpoint") - private @Nullable Output httpEndpoint; - - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public Optional> httpEndpoint() { - return Optional.ofNullable(this.httpEndpoint); - } - @Import(name="kafkaCluster") private @Nullable Output kafkaCluster; @@ -84,7 +65,6 @@ private GetKafkaTopicArgs() {} private GetKafkaTopicArgs(GetKafkaTopicArgs $) { this.credentials = $.credentials; - this.httpEndpoint = $.httpEndpoint; this.kafkaCluster = $.kafkaCluster; this.restEndpoint = $.restEndpoint; this.topicName = $.topicName; @@ -117,31 +97,6 @@ public Builder credentials(GetKafkaTopicCredentialsArgs credentials) { return credentials(Output.of(credentials)); } - /** - * @return builder - * - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public Builder httpEndpoint(@Nullable Output httpEndpoint) { - $.httpEndpoint = httpEndpoint; - return this; - } - - /** - * @return builder - * - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public Builder httpEndpoint(String httpEndpoint) { - return httpEndpoint(Output.of(httpEndpoint)); - } - public Builder kafkaCluster(@Nullable Output kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; 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 92d6ab53..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,25 +23,6 @@ public Optional credentials() { return Optional.ofNullable(this.credentials); } - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - @Import(name="httpEndpoint") - private @Nullable String httpEndpoint; - - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public Optional httpEndpoint() { - return Optional.ofNullable(this.httpEndpoint); - } - @Import(name="kafkaCluster") private @Nullable GetKafkaTopicKafkaCluster kafkaCluster; @@ -83,7 +64,6 @@ private GetKafkaTopicPlainArgs() {} private GetKafkaTopicPlainArgs(GetKafkaTopicPlainArgs $) { this.credentials = $.credentials; - this.httpEndpoint = $.httpEndpoint; this.kafkaCluster = $.kafkaCluster; this.restEndpoint = $.restEndpoint; this.topicName = $.topicName; @@ -112,19 +92,6 @@ public Builder credentials(@Nullable GetKafkaTopicCredentials credentials) { return this; } - /** - * @return builder - * - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public Builder httpEndpoint(@Nullable String httpEndpoint) { - $.httpEndpoint = httpEndpoint; - return this; - } - public Builder kafkaCluster(@Nullable GetKafkaTopicKafkaCluster kafkaCluster) { $.kafkaCluster = kafkaCluster; return this; diff --git a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/KafkaTopicState.java b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/KafkaTopicState.java index 1775b33b..57479b9f 100644 --- a/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/KafkaTopicState.java +++ b/sdk/java/src/main/java/com/pulumi/confluentcloud/inputs/KafkaTopicState.java @@ -50,24 +50,20 @@ public Optional> credentials() { } /** - * 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 + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ @Import(name="httpEndpoint") private @Nullable Output httpEndpoint; /** - * @return 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 + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Optional> httpEndpoint() { return Optional.ofNullable(this.httpEndpoint); } @@ -197,30 +193,26 @@ public Builder credentials(KafkaTopicCredentialsArgs credentials) { } /** - * @param httpEndpoint The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - * * @return builder * * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Builder httpEndpoint(@Nullable Output httpEndpoint) { $.httpEndpoint = httpEndpoint; return this; } /** - * @param httpEndpoint The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - * * @return builder * * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint + * This property has been deprecated. Please use "restEndpoint" instead. * */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ + @Deprecated /* This property has been deprecated. Please use ""restEndpoint"" instead. */ public Builder httpEndpoint(String httpEndpoint) { return httpEndpoint(Output.of(httpEndpoint)); } 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 59a9f321..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 @@ -21,13 +21,6 @@ public final class GetKafkaTopicResult { */ private Map config; private @Nullable GetKafkaTopicCredentials credentials; - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - private String httpEndpoint; /** * @return The provider-assigned unique ID for this managed resource. * @@ -53,15 +46,6 @@ public Map config() { public Optional credentials() { return Optional.ofNullable(this.credentials); } - /** - * @deprecated - * This parameter has been deprecated in favour of Rest Endpoint - * - */ - @Deprecated /* This parameter has been deprecated in favour of Rest Endpoint */ - public String httpEndpoint() { - return this.httpEndpoint; - } /** * @return The provider-assigned unique ID for this managed resource. * @@ -97,7 +81,6 @@ public static Builder builder(GetKafkaTopicResult defaults) { public static final class Builder { private Map config; private @Nullable GetKafkaTopicCredentials credentials; - private String httpEndpoint; private String id; private @Nullable GetKafkaTopicKafkaCluster kafkaCluster; private Integer partitionsCount; @@ -108,7 +91,6 @@ public Builder(GetKafkaTopicResult defaults) { Objects.requireNonNull(defaults); this.config = defaults.config; this.credentials = defaults.credentials; - this.httpEndpoint = defaults.httpEndpoint; this.id = defaults.id; this.kafkaCluster = defaults.kafkaCluster; this.partitionsCount = defaults.partitionsCount; @@ -127,11 +109,6 @@ public Builder credentials(@Nullable GetKafkaTopicCredentials credentials) { return this; } @CustomType.Setter - public Builder httpEndpoint(String httpEndpoint) { - this.httpEndpoint = Objects.requireNonNull(httpEndpoint); - return this; - } - @CustomType.Setter public Builder id(String id) { this.id = Objects.requireNonNull(id); return this; @@ -160,7 +137,6 @@ public GetKafkaTopicResult build() { final var o = new GetKafkaTopicResult(); o.config = config; o.credentials = credentials; - o.httpEndpoint = httpEndpoint; o.id = id; o.kafkaCluster = kafkaCluster; o.partitionsCount = partitionsCount; diff --git a/sdk/nodejs/getKafkaTopic.ts b/sdk/nodejs/getKafkaTopic.ts index d917dc99..68a8820b 100644 --- a/sdk/nodejs/getKafkaTopic.ts +++ b/sdk/nodejs/getKafkaTopic.ts @@ -11,7 +11,6 @@ export function getKafkaTopic(args: GetKafkaTopicArgs, opts?: pulumi.InvokeOptio opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("confluentcloud:index/getKafkaTopic:getKafkaTopic", { "credentials": args.credentials, - "httpEndpoint": args.httpEndpoint, "kafkaCluster": args.kafkaCluster, "restEndpoint": args.restEndpoint, "topicName": args.topicName, @@ -23,10 +22,6 @@ export function getKafkaTopic(args: GetKafkaTopicArgs, opts?: pulumi.InvokeOptio */ export interface GetKafkaTopicArgs { credentials?: inputs.GetKafkaTopicCredentials; - /** - * @deprecated This parameter has been deprecated in favour of Rest Endpoint - */ - httpEndpoint?: string; kafkaCluster?: inputs.GetKafkaTopicKafkaCluster; /** * The REST endpoint of the Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). @@ -47,10 +42,6 @@ export interface GetKafkaTopicResult { */ readonly config: {[key: string]: string}; readonly credentials?: outputs.GetKafkaTopicCredentials; - /** - * @deprecated This parameter has been deprecated in favour of Rest Endpoint - */ - readonly httpEndpoint: string; /** * The provider-assigned unique ID for this managed resource. */ @@ -72,10 +63,6 @@ export function getKafkaTopicOutput(args: GetKafkaTopicOutputArgs, opts?: pulumi */ export interface GetKafkaTopicOutputArgs { credentials?: pulumi.Input; - /** - * @deprecated This parameter has been deprecated in favour of Rest Endpoint - */ - httpEndpoint?: 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/kafkaTopic.ts b/sdk/nodejs/kafkaTopic.ts index c54d55a2..02dac5a2 100644 --- a/sdk/nodejs/kafkaTopic.ts +++ b/sdk/nodejs/kafkaTopic.ts @@ -140,9 +140,7 @@ export class KafkaTopic extends pulumi.CustomResource { */ public readonly credentials!: pulumi.Output; /** - * 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 + * @deprecated This property has been deprecated. Please use "restEndpoint" instead. */ public readonly httpEndpoint!: pulumi.Output; public readonly kafkaCluster!: pulumi.Output; @@ -212,9 +210,7 @@ export interface KafkaTopicState { */ credentials?: pulumi.Input; /** - * 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 + * @deprecated This property has been deprecated. Please use "restEndpoint" instead. */ httpEndpoint?: pulumi.Input; kafkaCluster?: pulumi.Input; @@ -245,9 +241,7 @@ export interface KafkaTopicArgs { */ credentials?: pulumi.Input; /** - * 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 + * @deprecated This property has been deprecated. Please use "restEndpoint" instead. */ httpEndpoint?: pulumi.Input; kafkaCluster?: pulumi.Input; diff --git a/sdk/python/pulumi_confluentcloud/get_kafka_topic.py b/sdk/python/pulumi_confluentcloud/get_kafka_topic.py index 674fdc79..84f489ce 100644 --- a/sdk/python/pulumi_confluentcloud/get_kafka_topic.py +++ b/sdk/python/pulumi_confluentcloud/get_kafka_topic.py @@ -23,16 +23,13 @@ class GetKafkaTopicResult: """ A collection of values returned by getKafkaTopic. """ - def __init__(__self__, config=None, credentials=None, http_endpoint=None, id=None, kafka_cluster=None, partitions_count=None, rest_endpoint=None, topic_name=None): + def __init__(__self__, config=None, credentials=None, id=None, kafka_cluster=None, partitions_count=None, rest_endpoint=None, topic_name=None): if config and not isinstance(config, dict): raise TypeError("Expected argument 'config' to be a dict") pulumi.set(__self__, "config", config) if credentials and not isinstance(credentials, dict): raise TypeError("Expected argument 'credentials' to be a dict") pulumi.set(__self__, "credentials", credentials) - if http_endpoint and not isinstance(http_endpoint, str): - raise TypeError("Expected argument 'http_endpoint' to be a str") - pulumi.set(__self__, "http_endpoint", http_endpoint) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -62,14 +59,6 @@ def config(self) -> Mapping[str, str]: def credentials(self) -> Optional['outputs.GetKafkaTopicCredentialsResult']: return pulumi.get(self, "credentials") - @property - @pulumi.getter(name="httpEndpoint") - def http_endpoint(self) -> str: - 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""") - - return pulumi.get(self, "http_endpoint") - @property @pulumi.getter def id(self) -> str: @@ -110,7 +99,6 @@ def __await__(self): return GetKafkaTopicResult( config=self.config, credentials=self.credentials, - http_endpoint=self.http_endpoint, id=self.id, kafka_cluster=self.kafka_cluster, partitions_count=self.partitions_count, @@ -119,7 +107,6 @@ def __await__(self): def get_kafka_topic(credentials: Optional[pulumi.InputType['GetKafkaTopicCredentialsArgs']] = None, - http_endpoint: Optional[str] = None, kafka_cluster: Optional[pulumi.InputType['GetKafkaTopicKafkaClusterArgs']] = None, rest_endpoint: Optional[str] = None, topic_name: Optional[str] = None, @@ -132,7 +119,6 @@ def get_kafka_topic(credentials: Optional[pulumi.InputType['GetKafkaTopicCredent """ __args__ = dict() __args__['credentials'] = credentials - __args__['httpEndpoint'] = http_endpoint __args__['kafkaCluster'] = kafka_cluster __args__['restEndpoint'] = rest_endpoint __args__['topicName'] = topic_name @@ -142,7 +128,6 @@ def get_kafka_topic(credentials: Optional[pulumi.InputType['GetKafkaTopicCredent return AwaitableGetKafkaTopicResult( config=pulumi.get(__ret__, 'config'), credentials=pulumi.get(__ret__, 'credentials'), - http_endpoint=pulumi.get(__ret__, 'http_endpoint'), id=pulumi.get(__ret__, 'id'), kafka_cluster=pulumi.get(__ret__, 'kafka_cluster'), partitions_count=pulumi.get(__ret__, 'partitions_count'), @@ -152,7 +137,6 @@ 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, - http_endpoint: Optional[pulumi.Input[Optional[str]]] = 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, diff --git a/sdk/python/pulumi_confluentcloud/kafka_topic.py b/sdk/python/pulumi_confluentcloud/kafka_topic.py index 269c3b91..f760b52c 100644 --- a/sdk/python/pulumi_confluentcloud/kafka_topic.py +++ b/sdk/python/pulumi_confluentcloud/kafka_topic.py @@ -28,7 +28,6 @@ def __init__(__self__, *, :param pulumi.Input[str] topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 249 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The custom topic settings to set: :param pulumi.Input['KafkaTopicCredentialsArgs'] credentials: The Cluster API Credentials. - :param pulumi.Input[str] http_endpoint: The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :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`). """ @@ -38,8 +37,8 @@ def __init__(__self__, *, if credentials is not None: pulumi.set(__self__, "credentials", credentials) if http_endpoint is not None: - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") if http_endpoint is not None: pulumi.set(__self__, "http_endpoint", http_endpoint) if kafka_cluster is not None: @@ -88,11 +87,8 @@ def credentials(self, value: Optional[pulumi.Input['KafkaTopicCredentialsArgs']] @property @pulumi.getter(name="httpEndpoint") def http_endpoint(self) -> Optional[pulumi.Input[str]]: - """ - The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - """ - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") return pulumi.get(self, "http_endpoint") @@ -148,7 +144,6 @@ def __init__(__self__, *, Input properties used for looking up and filtering KafkaTopic resources. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The custom topic settings to set: :param pulumi.Input['KafkaTopicCredentialsArgs'] credentials: The Cluster API Credentials. - :param pulumi.Input[str] http_endpoint: The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :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`). :param pulumi.Input[str] topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 249 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic. @@ -158,8 +153,8 @@ def __init__(__self__, *, if credentials is not None: pulumi.set(__self__, "credentials", credentials) if http_endpoint is not None: - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") if http_endpoint is not None: pulumi.set(__self__, "http_endpoint", http_endpoint) if kafka_cluster is not None: @@ -198,11 +193,8 @@ def credentials(self, value: Optional[pulumi.Input['KafkaTopicCredentialsArgs']] @property @pulumi.getter(name="httpEndpoint") def http_endpoint(self) -> Optional[pulumi.Input[str]]: - """ - The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - """ - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") return pulumi.get(self, "http_endpoint") @@ -370,7 +362,6 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The custom topic settings to set: :param pulumi.Input[pulumi.InputType['KafkaTopicCredentialsArgs']] credentials: The Cluster API Credentials. - :param pulumi.Input[str] http_endpoint: The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :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`). :param pulumi.Input[str] topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 249 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic. @@ -512,8 +503,8 @@ def _internal_init(__self__, __props__.__dict__["config"] = config __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials) if http_endpoint is not None and not opts.urn: - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") __props__.__dict__["http_endpoint"] = http_endpoint __props__.__dict__["kafka_cluster"] = kafka_cluster __props__.__dict__["partitions_count"] = partitions_count @@ -549,7 +540,6 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The custom topic settings to set: :param pulumi.Input[pulumi.InputType['KafkaTopicCredentialsArgs']] credentials: The Cluster API Credentials. - :param pulumi.Input[str] http_endpoint: The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). :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`). :param pulumi.Input[str] topic_name: The name of the topic, for example, `orders-1`. The topic name can be up to 249 characters in length, and can include the following characters: a-z, A-Z, 0-9, . (dot), _ (underscore), and - (dash). As a best practice, we recommend against using any personally identifiable information (PII) when naming your topic. @@ -586,11 +576,8 @@ def credentials(self) -> pulumi.Output[Optional['outputs.KafkaTopicCredentials'] @property @pulumi.getter(name="httpEndpoint") def http_endpoint(self) -> pulumi.Output[str]: - """ - The HTTP endpoint of the Kafka cluster (e.g., `https://pkc-00000.us-central1.gcp.confluent.cloud:443`). - """ - 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""") + warnings.warn("""This property has been deprecated. Please use \"restEndpoint\" instead.""", DeprecationWarning) + pulumi.log.warn("""http_endpoint is deprecated: This property has been deprecated. Please use \"restEndpoint\" instead.""") return pulumi.get(self, "http_endpoint")