Skip to content

Commit

Permalink
built sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Dec 16, 2024
1 parent a7f1b97 commit 238fe70
Show file tree
Hide file tree
Showing 293 changed files with 15,386 additions and 1,556 deletions.
1,041 changes: 984 additions & 57 deletions provider/cmd/pulumi-resource-dynatrace/schema.json

Large diffs are not rendered by default.

172 changes: 172 additions & 0 deletions sdk/dotnet/AutomationControllerConnections.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
// *** 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/automationControllerConnections:AutomationControllerConnections")]
public partial class AutomationControllerConnections : global::Pulumi.CustomResource
{
/// <summary>
/// A unique and clearly identifiable connection name.
/// </summary>
[Output("name")]
public Output<string> Name { get; private set; } = null!;

/// <summary>
/// API access token for the Ansible Automation Controller. Please note that this token is not refreshed and can expire.
/// </summary>
[Output("token")]
public Output<string?> Token { get; private set; } = null!;

/// <summary>
/// Possible Values: `Api_token`
/// </summary>
[Output("type")]
public Output<string> Type { get; private set; } = null!;

/// <summary>
/// URL of the Ansible Automation Controller API endpoint. For example, https://ansible.yourdomain.com/api/v2/
/// </summary>
[Output("url")]
public Output<string> Url { get; private set; } = null!;


/// <summary>
/// Create a AutomationControllerConnections 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 AutomationControllerConnections(string name, AutomationControllerConnectionsArgs args, CustomResourceOptions? options = null)
: base("dynatrace:index/automationControllerConnections:AutomationControllerConnections", name, args ?? new AutomationControllerConnectionsArgs(), MakeResourceOptions(options, ""))
{
}

private AutomationControllerConnections(string name, Input<string> id, AutomationControllerConnectionsState? state = null, CustomResourceOptions? options = null)
: base("dynatrace:index/automationControllerConnections:AutomationControllerConnections", 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",
AdditionalSecretOutputs =
{
"token",
},
};
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 AutomationControllerConnections 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 AutomationControllerConnections Get(string name, Input<string> id, AutomationControllerConnectionsState? state = null, CustomResourceOptions? options = null)
{
return new AutomationControllerConnections(name, id, state, options);
}
}

public sealed class AutomationControllerConnectionsArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// A unique and clearly identifiable connection name.
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

[Input("token")]
private Input<string>? _token;

/// <summary>
/// API access token for the Ansible Automation Controller. Please note that this token is not refreshed and can expire.
/// </summary>
public Input<string>? Token
{
get => _token;
set
{
var emptySecret = Output.CreateSecret(0);
_token = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

/// <summary>
/// Possible Values: `Api_token`
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;

/// <summary>
/// URL of the Ansible Automation Controller API endpoint. For example, https://ansible.yourdomain.com/api/v2/
/// </summary>
[Input("url", required: true)]
public Input<string> Url { get; set; } = null!;

public AutomationControllerConnectionsArgs()
{
}
public static new AutomationControllerConnectionsArgs Empty => new AutomationControllerConnectionsArgs();
}

public sealed class AutomationControllerConnectionsState : global::Pulumi.ResourceArgs
{
/// <summary>
/// A unique and clearly identifiable connection name.
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

[Input("token")]
private Input<string>? _token;

/// <summary>
/// API access token for the Ansible Automation Controller. Please note that this token is not refreshed and can expire.
/// </summary>
public Input<string>? Token
{
get => _token;
set
{
var emptySecret = Output.CreateSecret(0);
_token = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

/// <summary>
/// Possible Values: `Api_token`
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }

/// <summary>
/// URL of the Ansible Automation Controller API endpoint. For example, https://ansible.yourdomain.com/api/v2/
/// </summary>
[Input("url")]
public Input<string>? Url { get; set; }

public AutomationControllerConnectionsState()
{
}
public static new AutomationControllerConnectionsState Empty => new AutomationControllerConnectionsState();
}
}
6 changes: 3 additions & 3 deletions sdk/dotnet/AzureCredentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public partial class AzureCredentials : global::Pulumi.CustomResource
/// The unique name of the Azure credentials configuration. Allowed characters are letters, numbers, and spaces. Also the special characters `.+-_` are allowed
/// </summary>
[Output("label")]
public Output<string?> Label { get; private set; } = null!;
public Output<string> Label { get; private set; } = null!;

/// <summary>
/// A list of Azure tags to be excluded from monitoring. You can specify up to 20 tags. A resource tagged with *any* of the specified tags is monitored. Only applicable when the **monitorOnlyTaggedEntities** parameter is set to `true`.
Expand Down Expand Up @@ -182,8 +182,8 @@ public Input<string>? Key
/// <summary>
/// The unique name of the Azure credentials configuration. Allowed characters are letters, numbers, and spaces. Also the special characters `.+-_` are allowed
/// </summary>
[Input("label")]
public Input<string>? Label { get; set; }
[Input("label", required: true)]
public Input<string> Label { get; set; } = null!;

[Input("monitorOnlyExcludingTagPairs")]
private InputList<Inputs.AzureCredentialsMonitorOnlyExcludingTagPairArgs>? _monitorOnlyExcludingTagPairs;
Expand Down
94 changes: 94 additions & 0 deletions sdk/dotnet/DefaultLaunchpad.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/defaultLaunchpad:DefaultLaunchpad")]
public partial class DefaultLaunchpad : global::Pulumi.CustomResource
{
/// <summary>
/// Set default launchpads for user groups. The highest ranked will be shown to the user of a group.
/// </summary>
[Output("groupLaunchpads")]
public Output<Outputs.DefaultLaunchpadGroupLaunchpads?> GroupLaunchpads { get; private set; } = null!;


/// <summary>
/// Create a DefaultLaunchpad 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 DefaultLaunchpad(string name, DefaultLaunchpadArgs? args = null, CustomResourceOptions? options = null)
: base("dynatrace:index/defaultLaunchpad:DefaultLaunchpad", name, args ?? new DefaultLaunchpadArgs(), MakeResourceOptions(options, ""))
{
}

private DefaultLaunchpad(string name, Input<string> id, DefaultLaunchpadState? state = null, CustomResourceOptions? options = null)
: base("dynatrace:index/defaultLaunchpad:DefaultLaunchpad", 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 DefaultLaunchpad 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 DefaultLaunchpad Get(string name, Input<string> id, DefaultLaunchpadState? state = null, CustomResourceOptions? options = null)
{
return new DefaultLaunchpad(name, id, state, options);
}
}

public sealed class DefaultLaunchpadArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Set default launchpads for user groups. The highest ranked will be shown to the user of a group.
/// </summary>
[Input("groupLaunchpads")]
public Input<Inputs.DefaultLaunchpadGroupLaunchpadsArgs>? GroupLaunchpads { get; set; }

public DefaultLaunchpadArgs()
{
}
public static new DefaultLaunchpadArgs Empty => new DefaultLaunchpadArgs();
}

public sealed class DefaultLaunchpadState : global::Pulumi.ResourceArgs
{
/// <summary>
/// Set default launchpads for user groups. The highest ranked will be shown to the user of a group.
/// </summary>
[Input("groupLaunchpads")]
public Input<Inputs.DefaultLaunchpadGroupLaunchpadsGetArgs>? GroupLaunchpads { get; set; }

public DefaultLaunchpadState()
{
}
public static new DefaultLaunchpadState Empty => new DefaultLaunchpadState();
}
}
Loading

0 comments on commit 238fe70

Please sign in to comment.