Skip to content

Commit

Permalink
Rebuild sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Feb 25, 2025
1 parent 0c4806d commit 6bb2349
Show file tree
Hide file tree
Showing 9 changed files with 600 additions and 0 deletions.
30 changes: 30 additions & 0 deletions provider/cmd/pulumi-resource-dynatrace/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69932,6 +69932,36 @@
"type": "object"
}
},
"dynatrace:index/securityContext:SecurityContext": {
"properties": {
"enabled": {
"type": "boolean",
"description": "This setting is enabled (`true`) or disabled (`false`)\n"
}
},
"required": [
"enabled"
],
"inputProperties": {
"enabled": {
"type": "boolean",
"description": "This setting is enabled (`true`) or disabled (`false`)\n"
}
},
"requiredInputs": [
"enabled"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering SecurityContext resources.\n",
"properties": {
"enabled": {
"type": "boolean",
"description": "This setting is enabled (`true`) or disabled (`false`)\n"
}
},
"type": "object"
}
},
"dynatrace:index/serviceAnomalies:ServiceAnomalies": {
"properties": {
"failureRates": {
Expand Down
94 changes: 94 additions & 0 deletions sdk/dotnet/SecurityContext.cs
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();
}
}
7 changes: 7 additions & 0 deletions sdk/go/dynatrace/init.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

218 changes: 218 additions & 0 deletions sdk/go/dynatrace/securityContext.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6bb2349

Please sign in to comment.