-
Notifications
You must be signed in to change notification settings - Fork 13
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 #117 from pulumi/stack72/v1.20.0
- Loading branch information
Showing
30 changed files
with
1,574 additions
and
15 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
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,88 @@ | ||
// *** 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.DigitalOcean | ||
{ | ||
public static class GetTags | ||
{ | ||
/// <summary> | ||
/// Returns a list of tags in your DigitalOcean account, with the ability to | ||
/// filter and sort the results. If no filters are specified, all tags will be | ||
/// returned. | ||
/// | ||
/// {{% examples %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Task<GetTagsResult> InvokeAsync(GetTagsArgs? args = null, InvokeOptions? options = null) | ||
=> Pulumi.Deployment.Instance.InvokeAsync<GetTagsResult>("digitalocean:index/getTags:getTags", args ?? new GetTagsArgs(), options.WithVersion()); | ||
} | ||
|
||
|
||
public sealed class GetTagsArgs : Pulumi.InvokeArgs | ||
{ | ||
[Input("filters")] | ||
private List<Inputs.GetTagsFilterArgs>? _filters; | ||
|
||
/// <summary> | ||
/// Filter the results. | ||
/// The `filter` block is documented below. | ||
/// </summary> | ||
public List<Inputs.GetTagsFilterArgs> Filters | ||
{ | ||
get => _filters ?? (_filters = new List<Inputs.GetTagsFilterArgs>()); | ||
set => _filters = value; | ||
} | ||
|
||
[Input("sorts")] | ||
private List<Inputs.GetTagsSortArgs>? _sorts; | ||
|
||
/// <summary> | ||
/// Sort the results. | ||
/// The `sort` block is documented below. | ||
/// </summary> | ||
public List<Inputs.GetTagsSortArgs> Sorts | ||
{ | ||
get => _sorts ?? (_sorts = new List<Inputs.GetTagsSortArgs>()); | ||
set => _sorts = value; | ||
} | ||
|
||
public GetTagsArgs() | ||
{ | ||
} | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetTagsResult | ||
{ | ||
public readonly ImmutableArray<Outputs.GetTagsFilterResult> Filters; | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
public readonly ImmutableArray<Outputs.GetTagsSortResult> Sorts; | ||
public readonly ImmutableArray<Outputs.GetTagsTagResult> Tags; | ||
|
||
[OutputConstructor] | ||
private GetTagsResult( | ||
ImmutableArray<Outputs.GetTagsFilterResult> filters, | ||
|
||
string id, | ||
|
||
ImmutableArray<Outputs.GetTagsSortResult> sorts, | ||
|
||
ImmutableArray<Outputs.GetTagsTagResult> tags) | ||
{ | ||
Filters = filters; | ||
Id = id; | ||
Sorts = sorts; | ||
Tags = tags; | ||
} | ||
} | ||
} |
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,38 @@ | ||
// *** 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.DigitalOcean.Inputs | ||
{ | ||
|
||
public sealed class GetTagsFilterArgs : Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// Filter the tags by this key. This may be one of `name`, `total_resource_count`, `droplets_count`, `images_count`, `volumes_count`, `volume_snapshots_count`, or `databases_count`. | ||
/// </summary> | ||
[Input("key", required: true)] | ||
public string Key { get; set; } = null!; | ||
|
||
[Input("values", required: true)] | ||
private List<string>? _values; | ||
|
||
/// <summary> | ||
/// Only retrieves tags which keys has value that matches | ||
/// one of the values provided here. | ||
/// </summary> | ||
public List<string> Values | ||
{ | ||
get => _values ?? (_values = new List<string>()); | ||
set => _values = value; | ||
} | ||
|
||
public GetTagsFilterArgs() | ||
{ | ||
} | ||
} | ||
} |
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,31 @@ | ||
// *** 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.DigitalOcean.Inputs | ||
{ | ||
|
||
public sealed class GetTagsSortArgs : Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// The sort direction. This may be either `asc` or `desc`. | ||
/// </summary> | ||
[Input("direction")] | ||
public string? Direction { get; set; } | ||
|
||
/// <summary> | ||
/// Sort the tags by this key. This may be one of `name`, `total_resource_count`, `droplets_count`, `images_count`, `volumes_count`, `volume_snapshots_count`, or `databases_count`. | ||
/// </summary> | ||
[Input("key", required: true)] | ||
public string Key { get; set; } = null!; | ||
|
||
public GetTagsSortArgs() | ||
{ | ||
} | ||
} | ||
} |
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,36 @@ | ||
// *** 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.DigitalOcean.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class GetTagsFilterResult | ||
{ | ||
/// <summary> | ||
/// Filter the tags by this key. This may be one of `name`, `total_resource_count`, `droplets_count`, `images_count`, `volumes_count`, `volume_snapshots_count`, or `databases_count`. | ||
/// </summary> | ||
public readonly string Key; | ||
/// <summary> | ||
/// Only retrieves tags which keys has value that matches | ||
/// one of the values provided here. | ||
/// </summary> | ||
public readonly ImmutableArray<string> Values; | ||
|
||
[OutputConstructor] | ||
private GetTagsFilterResult( | ||
string key, | ||
|
||
ImmutableArray<string> values) | ||
{ | ||
Key = key; | ||
Values = values; | ||
} | ||
} | ||
} |
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,35 @@ | ||
// *** 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.DigitalOcean.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class GetTagsSortResult | ||
{ | ||
/// <summary> | ||
/// The sort direction. This may be either `asc` or `desc`. | ||
/// </summary> | ||
public readonly string? Direction; | ||
/// <summary> | ||
/// Sort the tags by this key. This may be one of `name`, `total_resource_count`, `droplets_count`, `images_count`, `volumes_count`, `volume_snapshots_count`, or `databases_count`. | ||
/// </summary> | ||
public readonly string Key; | ||
|
||
[OutputConstructor] | ||
private GetTagsSortResult( | ||
string? direction, | ||
|
||
string key) | ||
{ | ||
Direction = direction; | ||
Key = key; | ||
} | ||
} | ||
} |
Oops, something went wrong.