generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-oci to v5.7.0 (#185)
* make tfgen * make build_sdks --------- Co-authored-by: pulumi-bot <runner@fv-az193-337.nrc2ynj0rd0exph0lb1os4zsqh.jx.internal.cloudapp.net>
- Loading branch information
1 parent
b842902
commit f0ff97a
Showing
124 changed files
with
18,274 additions
and
45 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
137 changes: 137 additions & 0 deletions
137
sdk/dotnet/ContainerEngine/ClusterCompleteCredentialRotationManagement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Oci.ContainerEngine | ||
{ | ||
/// <summary> | ||
/// This resource provides the Cluster Complete Credential Rotation Management resource in Oracle Cloud Infrastructure Container Engine service. | ||
/// | ||
/// Complete cluster credential rotation. Retire old credentials from kubernetes components. | ||
/// | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Oci = Pulumi.Oci; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var testClusterCompleteCredentialRotationManagement = new Oci.ContainerEngine.ClusterCompleteCredentialRotationManagement("testClusterCompleteCredentialRotationManagement", new() | ||
/// { | ||
/// ClusterId = oci_containerengine_cluster.Test_cluster.Id, | ||
/// }, new CustomResourceOptions | ||
/// { | ||
/// DependsOn = new[] | ||
/// { | ||
/// oci_containerengine_cluster_start_credential_rotation_management.Test_cluster_start_credential_rotation_management, | ||
/// }, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## Import | ||
/// | ||
/// Import is not supported for this resource. | ||
/// </summary> | ||
[OciResourceType("oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement")] | ||
public partial class ClusterCompleteCredentialRotationManagement : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The OCID of the cluster. | ||
/// | ||
/// | ||
/// ** IMPORTANT ** | ||
/// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values | ||
/// </summary> | ||
[Output("clusterId")] | ||
public Output<string> ClusterId { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a ClusterCompleteCredentialRotationManagement resource with the given unique name, arguments, and options. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resource</param> | ||
/// <param name="args">The arguments used to populate this resource's properties</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public ClusterCompleteCredentialRotationManagement(string name, ClusterCompleteCredentialRotationManagementArgs args, CustomResourceOptions? options = null) | ||
: base("oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement", name, args ?? new ClusterCompleteCredentialRotationManagementArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private ClusterCompleteCredentialRotationManagement(string name, Input<string> id, ClusterCompleteCredentialRotationManagementState? state = null, CustomResourceOptions? options = null) | ||
: base("oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
}; | ||
var merged = CustomResourceOptions.Merge(defaultOptions, options); | ||
// Override the ID if one was specified for consistency with other language SDKs. | ||
merged.Id = id ?? merged.Id; | ||
return merged; | ||
} | ||
/// <summary> | ||
/// Get an existing ClusterCompleteCredentialRotationManagement resource's state with the given name, ID, and optional extra | ||
/// properties used to qualify the lookup. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resulting resource.</param> | ||
/// <param name="id">The unique provider ID of the resource to lookup.</param> | ||
/// <param name="state">Any extra arguments used during the lookup.</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public static ClusterCompleteCredentialRotationManagement Get(string name, Input<string> id, ClusterCompleteCredentialRotationManagementState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new ClusterCompleteCredentialRotationManagement(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class ClusterCompleteCredentialRotationManagementArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The OCID of the cluster. | ||
/// | ||
/// | ||
/// ** IMPORTANT ** | ||
/// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values | ||
/// </summary> | ||
[Input("clusterId", required: true)] | ||
public Input<string> ClusterId { get; set; } = null!; | ||
|
||
public ClusterCompleteCredentialRotationManagementArgs() | ||
{ | ||
} | ||
public static new ClusterCompleteCredentialRotationManagementArgs Empty => new ClusterCompleteCredentialRotationManagementArgs(); | ||
} | ||
|
||
public sealed class ClusterCompleteCredentialRotationManagementState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The OCID of the cluster. | ||
/// | ||
/// | ||
/// ** IMPORTANT ** | ||
/// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values | ||
/// </summary> | ||
[Input("clusterId")] | ||
public Input<string>? ClusterId { get; set; } | ||
|
||
public ClusterCompleteCredentialRotationManagementState() | ||
{ | ||
} | ||
public static new ClusterCompleteCredentialRotationManagementState Empty => new ClusterCompleteCredentialRotationManagementState(); | ||
} | ||
} |
Oops, something went wrong.