Skip to content

Commit

Permalink
Updated upstream tf modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Dec 23, 2024
1 parent 1378a69 commit a1e024b
Show file tree
Hide file tree
Showing 13 changed files with 2,047 additions and 0 deletions.
158 changes: 158 additions & 0 deletions provider/cmd/pulumi-resource-dynatrace/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -54630,6 +54630,64 @@
"type": "object"
}
},
"dynatrace:index/githubConnection:GithubConnection": {
"properties": {
"name": {
"type": "string",
"description": "The name of the GitHub connection\n"
},
"token": {
"type": "string",
"description": "Token for the selected authentication type\n",
"secret": true
},
"type": {
"type": "string",
"description": "Possible Values: `pat`\n"
}
},
"required": [
"name",
"type"
],
"inputProperties": {
"name": {
"type": "string",
"description": "The name of the GitHub connection\n"
},
"token": {
"type": "string",
"description": "Token for the selected authentication type\n",
"secret": true
},
"type": {
"type": "string",
"description": "Possible Values: `pat`\n"
}
},
"requiredInputs": [
"type"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering GithubConnection resources.\n",
"properties": {
"name": {
"type": "string",
"description": "The name of the GitHub connection\n"
},
"token": {
"type": "string",
"description": "Token for the selected authentication type\n",
"secret": true
},
"type": {
"type": "string",
"description": "Possible Values: `pat`\n"
}
},
"type": "object"
}
},
"dynatrace:index/gitlabConnection:GitlabConnection": {
"properties": {
"name": {
Expand Down Expand Up @@ -64923,6 +64981,106 @@
"type": "object"
}
},
"dynatrace:index/ms365EmailConnection:Ms365EmailConnection": {
"properties": {
"clientId": {
"type": "string",
"description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n"
},
"clientSecret": {
"type": "string",
"description": "Client secret of your app registered in Microsoft Azure App registrations\n",
"secret": true
},
"fromAddress": {
"type": "string",
"description": "The email address from which the messages will be sent\n"
},
"name": {
"type": "string",
"description": "A unique name for the Microsoft 365 email connection\n"
},
"tenantId": {
"type": "string",
"description": "Directory (tenant) ID of your Azure Active Directory\n"
},
"type": {
"type": "string",
"description": "Possible Values: `client_secret`\n"
}
},
"required": [
"clientId",
"fromAddress",
"name",
"tenantId",
"type"
],
"inputProperties": {
"clientId": {
"type": "string",
"description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n"
},
"clientSecret": {
"type": "string",
"description": "Client secret of your app registered in Microsoft Azure App registrations\n",
"secret": true
},
"fromAddress": {
"type": "string",
"description": "The email address from which the messages will be sent\n"
},
"name": {
"type": "string",
"description": "A unique name for the Microsoft 365 email connection\n"
},
"tenantId": {
"type": "string",
"description": "Directory (tenant) ID of your Azure Active Directory\n"
},
"type": {
"type": "string",
"description": "Possible Values: `client_secret`\n"
}
},
"requiredInputs": [
"clientId",
"fromAddress",
"tenantId",
"type"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering Ms365EmailConnection resources.\n",
"properties": {
"clientId": {
"type": "string",
"description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n"
},
"clientSecret": {
"type": "string",
"description": "Client secret of your app registered in Microsoft Azure App registrations\n",
"secret": true
},
"fromAddress": {
"type": "string",
"description": "The email address from which the messages will be sent\n"
},
"name": {
"type": "string",
"description": "A unique name for the Microsoft 365 email connection\n"
},
"tenantId": {
"type": "string",
"description": "Directory (tenant) ID of your Azure Active Directory\n"
},
"type": {
"type": "string",
"description": "Possible Values: `client_secret`\n"
}
},
"type": "object"
}
},
"dynatrace:index/msentraidConnection:MsentraidConnection": {
"properties": {
"applicationId": {
Expand Down
154 changes: 154 additions & 0 deletions sdk/dotnet/GithubConnection.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
// *** 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/githubConnection:GithubConnection")]
public partial class GithubConnection : global::Pulumi.CustomResource
{
/// <summary>
/// The name of the GitHub connection
/// </summary>
[Output("name")]
public Output<string> Name { get; private set; } = null!;

/// <summary>
/// Token for the selected authentication type
/// </summary>
[Output("token")]
public Output<string?> Token { get; private set; } = null!;

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


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

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

public sealed class GithubConnectionArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// The name of the GitHub connection
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

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

/// <summary>
/// Token for the selected authentication type
/// </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: `pat`
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;

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

public sealed class GithubConnectionState : global::Pulumi.ResourceArgs
{
/// <summary>
/// The name of the GitHub connection
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

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

/// <summary>
/// Token for the selected authentication type
/// </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: `pat`
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }

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

0 comments on commit a1e024b

Please sign in to comment.