{"name":"buildkite","displayName":"Buildkite","version":"3.2.0","description":"A Pulumi package for creating and managing Buildkite resources.","keywords":["pulumi","buildkite"],"homepage":"https://github.com/pulumiverse/pulumi-buildkite","license":"Apache-2.0","attribution":"This Pulumi package is based on the [`buildkite` Terraform Provider](https://github.com/buildkite/terraform-provider-buildkite).","repository":"https://github.com/pulumiverse/pulumi-buildkite","logoUrl":"https://raw.githubusercontent.com/pulumiverse/pulumi-buildkite/main/assets/buildkite-logo.png","pluginDownloadURL":"github://api.github.com/pulumiverse/pulumi-buildkite","publisher":"Pulumiverse","meta":{"moduleFormat":"(.*)(?:/[^/]*)"},"language":{"csharp":{"packageReferences":{"Pulumi":"3.*"},"namespaces":{"buildkite":"Buildkite"},"compatibility":"tfbridge20","rootNamespace":"Pulumiverse","respectSchemaVersion":true},"go":{"importBasePath":"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite","generateResourceContainerTypes":true,"generateExtraInputTypes":true,"respectSchemaVersion":true},"nodejs":{"packageName":"@pulumiverse/buildkite","packageDescription":"A Pulumi package for creating and managing Buildkite resources.","readme":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/buildkite/terraform-provider-buildkite)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-buildkite` repo](https://github.com/pulumiverse/pulumi-buildkite/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-buildkite` repo](https://github.com/buildkite/terraform-provider-buildkite/issues).","dependencies":{"@pulumi/pulumi":"^3.0.0"},"devDependencies":{"@types/mime":"^2.0.0","@types/node":"^10.0.0"},"compatibility":"tfbridge20","disableUnionOutputTypes":true,"respectSchemaVersion":true},"python":{"packageName":"pulumiverse_buildkite","requires":{"pulumi":"\u003e=3.0.0,\u003c4.0.0"},"readme":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/buildkite/terraform-provider-buildkite)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-buildkite` repo](https://github.com/pulumiverse/pulumi-buildkite/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-buildkite` repo](https://github.com/buildkite/terraform-provider-buildkite/issues).","compatibility":"tfbridge20","respectSchemaVersion":true,"pyproject":{"enabled":true}}},"config":{"variables":{"apiToken":{"type":"string","secret":true},"archivePipelineOnDelete":{"type":"boolean","description":"Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines."},"graphqlUrl":{"type":"string","description":"Base URL for the GraphQL API to use. If not provided, the value is taken from the `BUILDKITE_GRAPHQL_URL` environment variable."},"maxRetries":{"type":"integer","description":"Maximum number of retry attempts for retryable HTTP requests. Defaults to 10."},"organization":{"type":"string","description":"The Buildkite organization slug. This can be found on the [settings](https://buildkite.com/organizations/~/settings) page. If not provided, the value is taken from the `BUILDKITE_ORGANIZATION_SLUG` environment variable."},"restUrl":{"type":"string","description":"Base URL for the REST API to use. If not provided, the value is taken from the `BUILDKITE_REST_URL` environment variable."},"timeouts":{"$ref":"#/types/buildkite:config/timeouts:timeouts"}}},"types":{"buildkite:Cluster/ClusterQueueHostedAgents:ClusterQueueHostedAgents":{"properties":{"instanceShape":{"type":"string","description":"The instance shape to use for the Hosted Agent cluster queue. This can be a MacOS instance shape or a Linux instance shape.\nValid values are:\n- MACOS_ARM64_M4_6X28\n- MACOS_ARM64_M4_12X56\n- LINUX_AMD64_2X4\n- LINUX_AMD64_4X16\n- LINUX_AMD64_8X32\n- LINUX_AMD64_16X64\n- LINUX_ARM64_2X4\n- LINUX_ARM64_4X16\n- LINUX_ARM64_8X32\n- LINUX_ARM64_16X64\n"},"linux":{"$ref":"#/types/buildkite:Cluster/ClusterQueueHostedAgentsLinux:ClusterQueueHostedAgentsLinux"},"mac":{"$ref":"#/types/buildkite:Cluster/ClusterQueueHostedAgentsMac:ClusterQueueHostedAgentsMac"}},"type":"object","required":["instanceShape"]},"buildkite:Cluster/ClusterQueueHostedAgentsLinux:ClusterQueueHostedAgentsLinux":{"properties":{"agentImageRef":{"type":"string","description":"A URL reference to a container image that will be used for jobs running within the queue. This URL is required to be publicly available, or pushed to the internal registry available within the cluster. Please note that this value is currently experimental and in preview. Please contact support@buildkite.com to enable this functionality for your organization.\n"}},"type":"object","required":["agentImageRef"]},"buildkite:Cluster/ClusterQueueHostedAgentsMac:ClusterQueueHostedAgentsMac":{"properties":{"macosVersion":{"type":"string","description":"Optional selection of a specific macOS version to be selected for jobs in the queue to have available. Please note that this value is currently experimental and may not function as expected.\n"},"xcodeVersion":{"type":"string","description":"Required selection of a specific XCode version to be selected for jobs in the queue to have available. Please note that this value is currently experimental and may not function as expected.\n"}},"type":"object","required":["xcodeVersion"]},"buildkite:Cluster/getClusterMaintainer:getClusterMaintainer":{"properties":{"actorEmail":{"type":"string","description":"The email of the actor (only for users).\n"},"actorName":{"type":"string","description":"The name of the actor.\n"},"actorSlug":{"type":"string","description":"The slug of the actor (only for teams).\n"},"actorType":{"type":"string","description":"The type of the actor (user or team).\n"},"actorUuid":{"type":"string","description":"The UUID of the actor (user or team).\n"},"permissionUuid":{"type":"string","description":"The UUID of the maintainer permission.\n"}},"type":"object","required":["actorEmail","actorName","actorSlug","actorType","actorUuid","permissionUuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Cluster/getClustersCluster:getClustersCluster":{"properties":{"color":{"type":"string","description":"The color for the cluster.\n"},"defaultQueue":{"$ref":"#/types/buildkite:Cluster/getClustersClusterDefaultQueue:getClustersClusterDefaultQueue","description":"The default queue for the cluster.\n"},"description":{"type":"string","description":"The description of the cluster.\n"},"emoji":{"type":"string","description":"The emoji for the cluster.\n"},"id":{"type":"string","description":"The GraphQL ID of the cluster.\n"},"maintainers":{"type":"array","items":{"$ref":"#/types/buildkite:Cluster/getClustersClusterMaintainer:getClustersClusterMaintainer"},"description":"List of maintainers (users and teams) for this cluster.\n"},"name":{"type":"string","description":"The name of the cluster.\n"},"uuid":{"type":"string","description":"The UUID of the cluster.\n"}},"type":"object","required":["color","defaultQueue","description","emoji","id","maintainers","name","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Cluster/getClustersClusterDefaultQueue:getClustersClusterDefaultQueue":{"properties":{"description":{"type":"string","description":"The description of the default queue.\n"},"id":{"type":"string","description":"The GraphQL ID of the default queue.\n"},"key":{"type":"string","description":"The key of the default queue.\n"},"uuid":{"type":"string","description":"The UUID of the default queue.\n"}},"type":"object","required":["description","id","key","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Cluster/getClustersClusterMaintainer:getClustersClusterMaintainer":{"properties":{"actorEmail":{"type":"string","description":"The email of the actor (only for users).\n"},"actorName":{"type":"string","description":"The name of the actor.\n"},"actorSlug":{"type":"string","description":"The slug of the actor (only for teams).\n"},"actorType":{"type":"string","description":"The type of the actor (user or team).\n"},"actorUuid":{"type":"string","description":"The UUID of the actor (user or team).\n"},"permissionUuid":{"type":"string","description":"The UUID of the maintainer permission.\n"}},"type":"object","required":["actorEmail","actorName","actorSlug","actorType","actorUuid","permissionUuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Organization/PortalCreatedBy:PortalCreatedBy":{"properties":{"email":{"type":"string","description":"The email of the user.\n"},"name":{"type":"string","description":"The name of the user.\n"},"uuid":{"type":"string","description":"The UUID of the user.\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["email","name","uuid"]}}},"buildkite:Organization/getMembersMember:getMembersMember":{"properties":{"email":{"type":"string","description":"The email address of the organization member.\n"},"id":{"type":"string","description":"The GraphQL ID of the organization member.\n"},"name":{"type":"string","description":"The name of the organization member.\n"},"uuid":{"type":"string","description":"The UUID of the organization member.\n"}},"type":"object","required":["email","id","name","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Organization/getPortalCreatedBy:getPortalCreatedBy":{"properties":{"email":{"type":"string","description":"The email of the user.\n"},"name":{"type":"string","description":"The name of the user.\n"},"uuid":{"type":"string","description":"The UUID of the user.\n"}},"type":"object","required":["email","name","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Organization/getPortalsPortal:getPortalsPortal":{"properties":{"allowedIpAddresses":{"type":"string","description":"Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.\n"},"createdAt":{"type":"string","description":"The time when the portal was created.\n"},"createdBy":{"$ref":"#/types/buildkite:Organization/getPortalsPortalCreatedBy:getPortalsPortalCreatedBy","description":"Information about the user who created the portal.\n"},"description":{"type":"string","description":"The description of the portal.\n"},"name":{"type":"string","description":"The name of the portal.\n"},"query":{"type":"string","description":"The GraphQL query that the portal executes.\n"},"slug":{"type":"string","description":"The slug of the portal.\n"},"userInvokable":{"type":"boolean","description":"Whether users can invoke the portal.\n"},"uuid":{"type":"string","description":"The UUID of the portal.\n"}},"type":"object","required":["allowedIpAddresses","createdAt","createdBy","description","name","query","slug","userInvokable","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Organization/getPortalsPortalCreatedBy:getPortalsPortalCreatedBy":{"properties":{"email":{"type":"string","description":"The email of the user.\n"},"name":{"type":"string","description":"The name of the user.\n"},"uuid":{"type":"string","description":"The UUID of the user.\n"}},"type":"object","required":["email","name","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:Pipeline/PipelineProviderSettings:PipelineProviderSettings":{"properties":{"buildBranches":{"type":"boolean","description":"Whether to create builds when branches are pushed.\n"},"buildMergeGroupChecksRequested":{"type":"boolean","description":"Whether to create merge queue builds for a merge queue enabled GitHub repository with required status checks\n"},"buildPullRequestBaseBranchChanged":{"type":"boolean","description":"Whether to create builds for pull requests when its base branch changes.\n"},"buildPullRequestForks":{"type":"boolean","description":"Whether to create builds for pull requests from third-party forks.\n"},"buildPullRequestLabelsChanged":{"type":"boolean","description":"Whether to create builds for pull requests when labels are added or removed.\n"},"buildPullRequestReadyForReview":{"type":"boolean","description":"Whether to create a build when a pull request changes to \"Ready for review\".\n"},"buildPullRequests":{"type":"boolean","description":"Whether to create builds for commits that are part of a pull request.\n"},"buildTags":{"type":"boolean","description":"Whether to create builds when tags are pushed.\n"},"cancelDeletedBranchBuilds":{"type":"boolean","description":"Automatically cancel running builds for a branch if the branch is deleted.\n"},"cancelWhenMergeGroupDestroyed":{"type":"boolean","description":"Whether to cancel any running builds belonging to a removed merge group.\n"},"filterCondition":{"type":"string","description":"The condition to evaluate when deciding if a build should run. This is only valid when \u003cspan pulumi-lang-nodejs=\"`triggerMode`\" pulumi-lang-dotnet=\"`TriggerMode`\" pulumi-lang-go=\"`triggerMode`\" pulumi-lang-python=\"`trigger_mode`\" pulumi-lang-yaml=\"`triggerMode`\" pulumi-lang-java=\"`triggerMode`\"\u003e`trigger_mode`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`code`\" pulumi-lang-dotnet=\"`Code`\" pulumi-lang-go=\"`code`\" pulumi-lang-python=\"`code`\" pulumi-lang-yaml=\"`code`\" pulumi-lang-java=\"`code`\"\u003e`code`\u003c/span\u003e. More details available in [the documentation](https://buildkite.com/docs/pipelines/conditionals).\n"},"filterEnabled":{"type":"boolean","description":"Whether to filter builds to only run when the condition in \u003cspan pulumi-lang-nodejs=\"`filterCondition`\" pulumi-lang-dotnet=\"`FilterCondition`\" pulumi-lang-go=\"`filterCondition`\" pulumi-lang-python=\"`filter_condition`\" pulumi-lang-yaml=\"`filterCondition`\" pulumi-lang-java=\"`filterCondition`\"\u003e`filter_condition`\u003c/span\u003e is true.\n"},"ignoreDefaultBranchPullRequests":{"type":"boolean","description":"Whether to prevent caching pull requests with the source branch matching the default branch.\n"},"prefixPullRequestForkBranchNames":{"type":"boolean","description":"Prefix branch names for third-party fork builds to ensure they don't trigger branch conditions. For example, the main branch from some-user will become some-user:main.\n"},"publishBlockedAsPending":{"type":"boolean","description":"The status to use for blocked builds. Pending can be used with [required status checks](https://help.github.com/en/articles/enabling-required-status-checks) to prevent merging pull requests with blocked builds.\n"},"publishCommitStatus":{"type":"boolean","description":"Whether to update the status of commits in Bitbucket, GitHub, or GitLab.\n"},"publishCommitStatusPerStep":{"type":"boolean","description":"Whether to create a separate status for each job in a build, allowing you to see the status of each job directly in Bitbucket or GitHub.\n"},"pullRequestBranchFilterConfiguration":{"type":"string","description":"Filter pull requests builds by the branch filter.\n"},"pullRequestBranchFilterEnabled":{"type":"boolean","description":"Filter pull request builds.\n"},"separatePullRequestStatuses":{"type":"boolean","description":"Whether to create a separate status for pull request builds, allowing you to require a passing pull request build in your [required status checks](https://help.github.com/en/articles/enabling-required-status-checks) in GitHub.\n"},"skipBuildsForExistingCommits":{"type":"boolean","description":"Whether to skip creating a new build if an existing build for the commit and branch already exists. This option is only valid if the pipeline uses a GitHub repository.\n"},"skipPullRequestBuildsForExistingCommits":{"type":"boolean","description":"Whether to skip creating a new build for a pull request if an existing build for the commit and branch already exists.\n"},"triggerMode":{"type":"string","description":"What type of event to trigger builds on. Must be one of:\n\t- \u003cspan pulumi-lang-nodejs=\"`code`\" pulumi-lang-dotnet=\"`Code`\" pulumi-lang-go=\"`code`\" pulumi-lang-python=\"`code`\" pulumi-lang-yaml=\"`code`\" pulumi-lang-java=\"`code`\"\u003e`code`\u003c/span\u003e will create builds when code is pushed to GitHub.\n\t- \u003cspan pulumi-lang-nodejs=\"`deployment`\" pulumi-lang-dotnet=\"`Deployment`\" pulumi-lang-go=\"`deployment`\" pulumi-lang-python=\"`deployment`\" pulumi-lang-yaml=\"`deployment`\" pulumi-lang-java=\"`deployment`\"\u003e`deployment`\u003c/span\u003e will create builds when a deployment is created in GitHub.\n\t- \u003cspan pulumi-lang-nodejs=\"`fork`\" pulumi-lang-dotnet=\"`Fork`\" pulumi-lang-go=\"`fork`\" pulumi-lang-python=\"`fork`\" pulumi-lang-yaml=\"`fork`\" pulumi-lang-java=\"`fork`\"\u003e`fork`\u003c/span\u003e will create builds when the GitHub repository is forked.\n\t- \u003cspan pulumi-lang-nodejs=\"`none`\" pulumi-lang-dotnet=\"`None`\" pulumi-lang-go=\"`none`\" pulumi-lang-python=\"`none`\" pulumi-lang-yaml=\"`none`\" pulumi-lang-java=\"`none`\"\u003e`none`\u003c/span\u003e will not create any builds based on GitHub activity.\n\n\t\u003e \u003cspan pulumi-lang-nodejs=\"`triggerMode`\" pulumi-lang-dotnet=\"`TriggerMode`\" pulumi-lang-go=\"`triggerMode`\" pulumi-lang-python=\"`trigger_mode`\" pulumi-lang-yaml=\"`triggerMode`\" pulumi-lang-java=\"`triggerMode`\"\u003e`trigger_mode`\u003c/span\u003e is only valid if the pipeline uses a GitHub repository.\n\t\u003e If not set, the default value is \u003cspan pulumi-lang-nodejs=\"`code`\" pulumi-lang-dotnet=\"`Code`\" pulumi-lang-go=\"`code`\" pulumi-lang-python=\"`code`\" pulumi-lang-yaml=\"`code`\" pulumi-lang-java=\"`code`\"\u003e`code`\u003c/span\u003e and other provider settings defaults are applied.\n"},"useMergeGroupBaseCommitForGitDiffBase":{"type":"boolean","description":"When enabled, agents performing a git diff to determine steps to upload based on [\u003cspan pulumi-lang-nodejs=\"`ifChanged`\" pulumi-lang-dotnet=\"`IfChanged`\" pulumi-lang-go=\"`ifChanged`\" pulumi-lang-python=\"`if_changed`\" pulumi-lang-yaml=\"`ifChanged`\" pulumi-lang-java=\"`ifChanged`\"\u003e`if_changed`\u003c/span\u003e](https://buildkite.com/docs/pipelines/configure/step-types/command-step#agent-applied-attributes)comparisons will use the base commit that points to the previous merge group rather than the base branch\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["buildBranches","buildMergeGroupChecksRequested","buildPullRequestBaseBranchChanged","buildPullRequestForks","buildPullRequestLabelsChanged","buildPullRequestReadyForReview","buildPullRequests","buildTags","cancelDeletedBranchBuilds","cancelWhenMergeGroupDestroyed","filterCondition","filterEnabled","ignoreDefaultBranchPullRequests","prefixPullRequestForkBranchNames","publishBlockedAsPending","publishCommitStatus","publishCommitStatusPerStep","pullRequestBranchFilterConfiguration","pullRequestBranchFilterEnabled","separatePullRequestStatuses","skipBuildsForExistingCommits","skipPullRequestBuildsForExistingCommits","triggerMode","useMergeGroupBaseCommitForGitDiffBase"]}}},"buildkite:Team/getTeamsTeam:getTeamsTeam":{"properties":{"defaultMemberRole":{"type":"string","description":"The default member role for new team members.\n"},"description":{"type":"string","description":"The description of the team.\n"},"id":{"type":"string","description":"The GraphQL ID of the team.\n"},"isDefaultTeam":{"type":"boolean","description":"Whether this is the default team for the organization.\n"},"membersCanCreatePipelines":{"type":"boolean","description":"Whether team members can create pipelines.\n"},"membersCanCreateRegistries":{"type":"boolean","description":"Whether team members can create registries.\n"},"membersCanCreateSuites":{"type":"boolean","description":"Whether team members can create test suites.\n"},"membersCanDestroyPackages":{"type":"boolean","description":"Whether team members can destroy packages.\n"},"membersCanDestroyRegistries":{"type":"boolean","description":"Whether team members can destroy registries.\n"},"name":{"type":"string","description":"The name of the team.\n"},"privacy":{"type":"string","description":"The privacy setting of the team.\n"},"slug":{"type":"string","description":"The slug of the team.\n"},"uuid":{"type":"string","description":"The UUID of the team.\n"}},"type":"object","required":["defaultMemberRole","description","id","isDefaultTeam","membersCanCreatePipelines","membersCanCreateRegistries","membersCanCreateSuites","membersCanDestroyPackages","membersCanDestroyRegistries","name","privacy","slug","uuid"],"language":{"nodejs":{"requiredInputs":[]}}},"buildkite:config/timeouts:timeouts":{"properties":{"create":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n"},"delete":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.\n"},"read":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.\n"},"update":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n"}},"type":"object"},"buildkite:index/ProviderTimeouts:ProviderTimeouts":{"properties":{"create":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n"},"delete":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.\n"},"read":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.\n"},"update":{"type":"string","description":"A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours).\n"}},"type":"object"}},"provider":{"description":"The provider type for the buildkite package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n","properties":{"apiToken":{"type":"string","secret":true},"archivePipelineOnDelete":{"type":"boolean","description":"Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines."},"graphqlUrl":{"type":"string","description":"Base URL for the GraphQL API to use. If not provided, the value is taken from the `BUILDKITE_GRAPHQL_URL` environment variable."},"maxRetries":{"type":"integer","description":"Maximum number of retry attempts for retryable HTTP requests. Defaults to 10."},"organization":{"type":"string","description":"The Buildkite organization slug. This can be found on the [settings](https://buildkite.com/organizations/~/settings) page. If not provided, the value is taken from the `BUILDKITE_ORGANIZATION_SLUG` environment variable."},"restUrl":{"type":"string","description":"Base URL for the REST API to use. If not provided, the value is taken from the `BUILDKITE_REST_URL` environment variable."},"timeouts":{"$ref":"#/types/buildkite:index/ProviderTimeouts:ProviderTimeouts"}},"inputProperties":{"apiToken":{"type":"string","secret":true},"archivePipelineOnDelete":{"type":"boolean","description":"Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines."},"graphqlUrl":{"type":"string","description":"Base URL for the GraphQL API to use. If not provided, the value is taken from the `BUILDKITE_GRAPHQL_URL` environment variable."},"maxRetries":{"type":"integer","description":"Maximum number of retry attempts for retryable HTTP requests. Defaults to 10."},"organization":{"type":"string","description":"The Buildkite organization slug. This can be found on the [settings](https://buildkite.com/organizations/~/settings) page. If not provided, the value is taken from the `BUILDKITE_ORGANIZATION_SLUG` environment variable."},"restUrl":{"type":"string","description":"Base URL for the REST API to use. If not provided, the value is taken from the `BUILDKITE_REST_URL` environment variable."},"timeouts":{"$ref":"#/types/buildkite:index/ProviderTimeouts:ProviderTimeouts"}},"methods":{"terraformConfig":"pulumi:providers:buildkite/terraformConfig"}},"resources":{"buildkite:Agent/agentToken:AgentToken":{"description":"This resource allows you to create and manage non-clustered agent tokens.\nYou can find out more about clusters in the Buildkite [documentation](https://buildkite.com/docs/agent/v3/tokens).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a default token\nconst _default = new buildkite.agent.AgentToken(\"default\", {description: \"Default token\"});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a default token\ndefault = buildkite.agent.AgentToken(\"default\", description=\"Default token\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a default token\n    var @default = new Buildkite.Agent.AgentToken(\"default\", new()\n    {\n        Description = \"Default token\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/agent\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a default token\n\t\t_, err := agent.NewAgentToken(ctx, \"default\", \u0026agent.AgentTokenArgs{\n\t\t\tDescription: pulumi.String(\"Default token\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Agent.AgentToken;\nimport com.pulumi.buildkite.Agent.AgentTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a default token\n        var default_ = new AgentToken(\"default\", AgentTokenArgs.builder()\n            .description(\"Default token\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a default token\n  default:\n    type: buildkite:Agent:AgentToken\n    properties:\n      description: Default token\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","properties":{"description":{"type":"string","description":"The description of the agent token. Used to help identify its use.\n"},"token":{"type":"string","description":"The token value used by an agent to register with the API.\n","secret":true},"uuid":{"type":"string","description":"The UUID of the agent token.\n"}},"required":["token","uuid"],"inputProperties":{"description":{"type":"string","description":"The description of the agent token. Used to help identify its use.\n"}},"stateInputs":{"description":"Input properties used for looking up and filtering AgentToken resources.\n","properties":{"description":{"type":"string","description":"The description of the agent token. Used to help identify its use.\n"},"token":{"type":"string","description":"The token value used by an agent to register with the API.\n","secret":true},"uuid":{"type":"string","description":"The UUID of the agent token.\n"}},"type":"object"}},"buildkite:Cluster/cluster:Cluster":{"description":"This resource allows you to create and manage a Buildkite Cluster to run your builds in.\nClusters are useful for grouping agents by there capabilities or permissions.\nFind out more information in our [documentation](https://buildkite.com/docs/clusters/overview).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a cluster\nconst primary = new buildkite.cluster.Cluster(\"primary\", {\n    name: \"Primary cluster\",\n    description: \"Runs the monolith build and deploy\",\n    emoji: \"🚀\",\n    color: \"#bada55\",\n});\n// add a pipeline to the cluster\nconst monolith = new buildkite.pipeline.Pipeline(\"monolith\", {\n    name: \"Monolith\",\n    repository: \"https://github.com/...\",\n    clusterId: primary.id,\n});\nconst _default = new buildkite.cluster.ClusterQueue(\"default\", {\n    clusterId: primary.id,\n    key: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a cluster\nprimary = buildkite.cluster.Cluster(\"primary\",\n    name=\"Primary cluster\",\n    description=\"Runs the monolith build and deploy\",\n    emoji=\"🚀\",\n    color=\"#bada55\")\n# add a pipeline to the cluster\nmonolith = buildkite.pipeline.Pipeline(\"monolith\",\n    name=\"Monolith\",\n    repository=\"https://github.com/...\",\n    cluster_id=primary.id)\ndefault = buildkite.cluster.ClusterQueue(\"default\",\n    cluster_id=primary.id,\n    key=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a cluster\n    var primary = new Buildkite.Cluster.Cluster(\"primary\", new()\n    {\n        Name = \"Primary cluster\",\n        Description = \"Runs the monolith build and deploy\",\n        Emoji = \"🚀\",\n        Color = \"#bada55\",\n    });\n\n    // add a pipeline to the cluster\n    var monolith = new Buildkite.Pipeline.Pipeline(\"monolith\", new()\n    {\n        Name = \"Monolith\",\n        Repository = \"https://github.com/...\",\n        ClusterId = primary.Id,\n    });\n\n    var @default = new Buildkite.Cluster.ClusterQueue(\"default\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"default\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a cluster\n\t\tprimary, err := cluster.NewCluster(ctx, \"primary\", \u0026cluster.ClusterArgs{\n\t\t\tName:        pulumi.String(\"Primary cluster\"),\n\t\t\tDescription: pulumi.String(\"Runs the monolith build and deploy\"),\n\t\t\tEmoji:       pulumi.String(\"🚀\"),\n\t\t\tColor:       pulumi.String(\"#bada55\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// add a pipeline to the cluster\n\t\t_, err = pipeline.NewPipeline(ctx, \"monolith\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"Monolith\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/...\"),\n\t\t\tClusterId:  primary.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cluster.NewClusterQueue(ctx, \"default\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId: primary.ID(),\n\t\t\tKey:       pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.Cluster;\nimport com.pulumi.buildkite.Cluster.ClusterArgs;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport com.pulumi.buildkite.Cluster.ClusterQueue;\nimport com.pulumi.buildkite.Cluster.ClusterQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a cluster\n        var primary = new Cluster(\"primary\", ClusterArgs.builder()\n            .name(\"Primary cluster\")\n            .description(\"Runs the monolith build and deploy\")\n            .emoji(\"🚀\")\n            .color(\"#bada55\")\n            .build());\n\n        // add a pipeline to the cluster\n        var monolith = new Pipeline(\"monolith\", PipelineArgs.builder()\n            .name(\"Monolith\")\n            .repository(\"https://github.com/...\")\n            .clusterId(primary.id())\n            .build());\n\n        var default_ = new ClusterQueue(\"default\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"default\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a cluster\n  primary:\n    type: buildkite:Cluster:Cluster\n    properties:\n      name: Primary cluster\n      description: Runs the monolith build and deploy\n      emoji: \"\\U0001F680\"\n      color: '#bada55'\n  # add a pipeline to the cluster\n  monolith:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: Monolith\n      repository: https://github.com/...\n      clusterId: ${primary.id}\n  default:\n    type: buildkite:Cluster:ClusterQueue\n    properties:\n      clusterId: ${primary.id}\n      key: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a cluster resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getClusters {\n\n  organization(slug: \"ORGANIZATION\"){\n\n    clusters(first: 5, order:NAME) {\n\n      edges{\n\n        node {\n\n          id\n\n          name\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Cluster/cluster:Cluster primary Q2x1c3Rlci0tLTI3ZmFmZjA4LTA3OWEtNDk5ZC1hMmIwLTIzNmY3NWFkMWZjYg==\n```\n\n","properties":{"color":{"type":"string","description":"A color representation of the Cluster. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the cluster, this may describe the usage for it, the region, or something else\nwhich would help identify the Cluster's purpose.\n"},"emoji":{"type":"string","description":"An emoji to use with the Cluster, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the Cluster. Can only contain numbers and letters, no spaces or special characters.\n"},"uuid":{"type":"string","description":"The UUID of the cluster.\n"}},"required":["name","uuid"],"inputProperties":{"color":{"type":"string","description":"A color representation of the Cluster. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the cluster, this may describe the usage for it, the region, or something else\nwhich would help identify the Cluster's purpose.\n"},"emoji":{"type":"string","description":"An emoji to use with the Cluster, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the Cluster. Can only contain numbers and letters, no spaces or special characters.\n"}},"stateInputs":{"description":"Input properties used for looking up and filtering Cluster resources.\n","properties":{"color":{"type":"string","description":"A color representation of the Cluster. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the cluster, this may describe the usage for it, the region, or something else\nwhich would help identify the Cluster's purpose.\n"},"emoji":{"type":"string","description":"An emoji to use with the Cluster, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the Cluster. Can only contain numbers and letters, no spaces or special characters.\n"},"uuid":{"type":"string","description":"The UUID of the cluster.\n"}},"type":"object"}},"buildkite:Cluster/clusterAgentToken:ClusterAgentToken":{"description":"A Cluster Agent Token is a token used to connect an agent to a cluster in Buildkite.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a cluster\nconst primary = new buildkite.cluster.Cluster(\"primary\", {\n    name: \"Primary cluster\",\n    description: \"Runs the monolith build and deploy\",\n    emoji: \"🚀\",\n    color: \"#bada55\",\n});\n// create an agent token for the cluster\nconst _default = new buildkite.cluster.ClusterAgentToken(\"default\", {\n    description: \"Default cluster token\",\n    clusterId: primary.id,\n});\nconst ipLimitedToken = new buildkite.cluster.ClusterAgentToken(\"ip_limited_token\", {\n    description: \"Token with allowed IP range\",\n    clusterId: primary.id,\n    allowedIpAddresses: [\"10.100.1.0/28\"],\n});\nconst monolith = new buildkite.pipeline.Pipeline(\"monolith\", {\n    name: \"Monolith\",\n    repository: \"https://github.com/...\",\n    clusterId: primary.id,\n});\nconst defaultClusterQueue = new buildkite.cluster.ClusterQueue(\"default\", {\n    clusterId: primary.id,\n    key: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a cluster\nprimary = buildkite.cluster.Cluster(\"primary\",\n    name=\"Primary cluster\",\n    description=\"Runs the monolith build and deploy\",\n    emoji=\"🚀\",\n    color=\"#bada55\")\n# create an agent token for the cluster\ndefault = buildkite.cluster.ClusterAgentToken(\"default\",\n    description=\"Default cluster token\",\n    cluster_id=primary.id)\nip_limited_token = buildkite.cluster.ClusterAgentToken(\"ip_limited_token\",\n    description=\"Token with allowed IP range\",\n    cluster_id=primary.id,\n    allowed_ip_addresses=[\"10.100.1.0/28\"])\nmonolith = buildkite.pipeline.Pipeline(\"monolith\",\n    name=\"Monolith\",\n    repository=\"https://github.com/...\",\n    cluster_id=primary.id)\ndefault_cluster_queue = buildkite.cluster.ClusterQueue(\"default\",\n    cluster_id=primary.id,\n    key=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a cluster\n    var primary = new Buildkite.Cluster.Cluster(\"primary\", new()\n    {\n        Name = \"Primary cluster\",\n        Description = \"Runs the monolith build and deploy\",\n        Emoji = \"🚀\",\n        Color = \"#bada55\",\n    });\n\n    // create an agent token for the cluster\n    var @default = new Buildkite.Cluster.ClusterAgentToken(\"default\", new()\n    {\n        Description = \"Default cluster token\",\n        ClusterId = primary.Id,\n    });\n\n    var ipLimitedToken = new Buildkite.Cluster.ClusterAgentToken(\"ip_limited_token\", new()\n    {\n        Description = \"Token with allowed IP range\",\n        ClusterId = primary.Id,\n        AllowedIpAddresses = new[]\n        {\n            \"10.100.1.0/28\",\n        },\n    });\n\n    var monolith = new Buildkite.Pipeline.Pipeline(\"monolith\", new()\n    {\n        Name = \"Monolith\",\n        Repository = \"https://github.com/...\",\n        ClusterId = primary.Id,\n    });\n\n    var defaultClusterQueue = new Buildkite.Cluster.ClusterQueue(\"default\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"default\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a cluster\n\t\tprimary, err := cluster.NewCluster(ctx, \"primary\", \u0026cluster.ClusterArgs{\n\t\t\tName:        pulumi.String(\"Primary cluster\"),\n\t\t\tDescription: pulumi.String(\"Runs the monolith build and deploy\"),\n\t\t\tEmoji:       pulumi.String(\"🚀\"),\n\t\t\tColor:       pulumi.String(\"#bada55\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create an agent token for the cluster\n\t\t_, err = cluster.NewClusterAgentToken(ctx, \"default\", \u0026cluster.ClusterAgentTokenArgs{\n\t\t\tDescription: pulumi.String(\"Default cluster token\"),\n\t\t\tClusterId:   primary.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cluster.NewClusterAgentToken(ctx, \"ip_limited_token\", \u0026cluster.ClusterAgentTokenArgs{\n\t\t\tDescription: pulumi.String(\"Token with allowed IP range\"),\n\t\t\tClusterId:   primary.ID(),\n\t\t\tAllowedIpAddresses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.100.1.0/28\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pipeline.NewPipeline(ctx, \"monolith\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"Monolith\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/...\"),\n\t\t\tClusterId:  primary.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cluster.NewClusterQueue(ctx, \"default\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId: primary.ID(),\n\t\t\tKey:       pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.Cluster;\nimport com.pulumi.buildkite.Cluster.ClusterArgs;\nimport com.pulumi.buildkite.Cluster.ClusterAgentToken;\nimport com.pulumi.buildkite.Cluster.ClusterAgentTokenArgs;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport com.pulumi.buildkite.Cluster.ClusterQueue;\nimport com.pulumi.buildkite.Cluster.ClusterQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a cluster\n        var primary = new Cluster(\"primary\", ClusterArgs.builder()\n            .name(\"Primary cluster\")\n            .description(\"Runs the monolith build and deploy\")\n            .emoji(\"🚀\")\n            .color(\"#bada55\")\n            .build());\n\n        // create an agent token for the cluster\n        var default_ = new ClusterAgentToken(\"default\", ClusterAgentTokenArgs.builder()\n            .description(\"Default cluster token\")\n            .clusterId(primary.id())\n            .build());\n\n        var ipLimitedToken = new ClusterAgentToken(\"ipLimitedToken\", ClusterAgentTokenArgs.builder()\n            .description(\"Token with allowed IP range\")\n            .clusterId(primary.id())\n            .allowedIpAddresses(\"10.100.1.0/28\")\n            .build());\n\n        var monolith = new Pipeline(\"monolith\", PipelineArgs.builder()\n            .name(\"Monolith\")\n            .repository(\"https://github.com/...\")\n            .clusterId(primary.id())\n            .build());\n\n        var defaultClusterQueue = new ClusterQueue(\"defaultClusterQueue\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"default\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a cluster\n  primary:\n    type: buildkite:Cluster:Cluster\n    properties:\n      name: Primary cluster\n      description: Runs the monolith build and deploy\n      emoji: \"\\U0001F680\"\n      color: '#bada55'\n  # create an agent token for the cluster\n  default:\n    type: buildkite:Cluster:ClusterAgentToken\n    properties:\n      description: Default cluster token\n      clusterId: ${primary.id}\n  ipLimitedToken:\n    type: buildkite:Cluster:ClusterAgentToken\n    name: ip_limited_token\n    properties:\n      description: Token with allowed IP range\n      clusterId: ${primary.id}\n      allowedIpAddresses:\n        - 10.100.1.0/28\n  monolith:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: Monolith\n      repository: https://github.com/...\n      clusterId: ${primary.id}\n  defaultClusterQueue:\n    type: buildkite:Cluster:ClusterQueue\n    name: default\n    properties:\n      clusterId: ${primary.id}\n      key: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","properties":{"allowedIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of CIDR-notation IPv4 addresses from which agents can use this Cluster Agent Token.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"clusterId":{"type":"string","description":"The GraphQL ID of the Cluster that this Cluster Agent Token belongs to.\n"},"clusterUuid":{"type":"string","description":"The UUID of the Cluster that this token belongs to.\n"},"description":{"type":"string","description":"A description about what this cluster agent token is used for.\n"},"token":{"type":"string","description":"The token value used by an agent to register with the API.\n","secret":true},"uuid":{"type":"string","description":"The UUID of the token.\n"}},"required":["clusterId","clusterUuid","description","token","uuid"],"inputProperties":{"allowedIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of CIDR-notation IPv4 addresses from which agents can use this Cluster Agent Token.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"clusterId":{"type":"string","description":"The GraphQL ID of the Cluster that this Cluster Agent Token belongs to.\n"},"description":{"type":"string","description":"A description about what this cluster agent token is used for.\n"}},"requiredInputs":["clusterId","description"],"stateInputs":{"description":"Input properties used for looking up and filtering ClusterAgentToken resources.\n","properties":{"allowedIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of CIDR-notation IPv4 addresses from which agents can use this Cluster Agent Token.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"clusterId":{"type":"string","description":"The GraphQL ID of the Cluster that this Cluster Agent Token belongs to.\n"},"clusterUuid":{"type":"string","description":"The UUID of the Cluster that this token belongs to.\n"},"description":{"type":"string","description":"A description about what this cluster agent token is used for.\n"},"token":{"type":"string","description":"The token value used by an agent to register with the API.\n","secret":true},"uuid":{"type":"string","description":"The UUID of the token.\n"}},"type":"object"}},"buildkite:Cluster/clusterDefaultQueue:ClusterDefaultQueue":{"description":"This resource allows you to manage a default queue for a Buildkite Cluster.\nFind out more information in our [documentation](https://buildkite.com/docs/clusters/overview).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a cluster\nconst primary = new buildkite.cluster.Cluster(\"primary\", {\n    name: \"Primary cluster\",\n    description: \"Runs the monolith build and deploy\",\n    emoji: \"🚀\",\n    color: \"#bada55\",\n});\nconst _default = new buildkite.cluster.ClusterQueue(\"default\", {\n    clusterId: primary.id,\n    key: \"default\",\n});\nconst primaryClusterDefaultQueue = new buildkite.cluster.ClusterDefaultQueue(\"primary\", {\n    clusterId: primary.id,\n    queueId: _default.id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a cluster\nprimary = buildkite.cluster.Cluster(\"primary\",\n    name=\"Primary cluster\",\n    description=\"Runs the monolith build and deploy\",\n    emoji=\"🚀\",\n    color=\"#bada55\")\ndefault = buildkite.cluster.ClusterQueue(\"default\",\n    cluster_id=primary.id,\n    key=\"default\")\nprimary_cluster_default_queue = buildkite.cluster.ClusterDefaultQueue(\"primary\",\n    cluster_id=primary.id,\n    queue_id=default.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a cluster\n    var primary = new Buildkite.Cluster.Cluster(\"primary\", new()\n    {\n        Name = \"Primary cluster\",\n        Description = \"Runs the monolith build and deploy\",\n        Emoji = \"🚀\",\n        Color = \"#bada55\",\n    });\n\n    var @default = new Buildkite.Cluster.ClusterQueue(\"default\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"default\",\n    });\n\n    var primaryClusterDefaultQueue = new Buildkite.Cluster.ClusterDefaultQueue(\"primary\", new()\n    {\n        ClusterId = primary.Id,\n        QueueId = @default.Id,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a cluster\n\t\tprimary, err := cluster.NewCluster(ctx, \"primary\", \u0026cluster.ClusterArgs{\n\t\t\tName:        pulumi.String(\"Primary cluster\"),\n\t\t\tDescription: pulumi.String(\"Runs the monolith build and deploy\"),\n\t\t\tEmoji:       pulumi.String(\"🚀\"),\n\t\t\tColor:       pulumi.String(\"#bada55\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_default, err := cluster.NewClusterQueue(ctx, \"default\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId: primary.ID(),\n\t\t\tKey:       pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cluster.NewClusterDefaultQueue(ctx, \"primary\", \u0026cluster.ClusterDefaultQueueArgs{\n\t\t\tClusterId: primary.ID(),\n\t\t\tQueueId:   _default.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.Cluster;\nimport com.pulumi.buildkite.Cluster.ClusterArgs;\nimport com.pulumi.buildkite.Cluster.ClusterQueue;\nimport com.pulumi.buildkite.Cluster.ClusterQueueArgs;\nimport com.pulumi.buildkite.Cluster.ClusterDefaultQueue;\nimport com.pulumi.buildkite.Cluster.ClusterDefaultQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a cluster\n        var primary = new Cluster(\"primary\", ClusterArgs.builder()\n            .name(\"Primary cluster\")\n            .description(\"Runs the monolith build and deploy\")\n            .emoji(\"🚀\")\n            .color(\"#bada55\")\n            .build());\n\n        var default_ = new ClusterQueue(\"default\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"default\")\n            .build());\n\n        var primaryClusterDefaultQueue = new ClusterDefaultQueue(\"primaryClusterDefaultQueue\", ClusterDefaultQueueArgs.builder()\n            .clusterId(primary.id())\n            .queueId(default_.id())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a cluster\n  primary:\n    type: buildkite:Cluster:Cluster\n    properties:\n      name: Primary cluster\n      description: Runs the monolith build and deploy\n      emoji: \"\\U0001F680\"\n      color: '#bada55'\n  default:\n    type: buildkite:Cluster:ClusterQueue\n    properties:\n      clusterId: ${primary.id}\n      key: default\n  primaryClusterDefaultQueue:\n    type: buildkite:Cluster:ClusterDefaultQueue\n    name: primary\n    properties:\n      clusterId: ${primary.id}\n      queueId: ${default.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a clusters default queue resource using the GraphQL ID of the cluster itself\n\nyou can use this query to find the ID:\n\nquery getClusters {\n\n  organization(slug: \"ORGANIZATION\"){\n\n    clusters(first: 5, order:NAME) {\n\n      edges{\n\n        node {\n\n          id\n\n          name\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Cluster/clusterDefaultQueue:ClusterDefaultQueue primary Q2x1c3Rlci0tLTI3ZmFmZjA4LTA3OWEtNDk5ZC1hMmIwLTIzNmY3NWFkMWZjYg==\n```\n\n","properties":{"clusterId":{"type":"string","description":"The GraphQL ID of the cluster to which to add a default queue.\n"},"key":{"type":"string","description":"The Key for the cluster queue; its unique identifier\n"},"queueId":{"type":"string","description":"The GraphQL ID of the cluster queue to set as default on the cluster.\n"},"uuid":{"type":"string","description":"The UUID of the cluster.\n"}},"required":["clusterId","key","queueId","uuid"],"inputProperties":{"clusterId":{"type":"string","description":"The GraphQL ID of the cluster to which to add a default queue.\n"},"queueId":{"type":"string","description":"The GraphQL ID of the cluster queue to set as default on the cluster.\n"}},"requiredInputs":["clusterId","queueId"],"stateInputs":{"description":"Input properties used for looking up and filtering ClusterDefaultQueue resources.\n","properties":{"clusterId":{"type":"string","description":"The GraphQL ID of the cluster to which to add a default queue.\n"},"key":{"type":"string","description":"The Key for the cluster queue; its unique identifier\n"},"queueId":{"type":"string","description":"The GraphQL ID of the cluster queue to set as default on the cluster.\n"},"uuid":{"type":"string","description":"The UUID of the cluster.\n"}},"type":"object"}},"buildkite:Cluster/clusterMaintainer:ClusterMaintainer":{"description":"This resource allows you to manage cluster maintainers in Buildkite. Maintainers can be either users or teams\nthat have permission to manage a specific cluster. Find out more information in our\n[documentation](https://buildkite.com/docs/clusters/manage-clusters).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// Add a user as a cluster maintainer\nconst userMaintainer = new buildkite.cluster.ClusterMaintainer(\"user_maintainer\", {\n    clusterUuid: primary.uuid,\n    userUuid: \"01234567-89ab-cdef-0123-456789abcdef\",\n});\n// Add a team as a cluster maintainer\nconst teamMaintainer = new buildkite.cluster.ClusterMaintainer(\"team_maintainer\", {\n    clusterUuid: primary.uuid,\n    teamUuid: \"01234567-89ab-cdef-0123-456789abcdef\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# Add a user as a cluster maintainer\nuser_maintainer = buildkite.cluster.ClusterMaintainer(\"user_maintainer\",\n    cluster_uuid=primary[\"uuid\"],\n    user_uuid=\"01234567-89ab-cdef-0123-456789abcdef\")\n# Add a team as a cluster maintainer\nteam_maintainer = buildkite.cluster.ClusterMaintainer(\"team_maintainer\",\n    cluster_uuid=primary[\"uuid\"],\n    team_uuid=\"01234567-89ab-cdef-0123-456789abcdef\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // Add a user as a cluster maintainer\n    var userMaintainer = new Buildkite.Cluster.ClusterMaintainer(\"user_maintainer\", new()\n    {\n        ClusterUuid = primary.Uuid,\n        UserUuid = \"01234567-89ab-cdef-0123-456789abcdef\",\n    });\n\n    // Add a team as a cluster maintainer\n    var teamMaintainer = new Buildkite.Cluster.ClusterMaintainer(\"team_maintainer\", new()\n    {\n        ClusterUuid = primary.Uuid,\n        TeamUuid = \"01234567-89ab-cdef-0123-456789abcdef\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Add a user as a cluster maintainer\n\t\t_, err := cluster.NewClusterMaintainer(ctx, \"user_maintainer\", \u0026cluster.ClusterMaintainerArgs{\n\t\t\tClusterUuid: pulumi.Any(primary.Uuid),\n\t\t\tUserUuid:    pulumi.String(\"01234567-89ab-cdef-0123-456789abcdef\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a team as a cluster maintainer\n\t\t_, err = cluster.NewClusterMaintainer(ctx, \"team_maintainer\", \u0026cluster.ClusterMaintainerArgs{\n\t\t\tClusterUuid: pulumi.Any(primary.Uuid),\n\t\t\tTeamUuid:    pulumi.String(\"01234567-89ab-cdef-0123-456789abcdef\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.ClusterMaintainer;\nimport com.pulumi.buildkite.Cluster.ClusterMaintainerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // Add a user as a cluster maintainer\n        var userMaintainer = new ClusterMaintainer(\"userMaintainer\", ClusterMaintainerArgs.builder()\n            .clusterUuid(primary.uuid())\n            .userUuid(\"01234567-89ab-cdef-0123-456789abcdef\")\n            .build());\n\n        // Add a team as a cluster maintainer\n        var teamMaintainer = new ClusterMaintainer(\"teamMaintainer\", ClusterMaintainerArgs.builder()\n            .clusterUuid(primary.uuid())\n            .teamUuid(\"01234567-89ab-cdef-0123-456789abcdef\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # Add a user as a cluster maintainer\n  userMaintainer:\n    type: buildkite:Cluster:ClusterMaintainer\n    name: user_maintainer\n    properties:\n      clusterUuid: ${primary.uuid}\n      userUuid: 01234567-89ab-cdef-0123-456789abcdef\n  # Add a team as a cluster maintainer\n  teamMaintainer:\n    type: buildkite:Cluster:ClusterMaintainer\n    name: team_maintainer\n    properties:\n      clusterUuid: ${primary.uuid}\n      teamUuid: 01234567-89ab-cdef-0123-456789abcdef\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nImport a cluster maintainer using {cluster_uuid}/{permission_uuid}\n\nYou can find the cluster_uuid and the permission_uuid\n\nfrom the maintainers list using the cluster data source or REST\n\nAPI response from:\n\nGET /v2/organizations/{org_slug}/clusters/{cluster_uuid}/maintainers\n\n```sh\n$ pulumi import buildkite:Cluster/clusterMaintainer:ClusterMaintainer user_maintainer 01234567-89ab-cdef-0123-456789abcdef/977b68d3-f8fe-4784-8d43-5bc857e10541\n```\n\n","properties":{"actorEmail":{"type":"string","description":"The email of the actor (only for users).\n"},"actorName":{"type":"string","description":"The name of the actor.\n"},"actorSlug":{"type":"string","description":"The slug of the actor (only for teams).\n"},"actorType":{"type":"string","description":"The type of the actor (user or team).\n"},"actorUuid":{"type":"string","description":"The UUID of the actor (user or team) that is the maintainer.\n"},"clusterUuid":{"type":"string","description":"The UUID of the cluster.\n"},"teamUuid":{"type":"string","description":"The UUID of the team to add as a maintainer. This is mutually exclusive with user*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"},"userUuid":{"type":"string","description":"The UUID of the user to add as a maintainer. This is mutually exclusive with team*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"}},"required":["actorEmail","actorName","actorSlug","actorType","actorUuid","clusterUuid"],"inputProperties":{"clusterUuid":{"type":"string","description":"The UUID of the cluster.\n"},"teamUuid":{"type":"string","description":"The UUID of the team to add as a maintainer. This is mutually exclusive with user*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"},"userUuid":{"type":"string","description":"The UUID of the user to add as a maintainer. This is mutually exclusive with team*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"}},"requiredInputs":["clusterUuid"],"stateInputs":{"description":"Input properties used for looking up and filtering ClusterMaintainer resources.\n","properties":{"actorEmail":{"type":"string","description":"The email of the actor (only for users).\n"},"actorName":{"type":"string","description":"The name of the actor.\n"},"actorSlug":{"type":"string","description":"The slug of the actor (only for teams).\n"},"actorType":{"type":"string","description":"The type of the actor (user or team).\n"},"actorUuid":{"type":"string","description":"The UUID of the actor (user or team) that is the maintainer.\n"},"clusterUuid":{"type":"string","description":"The UUID of the cluster.\n"},"teamUuid":{"type":"string","description":"The UUID of the team to add as a maintainer. This is mutually exclusive with user*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"},"userUuid":{"type":"string","description":"The UUID of the user to add as a maintainer. This is mutually exclusive with team*uuid.\nOnly one of user*uuid or\u003cspan pulumi-lang-nodejs=\" teamUuid \" pulumi-lang-dotnet=\" TeamUuid \" pulumi-lang-go=\" teamUuid \" pulumi-lang-python=\" team_uuid \" pulumi-lang-yaml=\" teamUuid \" pulumi-lang-java=\" teamUuid \"\u003e team_uuid \u003c/span\u003ecan be specified.\n"}},"type":"object"}},"buildkite:Cluster/clusterQueue:ClusterQueue":{"description":"A Cluster Queue is a queue belonging to a specific Cluster for its Agents to target builds on.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a cluster\nconst primary = new buildkite.cluster.Cluster(\"primary\", {\n    name: \"Primary cluster\",\n    description: \"Runs the monolith build and deploy\",\n    emoji: \"🚀\",\n    color: \"#bada55\",\n});\nconst monolith = new buildkite.pipeline.Pipeline(\"monolith\", {\n    name: \"Monolith\",\n    repository: \"https://github.com/...\",\n    clusterId: primary.id,\n});\n// create a queue to put pipeline builds in\nconst _default = new buildkite.cluster.ClusterQueue(\"default\", {\n    clusterId: primary.id,\n    key: \"default\",\n    dispatchPaused: true,\n});\n// create a hosted agent queue with macos agents\nconst hostedAgentsMacos = new buildkite.cluster.ClusterQueue(\"hosted_agents_macos\", {\n    clusterId: primary.id,\n    key: \"hosted-agents-macos\",\n    dispatchPaused: true,\n    hostedAgents: {\n        instanceShape: \"MACOS_ARM64_M4_6X28\",\n    },\n});\n// create a hosted agent queue with linux agents\nconst hostedAgentsLinux = new buildkite.cluster.ClusterQueue(\"hosted_agents_linux\", {\n    clusterId: primary.id,\n    key: \"hosted-agents-linux\",\n    dispatchPaused: true,\n    hostedAgents: {\n        instanceShape: \"LINUX_AMD64_2X4\",\n        linux: {\n            agentImageRef: \"ubuntu:24.04\",\n        },\n    },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a cluster\nprimary = buildkite.cluster.Cluster(\"primary\",\n    name=\"Primary cluster\",\n    description=\"Runs the monolith build and deploy\",\n    emoji=\"🚀\",\n    color=\"#bada55\")\nmonolith = buildkite.pipeline.Pipeline(\"monolith\",\n    name=\"Monolith\",\n    repository=\"https://github.com/...\",\n    cluster_id=primary.id)\n# create a queue to put pipeline builds in\ndefault = buildkite.cluster.ClusterQueue(\"default\",\n    cluster_id=primary.id,\n    key=\"default\",\n    dispatch_paused=True)\n# create a hosted agent queue with macos agents\nhosted_agents_macos = buildkite.cluster.ClusterQueue(\"hosted_agents_macos\",\n    cluster_id=primary.id,\n    key=\"hosted-agents-macos\",\n    dispatch_paused=True,\n    hosted_agents={\n        \"instance_shape\": \"MACOS_ARM64_M4_6X28\",\n    })\n# create a hosted agent queue with linux agents\nhosted_agents_linux = buildkite.cluster.ClusterQueue(\"hosted_agents_linux\",\n    cluster_id=primary.id,\n    key=\"hosted-agents-linux\",\n    dispatch_paused=True,\n    hosted_agents={\n        \"instance_shape\": \"LINUX_AMD64_2X4\",\n        \"linux\": {\n            \"agent_image_ref\": \"ubuntu:24.04\",\n        },\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a cluster\n    var primary = new Buildkite.Cluster.Cluster(\"primary\", new()\n    {\n        Name = \"Primary cluster\",\n        Description = \"Runs the monolith build and deploy\",\n        Emoji = \"🚀\",\n        Color = \"#bada55\",\n    });\n\n    var monolith = new Buildkite.Pipeline.Pipeline(\"monolith\", new()\n    {\n        Name = \"Monolith\",\n        Repository = \"https://github.com/...\",\n        ClusterId = primary.Id,\n    });\n\n    // create a queue to put pipeline builds in\n    var @default = new Buildkite.Cluster.ClusterQueue(\"default\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"default\",\n        DispatchPaused = true,\n    });\n\n    // create a hosted agent queue with macos agents\n    var hostedAgentsMacos = new Buildkite.Cluster.ClusterQueue(\"hosted_agents_macos\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"hosted-agents-macos\",\n        DispatchPaused = true,\n        HostedAgents = new Buildkite.Cluster.Inputs.ClusterQueueHostedAgentsArgs\n        {\n            InstanceShape = \"MACOS_ARM64_M4_6X28\",\n        },\n    });\n\n    // create a hosted agent queue with linux agents\n    var hostedAgentsLinux = new Buildkite.Cluster.ClusterQueue(\"hosted_agents_linux\", new()\n    {\n        ClusterId = primary.Id,\n        Key = \"hosted-agents-linux\",\n        DispatchPaused = true,\n        HostedAgents = new Buildkite.Cluster.Inputs.ClusterQueueHostedAgentsArgs\n        {\n            InstanceShape = \"LINUX_AMD64_2X4\",\n            Linux = new Buildkite.Cluster.Inputs.ClusterQueueHostedAgentsLinuxArgs\n            {\n                AgentImageRef = \"ubuntu:24.04\",\n            },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a cluster\n\t\tprimary, err := cluster.NewCluster(ctx, \"primary\", \u0026cluster.ClusterArgs{\n\t\t\tName:        pulumi.String(\"Primary cluster\"),\n\t\t\tDescription: pulumi.String(\"Runs the monolith build and deploy\"),\n\t\t\tEmoji:       pulumi.String(\"🚀\"),\n\t\t\tColor:       pulumi.String(\"#bada55\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pipeline.NewPipeline(ctx, \"monolith\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"Monolith\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/...\"),\n\t\t\tClusterId:  primary.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create a queue to put pipeline builds in\n\t\t_, err = cluster.NewClusterQueue(ctx, \"default\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId:      primary.ID(),\n\t\t\tKey:            pulumi.String(\"default\"),\n\t\t\tDispatchPaused: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create a hosted agent queue with macos agents\n\t\t_, err = cluster.NewClusterQueue(ctx, \"hosted_agents_macos\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId:      primary.ID(),\n\t\t\tKey:            pulumi.String(\"hosted-agents-macos\"),\n\t\t\tDispatchPaused: pulumi.Bool(true),\n\t\t\tHostedAgents: \u0026cluster.ClusterQueueHostedAgentsArgs{\n\t\t\t\tInstanceShape: pulumi.String(\"MACOS_ARM64_M4_6X28\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create a hosted agent queue with linux agents\n\t\t_, err = cluster.NewClusterQueue(ctx, \"hosted_agents_linux\", \u0026cluster.ClusterQueueArgs{\n\t\t\tClusterId:      primary.ID(),\n\t\t\tKey:            pulumi.String(\"hosted-agents-linux\"),\n\t\t\tDispatchPaused: pulumi.Bool(true),\n\t\t\tHostedAgents: \u0026cluster.ClusterQueueHostedAgentsArgs{\n\t\t\t\tInstanceShape: pulumi.String(\"LINUX_AMD64_2X4\"),\n\t\t\t\tLinux: \u0026cluster.ClusterQueueHostedAgentsLinuxArgs{\n\t\t\t\t\tAgentImageRef: pulumi.String(\"ubuntu:24.04\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.Cluster;\nimport com.pulumi.buildkite.Cluster.ClusterArgs;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport com.pulumi.buildkite.Cluster.ClusterQueue;\nimport com.pulumi.buildkite.Cluster.ClusterQueueArgs;\nimport com.pulumi.buildkite.Cluster.inputs.ClusterQueueHostedAgentsArgs;\nimport com.pulumi.buildkite.Cluster.inputs.ClusterQueueHostedAgentsLinuxArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a cluster\n        var primary = new Cluster(\"primary\", ClusterArgs.builder()\n            .name(\"Primary cluster\")\n            .description(\"Runs the monolith build and deploy\")\n            .emoji(\"🚀\")\n            .color(\"#bada55\")\n            .build());\n\n        var monolith = new Pipeline(\"monolith\", PipelineArgs.builder()\n            .name(\"Monolith\")\n            .repository(\"https://github.com/...\")\n            .clusterId(primary.id())\n            .build());\n\n        // create a queue to put pipeline builds in\n        var default_ = new ClusterQueue(\"default\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"default\")\n            .dispatchPaused(true)\n            .build());\n\n        // create a hosted agent queue with macos agents\n        var hostedAgentsMacos = new ClusterQueue(\"hostedAgentsMacos\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"hosted-agents-macos\")\n            .dispatchPaused(true)\n            .hostedAgents(ClusterQueueHostedAgentsArgs.builder()\n                .instanceShape(\"MACOS_ARM64_M4_6X28\")\n                .build())\n            .build());\n\n        // create a hosted agent queue with linux agents\n        var hostedAgentsLinux = new ClusterQueue(\"hostedAgentsLinux\", ClusterQueueArgs.builder()\n            .clusterId(primary.id())\n            .key(\"hosted-agents-linux\")\n            .dispatchPaused(true)\n            .hostedAgents(ClusterQueueHostedAgentsArgs.builder()\n                .instanceShape(\"LINUX_AMD64_2X4\")\n                .linux(ClusterQueueHostedAgentsLinuxArgs.builder()\n                    .agentImageRef(\"ubuntu:24.04\")\n                    .build())\n                .build())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a cluster\n  primary:\n    type: buildkite:Cluster:Cluster\n    properties:\n      name: Primary cluster\n      description: Runs the monolith build and deploy\n      emoji: \"\\U0001F680\"\n      color: '#bada55'\n  monolith:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: Monolith\n      repository: https://github.com/...\n      clusterId: ${primary.id}\n  # create a queue to put pipeline builds in\n  default:\n    type: buildkite:Cluster:ClusterQueue\n    properties:\n      clusterId: ${primary.id}\n      key: default\n      dispatchPaused: true\n  # create a hosted agent queue with macos agents\n  hostedAgentsMacos:\n    type: buildkite:Cluster:ClusterQueue\n    name: hosted_agents_macos\n    properties:\n      clusterId: ${primary.id}\n      key: hosted-agents-macos\n      dispatchPaused: true\n      hostedAgents:\n        instanceShape: MACOS_ARM64_M4_6X28\n  # create a hosted agent queue with linux agents\n  hostedAgentsLinux:\n    type: buildkite:Cluster:ClusterQueue\n    name: hosted_agents_linux\n    properties:\n      clusterId: ${primary.id}\n      key: hosted-agents-linux\n      dispatchPaused: true\n      hostedAgents:\n        instanceShape: LINUX_AMD64_2X4\n        linux:\n          agentImageRef: ubuntu:24.04\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a cluster queue resource using the GraphQL ID along with its respective cluster UUID\n\nyou can use this query to find the ID:\n\nquery getClusterQueues {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    cluster(id: \"CLUSTER_UUID\") {\n\n      queues(first: 50) {\n\n        edges {\n\n          node {\n\n            id\n\n            key\n\n          }\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Cluster/clusterQueue:ClusterQueue test Q2x1c3RlclF1ZXVlLS0tYjJiOGRhNTEtOWY5My00Y2MyLTkyMjktMGRiNzg3ZDQzOTAz,35498aaf-ad05-4fa5-9a07-91bf6cacd2bd\n```\n\n","properties":{"clusterId":{"type":"string","description":"The ID of the cluster that this cluster queue belongs to."},"clusterUuid":{"type":"string","description":"The UUID of the cluster this queue belongs to."},"description":{"type":"string","description":"A description for the cluster queue."},"dispatchPaused":{"type":"boolean","description":"The dispatch state of a cluster queue."},"hostedAgents":{"$ref":"#/types/buildkite:Cluster/ClusterQueueHostedAgents:ClusterQueueHostedAgents","description":"Control the settings for the Buildkite hosted agents."},"key":{"type":"string","description":"The key of the cluster queue."},"retryAgentAffinity":{"type":"string","description":"Specifies which agent should be preferred when a job is retried. Valid values are `prefer-warmest` (prefer agents that have recently finished jobs) and `prefer-different` (prefer a different agent if available). Defaults to `prefer-warmest`."},"uuid":{"type":"string","description":"The UUID of the cluster queue."}},"required":["clusterId","clusterUuid","dispatchPaused","key","retryAgentAffinity","uuid"],"inputProperties":{"clusterId":{"type":"string","description":"The ID of the cluster that this cluster queue belongs to."},"description":{"type":"string","description":"A description for the cluster queue."},"dispatchPaused":{"type":"boolean","description":"The dispatch state of a cluster queue."},"hostedAgents":{"$ref":"#/types/buildkite:Cluster/ClusterQueueHostedAgents:ClusterQueueHostedAgents","description":"Control the settings for the Buildkite hosted agents."},"key":{"type":"string","description":"The key of the cluster queue."},"retryAgentAffinity":{"type":"string","description":"Specifies which agent should be preferred when a job is retried. Valid values are `prefer-warmest` (prefer agents that have recently finished jobs) and `prefer-different` (prefer a different agent if available). Defaults to `prefer-warmest`."}},"requiredInputs":["clusterId","key"],"stateInputs":{"description":"Input properties used for looking up and filtering ClusterQueue resources.\n","properties":{"clusterId":{"type":"string","description":"The ID of the cluster that this cluster queue belongs to."},"clusterUuid":{"type":"string","description":"The UUID of the cluster this queue belongs to."},"description":{"type":"string","description":"A description for the cluster queue."},"dispatchPaused":{"type":"boolean","description":"The dispatch state of a cluster queue."},"hostedAgents":{"$ref":"#/types/buildkite:Cluster/ClusterQueueHostedAgents:ClusterQueueHostedAgents","description":"Control the settings for the Buildkite hosted agents."},"key":{"type":"string","description":"The key of the cluster queue."},"retryAgentAffinity":{"type":"string","description":"Specifies which agent should be preferred when a job is retried. Valid values are `prefer-warmest` (prefer agents that have recently finished jobs) and `prefer-different` (prefer a different agent if available). Defaults to `prefer-warmest`."},"uuid":{"type":"string","description":"The UUID of the cluster queue."}},"type":"object"}},"buildkite:Cluster/clusterSecret:ClusterSecret":{"description":"## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst example = new buildkite.cluster.ClusterSecret(\"example\", {\n    clusterId: \"01234567-89ab-cdef-0123-456789abcdef\",\n    key: \"DATABASE_PASSWORD\",\n    value: \"super-secret-password\",\n    description: \"Production database password\",\n    policy: `- pipeline_slug: my-pipeline\n  build_branch: main\n`,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\nexample = buildkite.cluster.ClusterSecret(\"example\",\n    cluster_id=\"01234567-89ab-cdef-0123-456789abcdef\",\n    key=\"DATABASE_PASSWORD\",\n    value=\"super-secret-password\",\n    description=\"Production database password\",\n    policy=\"\"\"- pipeline_slug: my-pipeline\n  build_branch: main\n\"\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var example = new Buildkite.Cluster.ClusterSecret(\"example\", new()\n    {\n        ClusterId = \"01234567-89ab-cdef-0123-456789abcdef\",\n        Key = \"DATABASE_PASSWORD\",\n        Value = \"super-secret-password\",\n        Description = \"Production database password\",\n        Policy = @\"- pipeline_slug: my-pipeline\n  build_branch: main\n\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cluster.NewClusterSecret(ctx, \"example\", \u0026cluster.ClusterSecretArgs{\n\t\t\tClusterId:   pulumi.String(\"01234567-89ab-cdef-0123-456789abcdef\"),\n\t\t\tKey:         pulumi.String(\"DATABASE_PASSWORD\"),\n\t\t\tValue:       pulumi.String(\"super-secret-password\"),\n\t\t\tDescription: pulumi.String(\"Production database password\"),\n\t\t\tPolicy:      pulumi.String(\"- pipeline_slug: my-pipeline\\n  build_branch: main\\n\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.ClusterSecret;\nimport com.pulumi.buildkite.Cluster.ClusterSecretArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var example = new ClusterSecret(\"example\", ClusterSecretArgs.builder()\n            .clusterId(\"01234567-89ab-cdef-0123-456789abcdef\")\n            .key(\"DATABASE_PASSWORD\")\n            .value(\"super-secret-password\")\n            .description(\"Production database password\")\n            .policy(\"\"\"\n- pipeline_slug: my-pipeline\n  build_branch: main\n            \"\"\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  example:\n    type: buildkite:Cluster:ClusterSecret\n    properties:\n      clusterId: 01234567-89ab-cdef-0123-456789abcdef\n      key: DATABASE_PASSWORD\n      value: super-secret-password\n      description: Production database password\n      policy: |\n        - pipeline_slug: my-pipeline\n          build_branch: main\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nImport a cluster secret using {cluster_id}/{secret_id}\n\nYou can find the cluster_id under cluster settings in the UI\n\nand find the secret_id from the secrets list using the\n\nREST API response from:\n\nGET /v2/organizations/{org_slug}/clusters/{cluster_id}/secrets\n\n```sh\n$ pulumi import buildkite:Cluster/clusterSecret:ClusterSecret example 01234567-89ab-cdef-0123-456789abcdef/fedcba98-7654-3210-fedc-ba9876543210\n```\n\n","properties":{"clusterId":{"type":"string","description":"The UUID of the cluster this secret belongs to.\n"},"createdAt":{"type":"string","description":"The time when the secret was created.\n"},"description":{"type":"string","description":"A description of what this secret is for.\n"},"key":{"type":"string","description":"The key name for the secret. Must start with a letter and only contain letters, numbers, and underscores. Maximum 255 characters.\n"},"policy":{"type":"string","description":"YAML access policy defining which pipelines and branches can access this secret.\n"},"updatedAt":{"type":"string","description":"The time when the secret was last updated.\n"},"value":{"type":"string","description":"The secret value. Must be less than 8KB.\n","secret":true}},"required":["clusterId","createdAt","key","updatedAt","value"],"inputProperties":{"clusterId":{"type":"string","description":"The UUID of the cluster this secret belongs to.\n"},"description":{"type":"string","description":"A description of what this secret is for.\n"},"key":{"type":"string","description":"The key name for the secret. Must start with a letter and only contain letters, numbers, and underscores. Maximum 255 characters.\n"},"policy":{"type":"string","description":"YAML access policy defining which pipelines and branches can access this secret.\n"},"value":{"type":"string","description":"The secret value. Must be less than 8KB.\n","secret":true}},"requiredInputs":["clusterId","key","value"],"stateInputs":{"description":"Input properties used for looking up and filtering ClusterSecret resources.\n","properties":{"clusterId":{"type":"string","description":"The UUID of the cluster this secret belongs to.\n"},"createdAt":{"type":"string","description":"The time when the secret was created.\n"},"description":{"type":"string","description":"A description of what this secret is for.\n"},"key":{"type":"string","description":"The key name for the secret. Must start with a letter and only contain letters, numbers, and underscores. Maximum 255 characters.\n"},"policy":{"type":"string","description":"YAML access policy defining which pipelines and branches can access this secret.\n"},"updatedAt":{"type":"string","description":"The time when the secret was last updated.\n"},"value":{"type":"string","description":"The secret value. Must be less than 8KB.\n","secret":true}},"type":"object"}},"buildkite:Organization/banner:Banner":{"description":"This resource allows you to create and manage banners for specific organizations, displayed to all members at the top of each page in Buildkite's UI.\n\nMore information on organization/system banners can be found in the [documentation](https://buildkite.com/docs/team-management/system-banners).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst banner = new buildkite.organization.Banner(\"banner\", {message: \":warning: Please be aware of the maintenance window this weekend!\"});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\nbanner = buildkite.organization.Banner(\"banner\", message=\":warning: Please be aware of the maintenance window this weekend!\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var banner = new Buildkite.Organization.Banner(\"banner\", new()\n    {\n        Message = \":warning: Please be aware of the maintenance window this weekend!\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := organization.NewBanner(ctx, \"banner\", \u0026organization.BannerArgs{\n\t\t\tMessage: pulumi.String(\":warning: Please be aware of the maintenance window this weekend!\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.Banner;\nimport com.pulumi.buildkite.Organization.BannerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var banner = new Banner(\"banner\", BannerArgs.builder()\n            .message(\":warning: Please be aware of the maintenance window this weekend!\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  banner:\n    type: buildkite:Organization:Banner\n    properties:\n      message: ':warning: Please be aware of the maintenance window this weekend!'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport an organization banner resource using the banner's GraphQL ID\n\nyou can use this query to find the banner's ID:\n\nquery getOrganizationBannerId {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    banners(first: 1) {\n\n      edges {\n\n        node {\n\n          id\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Organization/banner:Banner banner T3JnYW5pemF0aW9uQmFubmVyLS0tNjZlMmE5YzktM2IzMy00OGE5LTk1NjItMzY2YzMwNzYzN2Uz\n```\n\n","properties":{"message":{"type":"string","description":"The organization banner's message.\n"},"uuid":{"type":"string","description":"The UUID of the organization banner.\n"}},"required":["message","uuid"],"inputProperties":{"message":{"type":"string","description":"The organization banner's message.\n"}},"requiredInputs":["message"],"stateInputs":{"description":"Input properties used for looking up and filtering Banner resources.\n","properties":{"message":{"type":"string","description":"The organization banner's message.\n"},"uuid":{"type":"string","description":"The UUID of the organization banner.\n"}},"type":"object"}},"buildkite:Organization/organization:Organization":{"description":"This resource allows you to manage the settings for an organization.\n\nThe user of your API token must be an organization administrator to manage organization settings.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// allow api access only from 1.1.1.1 and enforce 2fa for all members\nconst settings = new buildkite.organization.Organization(\"settings\", {\n    allowedApiIpAddresses: [\"1.1.1.1/32\"],\n    enforce2fa: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# allow api access only from 1.1.1.1 and enforce 2fa for all members\nsettings = buildkite.organization.Organization(\"settings\",\n    allowed_api_ip_addresses=[\"1.1.1.1/32\"],\n    enforce2fa=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // allow api access only from 1.1.1.1 and enforce 2fa for all members\n    var settings = new Buildkite.Organization.Organization(\"settings\", new()\n    {\n        AllowedApiIpAddresses = new[]\n        {\n            \"1.1.1.1/32\",\n        },\n        Enforce2fa = true,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// allow api access only from 1.1.1.1 and enforce 2fa for all members\n\t\t_, err := organization.NewOrganization(ctx, \"settings\", \u0026organization.OrganizationArgs{\n\t\t\tAllowedApiIpAddresses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1.1.1.1/32\"),\n\t\t\t},\n\t\t\tEnforce2fa: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.Organization;\nimport com.pulumi.buildkite.Organization.OrganizationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // allow api access only from 1.1.1.1 and enforce 2fa for all members\n        var settings = new Organization(\"settings\", OrganizationArgs.builder()\n            .allowedApiIpAddresses(\"1.1.1.1/32\")\n            .enforce2fa(true)\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # allow api access only from 1.1.1.1 and enforce 2fa for all members\n  settings:\n    type: buildkite:Organization:Organization\n    properties:\n      allowedApiIpAddresses:\n        - 1.1.1.1/32\n      enforce2fa: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `organization-slug`. For example:\n\nimport the organization settings via the organization slug\n\n```sh\n$ pulumi import buildkite:Organization/organization:Organization settings my-buildkite-organization\n```\n\n","properties":{"allowedApiIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of IP addresses in CIDR format that are allowed to access the Buildkite API.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"enforce2fa":{"type":"boolean","description":"Sets whether the organization requires two-factor authentication for all members."},"uuid":{"type":"string","description":"The UUID of the organization."}},"required":["enforce2fa","uuid"],"inputProperties":{"allowedApiIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of IP addresses in CIDR format that are allowed to access the Buildkite API.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"enforce2fa":{"type":"boolean","description":"Sets whether the organization requires two-factor authentication for all members."}},"stateInputs":{"description":"Input properties used for looking up and filtering Organization resources.\n","properties":{"allowedApiIpAddresses":{"type":"array","items":{"type":"string"},"description":"A list of IP addresses in CIDR format that are allowed to access the Buildkite API.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).\n"},"enforce2fa":{"type":"boolean","description":"Sets whether the organization requires two-factor authentication for all members."},"uuid":{"type":"string","description":"The UUID of the organization."}},"type":"object"}},"buildkite:Organization/portal:Portal":{"description":"This resource allows you to manage portals in Buildkite. Portals allow you to expose GraphQL queries\nthat can be invoked via a REST API endpoint. Find out more information in our\n[documentation](https://buildkite.com/docs/apis/portals).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// minimal portal\nconst viewer = new buildkite.organization.Portal(\"viewer\", {\n    slug: \"viewer-info\",\n    name: \"Viewer Information\",\n    query: \"{ viewer { user { name email } } }\",\n});\n// portal with all optional fields\nconst restricted = new buildkite.organization.Portal(\"restricted\", {\n    slug: \"restricted-portal\",\n    name: \"Restricted Portal\",\n    description: \"Portal with IP restrictions and custom settings\",\n    query: \"{ viewer { user { name email avatar { url } } } }\",\n    userInvokable: true,\n    allowedIpAddresses: \"192.168.1.0/24 10.0.0.0/8\",\n});\n// portal with complex GraphQL query\nconst pipelineStats = new buildkite.organization.Portal(\"pipeline_stats\", {\n    slug: \"pipeline-statistics\",\n    name: \"Pipeline Statistics\",\n    description: \"Returns statistics for organization pipelines\",\n    query: `{\n  organization(slug: \\\\\"my-org\\\\\") {\n    pipelines(first: 10) {\n      edges {\n        node {\n          name\n          slug\n          builds(first: 5) {\n            edges {\n              node {\n                number\n                state\n                createdAt\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n`,\n    userInvokable: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# minimal portal\nviewer = buildkite.organization.Portal(\"viewer\",\n    slug=\"viewer-info\",\n    name=\"Viewer Information\",\n    query=\"{ viewer { user { name email } } }\")\n# portal with all optional fields\nrestricted = buildkite.organization.Portal(\"restricted\",\n    slug=\"restricted-portal\",\n    name=\"Restricted Portal\",\n    description=\"Portal with IP restrictions and custom settings\",\n    query=\"{ viewer { user { name email avatar { url } } } }\",\n    user_invokable=True,\n    allowed_ip_addresses=\"192.168.1.0/24 10.0.0.0/8\")\n# portal with complex GraphQL query\npipeline_stats = buildkite.organization.Portal(\"pipeline_stats\",\n    slug=\"pipeline-statistics\",\n    name=\"Pipeline Statistics\",\n    description=\"Returns statistics for organization pipelines\",\n    query=\"\"\"{\n  organization(slug: \\\"my-org\\\") {\n    pipelines(first: 10) {\n      edges {\n        node {\n          name\n          slug\n          builds(first: 5) {\n            edges {\n              node {\n                number\n                state\n                createdAt\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\"\"\",\n    user_invokable=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // minimal portal\n    var viewer = new Buildkite.Organization.Portal(\"viewer\", new()\n    {\n        Slug = \"viewer-info\",\n        Name = \"Viewer Information\",\n        Query = \"{ viewer { user { name email } } }\",\n    });\n\n    // portal with all optional fields\n    var restricted = new Buildkite.Organization.Portal(\"restricted\", new()\n    {\n        Slug = \"restricted-portal\",\n        Name = \"Restricted Portal\",\n        Description = \"Portal with IP restrictions and custom settings\",\n        Query = \"{ viewer { user { name email avatar { url } } } }\",\n        UserInvokable = true,\n        AllowedIpAddresses = \"192.168.1.0/24 10.0.0.0/8\",\n    });\n\n    // portal with complex GraphQL query\n    var pipelineStats = new Buildkite.Organization.Portal(\"pipeline_stats\", new()\n    {\n        Slug = \"pipeline-statistics\",\n        Name = \"Pipeline Statistics\",\n        Description = \"Returns statistics for organization pipelines\",\n        Query = @\"{\n  organization(slug: \\\"\"my-org\\\"\") {\n    pipelines(first: 10) {\n      edges {\n        node {\n          name\n          slug\n          builds(first: 5) {\n            edges {\n              node {\n                number\n                state\n                createdAt\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\",\n        UserInvokable = false,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// minimal portal\n\t\t_, err := organization.NewPortal(ctx, \"viewer\", \u0026organization.PortalArgs{\n\t\t\tSlug:  pulumi.String(\"viewer-info\"),\n\t\t\tName:  pulumi.String(\"Viewer Information\"),\n\t\t\tQuery: pulumi.String(\"{ viewer { user { name email } } }\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// portal with all optional fields\n\t\t_, err = organization.NewPortal(ctx, \"restricted\", \u0026organization.PortalArgs{\n\t\t\tSlug:               pulumi.String(\"restricted-portal\"),\n\t\t\tName:               pulumi.String(\"Restricted Portal\"),\n\t\t\tDescription:        pulumi.String(\"Portal with IP restrictions and custom settings\"),\n\t\t\tQuery:              pulumi.String(\"{ viewer { user { name email avatar { url } } } }\"),\n\t\t\tUserInvokable:      pulumi.Bool(true),\n\t\t\tAllowedIpAddresses: pulumi.String(\"192.168.1.0/24 10.0.0.0/8\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// portal with complex GraphQL query\n\t\t_, err = organization.NewPortal(ctx, \"pipeline_stats\", \u0026organization.PortalArgs{\n\t\t\tSlug:        pulumi.String(\"pipeline-statistics\"),\n\t\t\tName:        pulumi.String(\"Pipeline Statistics\"),\n\t\t\tDescription: pulumi.String(\"Returns statistics for organization pipelines\"),\n\t\t\tQuery: pulumi.String(`{\n  organization(slug: \\\"my-org\\\") {\n    pipelines(first: 10) {\n      edges {\n        node {\n          name\n          slug\n          builds(first: 5) {\n            edges {\n              node {\n                number\n                state\n                createdAt\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n`),\n\t\t\tUserInvokable: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.Portal;\nimport com.pulumi.buildkite.Organization.PortalArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // minimal portal\n        var viewer = new Portal(\"viewer\", PortalArgs.builder()\n            .slug(\"viewer-info\")\n            .name(\"Viewer Information\")\n            .query(\"{ viewer { user { name email } } }\")\n            .build());\n\n        // portal with all optional fields\n        var restricted = new Portal(\"restricted\", PortalArgs.builder()\n            .slug(\"restricted-portal\")\n            .name(\"Restricted Portal\")\n            .description(\"Portal with IP restrictions and custom settings\")\n            .query(\"{ viewer { user { name email avatar { url } } } }\")\n            .userInvokable(true)\n            .allowedIpAddresses(\"192.168.1.0/24 10.0.0.0/8\")\n            .build());\n\n        // portal with complex GraphQL query\n        var pipelineStats = new Portal(\"pipelineStats\", PortalArgs.builder()\n            .slug(\"pipeline-statistics\")\n            .name(\"Pipeline Statistics\")\n            .description(\"Returns statistics for organization pipelines\")\n            .query(\"\"\"\n{\n  organization(slug: \\\"my-org\\\") {\n    pipelines(first: 10) {\n      edges {\n        node {\n          name\n          slug\n          builds(first: 5) {\n            edges {\n              node {\n                number\n                state\n                createdAt\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n            \"\"\")\n            .userInvokable(false)\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # minimal portal\n  viewer:\n    type: buildkite:Organization:Portal\n    properties:\n      slug: viewer-info\n      name: Viewer Information\n      query: '{ viewer { user { name email } } }'\n  # portal with all optional fields\n  restricted:\n    type: buildkite:Organization:Portal\n    properties:\n      slug: restricted-portal\n      name: Restricted Portal\n      description: Portal with IP restrictions and custom settings\n      query: '{ viewer { user { name email avatar { url } } } }'\n      userInvokable: true\n      allowedIpAddresses: 192.168.1.0/24 10.0.0.0/8\n  # portal with complex GraphQL query\n  pipelineStats:\n    type: buildkite:Organization:Portal\n    name: pipeline_stats\n    properties:\n      slug: pipeline-statistics\n      name: Pipeline Statistics\n      description: Returns statistics for organization pipelines\n      query: |\n        {\n          organization(slug: \\\"my-org\\\") {\n            pipelines(first: 10) {\n              edges {\n                node {\n                  name\n                  slug\n                  builds(first: 5) {\n                    edges {\n                      node {\n                        number\n                        state\n                        createdAt\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      userInvokable: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a portal resource using the portal slug\n\nyou can find the slug from the Buildkite web UI in the portal's URL:\n\nhttps://buildkite.com/organizations/{org}/portals/{slug}\n\nor by listing all portals via the REST API:\n\nGET https://api.buildkite.com/v2/organizations/{org}/portals\n\n```sh\n$ pulumi import buildkite:Organization/portal:Portal viewer viewer-info\n```\n\n","properties":{"allowedIpAddresses":{"type":"string","description":"Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal. If not specified, all IP addresses are allowed.\n"},"createdAt":{"type":"string","description":"The time when the portal was created.\n"},"createdBy":{"$ref":"#/types/buildkite:Organization/PortalCreatedBy:PortalCreatedBy","description":"Information about the user who created the portal.\n"},"description":{"type":"string","description":"A description of the portal.\n"},"name":{"type":"string","description":"The name of the portal.\n"},"query":{"type":"string","description":"The GraphQL query that the portal executes.\n"},"slug":{"type":"string","description":"The slug of the portal. Used in the portal's URL path.\n"},"token":{"type":"string","description":"The token used to invoke the portal. Only returned on creation.\n","secret":true},"userInvokable":{"type":"boolean","description":"Whether users can invoke the portal. Defaults to false.\n"},"uuid":{"type":"string","description":"The UUID of the portal.\n"}},"required":["createdAt","createdBy","name","query","slug","token","userInvokable","uuid"],"inputProperties":{"allowedIpAddresses":{"type":"string","description":"Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal. If not specified, all IP addresses are allowed.\n"},"description":{"type":"string","description":"A description of the portal.\n"},"name":{"type":"string","description":"The name of the portal.\n"},"query":{"type":"string","description":"The GraphQL query that the portal executes.\n"},"slug":{"type":"string","description":"The slug of the portal. Used in the portal's URL path.\n"},"userInvokable":{"type":"boolean","description":"Whether users can invoke the portal. Defaults to false.\n"}},"requiredInputs":["query","slug"],"stateInputs":{"description":"Input properties used for looking up and filtering Portal resources.\n","properties":{"allowedIpAddresses":{"type":"string","description":"Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal. If not specified, all IP addresses are allowed.\n"},"createdAt":{"type":"string","description":"The time when the portal was created.\n"},"createdBy":{"$ref":"#/types/buildkite:Organization/PortalCreatedBy:PortalCreatedBy","description":"Information about the user who created the portal.\n"},"description":{"type":"string","description":"A description of the portal.\n"},"name":{"type":"string","description":"The name of the portal.\n"},"query":{"type":"string","description":"The GraphQL query that the portal executes.\n"},"slug":{"type":"string","description":"The slug of the portal. Used in the portal's URL path.\n"},"token":{"type":"string","description":"The token used to invoke the portal. Only returned on creation.\n","secret":true},"userInvokable":{"type":"boolean","description":"Whether users can invoke the portal. Defaults to false.\n"},"uuid":{"type":"string","description":"The UUID of the portal.\n"}},"type":"object"}},"buildkite:Organization/registry:Registry":{"description":"This resource allows you to create and manage a Buildkite Registry.\nFind out more information in our [documentation](https://buildkite.com/docs/package-registries).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst example = new buildkite.organization.Registry(\"example\", {\n    name: \"example\",\n    description: \"super cool ruby registry\",\n    ecosystem: \"ruby\",\n    emoji: \":ruby:\",\n    color: \"#ff0000\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\nexample = buildkite.organization.Registry(\"example\",\n    name=\"example\",\n    description=\"super cool ruby registry\",\n    ecosystem=\"ruby\",\n    emoji=\":ruby:\",\n    color=\"#ff0000\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var example = new Buildkite.Organization.Registry(\"example\", new()\n    {\n        Name = \"example\",\n        Description = \"super cool ruby registry\",\n        Ecosystem = \"ruby\",\n        Emoji = \":ruby:\",\n        Color = \"#ff0000\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := organization.NewRegistry(ctx, \"example\", \u0026organization.RegistryArgs{\n\t\t\tName:        pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"super cool ruby registry\"),\n\t\t\tEcosystem:   pulumi.String(\"ruby\"),\n\t\t\tEmoji:       pulumi.String(\":ruby:\"),\n\t\t\tColor:       pulumi.String(\"#ff0000\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.Registry;\nimport com.pulumi.buildkite.Organization.RegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var example = new Registry(\"example\", RegistryArgs.builder()\n            .name(\"example\")\n            .description(\"super cool ruby registry\")\n            .ecosystem(\"ruby\")\n            .emoji(\":ruby:\")\n            .color(\"#ff0000\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  example:\n    type: buildkite:Organization:Registry\n    properties:\n      name: example\n      description: super cool ruby registry\n      ecosystem: ruby\n      emoji: ':ruby:'\n      color: '#ff0000'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","properties":{"color":{"type":"string","description":"A color representation of the registry. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the registry, this may describe the usage for it, the region, or something else\nwhich would help identify the registry's purpose.\n"},"ecosystem":{"type":"string","description":"The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.\n"},"emoji":{"type":"string","description":"An emoji to use with the registry, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the registry. Can only contain numbers and letters, no spaces or special characters.\n"},"oidcPolicy":{"type":"string","description":"The registry's OIDC policy.\n"},"slug":{"type":"string","description":"The slug of the registry.\n"},"teamIds":{"type":"array","items":{"type":"string"},"description":"The team IDs that have access to the registry.\n"},"uuid":{"type":"string","description":"The UUID of the registry.\n"}},"required":["ecosystem","name","slug","uuid"],"inputProperties":{"color":{"type":"string","description":"A color representation of the registry. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the registry, this may describe the usage for it, the region, or something else\nwhich would help identify the registry's purpose.\n"},"ecosystem":{"type":"string","description":"The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.\n"},"emoji":{"type":"string","description":"An emoji to use with the registry, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the registry. Can only contain numbers and letters, no spaces or special characters.\n"},"oidcPolicy":{"type":"string","description":"The registry's OIDC policy.\n"},"teamIds":{"type":"array","items":{"type":"string"},"description":"The team IDs that have access to the registry.\n"}},"requiredInputs":["ecosystem"],"stateInputs":{"description":"Input properties used for looking up and filtering Registry resources.\n","properties":{"color":{"type":"string","description":"A color representation of the registry. Accepts hex codes, eg #BADA55.\n"},"description":{"type":"string","description":"This is a description for the registry, this may describe the usage for it, the region, or something else\nwhich would help identify the registry's purpose.\n"},"ecosystem":{"type":"string","description":"The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.\n"},"emoji":{"type":"string","description":"An emoji to use with the registry, this can either be set using :buildkite: notation, or with the\nemoji itself, such as 🚀.\n"},"name":{"type":"string","description":"The name of the registry. Can only contain numbers and letters, no spaces or special characters.\n"},"oidcPolicy":{"type":"string","description":"The registry's OIDC policy.\n"},"slug":{"type":"string","description":"The slug of the registry.\n"},"teamIds":{"type":"array","items":{"type":"string"},"description":"The team IDs that have access to the registry.\n"},"uuid":{"type":"string","description":"The UUID of the registry.\n"}},"type":"object"}},"buildkite:Organization/rule:Rule":{"description":"\u003e Rules is a feature that is currently in development and enabled on an opt-in basis for early access. To have this enabled for your organization for utilizing this data source, please reach out to Buildkite's Support Team.\n\nAn Organization Rule allows specifying explicit rules between two Buildkite resources and the desired effect/action.\n\nMore information on organization rules can be found in the [documentation](https://buildkite.com/docs/pipelines/rules).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// Creates a TRIGGER_BUILD organization rule with required attributes\nconst triggerBuildTestDev = new buildkite.organization.Rule(\"trigger_build_test_dev\", {\n    type: \"pipeline.trigger_build.pipeline\",\n    value: JSON.stringify({\n        source_pipeline: appDevDeploy.uuid,\n        target_pipeline: appTestCi.uuid,\n    }),\n});\n// Creates a ARTIFACTS_READ organization rule with an optional description\nconst artifactsReadTestDev = new buildkite.organization.Rule(\"artifacts_read_test_dev\", {\n    type: \"pipeline.artifacts_read.pipeline\",\n    description: \"A rule to allow artifact reads by app_test_ci to app_dev_deploy\",\n    value: JSON.stringify({\n        source_pipeline: appTestCi.uuid,\n        target_pipeline: appDevDeploy.uuid,\n    }),\n});\n// Creates a TRIGGER_BUILD organization rule with an optional description and conditions\nconst triggerBuildTestDevCond = new buildkite.organization.Rule(\"trigger_build_test_dev_cond\", {\n    type: \"pipeline.trigger_build.pipeline\",\n    description: \"A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\",\n    value: JSON.stringify({\n        source_pipeline: appDevDeploy.uuid,\n        target_pipeline: appTestCi.uuid,\n        conditions: [\n            \"source.build.creator.teams includes 'deploy'\",\n            \"source.build.branch == 'main'\",\n        ],\n    }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumiverse_buildkite as buildkite\n\n# Creates a TRIGGER_BUILD organization rule with required attributes\ntrigger_build_test_dev = buildkite.organization.Rule(\"trigger_build_test_dev\",\n    type=\"pipeline.trigger_build.pipeline\",\n    value=json.dumps({\n        \"source_pipeline\": app_dev_deploy[\"uuid\"],\n        \"target_pipeline\": app_test_ci[\"uuid\"],\n    }))\n# Creates a ARTIFACTS_READ organization rule with an optional description\nartifacts_read_test_dev = buildkite.organization.Rule(\"artifacts_read_test_dev\",\n    type=\"pipeline.artifacts_read.pipeline\",\n    description=\"A rule to allow artifact reads by app_test_ci to app_dev_deploy\",\n    value=json.dumps({\n        \"source_pipeline\": app_test_ci[\"uuid\"],\n        \"target_pipeline\": app_dev_deploy[\"uuid\"],\n    }))\n# Creates a TRIGGER_BUILD organization rule with an optional description and conditions\ntrigger_build_test_dev_cond = buildkite.organization.Rule(\"trigger_build_test_dev_cond\",\n    type=\"pipeline.trigger_build.pipeline\",\n    description=\"A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\",\n    value=json.dumps({\n        \"source_pipeline\": app_dev_deploy[\"uuid\"],\n        \"target_pipeline\": app_test_ci[\"uuid\"],\n        \"conditions\": [\n            \"source.build.creator.teams includes 'deploy'\",\n            \"source.build.branch == 'main'\",\n        ],\n    }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // Creates a TRIGGER_BUILD organization rule with required attributes\n    var triggerBuildTestDev = new Buildkite.Organization.Rule(\"trigger_build_test_dev\", new()\n    {\n        Type = \"pipeline.trigger_build.pipeline\",\n        Value = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n        {\n            [\"source_pipeline\"] = appDevDeploy.Uuid,\n            [\"target_pipeline\"] = appTestCi.Uuid,\n        }),\n    });\n\n    // Creates a ARTIFACTS_READ organization rule with an optional description\n    var artifactsReadTestDev = new Buildkite.Organization.Rule(\"artifacts_read_test_dev\", new()\n    {\n        Type = \"pipeline.artifacts_read.pipeline\",\n        Description = \"A rule to allow artifact reads by app_test_ci to app_dev_deploy\",\n        Value = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n        {\n            [\"source_pipeline\"] = appTestCi.Uuid,\n            [\"target_pipeline\"] = appDevDeploy.Uuid,\n        }),\n    });\n\n    // Creates a TRIGGER_BUILD organization rule with an optional description and conditions\n    var triggerBuildTestDevCond = new Buildkite.Organization.Rule(\"trigger_build_test_dev_cond\", new()\n    {\n        Type = \"pipeline.trigger_build.pipeline\",\n        Description = \"A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\",\n        Value = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n        {\n            [\"source_pipeline\"] = appDevDeploy.Uuid,\n            [\"target_pipeline\"] = appTestCi.Uuid,\n            [\"conditions\"] = new[]\n            {\n                \"source.build.creator.teams includes 'deploy'\",\n                \"source.build.branch == 'main'\",\n            },\n        }),\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"source_pipeline\": appDevDeploy.Uuid,\n\t\t\t\"target_pipeline\": appTestCi.Uuid,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t// Creates a TRIGGER_BUILD organization rule with required attributes\n\t\t_, err = organization.NewRule(ctx, \"trigger_build_test_dev\", \u0026organization.RuleArgs{\n\t\t\tType:  pulumi.String(\"pipeline.trigger_build.pipeline\"),\n\t\t\tValue: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON1, err := json.Marshal(map[string]interface{}{\n\t\t\t\"source_pipeline\": appTestCi.Uuid,\n\t\t\t\"target_pipeline\": appDevDeploy.Uuid,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson1 := string(tmpJSON1)\n\t\t// Creates a ARTIFACTS_READ organization rule with an optional description\n\t\t_, err = organization.NewRule(ctx, \"artifacts_read_test_dev\", \u0026organization.RuleArgs{\n\t\t\tType:        pulumi.String(\"pipeline.artifacts_read.pipeline\"),\n\t\t\tDescription: pulumi.String(\"A rule to allow artifact reads by app_test_ci to app_dev_deploy\"),\n\t\t\tValue:       pulumi.String(json1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON2, err := json.Marshal(map[string]interface{}{\n\t\t\t\"source_pipeline\": appDevDeploy.Uuid,\n\t\t\t\"target_pipeline\": appTestCi.Uuid,\n\t\t\t\"conditions\": []string{\n\t\t\t\t\"source.build.creator.teams includes 'deploy'\",\n\t\t\t\t\"source.build.branch == 'main'\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson2 := string(tmpJSON2)\n\t\t// Creates a TRIGGER_BUILD organization rule with an optional description and conditions\n\t\t_, err = organization.NewRule(ctx, \"trigger_build_test_dev_cond\", \u0026organization.RuleArgs{\n\t\t\tType:        pulumi.String(\"pipeline.trigger_build.pipeline\"),\n\t\t\tDescription: pulumi.String(\"A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\"),\n\t\t\tValue:       pulumi.String(json2),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.Rule;\nimport com.pulumi.buildkite.Organization.RuleArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // Creates a TRIGGER_BUILD organization rule with required attributes\n        var triggerBuildTestDev = new Rule(\"triggerBuildTestDev\", RuleArgs.builder()\n            .type(\"pipeline.trigger_build.pipeline\")\n            .value(serializeJson(\n                jsonObject(\n                    jsonProperty(\"source_pipeline\", appDevDeploy.uuid()),\n                    jsonProperty(\"target_pipeline\", appTestCi.uuid())\n                )))\n            .build());\n\n        // Creates a ARTIFACTS_READ organization rule with an optional description\n        var artifactsReadTestDev = new Rule(\"artifactsReadTestDev\", RuleArgs.builder()\n            .type(\"pipeline.artifacts_read.pipeline\")\n            .description(\"A rule to allow artifact reads by app_test_ci to app_dev_deploy\")\n            .value(serializeJson(\n                jsonObject(\n                    jsonProperty(\"source_pipeline\", appTestCi.uuid()),\n                    jsonProperty(\"target_pipeline\", appDevDeploy.uuid())\n                )))\n            .build());\n\n        // Creates a TRIGGER_BUILD organization rule with an optional description and conditions\n        var triggerBuildTestDevCond = new Rule(\"triggerBuildTestDevCond\", RuleArgs.builder()\n            .type(\"pipeline.trigger_build.pipeline\")\n            .description(\"A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\")\n            .value(serializeJson(\n                jsonObject(\n                    jsonProperty(\"source_pipeline\", appDevDeploy.uuid()),\n                    jsonProperty(\"target_pipeline\", appTestCi.uuid()),\n                    jsonProperty(\"conditions\", jsonArray(\n                        \"source.build.creator.teams includes 'deploy'\", \n                        \"source.build.branch == 'main'\"\n                    ))\n                )))\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # Creates a TRIGGER_BUILD organization rule with required attributes\n  triggerBuildTestDev:\n    type: buildkite:Organization:Rule\n    name: trigger_build_test_dev\n    properties:\n      type: pipeline.trigger_build.pipeline\n      value:\n        fn::toJSON:\n          source_pipeline: ${appDevDeploy.uuid}\n          target_pipeline: ${appTestCi.uuid}\n  # Creates a ARTIFACTS_READ organization rule with an optional description\n  artifactsReadTestDev:\n    type: buildkite:Organization:Rule\n    name: artifacts_read_test_dev\n    properties:\n      type: pipeline.artifacts_read.pipeline\n      description: A rule to allow artifact reads by app_test_ci to app_dev_deploy\n      value:\n        fn::toJSON:\n          source_pipeline: ${appTestCi.uuid}\n          target_pipeline: ${appDevDeploy.uuid}\n  # Creates a TRIGGER_BUILD organization rule with an optional description and conditions\n  triggerBuildTestDevCond:\n    type: buildkite:Organization:Rule\n    name: trigger_build_test_dev_cond\n    properties:\n      type: pipeline.trigger_build.pipeline\n      description: A rule to allow app_dev_deploy to trigger app_test_ci builds with conditions\n      value:\n        fn::toJSON:\n          source_pipeline: ${appDevDeploy.uuid}\n          target_pipeline: ${appTestCi.uuid}\n          conditions:\n            - source.build.creator.teams includes 'deploy'\n            - source.build.branch == 'main'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport an organization rule resource using the rules GraphQL ID\n\nYou can use this query to find the first 50 organiation rules (adjust for less or more):\n\nquery getOrganizationRules {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    rules(first: 50) {\n\n      edges{\n\n        node{\n\n          id\n\n          sourceType\n\n          targetType\n\n          action\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\nDepending on the speciific source/target, you're also able to filter on the source/target information\n\nquery getOrganizationRules {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    rules(first: 50) {\n\n      edges{\n\n        node{\n\n          id\n\n          sourceType\n\n          source {\n\n            ... on Pipeline{\n\n              uuid\n\n              name\n\n            }            \n\n          }\n\n          targetType\n\n          target {\n\n            ... on Pipeline{\n\n              uuid\n\n              name\n\n            }            \n\n          }\n\n          action\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Organization/rule:Rule artifact_read UnVsZS0tLTAxOTE5NmU2LWNiNjctNzZiZi1iYzAyLTVhYzFiNzhhMWMyOA==\n```\n\n","properties":{"action":{"type":"string","description":"The action defined between source and target resources.\n"},"description":{"type":"string","description":"The description of the organization rule.\n"},"effect":{"type":"string","description":"Whether this organization rule allows or denies the action to take place between source and target resources.\n"},"sourceType":{"type":"string","description":"The source resource type that this organization rule allows or denies to invoke its defined action.\n"},"sourceUuid":{"type":"string","description":"The UUID of the resource that this organization rule allows or denies invocating its defined action.\n"},"targetType":{"type":"string","description":"The target resource type that this organization rule allows or denies the source to respective action.\n"},"targetUuid":{"type":"string","description":"The UUID of the target resource that this organization rule allows or denies invocation its respective action.\n"},"type":{"type":"string","description":"The type of organization rule.\n"},"uuid":{"type":"string","description":"The UUID of the organization rule.\n"},"value":{"type":"string","description":"The JSON document that this organization rule implements.\n"}},"required":["action","effect","sourceType","sourceUuid","targetType","targetUuid","type","uuid","value"],"inputProperties":{"description":{"type":"string","description":"The description of the organization rule.\n"},"type":{"type":"string","description":"The type of organization rule.\n"},"value":{"type":"string","description":"The JSON document that this organization rule implements.\n"}},"requiredInputs":["type","value"],"stateInputs":{"description":"Input properties used for looking up and filtering Rule resources.\n","properties":{"action":{"type":"string","description":"The action defined between source and target resources.\n"},"description":{"type":"string","description":"The description of the organization rule.\n"},"effect":{"type":"string","description":"Whether this organization rule allows or denies the action to take place between source and target resources.\n"},"sourceType":{"type":"string","description":"The source resource type that this organization rule allows or denies to invoke its defined action.\n"},"sourceUuid":{"type":"string","description":"The UUID of the resource that this organization rule allows or denies invocating its defined action.\n"},"targetType":{"type":"string","description":"The target resource type that this organization rule allows or denies the source to respective action.\n"},"targetUuid":{"type":"string","description":"The UUID of the target resource that this organization rule allows or denies invocation its respective action.\n"},"type":{"type":"string","description":"The type of organization rule.\n"},"uuid":{"type":"string","description":"The UUID of the organization rule.\n"},"value":{"type":"string","description":"The JSON document that this organization rule implements.\n"}},"type":"object"}},"buildkite:Pipeline/pipeline:Pipeline":{"description":"This resource allows you to create and manage pipelines for repositories.\n\nMore information on pipelines can be found in the [documentation](https://buildkite.com/docs/pipelines).\n\n\u003e **Note:** When creating a new pipeline, the Buildkite API requires at least one team to be associated with it. You must use the 'default_team_id' attribute to specify this initial team. The 'buildkite_pipeline_team' resource can then be used to manage team access for existing pipelines.\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a pipeline resource using the pipelines GraphQL ID\n\nGraphQL ID for a pipeline can be found on its settings page\n\n```sh\n$ pulumi import buildkite:Pipeline/pipeline:Pipeline pipeline UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=\n```\n\n","properties":{"allowRebuilds":{"type":"boolean","description":"Whether rebuilds are allowed for this pipeline."},"badgeUrl":{"type":"string","description":"The badge URL showing build state."},"branchConfiguration":{"type":"string","description":"Configure the pipeline to only build on this branch conditional."},"cancelIntermediateBuilds":{"type":"boolean","description":"Whether to cancel builds when a new commit is pushed to a matching branch."},"cancelIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`cancelIntermediateBuilds`\" pulumi-lang-dotnet=\"`CancelIntermediateBuilds`\" pulumi-lang-go=\"`cancelIntermediateBuilds`\" pulumi-lang-python=\"`cancel_intermediate_builds`\" pulumi-lang-yaml=\"`cancelIntermediateBuilds`\" pulumi-lang-java=\"`cancelIntermediateBuilds`\"\u003e`cancel_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"clusterId":{"type":"string","description":"Attach this pipeline to the given cluster GraphQL ID."},"clusterName":{"type":"string","description":"The name of the cluster the pipeline is (optionally) attached to."},"color":{"type":"string","description":"A color hex code to represent this pipeline."},"defaultBranch":{"type":"string","description":"Default branch of the pipeline."},"defaultTeamId":{"type":"string","description":"The GraphQL ID of a team to initially assign to the pipeline. This is required by the Buildkite API when creating a new pipeline. The team assigned here will be given 'Manage Build and Read' access. Further team associations can be managed with the \u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.Team`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.Team`\" pulumi-lang-go=\"`Pipeline.Team`\" pulumi-lang-python=\"`Pipeline.Team`\" pulumi-lang-yaml=\"`buildkite.Pipeline.Team`\" pulumi-lang-java=\"`buildkite.Pipeline.Team`\"\u003e`buildkite.Pipeline.Team`\u003c/span\u003e resource after the pipeline is created."},"defaultTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide timeout for command steps."},"description":{"type":"string","description":"Description for the pipeline. Can include emoji 🙌."},"emoji":{"type":"string","description":"An emoji that represents this pipeline."},"maximumTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide maximum timeout for command steps."},"name":{"type":"string","description":"Name to give the pipeline."},"pipelineTemplateId":{"type":"string","description":"The GraphQL ID of the pipeline template applied to this pipeline."},"providerSettings":{"$ref":"#/types/buildkite:Pipeline/PipelineProviderSettings:PipelineProviderSettings","description":"Control settings depending on the VCS provider used in \u003cspan pulumi-lang-nodejs=\"`repository`\" pulumi-lang-dotnet=\"`Repository`\" pulumi-lang-go=\"`repository`\" pulumi-lang-python=\"`repository`\" pulumi-lang-yaml=\"`repository`\" pulumi-lang-java=\"`repository`\"\u003e`repository`\u003c/span\u003e."},"repository":{"type":"string","description":"URL to the repository this pipeline is configured for."},"skipIntermediateBuilds":{"type":"boolean","description":"Whether to skip queued builds if a new commit is pushed to a matching branch."},"skipIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`skipIntermediateBuilds`\" pulumi-lang-dotnet=\"`SkipIntermediateBuilds`\" pulumi-lang-go=\"`skipIntermediateBuilds`\" pulumi-lang-python=\"`skip_intermediate_builds`\" pulumi-lang-yaml=\"`skipIntermediateBuilds`\" pulumi-lang-java=\"`skipIntermediateBuilds`\"\u003e`skip_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"slug":{"type":"string","description":"A custom identifier for the pipeline. If provided, this slug will be used as the pipeline's URL path instead of automatically converting the pipeline name. If not provided, the slug will be [derived](https://buildkite.com/docs/apis/graphql/cookbooks/pipelines#create-a-pipeline-deriving-a-pipeline-slug-from-the-pipelines-name) from the pipeline \u003cspan pulumi-lang-nodejs=\"`name`\" pulumi-lang-dotnet=\"`Name`\" pulumi-lang-go=\"`name`\" pulumi-lang-python=\"`name`\" pulumi-lang-yaml=\"`name`\" pulumi-lang-java=\"`name`\"\u003e`name`\u003c/span\u003e."},"steps":{"type":"string","description":"The YAML steps to configure for the pipeline. Can also accept the \u003cspan pulumi-lang-nodejs=\"`steps`\" pulumi-lang-dotnet=\"`Steps`\" pulumi-lang-go=\"`steps`\" pulumi-lang-python=\"`steps`\" pulumi-lang-yaml=\"`steps`\" pulumi-lang-java=\"`steps`\"\u003e`steps`\u003c/span\u003e attribute from the [\u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-go=\"`Pipeline.getSignedSteps`\" pulumi-lang-python=\"`pipeline_get_signed_steps`\" pulumi-lang-yaml=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-java=\"`buildkite.Pipeline.getSignedSteps`\"\u003e`buildkite.Pipeline.getSignedSteps`\u003c/span\u003e](https://www.terraform.io/docs/data-sources/signed_pipeline_steps) data source to enable a signed pipeline. Defaults to `buildkite-agent pipeline upload`."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags to attribute to the pipeline. Useful for searching by in the UI."},"uuid":{"type":"string","description":"The UUID of the pipeline."},"webhookUrl":{"type":"string","description":"The webhook URL used to trigger builds from VCS providers."}},"required":["allowRebuilds","badgeUrl","cancelIntermediateBuilds","cancelIntermediateBuildsBranchFilter","clusterName","defaultBranch","defaultTimeoutInMinutes","description","maximumTimeoutInMinutes","name","repository","skipIntermediateBuilds","skipIntermediateBuildsBranchFilter","slug","steps","tags","uuid","webhookUrl"],"inputProperties":{"allowRebuilds":{"type":"boolean","description":"Whether rebuilds are allowed for this pipeline."},"branchConfiguration":{"type":"string","description":"Configure the pipeline to only build on this branch conditional."},"cancelIntermediateBuilds":{"type":"boolean","description":"Whether to cancel builds when a new commit is pushed to a matching branch."},"cancelIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`cancelIntermediateBuilds`\" pulumi-lang-dotnet=\"`CancelIntermediateBuilds`\" pulumi-lang-go=\"`cancelIntermediateBuilds`\" pulumi-lang-python=\"`cancel_intermediate_builds`\" pulumi-lang-yaml=\"`cancelIntermediateBuilds`\" pulumi-lang-java=\"`cancelIntermediateBuilds`\"\u003e`cancel_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"clusterId":{"type":"string","description":"Attach this pipeline to the given cluster GraphQL ID."},"color":{"type":"string","description":"A color hex code to represent this pipeline."},"defaultBranch":{"type":"string","description":"Default branch of the pipeline."},"defaultTeamId":{"type":"string","description":"The GraphQL ID of a team to initially assign to the pipeline. This is required by the Buildkite API when creating a new pipeline. The team assigned here will be given 'Manage Build and Read' access. Further team associations can be managed with the \u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.Team`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.Team`\" pulumi-lang-go=\"`Pipeline.Team`\" pulumi-lang-python=\"`Pipeline.Team`\" pulumi-lang-yaml=\"`buildkite.Pipeline.Team`\" pulumi-lang-java=\"`buildkite.Pipeline.Team`\"\u003e`buildkite.Pipeline.Team`\u003c/span\u003e resource after the pipeline is created."},"defaultTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide timeout for command steps."},"description":{"type":"string","description":"Description for the pipeline. Can include emoji 🙌."},"emoji":{"type":"string","description":"An emoji that represents this pipeline."},"maximumTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide maximum timeout for command steps."},"name":{"type":"string","description":"Name to give the pipeline."},"pipelineTemplateId":{"type":"string","description":"The GraphQL ID of the pipeline template applied to this pipeline."},"providerSettings":{"$ref":"#/types/buildkite:Pipeline/PipelineProviderSettings:PipelineProviderSettings","description":"Control settings depending on the VCS provider used in \u003cspan pulumi-lang-nodejs=\"`repository`\" pulumi-lang-dotnet=\"`Repository`\" pulumi-lang-go=\"`repository`\" pulumi-lang-python=\"`repository`\" pulumi-lang-yaml=\"`repository`\" pulumi-lang-java=\"`repository`\"\u003e`repository`\u003c/span\u003e."},"repository":{"type":"string","description":"URL to the repository this pipeline is configured for."},"skipIntermediateBuilds":{"type":"boolean","description":"Whether to skip queued builds if a new commit is pushed to a matching branch."},"skipIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`skipIntermediateBuilds`\" pulumi-lang-dotnet=\"`SkipIntermediateBuilds`\" pulumi-lang-go=\"`skipIntermediateBuilds`\" pulumi-lang-python=\"`skip_intermediate_builds`\" pulumi-lang-yaml=\"`skipIntermediateBuilds`\" pulumi-lang-java=\"`skipIntermediateBuilds`\"\u003e`skip_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"slug":{"type":"string","description":"A custom identifier for the pipeline. If provided, this slug will be used as the pipeline's URL path instead of automatically converting the pipeline name. If not provided, the slug will be [derived](https://buildkite.com/docs/apis/graphql/cookbooks/pipelines#create-a-pipeline-deriving-a-pipeline-slug-from-the-pipelines-name) from the pipeline \u003cspan pulumi-lang-nodejs=\"`name`\" pulumi-lang-dotnet=\"`Name`\" pulumi-lang-go=\"`name`\" pulumi-lang-python=\"`name`\" pulumi-lang-yaml=\"`name`\" pulumi-lang-java=\"`name`\"\u003e`name`\u003c/span\u003e."},"steps":{"type":"string","description":"The YAML steps to configure for the pipeline. Can also accept the \u003cspan pulumi-lang-nodejs=\"`steps`\" pulumi-lang-dotnet=\"`Steps`\" pulumi-lang-go=\"`steps`\" pulumi-lang-python=\"`steps`\" pulumi-lang-yaml=\"`steps`\" pulumi-lang-java=\"`steps`\"\u003e`steps`\u003c/span\u003e attribute from the [\u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-go=\"`Pipeline.getSignedSteps`\" pulumi-lang-python=\"`pipeline_get_signed_steps`\" pulumi-lang-yaml=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-java=\"`buildkite.Pipeline.getSignedSteps`\"\u003e`buildkite.Pipeline.getSignedSteps`\u003c/span\u003e](https://www.terraform.io/docs/data-sources/signed_pipeline_steps) data source to enable a signed pipeline. Defaults to `buildkite-agent pipeline upload`."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags to attribute to the pipeline. Useful for searching by in the UI."}},"requiredInputs":["repository"],"stateInputs":{"description":"Input properties used for looking up and filtering Pipeline resources.\n","properties":{"allowRebuilds":{"type":"boolean","description":"Whether rebuilds are allowed for this pipeline."},"badgeUrl":{"type":"string","description":"The badge URL showing build state."},"branchConfiguration":{"type":"string","description":"Configure the pipeline to only build on this branch conditional."},"cancelIntermediateBuilds":{"type":"boolean","description":"Whether to cancel builds when a new commit is pushed to a matching branch."},"cancelIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`cancelIntermediateBuilds`\" pulumi-lang-dotnet=\"`CancelIntermediateBuilds`\" pulumi-lang-go=\"`cancelIntermediateBuilds`\" pulumi-lang-python=\"`cancel_intermediate_builds`\" pulumi-lang-yaml=\"`cancelIntermediateBuilds`\" pulumi-lang-java=\"`cancelIntermediateBuilds`\"\u003e`cancel_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"clusterId":{"type":"string","description":"Attach this pipeline to the given cluster GraphQL ID."},"clusterName":{"type":"string","description":"The name of the cluster the pipeline is (optionally) attached to."},"color":{"type":"string","description":"A color hex code to represent this pipeline."},"defaultBranch":{"type":"string","description":"Default branch of the pipeline."},"defaultTeamId":{"type":"string","description":"The GraphQL ID of a team to initially assign to the pipeline. This is required by the Buildkite API when creating a new pipeline. The team assigned here will be given 'Manage Build and Read' access. Further team associations can be managed with the \u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.Team`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.Team`\" pulumi-lang-go=\"`Pipeline.Team`\" pulumi-lang-python=\"`Pipeline.Team`\" pulumi-lang-yaml=\"`buildkite.Pipeline.Team`\" pulumi-lang-java=\"`buildkite.Pipeline.Team`\"\u003e`buildkite.Pipeline.Team`\u003c/span\u003e resource after the pipeline is created."},"defaultTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide timeout for command steps."},"description":{"type":"string","description":"Description for the pipeline. Can include emoji 🙌."},"emoji":{"type":"string","description":"An emoji that represents this pipeline."},"maximumTimeoutInMinutes":{"type":"integer","description":"Set pipeline wide maximum timeout for command steps."},"name":{"type":"string","description":"Name to give the pipeline."},"pipelineTemplateId":{"type":"string","description":"The GraphQL ID of the pipeline template applied to this pipeline."},"providerSettings":{"$ref":"#/types/buildkite:Pipeline/PipelineProviderSettings:PipelineProviderSettings","description":"Control settings depending on the VCS provider used in \u003cspan pulumi-lang-nodejs=\"`repository`\" pulumi-lang-dotnet=\"`Repository`\" pulumi-lang-go=\"`repository`\" pulumi-lang-python=\"`repository`\" pulumi-lang-yaml=\"`repository`\" pulumi-lang-java=\"`repository`\"\u003e`repository`\u003c/span\u003e."},"repository":{"type":"string","description":"URL to the repository this pipeline is configured for."},"skipIntermediateBuilds":{"type":"boolean","description":"Whether to skip queued builds if a new commit is pushed to a matching branch."},"skipIntermediateBuildsBranchFilter":{"type":"string","description":"Filter the \u003cspan pulumi-lang-nodejs=\"`skipIntermediateBuilds`\" pulumi-lang-dotnet=\"`SkipIntermediateBuilds`\" pulumi-lang-go=\"`skipIntermediateBuilds`\" pulumi-lang-python=\"`skip_intermediate_builds`\" pulumi-lang-yaml=\"`skipIntermediateBuilds`\" pulumi-lang-java=\"`skipIntermediateBuilds`\"\u003e`skip_intermediate_builds`\u003c/span\u003e setting based on this branch condition."},"slug":{"type":"string","description":"A custom identifier for the pipeline. If provided, this slug will be used as the pipeline's URL path instead of automatically converting the pipeline name. If not provided, the slug will be [derived](https://buildkite.com/docs/apis/graphql/cookbooks/pipelines#create-a-pipeline-deriving-a-pipeline-slug-from-the-pipelines-name) from the pipeline \u003cspan pulumi-lang-nodejs=\"`name`\" pulumi-lang-dotnet=\"`Name`\" pulumi-lang-go=\"`name`\" pulumi-lang-python=\"`name`\" pulumi-lang-yaml=\"`name`\" pulumi-lang-java=\"`name`\"\u003e`name`\u003c/span\u003e."},"steps":{"type":"string","description":"The YAML steps to configure for the pipeline. Can also accept the \u003cspan pulumi-lang-nodejs=\"`steps`\" pulumi-lang-dotnet=\"`Steps`\" pulumi-lang-go=\"`steps`\" pulumi-lang-python=\"`steps`\" pulumi-lang-yaml=\"`steps`\" pulumi-lang-java=\"`steps`\"\u003e`steps`\u003c/span\u003e attribute from the [\u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-go=\"`Pipeline.getSignedSteps`\" pulumi-lang-python=\"`pipeline_get_signed_steps`\" pulumi-lang-yaml=\"`buildkite.Pipeline.getSignedSteps`\" pulumi-lang-java=\"`buildkite.Pipeline.getSignedSteps`\"\u003e`buildkite.Pipeline.getSignedSteps`\u003c/span\u003e](https://www.terraform.io/docs/data-sources/signed_pipeline_steps) data source to enable a signed pipeline. Defaults to `buildkite-agent pipeline upload`."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags to attribute to the pipeline. Useful for searching by in the UI."},"uuid":{"type":"string","description":"The UUID of the pipeline."},"webhookUrl":{"type":"string","description":"The webhook URL used to trigger builds from VCS providers."}},"type":"object"}},"buildkite:Pipeline/schedule:Schedule":{"description":"A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.\n\nYou can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a pipeline\nconst pipeline = new buildkite.pipeline.Pipeline(\"pipeline\", {\n    name: \"my pipeline\",\n    repository: \"https://github.com/...\",\n});\n// schedule a build at midnight every day\nconst nightly = new buildkite.pipeline.Schedule(\"nightly\", {\n    pipelineId: repo.id,\n    label: \"Nightly build\",\n    cronline: \"@midnight\",\n    branch: repo.defaultBranch,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a pipeline\npipeline = buildkite.pipeline.Pipeline(\"pipeline\",\n    name=\"my pipeline\",\n    repository=\"https://github.com/...\")\n# schedule a build at midnight every day\nnightly = buildkite.pipeline.Schedule(\"nightly\",\n    pipeline_id=repo[\"id\"],\n    label=\"Nightly build\",\n    cronline=\"@midnight\",\n    branch=repo[\"defaultBranch\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a pipeline\n    var pipeline = new Buildkite.Pipeline.Pipeline(\"pipeline\", new()\n    {\n        Name = \"my pipeline\",\n        Repository = \"https://github.com/...\",\n    });\n\n    // schedule a build at midnight every day\n    var nightly = new Buildkite.Pipeline.Schedule(\"nightly\", new()\n    {\n        PipelineId = repo.Id,\n        Label = \"Nightly build\",\n        Cronline = \"@midnight\",\n        Branch = repo.DefaultBranch,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a pipeline\n\t\t_, err := pipeline.NewPipeline(ctx, \"pipeline\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"my pipeline\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/...\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// schedule a build at midnight every day\n\t\t_, err = pipeline.NewSchedule(ctx, \"nightly\", \u0026pipeline.ScheduleArgs{\n\t\t\tPipelineId: pulumi.Any(repo.Id),\n\t\t\tLabel:      pulumi.String(\"Nightly build\"),\n\t\t\tCronline:   pulumi.String(\"@midnight\"),\n\t\t\tBranch:     pulumi.Any(repo.DefaultBranch),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport com.pulumi.buildkite.Pipeline.Schedule;\nimport com.pulumi.buildkite.Pipeline.ScheduleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a pipeline\n        var pipeline = new Pipeline(\"pipeline\", PipelineArgs.builder()\n            .name(\"my pipeline\")\n            .repository(\"https://github.com/...\")\n            .build());\n\n        // schedule a build at midnight every day\n        var nightly = new Schedule(\"nightly\", ScheduleArgs.builder()\n            .pipelineId(repo.id())\n            .label(\"Nightly build\")\n            .cronline(\"@midnight\")\n            .branch(repo.defaultBranch())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a pipeline\n  pipeline:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: my pipeline\n      repository: https://github.com/...\n  # schedule a build at midnight every day\n  nightly:\n    type: buildkite:Pipeline:Schedule\n    properties:\n      pipelineId: ${repo.id}\n      label: Nightly build\n      cronline: '@midnight'\n      branch: ${repo.defaultBranch}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a pipeline schedule resource using the schedules GraphQL ID\n\nyou can use this query to find the schedule:\n\nquery getPipelineScheduleId {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n        pipelines(first: 5, search: \"PIPELINE_SEARCH_TERM\") {\n\n      edges{\n\n        node{\n\n          name\n\n          schedules{\n\n            edges{\n\n              node{\n\n                id\n\n              }\n\n            }\n\n          }\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==\n```\n\n","properties":{"branch":{"type":"string","description":"The branch that the schedule should run on.\n"},"commit":{"type":"string","description":"The commit that the schedule should run on.\n"},"cronline":{"type":"string","description":"The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.\n"},"enabled":{"type":"boolean","description":"Whether the schedule is enabled or not.\n"},"env":{"type":"object","additionalProperties":{"type":"string"},"description":"The environment variables that scheduled builds should use.\n"},"label":{"type":"string","description":"A label to describe the schedule.\n"},"message":{"type":"string","description":"The message the builds show for builds created by this schedule.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline that this schedule belongs to.\n"},"uuid":{"type":"string","description":"The UUID of the schedule.\n"}},"required":["branch","commit","cronline","enabled","label","pipelineId","uuid"],"inputProperties":{"branch":{"type":"string","description":"The branch that the schedule should run on.\n"},"commit":{"type":"string","description":"The commit that the schedule should run on.\n"},"cronline":{"type":"string","description":"The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.\n"},"enabled":{"type":"boolean","description":"Whether the schedule is enabled or not.\n"},"env":{"type":"object","additionalProperties":{"type":"string"},"description":"The environment variables that scheduled builds should use.\n"},"label":{"type":"string","description":"A label to describe the schedule.\n"},"message":{"type":"string","description":"The message the builds show for builds created by this schedule.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline that this schedule belongs to.\n"}},"requiredInputs":["branch","cronline","label","pipelineId"],"stateInputs":{"description":"Input properties used for looking up and filtering Schedule resources.\n","properties":{"branch":{"type":"string","description":"The branch that the schedule should run on.\n"},"commit":{"type":"string","description":"The commit that the schedule should run on.\n"},"cronline":{"type":"string","description":"The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.\n"},"enabled":{"type":"boolean","description":"Whether the schedule is enabled or not.\n"},"env":{"type":"object","additionalProperties":{"type":"string"},"description":"The environment variables that scheduled builds should use.\n"},"label":{"type":"string","description":"A label to describe the schedule.\n"},"message":{"type":"string","description":"The message the builds show for builds created by this schedule.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline that this schedule belongs to.\n"},"uuid":{"type":"string","description":"The UUID of the schedule.\n"}},"type":"object"}},"buildkite:Pipeline/team:Team":{"description":"Manage team access to a pipeline.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst pipeline = new buildkite.pipeline.Pipeline(\"pipeline\", {\n    name: \"my pipeline\",\n    repository: \"https://github.com/...\",\n});\nconst team = new buildkite.team.Team(\"team\", {\n    name: \"Everyone\",\n    privacy: \"VISIBLE\",\n    defaultTeam: false,\n    defaultMemberRole: \"MEMBER\",\n});\n// allow everyone in the \"Everyone\" team read-only access to pipeline\nconst pipelineTeam = new buildkite.pipeline.Team(\"pipeline_team\", {\n    pipelineId: pipeline.id,\n    teamId: team.id,\n    accessLevel: \"READ_ONLY\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\npipeline = buildkite.pipeline.Pipeline(\"pipeline\",\n    name=\"my pipeline\",\n    repository=\"https://github.com/...\")\nteam = buildkite.team.Team(\"team\",\n    name=\"Everyone\",\n    privacy=\"VISIBLE\",\n    default_team=False,\n    default_member_role=\"MEMBER\")\n# allow everyone in the \"Everyone\" team read-only access to pipeline\npipeline_team = buildkite.pipeline.Team(\"pipeline_team\",\n    pipeline_id=pipeline.id,\n    team_id=team.id,\n    access_level=\"READ_ONLY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var pipeline = new Buildkite.Pipeline.Pipeline(\"pipeline\", new()\n    {\n        Name = \"my pipeline\",\n        Repository = \"https://github.com/...\",\n    });\n\n    var team = new Buildkite.Team.Team(\"team\", new()\n    {\n        Name = \"Everyone\",\n        Privacy = \"VISIBLE\",\n        DefaultTeam = false,\n        DefaultMemberRole = \"MEMBER\",\n    });\n\n    // allow everyone in the \"Everyone\" team read-only access to pipeline\n    var pipelineTeam = new Buildkite.Pipeline.Team(\"pipeline_team\", new()\n    {\n        PipelineId = pipeline.Id,\n        TeamId = team.Id,\n        AccessLevel = \"READ_ONLY\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpipeline, err := pipeline.NewPipeline(ctx, \"pipeline\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"my pipeline\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/...\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tteam, err := team.NewTeam(ctx, \"team\", \u0026team.TeamArgs{\n\t\t\tName:              pulumi.String(\"Everyone\"),\n\t\t\tPrivacy:           pulumi.String(\"VISIBLE\"),\n\t\t\tDefaultTeam:       pulumi.Bool(false),\n\t\t\tDefaultMemberRole: pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// allow everyone in the \"Everyone\" team read-only access to pipeline\n\t\t_, err = pipeline.NewTeam(ctx, \"pipeline_team\", \u0026pipeline.TeamArgs{\n\t\t\tPipelineId:  pipeline.ID(),\n\t\t\tTeamId:      team.ID(),\n\t\t\tAccessLevel: pulumi.String(\"READ_ONLY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var pipeline = new Pipeline(\"pipeline\", PipelineArgs.builder()\n            .name(\"my pipeline\")\n            .repository(\"https://github.com/...\")\n            .build());\n\n        var team = new com.pulumi.buildkite.Team.Team(\"team\", com.pulumi.buildkite.Team.TeamArgs.builder()\n            .name(\"Everyone\")\n            .privacy(\"VISIBLE\")\n            .defaultTeam(false)\n            .defaultMemberRole(\"MEMBER\")\n            .build());\n\n        // allow everyone in the \"Everyone\" team read-only access to pipeline\n        var pipelineTeam = new com.pulumi.buildkite.Pipeline.Team(\"pipelineTeam\", com.pulumi.buildkite.Pipeline.TeamArgs.builder()\n            .pipelineId(pipeline.id())\n            .teamId(team.id())\n            .accessLevel(\"READ_ONLY\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  pipeline:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: my pipeline\n      repository: https://github.com/...\n  team:\n    type: buildkite:Team:Team\n    properties:\n      name: Everyone\n      privacy: VISIBLE\n      defaultTeam: false\n      defaultMemberRole: MEMBER\n  # allow everyone in the \"Everyone\" team read-only access to pipeline\n  pipelineTeam:\n    type: buildkite:Pipeline:Team\n    name: pipeline_team\n    properties:\n      pipelineId: ${pipeline.id}\n      teamId: ${team.id}\n      accessLevel: READ_ONLY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a pipeline team resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getPipelineTeamId {\n\n  pipeline(slug: \"ORGANIZATION_SLUG/PIPELINE_SLUG\") {\n\n    teams(first: 5, search: \"PIPELINE_SEARCH_TERM\") {\n\n      edges{\n\n        node{\n\n          id\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\n```\n\n","properties":{"accessLevel":{"type":"string","description":"The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"uuid":{"type":"string","description":"The UUID of the pipeline-team relationship.\n"}},"required":["accessLevel","pipelineId","teamId","uuid"],"inputProperties":{"accessLevel":{"type":"string","description":"The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"}},"requiredInputs":["accessLevel","pipelineId","teamId"],"stateInputs":{"description":"Input properties used for looking up and filtering Team resources.\n","properties":{"accessLevel":{"type":"string","description":"The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.\n"},"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"uuid":{"type":"string","description":"The UUID of the pipeline-team relationship.\n"}},"type":"object"}},"buildkite:Pipeline/template:Template":{"description":"This resource allows for standardized step configurations that can be used within various pipelines of an organization.\n\nMore information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst templateRequired = new buildkite.pipeline.Template(\"template_required\", {\n    name: \"QA upload\",\n    configuration: `steps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\"\n`,\n});\nconst templateFull = new buildkite.pipeline.Template(\"template_full\", {\n    name: \"Production upload\",\n    description: \"Production upload template\",\n    configuration: `steps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\"\n`,\n    available: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\ntemplate_required = buildkite.pipeline.Template(\"template_required\",\n    name=\"QA upload\",\n    configuration=\"\"\"steps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\"\n\"\"\")\ntemplate_full = buildkite.pipeline.Template(\"template_full\",\n    name=\"Production upload\",\n    description=\"Production upload template\",\n    configuration=\"\"\"steps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\"\n\"\"\",\n    available=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var templateRequired = new Buildkite.Pipeline.Template(\"template_required\", new()\n    {\n        Name = \"QA upload\",\n        Configuration = @\"steps:\n  - label: \"\":pipeline:\"\"\n    command: \"\"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\"\"\n\",\n    });\n\n    var templateFull = new Buildkite.Pipeline.Template(\"template_full\", new()\n    {\n        Name = \"Production upload\",\n        Description = \"Production upload template\",\n        Configuration = @\"steps:\n  - label: \"\":pipeline:\"\"\n    command: \"\"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\"\"\n\",\n        Available = true,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := pipeline.NewTemplate(ctx, \"template_required\", \u0026pipeline.TemplateArgs{\n\t\t\tName:          pulumi.String(\"QA upload\"),\n\t\t\tConfiguration: pulumi.String(\"steps:\\n  - label: \\\":pipeline:\\\"\\n    command: \\\"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\\\"\\n\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pipeline.NewTemplate(ctx, \"template_full\", \u0026pipeline.TemplateArgs{\n\t\t\tName:          pulumi.String(\"Production upload\"),\n\t\t\tDescription:   pulumi.String(\"Production upload template\"),\n\t\t\tConfiguration: pulumi.String(\"steps:\\n  - label: \\\":pipeline:\\\"\\n    command: \\\"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\\\"\\n\"),\n\t\t\tAvailable:     pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.Template;\nimport com.pulumi.buildkite.Pipeline.TemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var templateRequired = new Template(\"templateRequired\", TemplateArgs.builder()\n            .name(\"QA upload\")\n            .configuration(\"\"\"\nsteps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\"\n            \"\"\")\n            .build());\n\n        var templateFull = new Template(\"templateFull\", TemplateArgs.builder()\n            .name(\"Production upload\")\n            .description(\"Production upload template\")\n            .configuration(\"\"\"\nsteps:\n  - label: \":pipeline:\"\n    command: \"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\"\n            \"\"\")\n            .available(true)\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  templateRequired:\n    type: buildkite:Pipeline:Template\n    name: template_required\n    properties:\n      name: QA upload\n      configuration: |\n        steps:\n          - label: \":pipeline:\"\n            command: \"buildkite-agent pipeline upload .buildkite/pipeline-qa.yml\"\n  templateFull:\n    type: buildkite:Pipeline:Template\n    name: template_full\n    properties:\n      name: Production upload\n      description: Production upload template\n      configuration: |\n        steps:\n          - label: \":pipeline:\"\n            command: \"buildkite-agent pipeline upload .buildkite/pipeline-production.yml\"\n      available: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a pipeline template resource using the templates GraphQL ID\n\nYou can use this query to find the first 50 templates (adjust for less or more):\n\nquery getPipelineTemplateIds {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    pipelineTemplates(first: 50) {\n\n      edges{\n\n        node{\n\n          id\n\n          name\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Pipeline/template:Template template UGlwZWxpbmVUZW1wbGF0ZS0tLWU0YWQ3YjdjLTljZDYtNGM0MS1hYWE0LTY2ZmI3ODY0MTMwNw==\n```\n\n","properties":{"available":{"type":"boolean","description":"If the pipeline template is available for assignment by non admin users.\n"},"configuration":{"type":"string","description":"The YAML step configuration for the pipeline template.\n"},"description":{"type":"string","description":"A description for the pipeline template.\n"},"name":{"type":"string","description":"The name of the pipeline template.\n"},"uuid":{"type":"string","description":"The UUID of the pipeline template.\n"}},"required":["available","configuration","name","uuid"],"inputProperties":{"available":{"type":"boolean","description":"If the pipeline template is available for assignment by non admin users.\n"},"configuration":{"type":"string","description":"The YAML step configuration for the pipeline template.\n"},"description":{"type":"string","description":"A description for the pipeline template.\n"},"name":{"type":"string","description":"The name of the pipeline template.\n"}},"requiredInputs":["configuration"],"stateInputs":{"description":"Input properties used for looking up and filtering Template resources.\n","properties":{"available":{"type":"boolean","description":"If the pipeline template is available for assignment by non admin users.\n"},"configuration":{"type":"string","description":"The YAML step configuration for the pipeline template.\n"},"description":{"type":"string","description":"A description for the pipeline template.\n"},"name":{"type":"string","description":"The name of the pipeline template.\n"},"uuid":{"type":"string","description":"The UUID of the pipeline template.\n"}},"type":"object"}},"buildkite:Pipeline/webhook:Webhook":{"description":"This resource manages a webhook for a Buildkite pipeline's source repository.\n\nThe webhook enables automatic build triggering when changes are pushed to the repository.\nOnly one webhook can exist per pipeline - if a webhook already exists, it will be adopted into state.\n\nOnly supported for GitHub and GitHub Enterprise repositories connected via a\n[GitHub App](https://buildkite.com/docs/pipelines/source-control/github#connect-your-buildkite-account-to-github-using-the-github-app).\n\n\u003e The \u003cspan pulumi-lang-nodejs=\"`repository`\" pulumi-lang-dotnet=\"`Repository`\" pulumi-lang-go=\"`repository`\" pulumi-lang-python=\"`repository`\" pulumi-lang-yaml=\"`repository`\" pulumi-lang-java=\"`repository`\"\u003e`repository`\u003c/span\u003e attribute must match the pipeline's configured repository URL.\nUse `repository = buildkite_pipeline.\u003cname\u003e.repository` to keep them in sync.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a pipeline\nconst pipeline = new buildkite.pipeline.Pipeline(\"pipeline\", {\n    name: \"my pipeline\",\n    repository: \"https://github.com/my-org/my-repo.git\",\n});\n// create a webhook to automatically trigger builds on push\nconst webhook = new buildkite.pipeline.Webhook(\"webhook\", {\n    pipelineId: pipeline.id,\n    repository: pipeline.repository,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a pipeline\npipeline = buildkite.pipeline.Pipeline(\"pipeline\",\n    name=\"my pipeline\",\n    repository=\"https://github.com/my-org/my-repo.git\")\n# create a webhook to automatically trigger builds on push\nwebhook = buildkite.pipeline.Webhook(\"webhook\",\n    pipeline_id=pipeline.id,\n    repository=pipeline.repository)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a pipeline\n    var pipeline = new Buildkite.Pipeline.Pipeline(\"pipeline\", new()\n    {\n        Name = \"my pipeline\",\n        Repository = \"https://github.com/my-org/my-repo.git\",\n    });\n\n    // create a webhook to automatically trigger builds on push\n    var webhook = new Buildkite.Pipeline.Webhook(\"webhook\", new()\n    {\n        PipelineId = pipeline.Id,\n        Repository = pipeline.Repository,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a pipeline\n\t\tpipeline, err := pipeline.NewPipeline(ctx, \"pipeline\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"my pipeline\"),\n\t\t\tRepository: pulumi.String(\"https://github.com/my-org/my-repo.git\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create a webhook to automatically trigger builds on push\n\t\t_, err = pipeline.NewWebhook(ctx, \"webhook\", \u0026pipeline.WebhookArgs{\n\t\t\tPipelineId: pipeline.ID(),\n\t\t\tRepository: pipeline.Repository,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport com.pulumi.buildkite.Pipeline.Webhook;\nimport com.pulumi.buildkite.Pipeline.WebhookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a pipeline\n        var pipeline = new Pipeline(\"pipeline\", PipelineArgs.builder()\n            .name(\"my pipeline\")\n            .repository(\"https://github.com/my-org/my-repo.git\")\n            .build());\n\n        // create a webhook to automatically trigger builds on push\n        var webhook = new Webhook(\"webhook\", WebhookArgs.builder()\n            .pipelineId(pipeline.id())\n            .repository(pipeline.repository())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a pipeline\n  pipeline:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: my pipeline\n      repository: https://github.com/my-org/my-repo.git\n  # create a webhook to automatically trigger builds on push\n  webhook:\n    type: buildkite:Pipeline:Webhook\n    properties:\n      pipelineId: ${pipeline.id}\n      repository: ${pipeline.repository}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a pipeline webhook using the pipeline's GraphQL ID\n\nyou can use this query to find the pipeline ID:\n\nquery getPipelineId {\n\n  pipeline(slug: \"ORGANIZATION_SLUG/PIPELINE_SLUG\") {\n\n    id\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Pipeline/webhook:Webhook webhook UGlwZWxpbmUtLS0wMTkzYTNlOC1lYzc4LTQyNWEtYTM0Ny03YzRjNDczZDFlMGE=\n```\n\n","properties":{"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"repository":{"type":"string","description":"The repository URL the webhook is configured for. The webhook will be replaced when this value changes.\n"},"webhookUrl":{"type":"string","description":"The Buildkite webhook URL that receives events from the repository.\n"}},"required":["pipelineId","repository","webhookUrl"],"inputProperties":{"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"repository":{"type":"string","description":"The repository URL the webhook is configured for. The webhook will be replaced when this value changes.\n"}},"requiredInputs":["pipelineId","repository"],"stateInputs":{"description":"Input properties used for looking up and filtering Webhook resources.\n","properties":{"pipelineId":{"type":"string","description":"The GraphQL ID of the pipeline.\n"},"repository":{"type":"string","description":"The repository URL the webhook is configured for. The webhook will be replaced when this value changes.\n"},"webhookUrl":{"type":"string","description":"The Buildkite webhook URL that receives events from the repository.\n"}},"type":"object"}},"buildkite:Team/member:Member":{"description":"A team member resource allows for the management of team membership for existing organization users.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst everyone = new buildkite.team.Team(\"everyone\", {\n    name: \"Everyone\",\n    privacy: \"VISIBLE\",\n    defaultTeam: false,\n    defaultMemberRole: \"MEMBER\",\n});\nconst aSmith = new buildkite.team.Member(\"a_smith\", {\n    teamId: everyone.id,\n    userId: \"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\",\n    role: \"MEMBER\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\neveryone = buildkite.team.Team(\"everyone\",\n    name=\"Everyone\",\n    privacy=\"VISIBLE\",\n    default_team=False,\n    default_member_role=\"MEMBER\")\na_smith = buildkite.team.Member(\"a_smith\",\n    team_id=everyone.id,\n    user_id=\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\",\n    role=\"MEMBER\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var everyone = new Buildkite.Team.Team(\"everyone\", new()\n    {\n        Name = \"Everyone\",\n        Privacy = \"VISIBLE\",\n        DefaultTeam = false,\n        DefaultMemberRole = \"MEMBER\",\n    });\n\n    var aSmith = new Buildkite.Team.Member(\"a_smith\", new()\n    {\n        TeamId = everyone.Id,\n        UserId = \"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\",\n        Role = \"MEMBER\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\teveryone, err := team.NewTeam(ctx, \"everyone\", \u0026team.TeamArgs{\n\t\t\tName:              pulumi.String(\"Everyone\"),\n\t\t\tPrivacy:           pulumi.String(\"VISIBLE\"),\n\t\t\tDefaultTeam:       pulumi.Bool(false),\n\t\t\tDefaultMemberRole: pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = team.NewMember(ctx, \"a_smith\", \u0026team.MemberArgs{\n\t\t\tTeamId: everyone.ID(),\n\t\t\tUserId: pulumi.String(\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\"),\n\t\t\tRole:   pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Team.Team;\nimport com.pulumi.buildkite.Team.TeamArgs;\nimport com.pulumi.buildkite.Team.Member;\nimport com.pulumi.buildkite.Team.MemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var everyone = new Team(\"everyone\", TeamArgs.builder()\n            .name(\"Everyone\")\n            .privacy(\"VISIBLE\")\n            .defaultTeam(false)\n            .defaultMemberRole(\"MEMBER\")\n            .build());\n\n        var aSmith = new Member(\"aSmith\", MemberArgs.builder()\n            .teamId(everyone.id())\n            .userId(\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\")\n            .role(\"MEMBER\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  everyone:\n    type: buildkite:Team:Team\n    properties:\n      name: Everyone\n      privacy: VISIBLE\n      defaultTeam: false\n      defaultMemberRole: MEMBER\n  aSmith:\n    type: buildkite:Team:Member\n    name: a_smith\n    properties:\n      teamId: ${everyone.id}\n      userId: VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\n      role: MEMBER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a team member resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getTeamMemberId {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    teams(first: 2, search: \"TEAM_SEARCH_TERM\") {\n\n      edges {\n\n        node {\n\n          members(first: 2, search: \"TEAM_MEMBER_SEARCH_TERM\") {\n\n            edges {\n\n              node {\n\n                id\n\n              }\n\n            }\n\n          }\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Team/member:Member a_smith VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\n```\n\n","properties":{"role":{"type":"string","description":"The role for the user. Either `MEMBER` or `MAINTAINER`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"userId":{"type":"string","description":"The GraphQL ID of the user.\n"},"uuid":{"type":"string","description":"The UUID of the team membership.\n"}},"required":["role","teamId","userId","uuid"],"inputProperties":{"role":{"type":"string","description":"The role for the user. Either `MEMBER` or `MAINTAINER`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"userId":{"type":"string","description":"The GraphQL ID of the user.\n"}},"requiredInputs":["role","teamId","userId"],"stateInputs":{"description":"Input properties used for looking up and filtering Member resources.\n","properties":{"role":{"type":"string","description":"The role for the user. Either `MEMBER` or `MAINTAINER`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"userId":{"type":"string","description":"The GraphQL ID of the user.\n"},"uuid":{"type":"string","description":"The UUID of the team membership.\n"}},"type":"object"}},"buildkite:Team/team:Team":{"description":"A Team is a group of users that can be given permissions for using Pipelines.This feature is only available to Business and Enterprise customers.  You can find out more about Teams in the Buildkite [documentation](https://buildkite.com/docs/team-management/permissions).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst everyone = new buildkite.team.Team(\"everyone\", {\n    name: \"Everyone\",\n    privacy: \"VISIBLE\",\n    defaultTeam: false,\n    defaultMemberRole: \"MEMBER\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\neveryone = buildkite.team.Team(\"everyone\",\n    name=\"Everyone\",\n    privacy=\"VISIBLE\",\n    default_team=False,\n    default_member_role=\"MEMBER\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var everyone = new Buildkite.Team.Team(\"everyone\", new()\n    {\n        Name = \"Everyone\",\n        Privacy = \"VISIBLE\",\n        DefaultTeam = false,\n        DefaultMemberRole = \"MEMBER\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := team.NewTeam(ctx, \"everyone\", \u0026team.TeamArgs{\n\t\t\tName:              pulumi.String(\"Everyone\"),\n\t\t\tPrivacy:           pulumi.String(\"VISIBLE\"),\n\t\t\tDefaultTeam:       pulumi.Bool(false),\n\t\t\tDefaultMemberRole: pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Team.Team;\nimport com.pulumi.buildkite.Team.TeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var everyone = new Team(\"everyone\", TeamArgs.builder()\n            .name(\"Everyone\")\n            .privacy(\"VISIBLE\")\n            .defaultTeam(false)\n            .defaultMemberRole(\"MEMBER\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  everyone:\n    type: buildkite:Team:Team\n    properties:\n      name: Everyone\n      privacy: VISIBLE\n      defaultTeam: false\n      defaultMemberRole: MEMBER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a team resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getTeamId {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    teams(first: 1, search: \"TEAM_SEARCH_TERM\") {\n\n      edges {\n\n        node {\n\n          id\n\n          name\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:Team/team:Team everyone UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=\n```\n\n","properties":{"defaultMemberRole":{"type":"string","description":"The default role for new members of the team. This can be either `MEMBER` or `MAINTAINER`.\n"},"defaultTeam":{"type":"boolean","description":"Whether this is the default team for the organization.\n"},"description":{"type":"string","description":"A description for the team. This is displayed in the Buildkite UI.\n"},"membersCanCreatePipelines":{"type":"boolean","description":"Whether members of the team can create Pipelines.\n"},"membersCanCreateRegistries":{"type":"boolean","description":"Whether members of the team can create registries.\n"},"membersCanCreateSuites":{"type":"boolean","description":"Whether members of the team can create test suites.\n"},"membersCanDestroyPackages":{"type":"boolean","description":"Whether members of the team can destroy packages.\n"},"membersCanDestroyRegistries":{"type":"boolean","description":"Whether members of the team can destroy registries.\n"},"name":{"type":"string","description":"The name of the team.\n"},"privacy":{"type":"string","description":"The privacy setting for the team. This can be either `VISIBLE` or `SECRET`.\n"},"slug":{"type":"string","description":"The generated slug for the team.\n"},"uuid":{"type":"string","description":"The UUID of the team.\n"}},"required":["defaultMemberRole","defaultTeam","description","membersCanCreatePipelines","membersCanCreateRegistries","membersCanCreateSuites","membersCanDestroyPackages","membersCanDestroyRegistries","name","privacy","slug","uuid"],"inputProperties":{"defaultMemberRole":{"type":"string","description":"The default role for new members of the team. This can be either `MEMBER` or `MAINTAINER`.\n"},"defaultTeam":{"type":"boolean","description":"Whether this is the default team for the organization.\n"},"description":{"type":"string","description":"A description for the team. This is displayed in the Buildkite UI.\n"},"membersCanCreatePipelines":{"type":"boolean","description":"Whether members of the team can create Pipelines.\n"},"membersCanCreateRegistries":{"type":"boolean","description":"Whether members of the team can create registries.\n"},"membersCanCreateSuites":{"type":"boolean","description":"Whether members of the team can create test suites.\n"},"membersCanDestroyPackages":{"type":"boolean","description":"Whether members of the team can destroy packages.\n"},"membersCanDestroyRegistries":{"type":"boolean","description":"Whether members of the team can destroy registries.\n"},"name":{"type":"string","description":"The name of the team.\n"},"privacy":{"type":"string","description":"The privacy setting for the team. This can be either `VISIBLE` or `SECRET`.\n"}},"requiredInputs":["defaultMemberRole","defaultTeam","privacy"],"stateInputs":{"description":"Input properties used for looking up and filtering Team resources.\n","properties":{"defaultMemberRole":{"type":"string","description":"The default role for new members of the team. This can be either `MEMBER` or `MAINTAINER`.\n"},"defaultTeam":{"type":"boolean","description":"Whether this is the default team for the organization.\n"},"description":{"type":"string","description":"A description for the team. This is displayed in the Buildkite UI.\n"},"membersCanCreatePipelines":{"type":"boolean","description":"Whether members of the team can create Pipelines.\n"},"membersCanCreateRegistries":{"type":"boolean","description":"Whether members of the team can create registries.\n"},"membersCanCreateSuites":{"type":"boolean","description":"Whether members of the team can create test suites.\n"},"membersCanDestroyPackages":{"type":"boolean","description":"Whether members of the team can destroy packages.\n"},"membersCanDestroyRegistries":{"type":"boolean","description":"Whether members of the team can destroy registries.\n"},"name":{"type":"string","description":"The name of the team.\n"},"privacy":{"type":"string","description":"The privacy setting for the team. This can be either `VISIBLE` or `SECRET`.\n"},"slug":{"type":"string","description":"The generated slug for the team.\n"},"uuid":{"type":"string","description":"The UUID of the team.\n"}},"type":"object"}},"buildkite:TestSuite/team:Team":{"description":"Manage team access to a test suite.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a test suite\nconst main = new buildkite.testsuite.TestSuite(\"main\", {\n    name: \"main\",\n    defaultBranch: \"main\",\n    teamOwnerId: \"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\",\n});\n// give the \"everyone\" team manage access to the \"main\" test suite\nconst mainEveryone = new buildkite.testsuite.Team(\"main_everyone\", {\n    testSuiteId: main.id,\n    teamId: \"VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\",\n    accessLevel: \"MANAGE_AND_READ\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a test suite\nmain = buildkite.testsuite.TestSuite(\"main\",\n    name=\"main\",\n    default_branch=\"main\",\n    team_owner_id=\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\")\n# give the \"everyone\" team manage access to the \"main\" test suite\nmain_everyone = buildkite.testsuite.Team(\"main_everyone\",\n    test_suite_id=main.id,\n    team_id=\"VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\",\n    access_level=\"MANAGE_AND_READ\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a test suite\n    var main = new Buildkite.TestSuite.TestSuite(\"main\", new()\n    {\n        Name = \"main\",\n        DefaultBranch = \"main\",\n        TeamOwnerId = \"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\",\n    });\n\n    // give the \"everyone\" team manage access to the \"main\" test suite\n    var mainEveryone = new Buildkite.TestSuite.Team(\"main_everyone\", new()\n    {\n        TestSuiteId = main.Id,\n        TeamId = \"VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\",\n        AccessLevel = \"MANAGE_AND_READ\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/testsuite\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a test suite\n\t\tmain, err := testsuite.NewTestSuite(ctx, \"main\", \u0026testsuite.TestSuiteArgs{\n\t\t\tName:          pulumi.String(\"main\"),\n\t\t\tDefaultBranch: pulumi.String(\"main\"),\n\t\t\tTeamOwnerId:   pulumi.String(\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// give the \"everyone\" team manage access to the \"main\" test suite\n\t\t_, err = testsuite.NewTeam(ctx, \"main_everyone\", \u0026testsuite.TeamArgs{\n\t\t\tTestSuiteId: main.ID(),\n\t\t\tTeamId:      pulumi.String(\"VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\"),\n\t\t\tAccessLevel: pulumi.String(\"MANAGE_AND_READ\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.TestSuite.TestSuite;\nimport com.pulumi.buildkite.TestSuite.TestSuiteArgs;\nimport com.pulumi.buildkite.TestSuite.Team;\nimport com.pulumi.buildkite.TestSuite.TeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a test suite\n        var main = new TestSuite(\"main\", TestSuiteArgs.builder()\n            .name(\"main\")\n            .defaultBranch(\"main\")\n            .teamOwnerId(\"VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\")\n            .build());\n\n        // give the \"everyone\" team manage access to the \"main\" test suite\n        var mainEveryone = new Team(\"mainEveryone\", TeamArgs.builder()\n            .testSuiteId(main.id())\n            .teamId(\"VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\")\n            .accessLevel(\"MANAGE_AND_READ\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a test suite\n  main:\n    type: buildkite:TestSuite:TestSuite\n    properties:\n      name: main\n      defaultBranch: main\n      teamOwnerId: VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==\n  # give the \"everyone\" team manage access to the \"main\" test suite\n  mainEveryone:\n    type: buildkite:TestSuite:Team\n    name: main_everyone\n    properties:\n      testSuiteId: ${main.id}\n      teamId: VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==\n      accessLevel: MANAGE_AND_READ\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a test suite team resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getTeamSuiteIds {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    suites(first: 1, search:\"SUITE_SEARCH_TERM\") {\n\n      edges {\n\n        node {\n\n          id\n\n          name\n\n          teams(first: 10){\n\n            edges {\n\n              node {\n\n                id\n\n                accessLevel\n\n                team{\n\n                  name\n\n                }\n\n              }\n\n            }\n\n          }\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:TestSuite/team:Team main_everyone VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\n```\n\n","properties":{"accessLevel":{"type":"string","description":"The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"testSuiteId":{"type":"string","description":"The GraphQL ID of the test suite.\n"},"uuid":{"type":"string","description":"The UUID of the test suite-team relationship.\n"}},"required":["accessLevel","teamId","testSuiteId","uuid"],"inputProperties":{"accessLevel":{"type":"string","description":"The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"testSuiteId":{"type":"string","description":"The GraphQL ID of the test suite.\n"}},"requiredInputs":["accessLevel","teamId","testSuiteId"],"stateInputs":{"description":"Input properties used for looking up and filtering Team resources.\n","properties":{"accessLevel":{"type":"string","description":"The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.\n"},"teamId":{"type":"string","description":"The GraphQL ID of the team.\n"},"testSuiteId":{"type":"string","description":"The GraphQL ID of the test suite.\n"},"uuid":{"type":"string","description":"The UUID of the test suite-team relationship.\n"}},"type":"object"}},"buildkite:TestSuite/testSuite:TestSuite":{"description":"A test suite is a collection of tests. A run is to a suite what a build is to a Pipeline.Use this resource to manage [Test Suites](https://buildkite.com/docs/test-analytics) on Buildkite.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// create a test suite for the main repository\nconst main = new buildkite.testsuite.TestSuite(\"main\", {\n    name: \"main\",\n    defaultBranch: \"main\",\n    emoji: \":buildkite:\",\n    teamOwnerId: \"VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_buildkite as buildkite\n\n# create a test suite for the main repository\nmain = buildkite.testsuite.TestSuite(\"main\",\n    name=\"main\",\n    default_branch=\"main\",\n    emoji=\":buildkite:\",\n    team_owner_id=\"VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // create a test suite for the main repository\n    var main = new Buildkite.TestSuite.TestSuite(\"main\", new()\n    {\n        Name = \"main\",\n        DefaultBranch = \"main\",\n        Emoji = \":buildkite:\",\n        TeamOwnerId = \"VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/testsuite\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// create a test suite for the main repository\n\t\t_, err := testsuite.NewTestSuite(ctx, \"main\", \u0026testsuite.TestSuiteArgs{\n\t\t\tName:          pulumi.String(\"main\"),\n\t\t\tDefaultBranch: pulumi.String(\"main\"),\n\t\t\tEmoji:         pulumi.String(\":buildkite:\"),\n\t\t\tTeamOwnerId:   pulumi.String(\"VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.TestSuite.TestSuite;\nimport com.pulumi.buildkite.TestSuite.TestSuiteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // create a test suite for the main repository\n        var main = new TestSuite(\"main\", TestSuiteArgs.builder()\n            .name(\"main\")\n            .defaultBranch(\"main\")\n            .emoji(\":buildkite:\")\n            .teamOwnerId(\"VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # create a test suite for the main repository\n  main:\n    type: buildkite:TestSuite:TestSuite\n    properties:\n      name: main\n      defaultBranch: main\n      emoji: ':buildkite:'\n      teamOwnerId: VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import resources using the `id`. For example:\n\nimport a test suite resource using the GraphQL ID\n\nyou can use this query to find the ID:\n\nquery getSuiteIds {\n\n  organization(slug: \"ORGANIZATION_SLUG\") {\n\n    suites(first: 1, search:\"SUITE_SEARCH_TERM\") {\n\n      edges {\n\n        node {\n\n          id\n\n          name\n\n        }\n\n      }\n\n    }\n\n  }\n\n}\n\n```sh\n$ pulumi import buildkite:TestSuite/testSuite:TestSuite acceptance VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi\n```\n\n","properties":{"apiToken":{"type":"string","description":"The API token to use to send test run data to the API.\n","secret":true},"defaultBranch":{"type":"string","description":"The default branch for the repository this test suite is for.\n"},"emoji":{"type":"string","description":"The emoji associated with this test suite, eg :buildkite:\n"},"name":{"type":"string","description":"The name to give the test suite.\n"},"slug":{"type":"string","description":"The generated slug of the test suite.\n"},"teamOwnerId":{"type":"string","description":"The GraphQL ID of the team to mark as the owner/admin of the test suite.\n"},"uuid":{"type":"string","description":"The UUID of the test suite.\n"}},"required":["apiToken","defaultBranch","name","slug","teamOwnerId","uuid"],"inputProperties":{"defaultBranch":{"type":"string","description":"The default branch for the repository this test suite is for.\n"},"emoji":{"type":"string","description":"The emoji associated with this test suite, eg :buildkite:\n"},"name":{"type":"string","description":"The name to give the test suite.\n"},"teamOwnerId":{"type":"string","description":"The GraphQL ID of the team to mark as the owner/admin of the test suite.\n"}},"requiredInputs":["defaultBranch","teamOwnerId"],"stateInputs":{"description":"Input properties used for looking up and filtering TestSuite resources.\n","properties":{"apiToken":{"type":"string","description":"The API token to use to send test run data to the API.\n","secret":true},"defaultBranch":{"type":"string","description":"The default branch for the repository this test suite is for.\n"},"emoji":{"type":"string","description":"The emoji associated with this test suite, eg :buildkite:\n"},"name":{"type":"string","description":"The name to give the test suite.\n"},"slug":{"type":"string","description":"The generated slug of the test suite.\n"},"teamOwnerId":{"type":"string","description":"The GraphQL ID of the team to mark as the owner/admin of the test suite.\n"},"uuid":{"type":"string","description":"The UUID of the test suite.\n"}},"type":"object"}}},"functions":{"buildkite:Cluster/getCluster:getCluster":{"description":"Use this data source to retrieve a cluster by name. You can find out more about clusters in the Buildkite [documentation](https://buildkite.com/docs/clusters/overview).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// Find the \"default\" cluster\nconst _default = buildkite.Cluster.getCluster({\n    name: \"default\",\n});\n// Assign a pipeline to that cluster\nconst terraform_provider_buildkite = new buildkite.pipeline.Pipeline(\"terraform-provider-buildkite\", {\n    name: \"terraform-provider-buildkite\",\n    repository: \"git@github.com:buildkite/terraform-provider-buildkite.git\",\n    clusterId: _default.then(_default =\u003e _default.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\nimport pulumiverse_buildkite as buildkite\n\n# Find the \"default\" cluster\ndefault = buildkite.Cluster.get_cluster(name=\"default\")\n# Assign a pipeline to that cluster\nterraform_provider_buildkite = buildkite.pipeline.Pipeline(\"terraform-provider-buildkite\",\n    name=\"terraform-provider-buildkite\",\n    repository=\"git@github.com:buildkite/terraform-provider-buildkite.git\",\n    cluster_id=default.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // Find the \"default\" cluster\n    var @default = Buildkite.Cluster.GetCluster.Invoke(new()\n    {\n        Name = \"default\",\n    });\n\n    // Assign a pipeline to that cluster\n    var terraform_provider_buildkite = new Buildkite.Pipeline.Pipeline(\"terraform-provider-buildkite\", new()\n    {\n        Name = \"terraform-provider-buildkite\",\n        Repository = \"git@github.com:buildkite/terraform-provider-buildkite.git\",\n        ClusterId = @default.Apply(@default =\u003e @default.Apply(getClusterResult =\u003e getClusterResult.Id)),\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/cluster\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Find the \"default\" cluster\n\t\t_default, err := cluster.GetCluster(ctx, \u0026cluster.GetClusterArgs{\n\t\t\tName: \"default\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Assign a pipeline to that cluster\n\t\t_, err = pipeline.NewPipeline(ctx, \"terraform-provider-buildkite\", \u0026pipeline.PipelineArgs{\n\t\t\tName:       pulumi.String(\"terraform-provider-buildkite\"),\n\t\t\tRepository: pulumi.String(\"git@github.com:buildkite/terraform-provider-buildkite.git\"),\n\t\t\tClusterId:  pulumi.String(_default.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Cluster.ClusterFunctions;\nimport com.pulumi.buildkite.Cluster.inputs.GetClusterArgs;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // Find the \"default\" cluster\n        final var default = ClusterFunctions.getCluster(GetClusterArgs.builder()\n            .name(\"default\")\n            .build());\n\n        // Assign a pipeline to that cluster\n        var terraform_provider_buildkite = new Pipeline(\"terraform-provider-buildkite\", PipelineArgs.builder()\n            .name(\"terraform-provider-buildkite\")\n            .repository(\"git@github.com:buildkite/terraform-provider-buildkite.git\")\n            .clusterId(default_.id())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # Assign a pipeline to that cluster\n  terraform-provider-buildkite:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: terraform-provider-buildkite\n      repository: git@github.com:buildkite/terraform-provider-buildkite.git\n      clusterId: ${default.id}\nvariables:\n  # Find the \"default\" cluster\n  default:\n    fn::invoke:\n      function: buildkite:Cluster:getCluster\n      arguments:\n        name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getCluster.\n","properties":{"name":{"type":"string","description":"The name of the cluster to retrieve.\n"}},"type":"object","required":["name"]},"outputs":{"description":"A collection of values returned by getCluster.\n","properties":{"color":{"description":"The color of the cluster.\n","type":"string"},"description":{"description":"The description of the cluster.\n","type":"string"},"emoji":{"description":"The emoji of the cluster.\n","type":"string"},"id":{"description":"The GraphQL ID of the cluster.\n","type":"string"},"maintainers":{"description":"List of maintainers (users and teams) for this cluster.\n","items":{"$ref":"#/types/buildkite:Cluster/getClusterMaintainer:getClusterMaintainer"},"type":"array"},"name":{"description":"The name of the cluster to retrieve.\n","type":"string"},"uuid":{"description":"The UUID of the cluster\n","type":"string"}},"required":["color","description","emoji","id","maintainers","name","uuid"],"type":"object"}},"buildkite:Cluster/getClusters:getClusters":{"description":"Use this data source to retrieve clusters of an organization. You can find out more about clusters in the Buildkite\n[documentation](https://buildkite.com/docs/agent/v3/clusters).\n","outputs":{"description":"A collection of values returned by getClusters.\n","properties":{"clusters":{"items":{"$ref":"#/types/buildkite:Cluster/getClustersCluster:getClustersCluster"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"}},"required":["clusters","id"],"type":"object"}},"buildkite:Organization/getMember:getMember":{"description":"Use this data source to retrieve a specific organization member, using their email. You can find out more about organization members in the Buildkite\n[documentation](https://buildkite.com/docs/platform/team-management).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst aSmith = buildkite.Organization.getMember({\n    email: \"a.smith@company.com\",\n});\nconst developers = new buildkite.team.Team(\"developers\", {\n    name: \"Developers\",\n    privacy: \"VISIBLE\",\n    defaultTeam: false,\n    defaultMemberRole: \"MEMBER\",\n});\nconst developersASmith = new buildkite.team.Member(\"developers_a_smith\", {\n    teamId: developers.id,\n    userId: aSmith.then(aSmith =\u003e aSmith.id),\n    role: \"MEMBER\",\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\nimport pulumiverse_buildkite as buildkite\n\na_smith = buildkite.Organization.get_member(email=\"a.smith@company.com\")\ndevelopers = buildkite.team.Team(\"developers\",\n    name=\"Developers\",\n    privacy=\"VISIBLE\",\n    default_team=False,\n    default_member_role=\"MEMBER\")\ndevelopers_a_smith = buildkite.team.Member(\"developers_a_smith\",\n    team_id=developers.id,\n    user_id=a_smith.id,\n    role=\"MEMBER\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var aSmith = Buildkite.Organization.GetMember.Invoke(new()\n    {\n        Email = \"a.smith@company.com\",\n    });\n\n    var developers = new Buildkite.Team.Team(\"developers\", new()\n    {\n        Name = \"Developers\",\n        Privacy = \"VISIBLE\",\n        DefaultTeam = false,\n        DefaultMemberRole = \"MEMBER\",\n    });\n\n    var developersASmith = new Buildkite.Team.Member(\"developers_a_smith\", new()\n    {\n        TeamId = developers.Id,\n        UserId = aSmith.Apply(getMemberResult =\u003e getMemberResult.Id),\n        Role = \"MEMBER\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\taSmith, err := organization.GetMember(ctx, \u0026organization.GetMemberArgs{\n\t\t\tEmail: \"a.smith@company.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdevelopers, err := team.NewTeam(ctx, \"developers\", \u0026team.TeamArgs{\n\t\t\tName:              pulumi.String(\"Developers\"),\n\t\t\tPrivacy:           pulumi.String(\"VISIBLE\"),\n\t\t\tDefaultTeam:       pulumi.Bool(false),\n\t\t\tDefaultMemberRole: pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = team.NewMember(ctx, \"developers_a_smith\", \u0026team.MemberArgs{\n\t\t\tTeamId: developers.ID(),\n\t\t\tUserId: pulumi.String(aSmith.Id),\n\t\t\tRole:   pulumi.String(\"MEMBER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.OrganizationFunctions;\nimport com.pulumi.buildkite.Organization.inputs.GetMemberArgs;\nimport com.pulumi.buildkite.Team.Team;\nimport com.pulumi.buildkite.Team.TeamArgs;\nimport com.pulumi.buildkite.Team.Member;\nimport com.pulumi.buildkite.Team.MemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var aSmith = OrganizationFunctions.getMember(GetMemberArgs.builder()\n            .email(\"a.smith@company.com\")\n            .build());\n\n        var developers = new Team(\"developers\", TeamArgs.builder()\n            .name(\"Developers\")\n            .privacy(\"VISIBLE\")\n            .defaultTeam(false)\n            .defaultMemberRole(\"MEMBER\")\n            .build());\n\n        var developersASmith = new Member(\"developersASmith\", MemberArgs.builder()\n            .teamId(developers.id())\n            .userId(aSmith.id())\n            .role(\"MEMBER\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  developers:\n    type: buildkite:Team:Team\n    properties:\n      name: Developers\n      privacy: VISIBLE\n      defaultTeam: false\n      defaultMemberRole: MEMBER\n  developersASmith:\n    type: buildkite:Team:Member\n    name: developers_a_smith\n    properties:\n      teamId: ${developers.id}\n      userId: ${aSmith.id}\n      role: MEMBER\nvariables:\n  aSmith:\n    fn::invoke:\n      function: buildkite:Organization:getMember\n      arguments:\n        email: a.smith@company.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getMember.\n","properties":{"email":{"type":"string","description":"The email address of the organization member.\n"}},"type":"object","required":["email"]},"outputs":{"description":"A collection of values returned by getMember.\n","properties":{"email":{"description":"The email address of the organization member.\n","type":"string"},"id":{"description":"The GraphQL ID of the organization member.\n","type":"string"},"name":{"description":"The name of the organization member.\n","type":"string"},"uuid":{"description":"The UUID of the organization member.\n","type":"string"}},"required":["email","id","name","uuid"],"type":"object"}},"buildkite:Organization/getMembers:getMembers":{"description":"Use this data source to retrieve a members of an organization. You can find out more about organization members in the Buildkite\n[documentation](https://buildkite.com/docs/platform/team-management).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst members = buildkite.Organization.getMembers({});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\nmembers = buildkite.Organization.get_members()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var members = Buildkite.Organization.GetMembers.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := organization.GetMembers(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.OrganizationFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var members = OrganizationFunctions.getMembers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);\n\n    }\n}\n```\n```yaml\nvariables:\n  members:\n    fn::invoke:\n      function: buildkite:Organization:getMembers\n      arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","outputs":{"description":"A collection of values returned by getMembers.\n","properties":{"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"members":{"items":{"$ref":"#/types/buildkite:Organization/getMembersMember:getMembersMember"},"type":"array"}},"required":["members","id"],"type":"object"}},"buildkite:Organization/getOrganization:getOrganization":{"description":"Use this data source to look up the organization settings.\n","outputs":{"description":"A collection of values returned by getOrganization.\n","properties":{"allowedApiIpAddresses":{"description":"List of IP addresses in CIDR format that are allowed to access the Buildkite API for this organization.\n","items":{"type":"string"},"type":"array"},"id":{"description":"The GraphQL ID of the organization.\n","type":"string"},"uuid":{"description":"The UUID of the organization.\n","type":"string"}},"required":["allowedApiIpAddresses","id","uuid"],"type":"object"}},"buildkite:Organization/getPortal:getPortal":{"description":"Use this data source to retrieve a portal by slug. You can find out more about portals in the Buildkite [documentation](https://buildkite.com/docs/apis/portals).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst viewer = buildkite.Organization.getPortal({\n    slug: \"viewer-info\",\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\nviewer = buildkite.Organization.get_portal(slug=\"viewer-info\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var viewer = Buildkite.Organization.GetPortal.Invoke(new()\n    {\n        Slug = \"viewer-info\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := organization.GetPortal(ctx, \u0026organization.GetPortalArgs{\n\t\t\tSlug: \"viewer-info\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.OrganizationFunctions;\nimport com.pulumi.buildkite.Organization.inputs.GetPortalArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var viewer = OrganizationFunctions.getPortal(GetPortalArgs.builder()\n            .slug(\"viewer-info\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  viewer:\n    fn::invoke:\n      function: buildkite:Organization:getPortal\n      arguments:\n        slug: viewer-info\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getPortal.\n","properties":{"slug":{"type":"string","description":"The slug of the portal to retrieve.\n"}},"type":"object","required":["slug"]},"outputs":{"description":"A collection of values returned by getPortal.\n","properties":{"allowedIpAddresses":{"description":"Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.\n","type":"string"},"createdAt":{"description":"The time when the portal was created.\n","type":"string"},"createdBy":{"$ref":"#/types/buildkite:Organization/getPortalCreatedBy:getPortalCreatedBy","description":"Information about the user who created the portal.\n"},"description":{"description":"The description of the portal.\n","type":"string"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"name":{"description":"The name of the portal.\n","type":"string"},"query":{"description":"The GraphQL query that the portal executes.\n","type":"string"},"slug":{"description":"The slug of the portal to retrieve.\n","type":"string"},"userInvokable":{"description":"Whether users can invoke the portal.\n","type":"boolean"},"uuid":{"description":"The UUID of the portal.\n","type":"string"}},"required":["allowedIpAddresses","createdAt","createdBy","description","name","query","slug","userInvokable","uuid","id"],"type":"object"}},"buildkite:Organization/getPortals:getPortals":{"description":"Use this data source to retrieve all portals for an organization.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst all = buildkite.Organization.getPortals({});\nexport const userInvokablePortals = all.then(all =\u003e .filter(portal =\u003e portal.userInvokable).map(portal =\u003e (portal.name)));\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\nall = buildkite.Organization.get_portals()\npulumi.export(\"userInvokablePortals\", [portal.name for portal in all.portals if portal.user_invokable])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var all = Buildkite.Organization.GetPortals.Invoke();\n\n    return new Dictionary\u003cstring, object?\u003e\n    {\n        [\"userInvokablePortals\"] = .Where(portal =\u003e portal.UserInvokable).Select(portal =\u003e \n        {\n            return portal.Name;\n        }).ToList(),\n    };\n});\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","outputs":{"description":"A collection of values returned by getPortals.\n","properties":{"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"portals":{"items":{"$ref":"#/types/buildkite:Organization/getPortalsPortal:getPortalsPortal"},"type":"array"}},"required":["portals","id"],"type":"object"}},"buildkite:Organization/getRegistry:getRegistry":{"description":"Use this data source to retrieve information about a Buildkite Package Registry.\n\nA package registry is a private repository for your organization's packages.\nSee https://buildkite.com/docs/packages for more information.\n","inputs":{"description":"A collection of arguments for invoking getRegistry.\n","properties":{"slug":{"type":"string","description":"The slug of the registry. This is used to identify the registry.\n"}},"type":"object","required":["slug"]},"outputs":{"description":"A collection of values returned by getRegistry.\n","properties":{"color":{"description":"A color representation of the registry.\n","type":"string"},"description":{"description":"A description for the registry.\n","type":"string"},"ecosystem":{"description":"The ecosystem of the registry (e.g. `NPM`, `RUBYGEMS`, `DOCKER`).\n","type":"string"},"emoji":{"description":"An emoji to use with the registry.\n","type":"string"},"id":{"description":"The GraphQL ID of the registry.\n","type":"string"},"name":{"description":"The name of the registry.\n","type":"string"},"oidcPolicy":{"description":"The registry's OIDC policy.\n","type":"string"},"slug":{"description":"The slug of the registry. This is used to identify the registry.\n","type":"string"},"teamIds":{"description":"A list of team GraphQL IDs that have access to this registry.\n","items":{"type":"string"},"type":"array"},"uuid":{"description":"The UUID of the registry.\n","type":"string"}},"required":["color","description","ecosystem","emoji","id","name","oidcPolicy","slug","teamIds","uuid"],"type":"object"}},"buildkite:Organization/getRule:getRule":{"description":"\u003e Rules is a feature that is currently in development and enabled on an opt-in basis for early access. To have this enabled for your organization for utilizing this data source, please reach out to Buildkite's Support Team.\n\nUse this data source to retrieve an organization rule by its ID.\n\nMore information on organization rules can be found in the [documentation](https://buildkite.com/docs/pipelines/rules).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\n// Read an organization rule by its id\nconst dataArtifactsReadDevTest = buildkite.Organization.getRule({\n    id: artifactsReadDevTest.id,\n});\n// Read an organization rule by its uuid\nconst dataArtifactsReadTestDev = buildkite.Organization.getRule({\n    uuid: artifactsReadTestDev.uuid,\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\n# Read an organization rule by its id\ndata_artifacts_read_dev_test = buildkite.Organization.get_rule(id=artifacts_read_dev_test[\"id\"])\n# Read an organization rule by its uuid\ndata_artifacts_read_test_dev = buildkite.Organization.get_rule(uuid=artifacts_read_test_dev[\"uuid\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    // Read an organization rule by its id\n    var dataArtifactsReadDevTest = Buildkite.Organization.GetRule.Invoke(new()\n    {\n        Id = artifactsReadDevTest.Id,\n    });\n\n    // Read an organization rule by its uuid\n    var dataArtifactsReadTestDev = Buildkite.Organization.GetRule.Invoke(new()\n    {\n        Uuid = artifactsReadTestDev.Uuid,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/organization\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Read an organization rule by its id\n\t\t_, err := organization.GetRule(ctx, \u0026organization.GetRuleArgs{\n\t\t\tId: pulumi.StringRef(artifactsReadDevTest.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Read an organization rule by its uuid\n\t\t_, err = organization.GetRule(ctx, \u0026organization.GetRuleArgs{\n\t\t\tUuid: pulumi.StringRef(artifactsReadTestDev.Uuid),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Organization.OrganizationFunctions;\nimport com.pulumi.buildkite.Organization.inputs.GetRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // Read an organization rule by its id\n        final var dataArtifactsReadDevTest = OrganizationFunctions.getRule(GetRuleArgs.builder()\n            .id(artifactsReadDevTest.id())\n            .build());\n\n        // Read an organization rule by its uuid\n        final var dataArtifactsReadTestDev = OrganizationFunctions.getRule(GetRuleArgs.builder()\n            .uuid(artifactsReadTestDev.uuid())\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  # Read an organization rule by its id\n  dataArtifactsReadDevTest:\n    fn::invoke:\n      function: buildkite:Organization:getRule\n      arguments:\n        id: ${artifactsReadDevTest.id}\n  # Read an organization rule by its uuid\n  dataArtifactsReadTestDev:\n    fn::invoke:\n      function: buildkite:Organization:getRule\n      arguments:\n        uuid: ${artifactsReadTestDev.uuid}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getRule.\n","properties":{"id":{"type":"string","description":"The GraphQL ID of the organization rule.\n"},"uuid":{"type":"string","description":"The UUID of the organization rule.\n"}},"type":"object"},"outputs":{"description":"A collection of values returned by getRule.\n","properties":{"action":{"description":"The action defined between source and target resources.\n","type":"string"},"description":{"description":"The description of the organization rule.\n","type":"string"},"effect":{"description":"Whether this organization rule allows or denys the action to take place between source and target resources.\n","type":"string"},"id":{"description":"The GraphQL ID of the organization rule.\n","type":"string"},"sourceType":{"description":"The source resource type that this organization rule allows or denies to invoke its defined action.\n","type":"string"},"sourceUuid":{"description":"The UUID of the resource that this organization rule allows or denies invocating its defined action.\n","type":"string"},"targetType":{"description":"The target resource type that this organization rule allows or denies the source to respective action.\n","type":"string"},"targetUuid":{"description":"The UUID of the target resourcee that this organization rule allows or denies invocation its respective action.\n","type":"string"},"type":{"description":"The type of organization rule.\n","type":"string"},"uuid":{"description":"The UUID of the organization rule.\n","type":"string"},"value":{"description":"The JSON document that this organization rule implements.\n","type":"string"}},"required":["action","description","effect","sourceType","sourceUuid","targetType","targetUuid","type","value"],"type":"object"}},"buildkite:Pipeline/getPipeline:getPipeline":{"description":"Use this data source to look up properties on a specific pipeline. This is particularly useful for looking up the webhook URL for each pipeline.\n\nMore info in the Buildkite [documentation](https://buildkite.com/docs/pipelines).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst pipeline = buildkite.Pipeline.getPipeline({\n    slug: \"buildkite\",\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\npipeline = buildkite.Pipeline.get_pipeline(slug=\"buildkite\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var pipeline = Buildkite.Pipeline.GetPipeline.Invoke(new()\n    {\n        Slug = \"buildkite\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := pipeline.GetPipeline(ctx, \u0026pipeline.GetPipelineArgs{\n\t\t\tSlug: \"buildkite\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.PipelineFunctions;\nimport com.pulumi.buildkite.Pipeline.inputs.GetPipelineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var pipeline = PipelineFunctions.getPipeline(GetPipelineArgs.builder()\n            .slug(\"buildkite\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  pipeline:\n    fn::invoke:\n      function: buildkite:Pipeline:getPipeline\n      arguments:\n        slug: buildkite\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getPipeline.\n","properties":{"slug":{"type":"string","description":"The slug of the pipeline.\n"}},"type":"object","required":["slug"]},"outputs":{"description":"A collection of values returned by getPipeline.\n","properties":{"clusterId":{"description":"The GraphQL ID of the cluster the pipeline is (optionally) attached to.\n","type":"string"},"clusterName":{"description":"The name of the cluster the pipeline is (optionally) attached to.\n","type":"string"},"defaultBranch":{"description":"The default branch to prefill when new builds are created or triggered.\n","type":"string"},"description":{"description":"The description of the pipeline.\n","type":"string"},"id":{"description":"The GraphQL ID of the pipeline.\n","type":"string"},"name":{"description":"The name of the pipeline.\n","type":"string"},"repository":{"description":"The git URL of the repository.\n","type":"string"},"slug":{"description":"The slug of the pipeline.\n","type":"string"},"uuid":{"description":"The UUID of the pipeline.\n","type":"string"},"webhookUrl":{"description":"The Buildkite webhook URL that triggers builds on this pipeline.\n","type":"string"}},"required":["clusterId","clusterName","defaultBranch","description","id","name","repository","slug","uuid","webhookUrl"],"type":"object"}},"buildkite:Pipeline/getSignedSteps:getSignedSteps":{"description":"Use this data source to sign pipeline steps with a JWKS key. You will need to have\nthe corresponding verification key present on the agents that run this the steps in\nthis pipeline. You can then use these steps in a \u003cspan pulumi-lang-nodejs=\"`buildkite.Pipeline.Pipeline`\" pulumi-lang-dotnet=\"`buildkite.Pipeline.Pipeline`\" pulumi-lang-go=\"`Pipeline.Pipeline`\" pulumi-lang-python=\"`Pipeline.Pipeline`\" pulumi-lang-yaml=\"`buildkite.Pipeline.Pipeline`\" pulumi-lang-java=\"`buildkite.Pipeline.Pipeline`\"\u003e`buildkite.Pipeline.Pipeline`\u003c/span\u003e resource.\n\nSee [RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517) for more information\nabout the JWKS format.\n\nSee the Buildkite [documentation](https://buildkite.com/docs/agent/v3/signed_pipelines)\nfor more info about signed pipelines.\n\nNote that the PS512 and ES512 signature algorithms are nondeterministic and\nwill result in the signature changing on each run. Use EdDSA to avoid drift.\n\n","inputs":{"description":"A collection of arguments for invoking getSignedSteps.\n","properties":{"jwks":{"type":"string","description":"The JSON Web Key Set (JWKS) to use for signing.\nAll double-quotes in the JSON object must be escaped `\\\"`.\nIf \u003cspan pulumi-lang-nodejs=\"`jwksKeyId`\" pulumi-lang-dotnet=\"`JwksKeyId`\" pulumi-lang-go=\"`jwksKeyId`\" pulumi-lang-python=\"`jwks_key_id`\" pulumi-lang-yaml=\"`jwksKeyId`\" pulumi-lang-java=\"`jwksKeyId`\"\u003e`jwks_key_id`\u003c/span\u003e is not specified, and the set contains exactly one key, that key will\nbe used.\n","secret":true},"jwksFile":{"type":"string"},"jwksKeyId":{"type":"string"},"repository":{"type":"string","description":"The repository that will be checked out in a build of the pipeline.\n"},"unsignedSteps":{"type":"string","description":"The steps to sign in YAML format.\n"}},"type":"object","required":["repository","unsignedSteps"]},"outputs":{"description":"A collection of values returned by getSignedSteps.\n","properties":{"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"jwks":{"description":"The JSON Web Key Set (JWKS) to use for signing.\nAll double-quotes in the JSON object must be escaped `\\\"`.\nIf \u003cspan pulumi-lang-nodejs=\"`jwksKeyId`\" pulumi-lang-dotnet=\"`JwksKeyId`\" pulumi-lang-go=\"`jwksKeyId`\" pulumi-lang-python=\"`jwks_key_id`\" pulumi-lang-yaml=\"`jwksKeyId`\" pulumi-lang-java=\"`jwksKeyId`\"\u003e`jwks_key_id`\u003c/span\u003e is not specified, and the set contains exactly one key, that key will\nbe used.\n","secret":true,"type":"string"},"jwksFile":{"type":"string"},"jwksKeyId":{"type":"string"},"repository":{"description":"The repository that will be checked out in a build of the pipeline.\n","type":"string"},"steps":{"type":"string"},"unsignedSteps":{"description":"The steps to sign in YAML format.\n","type":"string"}},"required":["repository","steps","unsignedSteps","id"],"type":"object"}},"buildkite:Pipeline/getTemplate:getTemplate":{"description":"Use this data source to retrieve a pipeline template by its ID or name.\n\nMore information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst repository = \"git@github.com:my-org/my-repo.git\";\nconst devTemplate = buildkite.Pipeline.getTemplate({\n    id: templateDev.id,\n});\nconst frontendTemplate = buildkite.Pipeline.getTemplate({\n    name: \"Frontend app template\",\n});\nconst apiv2Dev = new buildkite.pipeline.Pipeline(\"apiv2_dev\", {\n    name: \"API v2\",\n    repository: repository,\n    pipelineTemplateId: devTemplate.then(devTemplate =\u003e devTemplate.id),\n});\nconst frontend = new buildkite.pipeline.Pipeline(\"frontend\", {\n    name: \"Frontend\",\n    repository: repository,\n    pipelineTemplateId: frontendTemplate.then(frontendTemplate =\u003e frontendTemplate.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\nimport pulumiverse_buildkite as buildkite\n\nrepository = \"git@github.com:my-org/my-repo.git\"\ndev_template = buildkite.Pipeline.get_template(id=template_dev[\"id\"])\nfrontend_template = buildkite.Pipeline.get_template(name=\"Frontend app template\")\napiv2_dev = buildkite.pipeline.Pipeline(\"apiv2_dev\",\n    name=\"API v2\",\n    repository=repository,\n    pipeline_template_id=dev_template.id)\nfrontend = buildkite.pipeline.Pipeline(\"frontend\",\n    name=\"Frontend\",\n    repository=repository,\n    pipeline_template_id=frontend_template.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var repository = \"git@github.com:my-org/my-repo.git\";\n\n    var devTemplate = Buildkite.Pipeline.GetTemplate.Invoke(new()\n    {\n        Id = templateDev.Id,\n    });\n\n    var frontendTemplate = Buildkite.Pipeline.GetTemplate.Invoke(new()\n    {\n        Name = \"Frontend app template\",\n    });\n\n    var apiv2Dev = new Buildkite.Pipeline.Pipeline(\"apiv2_dev\", new()\n    {\n        Name = \"API v2\",\n        Repository = repository,\n        PipelineTemplateId = devTemplate.Apply(getTemplateResult =\u003e getTemplateResult.Id),\n    });\n\n    var frontend = new Buildkite.Pipeline.Pipeline(\"frontend\", new()\n    {\n        Name = \"Frontend\",\n        Repository = repository,\n        PipelineTemplateId = frontendTemplate.Apply(getTemplateResult =\u003e getTemplateResult.Id),\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/pipeline\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trepository := \"git@github.com:my-org/my-repo.git\"\n\t\tdevTemplate, err := pipeline.GetTemplate(ctx, \u0026pipeline.GetTemplateArgs{\n\t\t\tId: pulumi.StringRef(templateDev.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrontendTemplate, err := pipeline.GetTemplate(ctx, \u0026pipeline.GetTemplateArgs{\n\t\t\tName: pulumi.StringRef(\"Frontend app template\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pipeline.NewPipeline(ctx, \"apiv2_dev\", \u0026pipeline.PipelineArgs{\n\t\t\tName:               pulumi.String(\"API v2\"),\n\t\t\tRepository:         pulumi.String(repository),\n\t\t\tPipelineTemplateId: pulumi.String(devTemplate.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pipeline.NewPipeline(ctx, \"frontend\", \u0026pipeline.PipelineArgs{\n\t\t\tName:               pulumi.String(\"Frontend\"),\n\t\t\tRepository:         pulumi.String(repository),\n\t\t\tPipelineTemplateId: pulumi.String(frontendTemplate.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Pipeline.PipelineFunctions;\nimport com.pulumi.buildkite.Pipeline.inputs.GetTemplateArgs;\nimport com.pulumi.buildkite.Pipeline.Pipeline;\nimport com.pulumi.buildkite.Pipeline.PipelineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var repository = \"git@github.com:my-org/my-repo.git\";\n\n        final var devTemplate = PipelineFunctions.getTemplate(GetTemplateArgs.builder()\n            .id(templateDev.id())\n            .build());\n\n        final var frontendTemplate = PipelineFunctions.getTemplate(GetTemplateArgs.builder()\n            .name(\"Frontend app template\")\n            .build());\n\n        var apiv2Dev = new Pipeline(\"apiv2Dev\", PipelineArgs.builder()\n            .name(\"API v2\")\n            .repository(repository)\n            .pipelineTemplateId(devTemplate.id())\n            .build());\n\n        var frontend = new Pipeline(\"frontend\", PipelineArgs.builder()\n            .name(\"Frontend\")\n            .repository(repository)\n            .pipelineTemplateId(frontendTemplate.id())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  apiv2Dev:\n    type: buildkite:Pipeline:Pipeline\n    name: apiv2_dev\n    properties:\n      name: API v2\n      repository: ${repository}\n      pipelineTemplateId: ${devTemplate.id}\n  frontend:\n    type: buildkite:Pipeline:Pipeline\n    properties:\n      name: Frontend\n      repository: ${repository}\n      pipelineTemplateId: ${frontendTemplate.id}\nvariables:\n  repository: git@github.com:my-org/my-repo.git\n  devTemplate:\n    fn::invoke:\n      function: buildkite:Pipeline:getTemplate\n      arguments:\n        id: ${templateDev.id}\n  frontendTemplate:\n    fn::invoke:\n      function: buildkite:Pipeline:getTemplate\n      arguments:\n        name: Frontend app template\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getTemplate.\n","properties":{"id":{"type":"string","description":"The GraphQL ID of the pipeline template.\n"},"name":{"type":"string","description":"The name of the pipeline template.\n"}},"type":"object"},"outputs":{"description":"A collection of values returned by getTemplate.\n","properties":{"available":{"description":"If the pipeline template is available for assignment by non admin users.\n","type":"boolean"},"configuration":{"description":"The YAML step configuration for the pipeline template.\n","type":"string"},"description":{"description":"The description for the pipeline template.\n","type":"string"},"id":{"description":"The GraphQL ID of the pipeline template.\n","type":"string"},"name":{"description":"The name of the pipeline template.\n","type":"string"},"uuid":{"description":"The UUID of the pipeline template.\n","type":"string"}},"required":["available","configuration","description","id","name","uuid"],"type":"object"}},"buildkite:Team/getTeam:getTeam":{"description":"Use this data source to retrieve a team by slug or id. You can find out more about teams in the Buildkite\n[documentation](https://buildkite.com/docs/pipelines/permissions).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst teamDev = buildkite.Team.getTeam({\n    id: teamDevBuildkiteTeam.id,\n});\nconst team = buildkite.Team.getTeam({\n    slug: \"Everyone\",\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\n\nteam_dev = buildkite.Team.get_team(id=team_dev_buildkite_team[\"id\"])\nteam = buildkite.Team.get_team(slug=\"Everyone\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var teamDev = Buildkite.Team.GetTeam.Invoke(new()\n    {\n        Id = teamDevBuildkiteTeam.Id,\n    });\n\n    var team = Buildkite.Team.GetTeam.Invoke(new()\n    {\n        Slug = \"Everyone\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := team.GetTeam(ctx, \u0026team.GetTeamArgs{\n\t\t\tId: pulumi.StringRef(teamDevBuildkiteTeam.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = team.GetTeam(ctx, \u0026team.GetTeamArgs{\n\t\t\tSlug: pulumi.StringRef(\"Everyone\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.Team.TeamFunctions;\nimport com.pulumi.buildkite.Team.inputs.GetTeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var teamDev = TeamFunctions.getTeam(GetTeamArgs.builder()\n            .id(teamDevBuildkiteTeam.id())\n            .build());\n\n        final var team = TeamFunctions.getTeam(GetTeamArgs.builder()\n            .slug(\"Everyone\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  teamDev:\n    fn::invoke:\n      function: buildkite:Team:getTeam\n      arguments:\n        id: ${teamDevBuildkiteTeam.id}\n  team:\n    fn::invoke:\n      function: buildkite:Team:getTeam\n      arguments:\n        slug: Everyone\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getTeam.\n","properties":{"id":{"type":"string","description":"The GraphQL ID of the team to find.\n"},"slug":{"type":"string","description":"The slug of the team to find.\n"}},"type":"object"},"outputs":{"description":"A collection of values returned by getTeam.\n","properties":{"defaultMemberRole":{"description":"The default member role of the team.\n","type":"string"},"defaultTeam":{"description":"Whether the team is the default team.\n","type":"boolean"},"description":{"description":"The description of the team.\n","type":"string"},"id":{"description":"The GraphQL ID of the team to find.\n","type":"string"},"membersCanCreatePipelines":{"description":"Whether members can create pipelines.\n","type":"boolean"},"membersCanCreateRegistries":{"description":"Whether members can create registries.\n","type":"boolean"},"membersCanCreateSuites":{"description":"Whether members can create test suites.\n","type":"boolean"},"membersCanDestroyPackages":{"description":"Whether members can destroy packages.\n","type":"boolean"},"membersCanDestroyRegistries":{"description":"Whether members can destroy registries.\n","type":"boolean"},"name":{"description":"The name of the team.\n","type":"string"},"privacy":{"description":"The privacy setting of the team.\n","type":"string"},"slug":{"description":"The slug of the team to find.\n","type":"string"},"uuid":{"description":"The UUID of the team.\n","type":"string"}},"required":["defaultMemberRole","defaultTeam","description","id","membersCanCreatePipelines","membersCanCreateRegistries","membersCanCreateSuites","membersCanDestroyPackages","membersCanDestroyRegistries","name","privacy","slug","uuid"],"type":"object"}},"buildkite:Team/getTeams:getTeams":{"description":"Use this data source to retrieve teams of an organization. You can find out more about teams in the Buildkite\n[documentation](https://buildkite.com/docs/platform/team-management).\n","outputs":{"description":"A collection of values returned by getTeams.\n","properties":{"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"teams":{"items":{"$ref":"#/types/buildkite:Team/getTeamsTeam:getTeamsTeam"},"type":"array"}},"required":["teams","id"],"type":"object"}},"buildkite:TestSuite/getTestSuite:getTestSuite":{"description":"A test suite is a collection of tests. A run is to a suite what a build is to a Pipeline.Use this datasource to read attributes for a [Test Suites](https://buildkite.com/docs/test-analytics) on Buildkite.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst application = buildkite.TestSuite.getTestSuite({\n    slug: \"application\",\n});\nconst team = buildkite.Team.getTeam({\n    slug: \"Everyone\",\n});\nconst everyone = new buildkite.testsuite.Team(\"everyone\", {\n    teamId: team.then(team =\u003e team.id),\n    suiteId: application.then(application =\u003e application.id),\n    accessLevel: \"MANAGE_AND_READ\",\n});\n```\n```python\nimport pulumi\nimport pulumi_buildkite as buildkite\nimport pulumiverse_buildkite as buildkite\n\napplication = buildkite.TestSuite.get_test_suite(slug=\"application\")\nteam = buildkite.Team.get_team(slug=\"Everyone\")\neveryone = buildkite.testsuite.Team(\"everyone\",\n    team_id=team.id,\n    suite_id=application.id,\n    access_level=\"MANAGE_AND_READ\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var application = Buildkite.TestSuite.GetTestSuite.Invoke(new()\n    {\n        Slug = \"application\",\n    });\n\n    var team = Buildkite.Team.GetTeam.Invoke(new()\n    {\n        Slug = \"Everyone\",\n    });\n\n    var everyone = new Buildkite.TestSuite.Team(\"everyone\", new()\n    {\n        TeamId = team.Apply(getTeamResult =\u003e getTeamResult.Id),\n        SuiteId = application.Apply(getTestSuiteResult =\u003e getTestSuiteResult.Id),\n        AccessLevel = \"MANAGE_AND_READ\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/team\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite/testsuite\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tapplication, err := testsuite.GetTestSuite(ctx, \u0026testsuite.GetTestSuiteArgs{\n\t\t\tSlug: \"application\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tteam, err := team.GetTeam(ctx, \u0026team.GetTeamArgs{\n\t\t\tSlug: pulumi.StringRef(\"Everyone\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = testsuite.NewTeam(ctx, \"everyone\", \u0026testsuite.TeamArgs{\n\t\t\tTeamId:      pulumi.String(team.Id),\n\t\t\tSuiteId:     application.Id,\n\t\t\tAccessLevel: pulumi.String(\"MANAGE_AND_READ\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.TestSuite.TestSuiteFunctions;\nimport com.pulumi.buildkite.TestSuite.inputs.GetTestSuiteArgs;\nimport com.pulumi.buildkite.Team.TeamFunctions;\nimport com.pulumi.buildkite.Team.inputs.GetTeamArgs;\nimport com.pulumi.buildkite.TestSuite.Team;\nimport com.pulumi.buildkite.TestSuite.TeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var application = TestSuiteFunctions.getTestSuite(GetTestSuiteArgs.builder()\n            .slug(\"application\")\n            .build());\n\n        final var team = TeamFunctions.getTeam(GetTeamArgs.builder()\n            .slug(\"Everyone\")\n            .build());\n\n        var everyone = new Team(\"everyone\", TeamArgs.builder()\n            .teamId(team.id())\n            .suiteId(application.id())\n            .accessLevel(\"MANAGE_AND_READ\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  everyone:\n    type: buildkite:TestSuite:Team\n    properties:\n      teamId: ${team.id}\n      suiteId: ${application.id}\n      accessLevel: MANAGE_AND_READ\nvariables:\n  application:\n    fn::invoke:\n      function: buildkite:TestSuite:getTestSuite\n      arguments:\n        slug: application\n  team:\n    fn::invoke:\n      function: buildkite:Team:getTeam\n      arguments:\n        slug: Everyone\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getTestSuite.\n","properties":{"slug":{"type":"string","description":"The generated slug of the test suite.\n"}},"type":"object","required":["slug"]},"outputs":{"description":"A collection of values returned by getTestSuite.\n","properties":{"defaultBranch":{"description":"The default branch for the repository this test suite is for.\n","type":"string"},"id":{"description":"The GraphQL ID of the test suite.\n","type":"string"},"name":{"description":"The name to give the test suite.\n","type":"string"},"slug":{"description":"The generated slug of the test suite.\n","type":"string"},"uuid":{"description":"The UUID of the test suite.\n","type":"string"}},"required":["defaultBranch","id","name","slug","uuid"],"type":"object"}},"buildkite:index/getMeta:getMeta":{"description":"Use this data source to look up the source IP addresses that Buildkite may use to send external requests,\nincluding webhooks and API calls to source control systems (like GitHub Enterprise Server and BitBucket Server).\n\nMore info in the Buildkite [documentation](https://buildkite.com/docs/apis/rest-api/meta).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as buildkite from \"@pulumiverse/buildkite\";\n\nconst ips = buildkite.getMeta({});\n// Create an AWS security group allowing ingress from Buildkite\nconst fromBuildkite = new aws.ec2.SecurityGroup(\"from_buildkite\", {\n    name: \"from_buildkite\",\n    ingress: [{\n        fromPort: \"*\",\n        toPort: 443,\n        protocol: \"tcp\",\n        cidrBlocks: ips.then(ips =\u003e ips.webhookIps),\n    }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_buildkite as buildkite\n\nips = buildkite.get_meta()\n# Create an AWS security group allowing ingress from Buildkite\nfrom_buildkite = aws.ec2.SecurityGroup(\"from_buildkite\",\n    name=\"from_buildkite\",\n    ingress=[{\n        \"from_port\": \"*\",\n        \"to_port\": 443,\n        \"protocol\": \"tcp\",\n        \"cidr_blocks\": ips.webhook_ips,\n    }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Buildkite = Pulumiverse.Buildkite;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var ips = Buildkite.GetMeta.Invoke();\n\n    // Create an AWS security group allowing ingress from Buildkite\n    var fromBuildkite = new Aws.Ec2.SecurityGroup(\"from_buildkite\", new()\n    {\n        Name = \"from_buildkite\",\n        Ingress = new[]\n        {\n            new Aws.Ec2.Inputs.SecurityGroupIngressArgs\n            {\n                FromPort = \"*\",\n                ToPort = 443,\n                Protocol = \"tcp\",\n                CidrBlocks = ips.Apply(getMetaResult =\u003e getMetaResult.WebhookIps),\n            },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-buildkite/sdk/v3/go/buildkite\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tips, err := buildkite.GetMeta(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create an AWS security group allowing ingress from Buildkite\n\t\t_, err = ec2.NewSecurityGroup(ctx, \"from_buildkite\", \u0026ec2.SecurityGroupArgs{\n\t\t\tName: pulumi.String(\"from_buildkite\"),\n\t\t\tIngress: ec2.SecurityGroupIngressArray{\n\t\t\t\t\u0026ec2.SecurityGroupIngressArgs{\n\t\t\t\t\tFromPort:   pulumi.Int(\"*\"),\n\t\t\t\t\tToPort:     pulumi.Int(443),\n\t\t\t\t\tProtocol:   pulumi.String(\"tcp\"),\n\t\t\t\t\tCidrBlocks: interface{}(ips.WebhookIps),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.buildkite.BuildkiteFunctions;\nimport com.pulumi.aws.ec2.SecurityGroup;\nimport com.pulumi.aws.ec2.SecurityGroupArgs;\nimport com.pulumi.aws.ec2.inputs.SecurityGroupIngressArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var ips = BuildkiteFunctions.getMeta(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);\n\n        // Create an AWS security group allowing ingress from Buildkite\n        var fromBuildkite = new SecurityGroup(\"fromBuildkite\", SecurityGroupArgs.builder()\n            .name(\"from_buildkite\")\n            .ingress(SecurityGroupIngressArgs.builder()\n                .fromPort(\"*\")\n                .toPort(443)\n                .protocol(\"tcp\")\n                .cidrBlocks(ips.webhookIps())\n                .build())\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # Create an AWS security group allowing ingress from Buildkite\n  fromBuildkite:\n    type: aws:ec2:SecurityGroup\n    name: from_buildkite\n    properties:\n      name: from_buildkite\n      ingress:\n        - fromPort: '*'\n          toPort: '443'\n          protocol: tcp\n          cidrBlocks: ${ips.webhookIps}\nvariables:\n  ips:\n    fn::invoke:\n      function: buildkite:getMeta\n      arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","outputs":{"description":"A collection of values returned by getMeta.\n","properties":{"id":{"description":"Fixed value: `https://api.buildkite.com/v2/meta`.\n","type":"string"},"webhookIps":{"description":"List of IPs in CIDR format.\n","items":{"type":"string"},"type":"array"}},"required":["id","webhookIps"],"type":"object"}},"pulumi:providers:buildkite/terraformConfig":{"description":"This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.","inputs":{"properties":{"__self__":{"type":"ref","$ref":"#/provider"}},"type":"pulumi:providers:buildkite/terraformConfig","required":["__self__"]},"outputs":{"properties":{"result":{"additionalProperties":{"$ref":"pulumi.json#/Any"},"type":"object"}},"required":["result"],"type":"object"}}}}