Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
rquitales committed Aug 23, 2023
1 parent c0ee005 commit b5c7260
Show file tree
Hide file tree
Showing 519 changed files with 50,709 additions and 7,739 deletions.
6 changes: 3 additions & 3 deletions sdk/dotnet/BigDataService/AutoScalingConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public partial class AutoScalingConfiguration : global::Pulumi.CustomResource
public Output<bool> IsEnabled { get; private set; } = null!;

/// <summary>
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
/// </summary>
[Output("nodeType")]
public Output<string> NodeType { get; private set; } = null!;
Expand Down Expand Up @@ -240,7 +240,7 @@ public Input<string>? ClusterAdminPassword
public Input<bool> IsEnabled { get; set; } = null!;

/// <summary>
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
/// </summary>
[Input("nodeType", required: true)]
public Input<string> NodeType { get; set; } = null!;
Expand Down Expand Up @@ -310,7 +310,7 @@ public Input<string>? ClusterAdminPassword
public Input<bool>? IsEnabled { get; set; }

/// <summary>
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
/// </summary>
[Input("nodeType")]
public Input<string>? NodeType { get; set; }
Expand Down
176 changes: 71 additions & 105 deletions sdk/dotnet/BigDataService/BdsInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,106 +14,6 @@ namespace Pulumi.Oci.BigDataService
///
/// Creates a new BDS instance.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Oci = Pulumi.Oci;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var testBdsInstance = new Oci.BigDataService.BdsInstance("testBdsInstance", new()
/// {
/// ClusterAdminPassword = @var.Bds_instance_cluster_admin_password,
/// ClusterPublicKey = @var.Bds_instance_cluster_public_key,
/// ClusterVersion = @var.Bds_instance_cluster_version,
/// CompartmentId = @var.Compartment_id,
/// DisplayName = @var.Bds_instance_display_name,
/// IsHighAvailability = @var.Bds_instance_is_high_availability,
/// IsSecure = @var.Bds_instance_is_secure,
/// MasterNode = new Oci.BigDataService.Inputs.BdsInstanceMasterNodeArgs
/// {
/// Shape = @var.Bds_instance_nodes_shape,
/// SubnetId = oci_core_subnet.Test_subnet.Id,
/// NumberOfNodes = @var.Bds_instance_number_of_nodes,
/// BlockVolumeSizeInGbs = @var.Bds_instance_nodes_block_volume_size_in_gbs,
/// ShapeConfig = new Oci.BigDataService.Inputs.BdsInstanceMasterNodeShapeConfigArgs
/// {
/// MemoryInGbs = @var.Bds_instance_nodes_shape_config_memory_in_gbs,
/// Nvmes = @var.Bds_instance_nodes_shape_config_nvmes,
/// Ocpus = @var.Bds_instance_nodes_shape_config_ocpus,
/// },
/// },
/// UtilNode = new Oci.BigDataService.Inputs.BdsInstanceUtilNodeArgs
/// {
/// Shape = @var.Bds_instance_nodes_shape,
/// SubnetId = oci_core_subnet.Test_subnet.Id,
/// NumberOfNodes = @var.Bds_instance_number_of_nodes,
/// BlockVolumeSizeInGbs = @var.Bds_instance_nodes_block_volume_size_in_gbs,
/// ShapeConfig = new Oci.BigDataService.Inputs.BdsInstanceUtilNodeShapeConfigArgs
/// {
/// MemoryInGbs = @var.Bds_instance_nodes_shape_config_memory_in_gbs,
/// Nvmes = @var.Bds_instance_nodes_shape_config_nvmes,
/// Ocpus = @var.Bds_instance_nodes_shape_config_ocpus,
/// },
/// },
/// WorkerNode = new Oci.BigDataService.Inputs.BdsInstanceWorkerNodeArgs
/// {
/// Shape = @var.Bds_instance_nodes_shape,
/// SubnetId = oci_core_subnet.Test_subnet.Id,
/// NumberOfNodes = @var.Bds_instance_number_of_nodes,
/// BlockVolumeSizeInGbs = @var.Bds_instance_nodes_block_volume_size_in_gbs,
/// ShapeConfig = new Oci.BigDataService.Inputs.BdsInstanceWorkerNodeShapeConfigArgs
/// {
/// MemoryInGbs = @var.Bds_instance_nodes_shape_config_memory_in_gbs,
/// Nvmes = @var.Bds_instance_nodes_shape_config_nvmes,
/// Ocpus = @var.Bds_instance_nodes_shape_config_ocpus,
/// },
/// },
/// ComputeOnlyWorkerNode = new Oci.BigDataService.Inputs.BdsInstanceComputeOnlyWorkerNodeArgs
/// {
/// Shape = @var.Bds_instance_nodes_shape,
/// SubnetId = oci_core_subnet.Test_subnet.Id,
/// NumberOfNodes = @var.Bds_instance_number_of_nodes,
/// BlockVolumeSizeInGbs = @var.Bds_instance_nodes_block_volume_size_in_gbs,
/// ShapeConfig = new Oci.BigDataService.Inputs.BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs
/// {
/// MemoryInGbs = @var.Bds_instance_nodes_shape_config_memory_in_gbs,
/// Nvmes = @var.Bds_instance_nodes_shape_config_nvmes,
/// Ocpus = @var.Bds_instance_nodes_shape_config_ocpus,
/// },
/// },
/// EdgeNode = new Oci.BigDataService.Inputs.BdsInstanceEdgeNodeArgs
/// {
/// Shape = @var.Bds_instance_nodes_shape,
/// SubnetId = oci_core_subnet.Test_subnet.Id,
/// NumberOfNodes = @var.Bds_instance_number_of_nodes,
/// BlockVolumeSizeInGbs = @var.Bds_instance_nodes_block_volume_size_in_gbs,
/// ShapeConfig = new Oci.BigDataService.Inputs.BdsInstanceEdgeNodeShapeConfigArgs
/// {
/// MemoryInGbs = @var.Bds_instance_nodes_shape_config_memory_in_gbs,
/// Nvmes = @var.Bds_instance_nodes_shape_config_nvmes,
/// Ocpus = @var.Bds_instance_nodes_shape_config_ocpus,
/// },
/// },
/// BootstrapScriptUrl = @var.Bds_instance_bootstrap_script_url,
/// ClusterProfile = @var.Bds_instance_cluster_profile,
/// DefinedTags = @var.Bds_instance_defined_tags,
/// FreeformTags = @var.Bds_instance_freeform_tags,
/// KerberosRealmName = @var.Bds_instance_kerberos_realm_name,
/// KmsKeyId = @var.Bds_instance_kms_key_id,
/// NetworkConfig = new Oci.BigDataService.Inputs.BdsInstanceNetworkConfigArgs
/// {
/// CidrBlock = @var.Bds_instance_network_config_cidr_block,
/// IsNatGatewayRequired = @var.Bds_instance_network_config_is_nat_gateway_required,
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// BdsInstances can be imported using the `id`, e.g.
Expand Down Expand Up @@ -221,12 +121,24 @@ public partial class BdsInstance : global::Pulumi.CustomResource
[Output("isHighAvailability")]
public Output<bool> IsHighAvailability { get; private set; } = null!;

/// <summary>
/// Boolean flag specifying whether or not Kafka should be configured.
/// </summary>
[Output("isKafkaConfigured")]
public Output<bool?> IsKafkaConfigured { get; private set; } = null!;

/// <summary>
/// Boolean flag specifying whether or not the cluster should be setup as secure.
/// </summary>
[Output("isSecure")]
public Output<bool> IsSecure { get; private set; } = null!;

/// <summary>
/// The kafka broker node in the BDS instance
/// </summary>
[Output("kafkaBrokerNode")]
public Output<Outputs.BdsInstanceKafkaBrokerNode?> KafkaBrokerNode { get; private set; } = null!;

/// <summary>
/// The user-defined kerberos realm name.
/// </summary>
Expand All @@ -246,13 +158,13 @@ public partial class BdsInstance : global::Pulumi.CustomResource
public Output<Outputs.BdsInstanceMasterNode> MasterNode { get; private set; } = null!;

/// <summary>
/// Additional configuration of customer's network.
/// Additional configuration of the user's network.
/// </summary>
[Output("networkConfig")]
public Output<Outputs.BdsInstanceNetworkConfig> NetworkConfig { get; private set; } = null!;

/// <summary>
/// The list of nodes in the BDS instance
/// The list of nodes in the Big Data Service cluster.
/// </summary>
[Output("nodes")]
public Output<ImmutableArray<Outputs.BdsInstanceNode>> Nodes { get; private set; } = null!;
Expand All @@ -263,6 +175,18 @@ public partial class BdsInstance : global::Pulumi.CustomResource
[Output("numberOfNodes")]
public Output<int> NumberOfNodes { get; private set; } = null!;

/// <summary>
/// Number of nodes that require a maintenance reboot
/// </summary>
[Output("numberOfNodesRequiringMaintenanceReboot")]
public Output<int> NumberOfNodesRequiringMaintenanceReboot { get; private set; } = null!;

/// <summary>
/// (Updatable) The version of the patch to be upated.
/// </summary>
[Output("osPatchVersion")]
public Output<string?> OsPatchVersion { get; private set; } = null!;

/// <summary>
/// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.
/// </summary>
Expand Down Expand Up @@ -452,12 +376,24 @@ public InputMap<object> FreeformTags
[Input("isHighAvailability", required: true)]
public Input<bool> IsHighAvailability { get; set; } = null!;

/// <summary>
/// Boolean flag specifying whether or not Kafka should be configured.
/// </summary>
[Input("isKafkaConfigured")]
public Input<bool>? IsKafkaConfigured { get; set; }

/// <summary>
/// Boolean flag specifying whether or not the cluster should be setup as secure.
/// </summary>
[Input("isSecure", required: true)]
public Input<bool> IsSecure { get; set; } = null!;

/// <summary>
/// The kafka broker node in the BDS instance
/// </summary>
[Input("kafkaBrokerNode")]
public Input<Inputs.BdsInstanceKafkaBrokerNodeArgs>? KafkaBrokerNode { get; set; }

/// <summary>
/// The user-defined kerberos realm name.
/// </summary>
Expand All @@ -477,11 +413,17 @@ public InputMap<object> FreeformTags
public Input<Inputs.BdsInstanceMasterNodeArgs> MasterNode { get; set; } = null!;

/// <summary>
/// Additional configuration of customer's network.
/// Additional configuration of the user's network.
/// </summary>
[Input("networkConfig")]
public Input<Inputs.BdsInstanceNetworkConfigArgs>? NetworkConfig { get; set; }

/// <summary>
/// (Updatable) The version of the patch to be upated.
/// </summary>
[Input("osPatchVersion")]
public Input<string>? OsPatchVersion { get; set; }

/// <summary>
/// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.
/// </summary>
Expand Down Expand Up @@ -635,12 +577,24 @@ public InputMap<object> FreeformTags
[Input("isHighAvailability")]
public Input<bool>? IsHighAvailability { get; set; }

/// <summary>
/// Boolean flag specifying whether or not Kafka should be configured.
/// </summary>
[Input("isKafkaConfigured")]
public Input<bool>? IsKafkaConfigured { get; set; }

/// <summary>
/// Boolean flag specifying whether or not the cluster should be setup as secure.
/// </summary>
[Input("isSecure")]
public Input<bool>? IsSecure { get; set; }

/// <summary>
/// The kafka broker node in the BDS instance
/// </summary>
[Input("kafkaBrokerNode")]
public Input<Inputs.BdsInstanceKafkaBrokerNodeGetArgs>? KafkaBrokerNode { get; set; }

/// <summary>
/// The user-defined kerberos realm name.
/// </summary>
Expand All @@ -660,7 +614,7 @@ public InputMap<object> FreeformTags
public Input<Inputs.BdsInstanceMasterNodeGetArgs>? MasterNode { get; set; }

/// <summary>
/// Additional configuration of customer's network.
/// Additional configuration of the user's network.
/// </summary>
[Input("networkConfig")]
public Input<Inputs.BdsInstanceNetworkConfigGetArgs>? NetworkConfig { get; set; }
Expand All @@ -669,7 +623,7 @@ public InputMap<object> FreeformTags
private InputList<Inputs.BdsInstanceNodeGetArgs>? _nodes;

/// <summary>
/// The list of nodes in the BDS instance
/// The list of nodes in the Big Data Service cluster.
/// </summary>
public InputList<Inputs.BdsInstanceNodeGetArgs> Nodes
{
Expand All @@ -683,6 +637,18 @@ public InputList<Inputs.BdsInstanceNodeGetArgs> Nodes
[Input("numberOfNodes")]
public Input<int>? NumberOfNodes { get; set; }

/// <summary>
/// Number of nodes that require a maintenance reboot
/// </summary>
[Input("numberOfNodesRequiringMaintenanceReboot")]
public Input<int>? NumberOfNodesRequiringMaintenanceReboot { get; set; }

/// <summary>
/// (Updatable) The version of the patch to be upated.
/// </summary>
[Input("osPatchVersion")]
public Input<string>? OsPatchVersion { get; set; }

/// <summary>
/// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/BigDataService/GetAutoScalingConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public sealed class GetAutoScalingConfigurationResult
public readonly string Id;
public readonly bool IsEnabled;
/// <summary>
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
/// A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER, KAFKA_BROKER.
/// </summary>
public readonly string NodeType;
/// <summary>
Expand Down
22 changes: 22 additions & 0 deletions sdk/dotnet/BigDataService/GetBdsInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,14 @@ public sealed class GetBdsInstanceResult
/// </summary>
public readonly bool IsHighAvailability;
/// <summary>
/// Boolean flag specifying whether or not Kafka should be configured.
/// </summary>
public readonly bool IsKafkaConfigured;
/// <summary>
/// Boolean flag specifying whether or not the cluster should be set up as secure.
/// </summary>
public readonly bool IsSecure;
public readonly ImmutableArray<Outputs.GetBdsInstanceKafkaBrokerNodeResult> KafkaBrokerNodes;
public readonly string KerberosRealmName;
/// <summary>
/// The OCID of the Key Management master encryption key.
Expand All @@ -186,6 +191,11 @@ public sealed class GetBdsInstanceResult
/// </summary>
public readonly int NumberOfNodes;
/// <summary>
/// Number of nodes that require a maintenance reboot
/// </summary>
public readonly int NumberOfNodesRequiringMaintenanceReboot;
public readonly string OsPatchVersion;
/// <summary>
/// The state of the cluster.
/// </summary>
public readonly string State;
Expand Down Expand Up @@ -240,8 +250,12 @@ private GetBdsInstanceResult(

bool isHighAvailability,

bool isKafkaConfigured,

bool isSecure,

ImmutableArray<Outputs.GetBdsInstanceKafkaBrokerNodeResult> kafkaBrokerNodes,

string kerberosRealmName,

string kmsKeyId,
Expand All @@ -254,6 +268,10 @@ private GetBdsInstanceResult(

int numberOfNodes,

int numberOfNodesRequiringMaintenanceReboot,

string osPatchVersion,

string state,

string timeCreated,
Expand Down Expand Up @@ -283,13 +301,17 @@ private GetBdsInstanceResult(
IsCloudSqlConfigured = isCloudSqlConfigured;
IsForceStopJobs = isForceStopJobs;
IsHighAvailability = isHighAvailability;
IsKafkaConfigured = isKafkaConfigured;
IsSecure = isSecure;
KafkaBrokerNodes = kafkaBrokerNodes;
KerberosRealmName = kerberosRealmName;
KmsKeyId = kmsKeyId;
MasterNodes = masterNodes;
NetworkConfigs = networkConfigs;
Nodes = nodes;
NumberOfNodes = numberOfNodes;
NumberOfNodesRequiringMaintenanceReboot = numberOfNodesRequiringMaintenanceReboot;
OsPatchVersion = osPatchVersion;
State = state;
TimeCreated = timeCreated;
TimeUpdated = timeUpdated;
Expand Down
Loading

0 comments on commit b5c7260

Please sign in to comment.