-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-harbor to v3.10.0 (#128)
* make tfgen * make build_sdks
- Loading branch information
Showing
19 changed files
with
775 additions
and
21 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
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,125 @@ | ||
// *** 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.Harbor | ||
{ | ||
public static class GetProjects | ||
{ | ||
/// <summary> | ||
/// ## Example Usage | ||
/// | ||
/// ```hcl | ||
/// data "harbor_projects" "proxycache" { | ||
/// type = "ProxyCache" | ||
/// } | ||
/// | ||
/// output "proxy_cache_projects" { | ||
/// value = data.harbor_projects.proxycache | ||
/// } | ||
/// ``` | ||
/// </summary> | ||
public static Task<GetProjectsResult> InvokeAsync(GetProjectsArgs? args = null, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetProjectsResult>("harbor:index/getProjects:getProjects", args ?? new GetProjectsArgs(), options.WithDefaults()); | ||
|
||
/// <summary> | ||
/// ## Example Usage | ||
/// | ||
/// ```hcl | ||
/// data "harbor_projects" "proxycache" { | ||
/// type = "ProxyCache" | ||
/// } | ||
/// | ||
/// output "proxy_cache_projects" { | ||
/// value = data.harbor_projects.proxycache | ||
/// } | ||
/// ``` | ||
/// </summary> | ||
public static Output<GetProjectsResult> Invoke(GetProjectsInvokeArgs? args = null, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.Invoke<GetProjectsResult>("harbor:index/getProjects:getProjects", args ?? new GetProjectsInvokeArgs(), options.WithDefaults()); | ||
} | ||
|
||
|
||
public sealed class GetProjectsArgs : global::Pulumi.InvokeArgs | ||
{ | ||
[Input("name")] | ||
public string? Name { get; set; } | ||
|
||
[Input("public")] | ||
public bool? Public { get; set; } | ||
|
||
[Input("type")] | ||
public string? Type { get; set; } | ||
|
||
[Input("vulnerabilityScanning")] | ||
public bool? VulnerabilityScanning { get; set; } | ||
|
||
public GetProjectsArgs() | ||
{ | ||
} | ||
public static new GetProjectsArgs Empty => new GetProjectsArgs(); | ||
} | ||
|
||
public sealed class GetProjectsInvokeArgs : global::Pulumi.InvokeArgs | ||
{ | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
[Input("public")] | ||
public Input<bool>? Public { get; set; } | ||
|
||
[Input("type")] | ||
public Input<string>? Type { get; set; } | ||
|
||
[Input("vulnerabilityScanning")] | ||
public Input<bool>? VulnerabilityScanning { get; set; } | ||
|
||
public GetProjectsInvokeArgs() | ||
{ | ||
} | ||
public static new GetProjectsInvokeArgs Empty => new GetProjectsInvokeArgs(); | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetProjectsResult | ||
{ | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
public readonly string? Name; | ||
public readonly ImmutableArray<Outputs.GetProjectsProjectResult> Projects; | ||
public readonly bool? Public; | ||
public readonly string? Type; | ||
public readonly bool? VulnerabilityScanning; | ||
|
||
[OutputConstructor] | ||
private GetProjectsResult( | ||
string id, | ||
|
||
string? name, | ||
|
||
ImmutableArray<Outputs.GetProjectsProjectResult> projects, | ||
|
||
bool? @public, | ||
|
||
string? type, | ||
|
||
bool? vulnerabilityScanning) | ||
{ | ||
Id = id; | ||
Name = name; | ||
Projects = projects; | ||
Public = @public; | ||
Type = type; | ||
VulnerabilityScanning = vulnerabilityScanning; | ||
} | ||
} | ||
} |
Oops, something went wrong.