generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c4806d
commit 6bb2349
Showing
9 changed files
with
600 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
// *** 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; | ||
using Pulumi; | ||
|
||
namespace Pulumiverse.Dynatrace | ||
{ | ||
[DynatraceResourceType("dynatrace:index/securityContext:SecurityContext")] | ||
public partial class SecurityContext : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// This setting is enabled (`true`) or disabled (`false`) | ||
/// </summary> | ||
[Output("enabled")] | ||
public Output<bool> Enabled { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a SecurityContext 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 SecurityContext(string name, SecurityContextArgs args, CustomResourceOptions? options = null) | ||
: base("dynatrace:index/securityContext:SecurityContext", name, args ?? new SecurityContextArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private SecurityContext(string name, Input<string> id, SecurityContextState? state = null, CustomResourceOptions? options = null) | ||
: base("dynatrace:index/securityContext:SecurityContext", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
PluginDownloadURL = "github://api.github.com/pulumiverse", | ||
}; | ||
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 SecurityContext 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 SecurityContext Get(string name, Input<string> id, SecurityContextState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new SecurityContext(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class SecurityContextArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// This setting is enabled (`true`) or disabled (`false`) | ||
/// </summary> | ||
[Input("enabled", required: true)] | ||
public Input<bool> Enabled { get; set; } = null!; | ||
|
||
public SecurityContextArgs() | ||
{ | ||
} | ||
public static new SecurityContextArgs Empty => new SecurityContextArgs(); | ||
} | ||
|
||
public sealed class SecurityContextState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// This setting is enabled (`true`) or disabled (`false`) | ||
/// </summary> | ||
[Input("enabled")] | ||
public Input<bool>? Enabled { get; set; } | ||
|
||
public SecurityContextState() | ||
{ | ||
} | ||
public static new SecurityContextState Empty => new SecurityContextState(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.