-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from pulumi/stack72/v2.17.0
Upgrade to v2.17.0 of the DataDog Terraform Provider
- Loading branch information
Showing
33 changed files
with
1,602 additions
and
91 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// *** 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.Datadog | ||
{ | ||
public static class GetPermissions | ||
{ | ||
/// <summary> | ||
/// Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using Pulumi; | ||
/// using Datadog = Pulumi.Datadog; | ||
/// | ||
/// class MyStack : Stack | ||
/// { | ||
/// public MyStack() | ||
/// { | ||
/// var permissions = Output.Create(Datadog.GetPermissions.InvokeAsync()); | ||
/// } | ||
/// | ||
/// } | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Task<GetPermissionsResult> InvokeAsync(InvokeOptions? options = null) | ||
=> Pulumi.Deployment.Instance.InvokeAsync<GetPermissionsResult>("datadog:index/getPermissions:getPermissions", InvokeArgs.Empty, options.WithVersion()); | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetPermissionsResult | ||
{ | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
public readonly ImmutableDictionary<string, string> Permissions; | ||
|
||
[OutputConstructor] | ||
private GetPermissionsResult( | ||
string id, | ||
|
||
ImmutableDictionary<string, string> permissions) | ||
{ | ||
Id = id; | ||
Permissions = permissions; | ||
} | ||
} | ||
} |
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,83 @@ | ||
// *** 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.Datadog | ||
{ | ||
public static class GetRole | ||
{ | ||
/// <summary> | ||
/// Use this data source to retrieve information about an existing role for use in other resources. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using Pulumi; | ||
/// using Datadog = Pulumi.Datadog; | ||
/// | ||
/// class MyStack : Stack | ||
/// { | ||
/// public MyStack() | ||
/// { | ||
/// var test = Output.Create(Datadog.GetRole.InvokeAsync(new Datadog.GetRoleArgs | ||
/// { | ||
/// Filter = "Datadog Standard Role", | ||
/// })); | ||
/// } | ||
/// | ||
/// } | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions? options = null) | ||
=> Pulumi.Deployment.Instance.InvokeAsync<GetRoleResult>("datadog:index/getRole:getRole", args ?? new GetRoleArgs(), options.WithVersion()); | ||
} | ||
|
||
|
||
public sealed class GetRoleArgs : Pulumi.InvokeArgs | ||
{ | ||
[Input("filter", required: true)] | ||
public string Filter { get; set; } = null!; | ||
|
||
public GetRoleArgs() | ||
{ | ||
} | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetRoleResult | ||
{ | ||
public readonly string Filter; | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
public readonly string Name; | ||
public readonly int UserCount; | ||
|
||
[OutputConstructor] | ||
private GetRoleResult( | ||
string filter, | ||
|
||
string id, | ||
|
||
string name, | ||
|
||
int userCount) | ||
{ | ||
Filter = filter; | ||
Id = id; | ||
Name = name; | ||
UserCount = userCount; | ||
} | ||
} | ||
} |
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,25 @@ | ||
// *** 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.Datadog.Inputs | ||
{ | ||
|
||
public sealed class RolePermissionArgs : Pulumi.ResourceArgs | ||
{ | ||
[Input("id", required: true)] | ||
public Input<string> Id { get; set; } = null!; | ||
|
||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
public RolePermissionArgs() | ||
{ | ||
} | ||
} | ||
} |
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,25 @@ | ||
// *** 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.Datadog.Inputs | ||
{ | ||
|
||
public sealed class RolePermissionGetArgs : Pulumi.ResourceArgs | ||
{ | ||
[Input("id", required: true)] | ||
public Input<string> Id { get; set; } = null!; | ||
|
||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
public RolePermissionGetArgs() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.