getRepositoryBranchesPlain(GetRepositoryBranchesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("github:index/getRepositoryBranches:getRepositoryBranches", TypeShape.of(GetRepositoryBranchesResult.class), args, Utilities.withVersion(options));
}
+ /**
+ * Use this data source to retrieve all custom properties of a repository.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.github.GithubFunctions;
+ * import com.pulumi.github.inputs.GetRepositoryCustomPropertiesArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * final var example = GithubFunctions.getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs.builder()
+ * .repository("example-repository")
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs args) {
+ return getRepositoryCustomProperties(args, InvokeOptions.Empty);
+ }
+ /**
+ * Use this data source to retrieve all custom properties of a repository.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.github.GithubFunctions;
+ * import com.pulumi.github.inputs.GetRepositoryCustomPropertiesArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * final var example = GithubFunctions.getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs.builder()
+ * .repository("example-repository")
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getRepositoryCustomPropertiesPlain(GetRepositoryCustomPropertiesPlainArgs args) {
+ return getRepositoryCustomPropertiesPlain(args, InvokeOptions.Empty);
+ }
+ /**
+ * Use this data source to retrieve all custom properties of a repository.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.github.GithubFunctions;
+ * import com.pulumi.github.inputs.GetRepositoryCustomPropertiesArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * final var example = GithubFunctions.getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs.builder()
+ * .repository("example-repository")
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invoke("github:index/getRepositoryCustomProperties:getRepositoryCustomProperties", TypeShape.of(GetRepositoryCustomPropertiesResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * Use this data source to retrieve all custom properties of a repository.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.github.GithubFunctions;
+ * import com.pulumi.github.inputs.GetRepositoryCustomPropertiesArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * final var example = GithubFunctions.getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs.builder()
+ * .repository("example-repository")
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs args, InvokeOutputOptions options) {
+ return Deployment.getInstance().invoke("github:index/getRepositoryCustomProperties:getRepositoryCustomProperties", TypeShape.of(GetRepositoryCustomPropertiesResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * Use this data source to retrieve all custom properties of a repository.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.github.GithubFunctions;
+ * import com.pulumi.github.inputs.GetRepositoryCustomPropertiesArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * final var example = GithubFunctions.getRepositoryCustomProperties(GetRepositoryCustomPropertiesArgs.builder()
+ * .repository("example-repository")
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getRepositoryCustomPropertiesPlain(GetRepositoryCustomPropertiesPlainArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invokeAsync("github:index/getRepositoryCustomProperties:getRepositoryCustomProperties", TypeShape.of(GetRepositoryCustomPropertiesResult.class), args, Utilities.withVersion(options));
+ }
/**
* Use this data source to retrieve all deploy keys of a repository.
*
diff --git a/sdk/java/src/main/java/com/pulumi/github/RepositoryCollaborators.java b/sdk/java/src/main/java/com/pulumi/github/RepositoryCollaborators.java
index 5f60b28a..44d44b48 100644
--- a/sdk/java/src/main/java/com/pulumi/github/RepositoryCollaborators.java
+++ b/sdk/java/src/main/java/com/pulumi/github/RepositoryCollaborators.java
@@ -10,6 +10,7 @@
import com.pulumi.github.RepositoryCollaboratorsArgs;
import com.pulumi.github.Utilities;
import com.pulumi.github.inputs.RepositoryCollaboratorsState;
+import com.pulumi.github.outputs.RepositoryCollaboratorsIgnoreTeam;
import com.pulumi.github.outputs.RepositoryCollaboratorsTeam;
import com.pulumi.github.outputs.RepositoryCollaboratorsUser;
import java.lang.String;
@@ -114,6 +115,20 @@
*/
@ResourceType(type="github:index/repositoryCollaborators:RepositoryCollaborators")
public class RepositoryCollaborators extends com.pulumi.resources.CustomResource {
+ /**
+ * List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
+ *
+ */
+ @Export(name="ignoreTeams", refs={List.class,RepositoryCollaboratorsIgnoreTeam.class}, tree="[0,1]")
+ private Output* @Nullable */ List> ignoreTeams;
+
+ /**
+ * @return List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
+ *
+ */
+ public Output>> ignoreTeams() {
+ return Codegen.optional(this.ignoreTeams);
+ }
/**
* Map of usernames to invitation ID for any users added as part of creation of this resource to
* be used in `github.UserInvitationAccepter`.
@@ -131,42 +146,42 @@ public Output