Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform-provider-github to v5.36.0 #438

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 261 additions & 0 deletions provider/cmd/pulumi-resource-github/bridge-metadata.json

Large diffs are not rendered by default.

1,062 changes: 1,029 additions & 33 deletions provider/cmd/pulumi-resource-github/schema.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/integrations/terraform-provider-github/v5 v5.34.0
github.com/integrations/terraform-provider-github/v5 v5.36.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.59.0
github.com/pulumi/pulumi/sdk/v3 v3.81.0
)
Expand Down Expand Up @@ -96,7 +96,7 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
Expand Down Expand Up @@ -206,14 +206,14 @@ require (
go.uber.org/atomic v1.10.0 // indirect
gocloud.dev v0.29.0 // indirect
gocloud.dev/secrets/hashivault v0.29.0 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/sync v0.2.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/term v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.9.3 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
Expand Down
31 changes: 16 additions & 15 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1287,8 +1287,9 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4=
github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8=
github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU=
github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
Expand Down Expand Up @@ -1521,8 +1522,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/integrations/terraform-provider-github/v5 v5.34.0 h1:lcEKu3ajzw9zSNG18J2LgvAGxHZCdhOHIX5ip0S9xyY=
github.com/integrations/terraform-provider-github/v5 v5.34.0/go.mod h1:UBYSGjePOkj+FIQgsBbqESX4ZRo0P4WPm9DpOlt6YL4=
github.com/integrations/terraform-provider-github/v5 v5.36.0 h1:OP5e6Vp9RMlNkXfWRtPp7wm22H8htRDJc4D6HOIgaXo=
github.com/integrations/terraform-provider-github/v5 v5.36.0/go.mod h1:a3bYGoX30go6nhnHHBOt0Xi9AHedGFo5TB9fen9uvPM=
github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
github.com/ionos-cloud/sdk-go/v6 v6.1.3/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME=
github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA=
Expand Down Expand Up @@ -2409,8 +2410,8 @@ golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4
golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk=
golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
Expand Down Expand Up @@ -2558,8 +2559,8 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -2592,8 +2593,8 @@ golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A
golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk=
golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec=
golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=
golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU=
golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk=
golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=
golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down Expand Up @@ -2772,8 +2773,8 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand All @@ -2787,8 +2788,8 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0=
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -2804,8 +2805,8 @@ golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/ActionsSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Pulumi.Github
/// This resource can be imported using an ID made up of the `repository` and `secret_name`:
///
/// ```sh
/// $ pulumi import github:index/actionsSecret:ActionsSecret example_secret <repository>/<secret_name>
/// $ pulumi import github:index/actionsSecret:ActionsSecret example_secret repository/secret_name
/// ```
/// NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
/// </summary>
Expand Down
25 changes: 24 additions & 1 deletion sdk/dotnet/EnterpriseOrganization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace Pulumi.Github
/// var org = new Github.EnterpriseOrganization("org", new()
/// {
/// EnterpriseId = data.Github_enterprise.Enterprise.Id,
/// DisplayName = "Some Awesome Org",
/// Description = "Organization created with terraform",
/// BillingEmail = "[email protected]",
/// AdminLogins = new[]
Expand All @@ -38,7 +39,11 @@ namespace Pulumi.Github
///
/// ## Import
///
/// Support for importing organizations is not currently supported.
/// GitHub Enterprise Organization can be imported using the `slug` of the enterprise, combined with the `orgname` of the organization, separated by a `/` character.
///
/// ```sh
/// $ pulumi import github:index/enterpriseOrganization:EnterpriseOrganization org enterp/some-awesome-org
/// ```
/// </summary>
[GithubResourceType("github:index/enterpriseOrganization:EnterpriseOrganization")]
public partial class EnterpriseOrganization : global::Pulumi.CustomResource
Expand All @@ -61,6 +66,12 @@ public partial class EnterpriseOrganization : global::Pulumi.CustomResource
[Output("description")]
public Output<string?> Description { get; private set; } = null!;

/// <summary>
/// The display name of the organization.
/// </summary>
[Output("displayName")]
public Output<string?> DisplayName { get; private set; } = null!;

/// <summary>
/// The ID of the enterprise.
/// </summary>
Expand Down Expand Up @@ -143,6 +154,12 @@ public InputList<string> AdminLogins
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// The display name of the organization.
/// </summary>
[Input("displayName")]
public Input<string>? DisplayName { get; set; }

/// <summary>
/// The ID of the enterprise.
/// </summary>
Expand Down Expand Up @@ -187,6 +204,12 @@ public InputList<string> AdminLogins
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// The display name of the organization.
/// </summary>
[Input("displayName")]
public Input<string>? DisplayName { get; set; }

/// <summary>
/// The ID of the enterprise.
/// </summary>
Expand Down
38 changes: 38 additions & 0 deletions sdk/dotnet/Inputs/OrganizationRulesetBypassActorArgs.cs
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.Github.Inputs
{

public sealed class OrganizationRulesetBypassActorArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// (Number) The ID of the actor that can bypass a ruleset
/// </summary>
[Input("actorId", required: true)]
public Input<int> ActorId { get; set; } = null!;

/// <summary>
/// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
/// </summary>
[Input("actorType", required: true)]
public Input<string> ActorType { get; set; } = null!;

/// <summary>
/// (String) When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
/// </summary>
[Input("bypassMode")]
public Input<string>? BypassMode { get; set; }

public OrganizationRulesetBypassActorArgs()
{
}
public static new OrganizationRulesetBypassActorArgs Empty => new OrganizationRulesetBypassActorArgs();
}
}
38 changes: 38 additions & 0 deletions sdk/dotnet/Inputs/OrganizationRulesetBypassActorGetArgs.cs
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.Github.Inputs
{

public sealed class OrganizationRulesetBypassActorGetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// (Number) The ID of the actor that can bypass a ruleset
/// </summary>
[Input("actorId", required: true)]
public Input<int> ActorId { get; set; } = null!;

/// <summary>
/// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
/// </summary>
[Input("actorType", required: true)]
public Input<string> ActorType { get; set; } = null!;

/// <summary>
/// (String) When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
/// </summary>
[Input("bypassMode")]
public Input<string>? BypassMode { get; set; }

public OrganizationRulesetBypassActorGetArgs()
{
}
public static new OrganizationRulesetBypassActorGetArgs Empty => new OrganizationRulesetBypassActorGetArgs();
}
}
40 changes: 40 additions & 0 deletions sdk/dotnet/Inputs/OrganizationRulesetConditionsArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// *** 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.Github.Inputs
{

public sealed class OrganizationRulesetConditionsArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// (Block List, Min: 1, Max: 1) (see below for nested schema)
/// </summary>
[Input("refName", required: true)]
public Input<Inputs.OrganizationRulesetConditionsRefNameArgs> RefName { get; set; } = null!;

/// <summary>
/// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repository_name`.
/// </summary>
[Input("repositoryId")]
public Input<int>? RepositoryId { get; set; }

/// <summary>
/// Conflicts with `repository_id`. (see below for nested schema)
///
/// One of `repository_id` and `repository_name` must be set for the rule to target any repositories.
/// </summary>
[Input("repositoryName")]
public Input<Inputs.OrganizationRulesetConditionsRepositoryNameArgs>? RepositoryName { get; set; }

public OrganizationRulesetConditionsArgs()
{
}
public static new OrganizationRulesetConditionsArgs Empty => new OrganizationRulesetConditionsArgs();
}
}
40 changes: 40 additions & 0 deletions sdk/dotnet/Inputs/OrganizationRulesetConditionsGetArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// *** 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.Github.Inputs
{

public sealed class OrganizationRulesetConditionsGetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// (Block List, Min: 1, Max: 1) (see below for nested schema)
/// </summary>
[Input("refName", required: true)]
public Input<Inputs.OrganizationRulesetConditionsRefNameGetArgs> RefName { get; set; } = null!;

/// <summary>
/// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repository_name`.
/// </summary>
[Input("repositoryId")]
public Input<int>? RepositoryId { get; set; }

/// <summary>
/// Conflicts with `repository_id`. (see below for nested schema)
///
/// One of `repository_id` and `repository_name` must be set for the rule to target any repositories.
/// </summary>
[Input("repositoryName")]
public Input<Inputs.OrganizationRulesetConditionsRepositoryNameGetArgs>? RepositoryName { get; set; }

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