From 178b0323940d6238560a7a2ff436709fdd005aea Mon Sep 17 00:00:00 2001 From: Ryan <8829107+ryan-pip@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:26:32 +1200 Subject: [PATCH] feat: :arrow_up: upgrade astronomer terraform provider to v1.0.0 --- .github/workflows/pull-request.yml | 4 +- .github/workflows/release.yml | 4 +- .github/workflows/upgrade-provider.yml | 3 +- Makefile | 2 +- go.work | 2 +- go.work.sum | 18 + .../pulumi-resource-astronomer/schema.json | 5236 ++++-- provider/go.mod | 46 +- provider/go.sum | 94 +- provider/resources.go | 4 +- provider/shim/go.mod | 19 +- provider/shim/go.sum | 44 +- sdk/go.mod | 43 +- sdk/go.sum | 100 +- sdk/go/astronomer/apiToken.go | 381 + sdk/go/astronomer/cluster.go | 11 + sdk/go/astronomer/getApiToken.go | 200 + sdk/go/astronomer/getApiTokens.go | 147 + sdk/go/astronomer/getCluster.go | 10 +- sdk/go/astronomer/getClusterOptions.go | 5 +- sdk/go/astronomer/getClusters.go | 3 +- sdk/go/astronomer/getDeployment.go | 3 +- sdk/go/astronomer/getDeploymentOptions.go | 3 +- sdk/go/astronomer/getDeployments.go | 3 +- sdk/go/astronomer/getOrganization.go | 3 +- sdk/go/astronomer/getTeam.go | 117 +- sdk/go/astronomer/getTeams.go | 3 +- sdk/go/astronomer/getUser.go | 172 + sdk/go/astronomer/getUsers.go | 134 + sdk/go/astronomer/getWorkspace.go | 3 +- sdk/go/astronomer/getWorkspaces.go | 3 +- sdk/go/astronomer/init.go | 28 + sdk/go/astronomer/pulumiTypes.go | 14836 ++++++++++------ sdk/go/astronomer/team.go | 360 + sdk/go/astronomer/userInvite.go | 319 + sdk/go/astronomer/userRoles.go | 267 + sdk/nodejs/apiToken.ts | 234 + sdk/nodejs/cluster.ts | 10 + sdk/nodejs/getApiToken.ts | 130 + sdk/nodejs/getApiTokens.ts | 97 + sdk/nodejs/getCluster.ts | 10 +- sdk/nodejs/getClusterOptions.ts | 6 +- sdk/nodejs/getClusters.ts | 2 + sdk/nodejs/getDeployment.ts | 6 +- sdk/nodejs/getDeploymentOptions.ts | 6 +- sdk/nodejs/getDeployments.ts | 2 + sdk/nodejs/getOrganization.ts | 6 +- sdk/nodejs/getTeam.ts | 22 +- sdk/nodejs/getTeams.ts | 6 +- sdk/nodejs/getUser.ts | 114 + sdk/nodejs/getUsers.ts | 87 + sdk/nodejs/getWorkspace.ts | 6 +- sdk/nodejs/getWorkspaces.ts | 6 +- sdk/nodejs/index.ts | 52 + sdk/nodejs/team.ts | 219 + sdk/nodejs/tsconfig.json | 8 + sdk/nodejs/types/input.ts | 143 + sdk/nodejs/types/output.ts | 431 +- sdk/nodejs/userInvite.ts | 168 + sdk/nodejs/userRoles.ts | 134 + sdk/python/pulumi_astronomer/__init__.py | 40 + sdk/python/pulumi_astronomer/_inputs.py | 811 +- sdk/python/pulumi_astronomer/api_token.py | 583 + sdk/python/pulumi_astronomer/cluster.py | 62 +- sdk/python/pulumi_astronomer/deployment.py | 42 +- sdk/python/pulumi_astronomer/get_api_token.py | 263 + .../pulumi_astronomer/get_api_tokens.py | 140 + sdk/python/pulumi_astronomer/get_cluster.py | 21 +- .../pulumi_astronomer/get_cluster_options.py | 10 +- sdk/python/pulumi_astronomer/get_clusters.py | 2 + .../pulumi_astronomer/get_deployment.py | 6 +- .../get_deployment_options.py | 6 +- .../pulumi_astronomer/get_deployments.py | 2 + .../pulumi_astronomer/get_organization.py | 6 +- sdk/python/pulumi_astronomer/get_team.py | 22 +- sdk/python/pulumi_astronomer/get_teams.py | 6 +- sdk/python/pulumi_astronomer/get_user.py | 211 + sdk/python/pulumi_astronomer/get_users.py | 125 + sdk/python/pulumi_astronomer/get_workspace.py | 6 +- .../pulumi_astronomer/get_workspaces.py | 6 +- sdk/python/pulumi_astronomer/outputs.py | 1917 +- sdk/python/pulumi_astronomer/team.py | 551 + sdk/python/pulumi_astronomer/team_roles.py | 20 +- sdk/python/pulumi_astronomer/user_invite.py | 358 + sdk/python/pulumi_astronomer/user_roles.py | 290 + sdk/python/pulumi_astronomer/workspace.py | 8 +- 86 files changed, 22328 insertions(+), 7721 deletions(-) create mode 100644 sdk/go/astronomer/apiToken.go create mode 100644 sdk/go/astronomer/getApiToken.go create mode 100644 sdk/go/astronomer/getApiTokens.go create mode 100644 sdk/go/astronomer/getUser.go create mode 100644 sdk/go/astronomer/getUsers.go create mode 100644 sdk/go/astronomer/team.go create mode 100644 sdk/go/astronomer/userInvite.go create mode 100644 sdk/go/astronomer/userRoles.go create mode 100644 sdk/nodejs/apiToken.ts create mode 100644 sdk/nodejs/getApiToken.ts create mode 100644 sdk/nodejs/getApiTokens.ts create mode 100644 sdk/nodejs/getUser.ts create mode 100644 sdk/nodejs/getUsers.ts create mode 100644 sdk/nodejs/team.ts create mode 100644 sdk/nodejs/userInvite.ts create mode 100644 sdk/nodejs/userRoles.ts create mode 100644 sdk/python/pulumi_astronomer/api_token.py create mode 100644 sdk/python/pulumi_astronomer/get_api_token.py create mode 100644 sdk/python/pulumi_astronomer/get_api_tokens.py create mode 100644 sdk/python/pulumi_astronomer/get_user.py create mode 100644 sdk/python/pulumi_astronomer/get_users.py create mode 100644 sdk/python/pulumi_astronomer/team.py create mode 100644 sdk/python/pulumi_astronomer/user_invite.py create mode 100644 sdk/python/pulumi_astronomer/user_roles.py diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c3fa281..bc1216d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,7 +18,7 @@ jobs: dotnetversion: - 6.0.x goversion: - - 1.21.x + - 1.22.x nodeversion: - 20.x pythonversion: @@ -28,7 +28,7 @@ jobs: language: - nodejs - python - - dotnet + # - dotnet - go # - java diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ef1582..b22abd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: fail-fast: true matrix: goversion: - - 1.21.x + - 1.22.x publish_sdk: name: Publish SDKs @@ -163,7 +163,7 @@ jobs: dotnetversion: - 6.0.x goversion: - - 1.21.x + - 1.22.x nodeversion: - 20.x pythonversion: diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 8c3fa95..19b37a2 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -19,4 +19,5 @@ jobs: - name: Call upgrade provider action uses: pulumi/pulumi-upgrade-provider-action@v0.0.12 with: - kind: all \ No newline at end of file + kind: all + email: "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" \ No newline at end of file diff --git a/Makefile b/Makefile index 8ea7ee2..76cea02 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ GO_MINOR_VERSION := $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' # the (local) version must match the version specified in .github/workflows/release.yml # otherwise publkishing the Go SDK of the provider will fail REQUIRED_GO_MAJOR_VERSION := 1 -REQUIRED_GO_MINOR_VERSION := 21 +REQUIRED_GO_MINOR_VERSION := 22 GO_VERSION_VALIDATION_ERR_MSG := Golang version $(REQUIRED_GO_MAJOR_VERSION).$(REQUIRED_GO_MINOR_VERSION) is required .PHONY: development provider build_sdks build_nodejs build_dotnet build_go build_python cleanup validate_go_version diff --git a/go.work b/go.work index 58ecbac..5dbceab 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.21.12 +go 1.22 use ( ./provider diff --git a/go.work.sum b/go.work.sum index 0706012..749ad13 100644 --- a/go.work.sum +++ b/go.work.sum @@ -280,6 +280,7 @@ github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d/go.mod h1:asat6 github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= github.com/alecthomas/chroma/v2 v2.13.0/go.mod h1:BUGjjsD+ndS6eX37YgTchSEG+Jg9Jv1GiZs9sqPqztk= github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= @@ -313,6 +314,7 @@ github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLI github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/dlclark/regexp2 v1.4.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= @@ -338,6 +340,7 @@ github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91 github.com/go-playground/validator/v10 v10.14.1/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= +github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= @@ -347,15 +350,19 @@ github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386/go.mod h1:JDGc github.com/google/flatbuffers v23.5.26+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-pkcs11 v0.2.1-0.20230907215043-c6f79328ddf9/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= +github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ0piz4= +github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-kms-wrapping/entropy/v2 v2.0.0/go.mod h1:xvb32K2keAc+R8DSFG2IwDcydK9DBQE+fGA5fsw6hSk= github.com/hashicorp/go-secure-stdlib/mlock v0.1.2/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.2/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/terraform-plugin-docs v0.16.0/go.mod h1:M3ZrlKBJAbPMtNOPwHicGi1c+hZUh7/g0ifT/z7TVfA= github.com/hashicorp/terraform-plugin-docs v0.19.4/go.mod h1:4pLASsatTmRynVzsjEhbXZ6s7xBlUw/2Kt0zfrq8HxA= @@ -376,6 +383,7 @@ github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIR github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8= github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU= github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= @@ -389,6 +397,7 @@ github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyex github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= github.com/microcosm-cc/bluemonday v1.0.25/go.mod h1:ZIOjCQp1OrzBBPIJmfX4qDYFuhU02nx4bn030ixfHLE= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= github.com/moby/moby v23.0.3+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/moby v25.0.4+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= @@ -398,11 +407,14 @@ github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVf github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JXXHc= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/onsi/ginkgo/v2 v2.20.0/go.mod h1:lG9ey2Z29hR41WMVthyJBGUBcBhGOtoPF2VFMvBXFCI= github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e/go.mod h1:EHPiTAKtiFmrMldLUNswFwfZ2eJIYBHktdaUTZxYWRw= github.com/pgavlin/diff v0.0.0-20230503175810-113847418e2e/go.mod h1:WGwlmuPAiQTGQUjxyAfP7j4JgbgiFvFpI/qRtsQtS/4= github.com/pgavlin/text v0.0.0-20230428184845-84c285f11d2f/go.mod h1:fk4+YyTLi0Ap0CsL1HA70/tAs6evqw3hbPGdR8rD/3E= +github.com/pgavlin/text v0.0.0-20240821195002-b51d0990e284/go.mod h1:fk4+YyTLi0Ap0CsL1HA70/tAs6evqw3hbPGdR8rD/3E= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= @@ -465,11 +477,14 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= @@ -485,6 +500,7 @@ golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= google.golang.org/api v0.155.0/go.mod h1:GI5qK5f40kCpHfPn6+YzGAByIKWv8ujFnmoWm7Igduk= google.golang.org/api v0.157.0/go.mod h1:+z4v4ufbZ1WEpld6yMGHyggs+PmAHiaLNj5ytP3N01g= @@ -517,6 +533,8 @@ google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFL google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= diff --git a/provider/cmd/pulumi-resource-astronomer/schema.json b/provider/cmd/pulumi-resource-astronomer/schema.json index c969e32..af76cbf 100644 --- a/provider/cmd/pulumi-resource-astronomer/schema.json +++ b/provider/cmd/pulumi-resource-astronomer/schema.json @@ -86,6 +86,148 @@ ] }, "types": { + "astronomer:index/ApiTokenCreatedBy:ApiTokenCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] + } + } + }, + "astronomer:index/ApiTokenRole:ApiTokenRole": { + "properties": { + "entityId": { + "type": "string", + "description": "The ID of the entity to assign the role to\n" + }, + "entityType": { + "type": "string", + "description": "The type of entity to assign the role to\n" + }, + "role": { + "type": "string", + "description": "The role to assign to the entity\n" + } + }, + "type": "object", + "required": [ + "entityId", + "entityType", + "role" + ] + }, + "astronomer:index/ApiTokenUpdatedBy:ApiTokenUpdatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] + } + } + }, + "astronomer:index/ClusterHealthStatus:ClusterHealthStatus": { + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/ClusterHealthStatusDetail:ClusterHealthStatusDetail" + }, + "description": "Cluster health status details\n" + }, + "value": { + "type": "string", + "description": "Cluster health status value\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "details", + "value" + ] + } + } + }, + "astronomer:index/ClusterHealthStatusDetail:ClusterHealthStatusDetail": { + "properties": { + "code": { + "type": "string", + "description": "Cluster health status detail code\n" + }, + "description": { + "type": "string", + "description": "Cluster health status detail description\n" + }, + "severity": { + "type": "string", + "description": "Cluster health status detail severity\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "code", + "description", + "severity" + ] + } + } + }, "astronomer:index/ClusterMetadata:ClusterMetadata": { "properties": { "externalIps": { @@ -95,6 +237,10 @@ }, "description": "Cluster external IPs\n" }, + "kubeDnsIp": { + "type": "string", + "description": "Cluster kube DNS IP\n" + }, "oidcIssuerUrl": { "type": "string", "description": "Cluster OIDC issuer URL\n" @@ -105,6 +251,7 @@ "nodejs": { "requiredOutputs": [ "externalIps", + "kubeDnsIp", "oidcIssuerUrl" ] } @@ -474,6 +621,58 @@ } } }, + "astronomer:index/TeamCreatedBy:TeamCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] + } + } + }, + "astronomer:index/TeamDeploymentRole:TeamDeploymentRole": { + "properties": { + "deploymentId": { + "type": "string", + "description": "The ID of the deployment to assign the role to\n" + }, + "role": { + "type": "string", + "description": "The role to assign to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ] + }, "astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole": { "properties": { "deploymentId": { @@ -508,7 +707,7 @@ "workspaceId" ] }, - "astronomer:index/WorkspaceCreatedBy:WorkspaceCreatedBy": { + "astronomer:index/TeamUpdatedBy:TeamUpdatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -543,7 +742,24 @@ } } }, - "astronomer:index/WorkspaceUpdatedBy:WorkspaceUpdatedBy": { + "astronomer:index/TeamWorkspaceRole:TeamWorkspaceRole": { + "properties": { + "role": { + "type": "string", + "description": "The role to assign to the workspace\n" + }, + "workspaceId": { + "type": "string", + "description": "The ID of the workspace to assign the role to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ] + }, + "astronomer:index/UserInviteInvitee:UserInviteInvitee": { "properties": { "apiTokenName": { "type": "string" @@ -578,207 +794,174 @@ } } }, - "astronomer:index/getClusterMetadata:getClusterMetadata": { + "astronomer:index/UserInviteInviter:UserInviteInviter": { "properties": { - "externalIps": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Cluster external IPs\n" + "apiTokenName": { + "type": "string" }, - "oidcIssuerUrl": { - "type": "string", - "description": "Cluster OIDC issuer URL\n" + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", - "required": [ - "externalIps", - "oidcIssuerUrl" - ], "language": { "nodejs": { - "requiredInputs": [] + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] } } }, - "astronomer:index/getClusterNodePool:getClusterNodePool": { + "astronomer:index/UserRolesDeploymentRole:UserRolesDeploymentRole": { "properties": { - "cloudProvider": { + "deploymentId": { "type": "string", - "description": "Node pool cloud provider\n" + "description": "The ID of the deployment to assign the role to\n" }, - "clusterId": { + "role": { "type": "string", - "description": "Node pool cluster identifier\n" - }, - "createdAt": { + "description": "The role to assign to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ] + }, + "astronomer:index/UserRolesWorkspaceRole:UserRolesWorkspaceRole": { + "properties": { + "role": { "type": "string", - "description": "Node pool creation timestamp\n" + "description": "The role to assign to the workspace\n" }, - "id": { + "workspaceId": { "type": "string", - "description": "Node pool identifier\n" - }, - "isDefault": { - "type": "boolean", - "description": "Whether the node pool is the default node pool of the cluster\n" - }, - "maxNodeCount": { - "type": "integer", - "description": "Node pool maximum node count\n" + "description": "The ID of the workspace to assign the role to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ] + }, + "astronomer:index/WorkspaceCreatedBy:WorkspaceCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" }, - "name": { - "type": "string", - "description": "Node pool name\n" + "avatarUrl": { + "type": "string" }, - "nodeInstanceType": { - "type": "string", - "description": "Node pool node instance type\n" + "fullName": { + "type": "string" }, - "supportedAstroMachines": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Node pool supported Astro machines\n" + "id": { + "type": "string" }, - "updatedAt": { - "type": "string", - "description": "Node pool last updated timestamp\n" + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", - "required": [ - "cloudProvider", - "clusterId", - "createdAt", - "id", - "isDefault", - "maxNodeCount", - "name", - "nodeInstanceType", - "supportedAstroMachines", - "updatedAt" - ], "language": { "nodejs": { - "requiredInputs": [] + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] } } }, - "astronomer:index/getClusterOptionsClusterOption:getClusterOptionsClusterOption": { + "astronomer:index/WorkspaceUpdatedBy:WorkspaceUpdatedBy": { "properties": { - "databaseInstances": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDatabaseInstance:getClusterOptionsClusterOptionDatabaseInstance" - }, - "description": "ClusterOption database instances\n" - }, - "defaultDatabaseInstance": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultDatabaseInstance:getClusterOptionsClusterOptionDefaultDatabaseInstance", - "description": "ClusterOption default database instance\n" - }, - "defaultNodeInstance": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultNodeInstance:getClusterOptionsClusterOptionDefaultNodeInstance", - "description": "ClusterOption default node instance\n" - }, - "defaultPodSubnetRange": { - "type": "string", - "description": "ClusterOption default pod subnet range\n" - }, - "defaultRegion": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultRegion:getClusterOptionsClusterOptionDefaultRegion", - "description": "ClusterOption default region\n" - }, - "defaultServicePeeringRange": { - "type": "string", - "description": "ClusterOption default service peering range\n" - }, - "defaultServiceSubnetRange": { - "type": "string", - "description": "ClusterOption default service subnet range\n" - }, - "defaultVpcSubnetRange": { - "type": "string", - "description": "ClusterOption default vps subnet range\n" - }, - "nodeCountDefault": { - "type": "integer", - "description": "ClusterOption node count default\n" + "apiTokenName": { + "type": "string" }, - "nodeCountMax": { - "type": "integer", - "description": "ClusterOption node count max\n" + "avatarUrl": { + "type": "string" }, - "nodeCountMin": { - "type": "integer", - "description": "ClusterOption node count min\n" + "fullName": { + "type": "string" }, - "nodeInstances": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionNodeInstance:getClusterOptionsClusterOptionNodeInstance" - }, - "description": "ClusterOption node instances\n" + "id": { + "type": "string" }, - "provider": { - "type": "string", - "description": "ClusterOption provider\n" + "subjectType": { + "type": "string" }, - "regions": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionRegion:getClusterOptionsClusterOptionRegion" - }, - "description": "ClusterOption regions\n" + "username": { + "type": "string" } }, "type": "object", - "required": [ - "databaseInstances", - "defaultDatabaseInstance", - "defaultNodeInstance", - "defaultPodSubnetRange", - "defaultRegion", - "defaultServicePeeringRange", - "defaultServiceSubnetRange", - "defaultVpcSubnetRange", - "nodeCountDefault", - "nodeCountMax", - "nodeCountMin", - "nodeInstances", - "provider", - "regions" - ], "language": { "nodejs": { - "requiredInputs": [] + "requiredOutputs": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ] } } }, - "astronomer:index/getClusterOptionsClusterOptionDatabaseInstance:getClusterOptionsClusterOptionDatabaseInstance": { + "astronomer:index/getApiTokenCreatedBy:getApiTokenCreatedBy": { "properties": { - "cpu": { - "type": "integer", - "description": "Provider instance cpu\n" + "apiTokenName": { + "type": "string" }, - "memory": { - "type": "string", - "description": "Provider instance memory\n" + "avatarUrl": { + "type": "string" }, - "name": { - "type": "string", - "description": "Provider instance name\n" + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "cpu", - "memory", - "name" + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" ], "language": { "nodejs": { @@ -786,26 +969,26 @@ } } }, - "astronomer:index/getClusterOptionsClusterOptionDefaultDatabaseInstance:getClusterOptionsClusterOptionDefaultDatabaseInstance": { + "astronomer:index/getApiTokenRole:getApiTokenRole": { "properties": { - "cpu": { - "type": "integer", - "description": "Provider instance cpu\n" + "entityId": { + "type": "string", + "description": "The ID of the entity to assign the role to\n" }, - "memory": { + "entityType": { "type": "string", - "description": "Provider instance memory\n" + "description": "The type of entity to assign the role to\n" }, - "name": { + "role": { "type": "string", - "description": "Provider instance name\n" + "description": "The role to assign to the entity\n" } }, "type": "object", "required": [ - "cpu", - "memory", - "name" + "entityId", + "entityType", + "role" ], "language": { "nodejs": { @@ -813,26 +996,35 @@ } } }, - "astronomer:index/getClusterOptionsClusterOptionDefaultNodeInstance:getClusterOptionsClusterOptionDefaultNodeInstance": { + "astronomer:index/getApiTokenUpdatedBy:getApiTokenUpdatedBy": { "properties": { - "cpu": { - "type": "integer", - "description": "Provider instance cpu\n" + "apiTokenName": { + "type": "string" }, - "memory": { - "type": "string", - "description": "Provider instance memory\n" + "avatarUrl": { + "type": "string" }, - "name": { - "type": "string", - "description": "Provider instance name\n" + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "cpu", - "memory", - "name" + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" ], "language": { "nodejs": { @@ -840,29 +1032,84 @@ } } }, - "astronomer:index/getClusterOptionsClusterOptionDefaultRegion:getClusterOptionsClusterOptionDefaultRegion": { + "astronomer:index/getApiTokensApiToken:getApiTokensApiToken": { "properties": { - "bannedInstances": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Region banned instances\n" + "createdAt": { + "type": "string", + "description": "API Token creation timestamp\n" }, - "limited": { - "type": "boolean", - "description": "Region is limited bool\n" + "createdBy": { + "$ref": "#/types/astronomer:index/getApiTokensApiTokenCreatedBy:getApiTokensApiTokenCreatedBy", + "description": "API Token creator\n" + }, + "description": { + "type": "string", + "description": "API Token description\n" + }, + "endAt": { + "type": "string", + "description": "time when the API token will expire in UTC\n" + }, + "expiryPeriodInDays": { + "type": "integer", + "description": "API Token expiry period in days\n" + }, + "id": { + "type": "string", + "description": "API Token identifier\n" + }, + "lastUsedAt": { + "type": "string", + "description": "API Token last used timestamp\n" }, "name": { "type": "string", - "description": "Region is limited bool\n" + "description": "API Token name\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getApiTokensApiTokenRole:getApiTokensApiTokenRole" + }, + "description": "The roles assigned to the API Token\n" + }, + "shortToken": { + "type": "string", + "description": "API Token short token\n" + }, + "startAt": { + "type": "string", + "description": "time when the API token will become valid in UTC\n" + }, + "type": { + "type": "string", + "description": "API Token type\n" + }, + "updatedAt": { + "type": "string", + "description": "API Token last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/getApiTokensApiTokenUpdatedBy:getApiTokensApiTokenUpdatedBy", + "description": "API Token updater\n" } }, "type": "object", "required": [ - "bannedInstances", - "limited", - "name" + "createdAt", + "createdBy", + "description", + "endAt", + "expiryPeriodInDays", + "id", + "lastUsedAt", + "name", + "roles", + "shortToken", + "startAt", + "type", + "updatedAt", + "updatedBy" ], "language": { "nodejs": { @@ -870,26 +1117,35 @@ } } }, - "astronomer:index/getClusterOptionsClusterOptionNodeInstance:getClusterOptionsClusterOptionNodeInstance": { + "astronomer:index/getApiTokensApiTokenCreatedBy:getApiTokensApiTokenCreatedBy": { "properties": { - "cpu": { - "type": "integer", - "description": "Provider instance cpu\n" + "apiTokenName": { + "type": "string" }, - "memory": { - "type": "string", - "description": "Provider instance memory\n" + "avatarUrl": { + "type": "string" }, - "name": { - "type": "string", - "description": "Provider instance name\n" + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "cpu", - "memory", - "name" + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" ], "language": { "nodejs": { @@ -897,29 +1153,26 @@ } } }, - "astronomer:index/getClusterOptionsClusterOptionRegion:getClusterOptionsClusterOptionRegion": { + "astronomer:index/getApiTokensApiTokenRole:getApiTokensApiTokenRole": { "properties": { - "bannedInstances": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Region banned instances\n" + "entityId": { + "type": "string", + "description": "The ID of the entity to assign the role to\n" }, - "limited": { - "type": "boolean", - "description": "Region is limited bool\n" + "entityType": { + "type": "string", + "description": "The type of entity to assign the role to\n" }, - "name": { + "role": { "type": "string", - "description": "Region is limited bool\n" + "description": "The role to assign to the entity\n" } }, "type": "object", "required": [ - "bannedInstances", - "limited", - "name" + "entityId", + "entityType", + "role" ], "language": { "nodejs": { @@ -927,21 +1180,35 @@ } } }, - "astronomer:index/getClusterTag:getClusterTag": { + "astronomer:index/getApiTokensApiTokenUpdatedBy:getApiTokensApiTokenUpdatedBy": { "properties": { - "key": { - "type": "string", - "description": "Cluster tag key\n" + "apiTokenName": { + "type": "string" }, - "value": { - "type": "string", - "description": "Cluster tag value\n" + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "key", - "value" + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" ], "language": { "nodejs": { @@ -949,120 +1216,51 @@ } } }, - "astronomer:index/getClustersCluster:getClustersCluster": { + "astronomer:index/getClusterHealthStatus:getClusterHealthStatus": { "properties": { - "cloudProvider": { - "type": "string", - "description": "Cluster cloud provider\n" - }, - "createdAt": { - "type": "string", - "description": "Cluster creation timestamp\n" - }, - "dbInstanceType": { - "type": "string", - "description": "Cluster database instance type\n" - }, - "id": { - "type": "string", - "description": "Cluster identifier\n" - }, - "isLimited": { - "type": "boolean", - "description": "Whether the cluster is limited\n" - }, - "metadata": { - "$ref": "#/types/astronomer:index/getClustersClusterMetadata:getClustersClusterMetadata", - "description": "Cluster metadata\n" - }, - "name": { - "type": "string", - "description": "Cluster name\n" - }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getClustersClusterNodePool:getClustersClusterNodePool" - }, - "description": "Cluster node pools\n" - }, - "podSubnetRange": { - "type": "string", - "description": "Cluster pod subnet range\n" - }, - "providerAccount": { - "type": "string", - "description": "Cluster provider account\n" - }, - "region": { - "type": "string", - "description": "Cluster region\n" - }, - "servicePeeringRange": { - "type": "string", - "description": "Cluster service peering range\n" - }, - "serviceSubnetRange": { - "type": "string", - "description": "Cluster service subnet range\n" - }, - "status": { - "type": "string", - "description": "Cluster status\n" - }, - "tags": { + "details": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/getClustersClusterTag:getClustersClusterTag" + "$ref": "#/types/astronomer:index/getClusterHealthStatusDetail:getClusterHealthStatusDetail" }, - "description": "Cluster tags\n" + "description": "Cluster health status details\n" }, - "tenantId": { + "value": { "type": "string", - "description": "Cluster tenant ID\n" - }, - "type": { + "description": "Cluster health status value\n" + } + }, + "type": "object", + "required": [ + "details", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getClusterHealthStatusDetail:getClusterHealthStatusDetail": { + "properties": { + "code": { "type": "string", - "description": "Cluster type\n" + "description": "Cluster health status detail code\n" }, - "updatedAt": { + "description": { "type": "string", - "description": "Cluster last updated timestamp\n" + "description": "Cluster health status detail description\n" }, - "vpcSubnetRange": { + "severity": { "type": "string", - "description": "Cluster VPC subnet range\n" - }, - "workspaceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Cluster workspace IDs\n" + "description": "Cluster health status detail severity\n" } }, "type": "object", "required": [ - "cloudProvider", - "createdAt", - "dbInstanceType", - "id", - "isLimited", - "metadata", - "name", - "nodePools", - "podSubnetRange", - "providerAccount", - "region", - "servicePeeringRange", - "serviceSubnetRange", - "status", - "tags", - "tenantId", - "type", - "updatedAt", - "vpcSubnetRange", - "workspaceIds" + "code", + "description", + "severity" ], "language": { "nodejs": { @@ -1070,7 +1268,7 @@ } } }, - "astronomer:index/getClustersClusterMetadata:getClustersClusterMetadata": { + "astronomer:index/getClusterMetadata:getClusterMetadata": { "properties": { "externalIps": { "type": "array", @@ -1079,6 +1277,10 @@ }, "description": "Cluster external IPs\n" }, + "kubeDnsIp": { + "type": "string", + "description": "Cluster kube DNS IP\n" + }, "oidcIssuerUrl": { "type": "string", "description": "Cluster OIDC issuer URL\n" @@ -1087,6 +1289,7 @@ "type": "object", "required": [ "externalIps", + "kubeDnsIp", "oidcIssuerUrl" ], "language": { @@ -1095,7 +1298,7 @@ } } }, - "astronomer:index/getClustersClusterNodePool:getClustersClusterNodePool": { + "astronomer:index/getClusterNodePool:getClusterNodePool": { "properties": { "cloudProvider": { "type": "string", @@ -1160,57 +1363,90 @@ } } }, - "astronomer:index/getClustersClusterTag:getClustersClusterTag": { + "astronomer:index/getClusterOptionsClusterOption:getClusterOptionsClusterOption": { "properties": { - "key": { - "type": "string", - "description": "Cluster tag key\n" + "databaseInstances": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDatabaseInstance:getClusterOptionsClusterOptionDatabaseInstance" + }, + "description": "ClusterOption database instances\n" }, - "value": { + "defaultDatabaseInstance": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultDatabaseInstance:getClusterOptionsClusterOptionDefaultDatabaseInstance", + "description": "ClusterOption default database instance\n" + }, + "defaultNodeInstance": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultNodeInstance:getClusterOptionsClusterOptionDefaultNodeInstance", + "description": "ClusterOption default node instance\n" + }, + "defaultPodSubnetRange": { "type": "string", - "description": "Cluster tag value\n" - } - }, - "type": "object", - "required": [ - "key", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getDeploymentCreatedBy:getDeploymentCreatedBy": { - "properties": { - "apiTokenName": { - "type": "string" + "description": "ClusterOption default pod subnet range\n" }, - "avatarUrl": { - "type": "string" + "defaultRegion": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionDefaultRegion:getClusterOptionsClusterOptionDefaultRegion", + "description": "ClusterOption default region\n" }, - "fullName": { - "type": "string" + "defaultServicePeeringRange": { + "type": "string", + "description": "ClusterOption default service peering range\n" }, - "id": { - "type": "string" + "defaultServiceSubnetRange": { + "type": "string", + "description": "ClusterOption default service subnet range\n" }, - "subjectType": { - "type": "string" + "defaultVpcSubnetRange": { + "type": "string", + "description": "ClusterOption default vps subnet range\n" }, - "username": { - "type": "string" + "nodeCountDefault": { + "type": "integer", + "description": "ClusterOption node count default\n" + }, + "nodeCountMax": { + "type": "integer", + "description": "ClusterOption node count max\n" + }, + "nodeCountMin": { + "type": "integer", + "description": "ClusterOption node count min\n" + }, + "nodeInstances": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionNodeInstance:getClusterOptionsClusterOptionNodeInstance" + }, + "description": "ClusterOption node instances\n" + }, + "provider": { + "type": "string", + "description": "ClusterOption provider\n" + }, + "regions": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClusterOptionsClusterOptionRegion:getClusterOptionsClusterOptionRegion" + }, + "description": "ClusterOption regions\n" } }, "type": "object", "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" + "databaseInstances", + "defaultDatabaseInstance", + "defaultNodeInstance", + "defaultPodSubnetRange", + "defaultRegion", + "defaultServicePeeringRange", + "defaultServiceSubnetRange", + "defaultVpcSubnetRange", + "nodeCountDefault", + "nodeCountMax", + "nodeCountMin", + "nodeInstances", + "provider", + "regions" ], "language": { "nodejs": { @@ -1218,31 +1454,26 @@ } } }, - "astronomer:index/getDeploymentEnvironmentVariable:getDeploymentEnvironmentVariable": { + "astronomer:index/getClusterOptionsClusterOptionDatabaseInstance:getClusterOptionsClusterOptionDatabaseInstance": { "properties": { - "isSecret": { - "type": "boolean", - "description": "Whether Environment variable is a secret\n" - }, - "key": { - "type": "string", - "description": "Environment variable key\n" + "cpu": { + "type": "integer", + "description": "Provider instance cpu\n" }, - "updatedAt": { + "memory": { "type": "string", - "description": "Environment variable last updated timestamp\n" + "description": "Provider instance memory\n" }, - "value": { + "name": { "type": "string", - "description": "Environment variable value\n" + "description": "Provider instance name\n" } }, "type": "object", "required": [ - "isSecret", - "key", - "updatedAt", - "value" + "cpu", + "memory", + "name" ], "language": { "nodejs": { @@ -1250,21 +1481,26 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotas:getDeploymentOptionsResourceQuotas": { + "astronomer:index/getClusterOptionsClusterOptionDefaultDatabaseInstance:getClusterOptionsClusterOptionDefaultDatabaseInstance": { "properties": { - "defaultPodSize": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSize:getDeploymentOptionsResourceQuotasDefaultPodSize", - "description": "Default pod size options\n" + "cpu": { + "type": "integer", + "description": "Provider instance cpu\n" }, - "resourceQuota": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuota:getDeploymentOptionsResourceQuotasResourceQuota", - "description": "Resource quota options\n" + "memory": { + "type": "string", + "description": "Provider instance memory\n" + }, + "name": { + "type": "string", + "description": "Provider instance name\n" } }, "type": "object", "required": [ - "defaultPodSize", - "resourceQuota" + "cpu", + "memory", + "name" ], "language": { "nodejs": { @@ -1272,21 +1508,26 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSize:getDeploymentOptionsResourceQuotasDefaultPodSize": { + "astronomer:index/getClusterOptionsClusterOptionDefaultNodeInstance:getClusterOptionsClusterOptionDefaultNodeInstance": { "properties": { "cpu": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeCpu:getDeploymentOptionsResourceQuotasDefaultPodSizeCpu", - "description": "CPU resource range\n" + "type": "integer", + "description": "Provider instance cpu\n" }, "memory": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeMemory:getDeploymentOptionsResourceQuotasDefaultPodSizeMemory", - "description": "Memory resource range\n" + "type": "string", + "description": "Provider instance memory\n" + }, + "name": { + "type": "string", + "description": "Provider instance name\n" } }, "type": "object", "required": [ "cpu", - "memory" + "memory", + "name" ], "language": { "nodejs": { @@ -1294,26 +1535,29 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeCpu:getDeploymentOptionsResourceQuotasDefaultPodSizeCpu": { + "astronomer:index/getClusterOptionsClusterOptionDefaultRegion:getClusterOptionsClusterOptionDefaultRegion": { "properties": { - "ceiling": { - "type": "string", - "description": "Resource range ceiling\n" + "bannedInstances": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Region banned instances\n" }, - "default": { - "type": "string", - "description": "Resource range default\n" + "limited": { + "type": "boolean", + "description": "Region is limited bool\n" }, - "floor": { + "name": { "type": "string", - "description": "Resource range floor\n" + "description": "Region is limited bool\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "bannedInstances", + "limited", + "name" ], "language": { "nodejs": { @@ -1321,26 +1565,26 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeMemory:getDeploymentOptionsResourceQuotasDefaultPodSizeMemory": { + "astronomer:index/getClusterOptionsClusterOptionNodeInstance:getClusterOptionsClusterOptionNodeInstance": { "properties": { - "ceiling": { - "type": "string", - "description": "Resource range ceiling\n" + "cpu": { + "type": "integer", + "description": "Provider instance cpu\n" }, - "default": { + "memory": { "type": "string", - "description": "Resource range default\n" + "description": "Provider instance memory\n" }, - "floor": { + "name": { "type": "string", - "description": "Resource range floor\n" + "description": "Provider instance name\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "cpu", + "memory", + "name" ], "language": { "nodejs": { @@ -1348,21 +1592,29 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuota:getDeploymentOptionsResourceQuotasResourceQuota": { + "astronomer:index/getClusterOptionsClusterOptionRegion:getClusterOptionsClusterOptionRegion": { "properties": { - "cpu": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaCpu:getDeploymentOptionsResourceQuotasResourceQuotaCpu", - "description": "CPU resource range\n" + "bannedInstances": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Region banned instances\n" }, - "memory": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaMemory:getDeploymentOptionsResourceQuotasResourceQuotaMemory", - "description": "Memory resource range\n" + "limited": { + "type": "boolean", + "description": "Region is limited bool\n" + }, + "name": { + "type": "string", + "description": "Region is limited bool\n" } }, "type": "object", "required": [ - "cpu", - "memory" + "bannedInstances", + "limited", + "name" ], "language": { "nodejs": { @@ -1370,26 +1622,21 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaCpu:getDeploymentOptionsResourceQuotasResourceQuotaCpu": { + "astronomer:index/getClusterTag:getClusterTag": { "properties": { - "ceiling": { - "type": "string", - "description": "Resource range ceiling\n" - }, - "default": { + "key": { "type": "string", - "description": "Resource range default\n" + "description": "Cluster tag key\n" }, - "floor": { + "value": { "type": "string", - "description": "Resource range floor\n" + "description": "Cluster tag value\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "key", + "value" ], "language": { "nodejs": { @@ -1397,26 +1644,125 @@ } } }, - "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaMemory:getDeploymentOptionsResourceQuotasResourceQuotaMemory": { + "astronomer:index/getClustersCluster:getClustersCluster": { "properties": { - "ceiling": { + "cloudProvider": { "type": "string", - "description": "Resource range ceiling\n" + "description": "Cluster cloud provider\n" }, - "default": { + "createdAt": { "type": "string", - "description": "Resource range default\n" + "description": "Cluster creation timestamp\n" }, - "floor": { + "dbInstanceType": { "type": "string", - "description": "Resource range floor\n" + "description": "Cluster database instance type\n" + }, + "healthStatus": { + "$ref": "#/types/astronomer:index/getClustersClusterHealthStatus:getClustersClusterHealthStatus", + "description": "Cluster health status\n" + }, + "id": { + "type": "string", + "description": "Cluster identifier\n" + }, + "isLimited": { + "type": "boolean", + "description": "Whether the cluster is limited\n" + }, + "metadata": { + "$ref": "#/types/astronomer:index/getClustersClusterMetadata:getClustersClusterMetadata", + "description": "Cluster metadata\n" + }, + "name": { + "type": "string", + "description": "Cluster name\n" + }, + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClustersClusterNodePool:getClustersClusterNodePool" + }, + "description": "Cluster node pools\n" + }, + "podSubnetRange": { + "type": "string", + "description": "Cluster pod subnet range\n" + }, + "providerAccount": { + "type": "string", + "description": "Cluster provider account\n" + }, + "region": { + "type": "string", + "description": "Cluster region\n" + }, + "servicePeeringRange": { + "type": "string", + "description": "Cluster service peering range\n" + }, + "serviceSubnetRange": { + "type": "string", + "description": "Cluster service subnet range\n" + }, + "status": { + "type": "string", + "description": "Cluster status\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClustersClusterTag:getClustersClusterTag" + }, + "description": "Cluster tags\n" + }, + "tenantId": { + "type": "string", + "description": "Cluster tenant ID\n" + }, + "type": { + "type": "string", + "description": "Cluster type\n" + }, + "updatedAt": { + "type": "string", + "description": "Cluster last updated timestamp\n" + }, + "vpcSubnetRange": { + "type": "string", + "description": "Cluster VPC subnet range\n" + }, + "workspaceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Cluster workspace IDs\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "cloudProvider", + "createdAt", + "dbInstanceType", + "healthStatus", + "id", + "isLimited", + "metadata", + "name", + "nodePools", + "podSubnetRange", + "providerAccount", + "region", + "servicePeeringRange", + "serviceSubnetRange", + "status", + "tags", + "tenantId", + "type", + "updatedAt", + "vpcSubnetRange", + "workspaceIds" ], "language": { "nodejs": { @@ -1424,35 +1770,24 @@ } } }, - "astronomer:index/getDeploymentOptionsRuntimeRelease:getDeploymentOptionsRuntimeRelease": { + "astronomer:index/getClustersClusterHealthStatus:getClustersClusterHealthStatus": { "properties": { - "airflowDatabaseMigration": { - "type": "boolean" - }, - "airflowVersion": { - "type": "string" - }, - "channel": { - "type": "string" - }, - "releaseDate": { - "type": "string" - }, - "stellarDatabaseMigration": { - "type": "boolean" + "details": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getClustersClusterHealthStatusDetail:getClustersClusterHealthStatusDetail" + }, + "description": "Cluster health status details\n" }, - "version": { - "type": "string" + "value": { + "type": "string", + "description": "Cluster health status value\n" } }, "type": "object", "required": [ - "airflowDatabaseMigration", - "airflowVersion", - "channel", - "releaseDate", - "stellarDatabaseMigration", - "version" + "details", + "value" ], "language": { "nodejs": { @@ -1460,19 +1795,26 @@ } } }, - "astronomer:index/getDeploymentOptionsSchedulerMachine:getDeploymentOptionsSchedulerMachine": { + "astronomer:index/getClustersClusterHealthStatusDetail:getClustersClusterHealthStatusDetail": { "properties": { - "name": { - "type": "string" + "code": { + "type": "string", + "description": "Cluster health status detail code\n" }, - "spec": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsSchedulerMachineSpec:getDeploymentOptionsSchedulerMachineSpec" + "description": { + "type": "string", + "description": "Cluster health status detail description\n" + }, + "severity": { + "type": "string", + "description": "Cluster health status detail severity\n" } }, "type": "object", "required": [ - "name", - "spec" + "code", + "description", + "severity" ], "language": { "nodejs": { @@ -1480,27 +1822,29 @@ } } }, - "astronomer:index/getDeploymentOptionsSchedulerMachineSpec:getDeploymentOptionsSchedulerMachineSpec": { + "astronomer:index/getClustersClusterMetadata:getClustersClusterMetadata": { "properties": { - "concurrency": { - "type": "string" - }, - "cpu": { - "type": "string" + "externalIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Cluster external IPs\n" }, - "ephemeralStorage": { - "type": "string" + "kubeDnsIp": { + "type": "string", + "description": "Cluster kube DNS IP\n" }, - "memory": { - "type": "string" + "oidcIssuerUrl": { + "type": "string", + "description": "Cluster OIDC issuer URL\n" } }, "type": "object", "required": [ - "concurrency", - "cpu", - "ephemeralStorage", - "memory" + "externalIps", + "kubeDnsIp", + "oidcIssuerUrl" ], "language": { "nodejs": { @@ -1508,23 +1852,64 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerMachine:getDeploymentOptionsWorkerMachine": { + "astronomer:index/getClustersClusterNodePool:getClustersClusterNodePool": { "properties": { - "concurrency": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerMachineConcurrency:getDeploymentOptionsWorkerMachineConcurrency" + "cloudProvider": { + "type": "string", + "description": "Node pool cloud provider\n" + }, + "clusterId": { + "type": "string", + "description": "Node pool cluster identifier\n" + }, + "createdAt": { + "type": "string", + "description": "Node pool creation timestamp\n" + }, + "id": { + "type": "string", + "description": "Node pool identifier\n" + }, + "isDefault": { + "type": "boolean", + "description": "Whether the node pool is the default node pool of the cluster\n" + }, + "maxNodeCount": { + "type": "integer", + "description": "Node pool maximum node count\n" }, "name": { - "type": "string" + "type": "string", + "description": "Node pool name\n" }, - "spec": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerMachineSpec:getDeploymentOptionsWorkerMachineSpec" + "nodeInstanceType": { + "type": "string", + "description": "Node pool node instance type\n" + }, + "supportedAstroMachines": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Node pool supported Astro machines\n" + }, + "updatedAt": { + "type": "string", + "description": "Node pool last updated timestamp\n" } }, "type": "object", "required": [ - "concurrency", + "cloudProvider", + "clusterId", + "createdAt", + "id", + "isDefault", + "maxNodeCount", "name", - "spec" + "nodeInstanceType", + "supportedAstroMachines", + "updatedAt" ], "language": { "nodejs": { @@ -1532,23 +1917,21 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerMachineConcurrency:getDeploymentOptionsWorkerMachineConcurrency": { + "astronomer:index/getClustersClusterTag:getClustersClusterTag": { "properties": { - "ceiling": { - "type": "string" - }, - "default": { - "type": "string" + "key": { + "type": "string", + "description": "Cluster tag key\n" }, - "floor": { - "type": "string" + "value": { + "type": "string", + "description": "Cluster tag value\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "key", + "value" ], "language": { "nodejs": { @@ -1556,27 +1939,35 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerMachineSpec:getDeploymentOptionsWorkerMachineSpec": { + "astronomer:index/getDeploymentCreatedBy:getDeploymentCreatedBy": { "properties": { - "concurrency": { + "apiTokenName": { "type": "string" }, - "cpu": { + "avatarUrl": { "type": "string" }, - "ephemeralStorage": { + "fullName": { "type": "string" }, - "memory": { + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { "type": "string" } }, "type": "object", "required": [ - "concurrency", - "cpu", - "ephemeralStorage", - "memory" + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" ], "language": { "nodejs": { @@ -1584,26 +1975,31 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerQueues:getDeploymentOptionsWorkerQueues": { + "astronomer:index/getDeploymentEnvironmentVariable:getDeploymentEnvironmentVariable": { "properties": { - "maxWorkers": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesMaxWorkers:getDeploymentOptionsWorkerQueuesMaxWorkers", - "description": "Worker queue maximum workers\n" + "isSecret": { + "type": "boolean", + "description": "Whether Environment variable is a secret\n" }, - "minWorkers": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesMinWorkers:getDeploymentOptionsWorkerQueuesMinWorkers", - "description": "Worker queue minimum workers\n" + "key": { + "type": "string", + "description": "Environment variable key\n" }, - "workerConcurrency": { - "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesWorkerConcurrency:getDeploymentOptionsWorkerQueuesWorkerConcurrency", - "description": "Worker queue worker concurrency\n" + "updatedAt": { + "type": "string", + "description": "Environment variable last updated timestamp\n" + }, + "value": { + "type": "string", + "description": "Environment variable value\n" } }, "type": "object", "required": [ - "maxWorkers", - "minWorkers", - "workerConcurrency" + "isSecret", + "key", + "updatedAt", + "value" ], "language": { "nodejs": { @@ -1611,26 +2007,43 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerQueuesMaxWorkers:getDeploymentOptionsWorkerQueuesMaxWorkers": { + "astronomer:index/getDeploymentOptionsResourceQuotas:getDeploymentOptionsResourceQuotas": { "properties": { - "ceiling": { - "type": "string", - "description": "Resource range ceiling\n" + "defaultPodSize": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSize:getDeploymentOptionsResourceQuotasDefaultPodSize", + "description": "Default pod size options\n" }, - "default": { - "type": "string", - "description": "Resource range default\n" + "resourceQuota": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuota:getDeploymentOptionsResourceQuotasResourceQuota", + "description": "Resource quota options\n" + } + }, + "type": "object", + "required": [ + "defaultPodSize", + "resourceQuota" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSize:getDeploymentOptionsResourceQuotasDefaultPodSize": { + "properties": { + "cpu": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeCpu:getDeploymentOptionsResourceQuotasDefaultPodSizeCpu", + "description": "CPU resource range\n" }, - "floor": { - "type": "string", - "description": "Resource range floor\n" + "memory": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeMemory:getDeploymentOptionsResourceQuotasDefaultPodSizeMemory", + "description": "Memory resource range\n" } }, "type": "object", "required": [ - "ceiling", - "default", - "floor" + "cpu", + "memory" ], "language": { "nodejs": { @@ -1638,7 +2051,7 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerQueuesMinWorkers:getDeploymentOptionsWorkerQueuesMinWorkers": { + "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeCpu:getDeploymentOptionsResourceQuotasDefaultPodSizeCpu": { "properties": { "ceiling": { "type": "string", @@ -1665,7 +2078,7 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkerQueuesWorkerConcurrency:getDeploymentOptionsWorkerQueuesWorkerConcurrency": { + "astronomer:index/getDeploymentOptionsResourceQuotasDefaultPodSizeMemory:getDeploymentOptionsResourceQuotasDefaultPodSizeMemory": { "properties": { "ceiling": { "type": "string", @@ -1692,19 +2105,21 @@ } } }, - "astronomer:index/getDeploymentOptionsWorkloadIdentityOption:getDeploymentOptionsWorkloadIdentityOption": { + "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuota:getDeploymentOptionsResourceQuotasResourceQuota": { "properties": { - "label": { - "type": "string" + "cpu": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaCpu:getDeploymentOptionsResourceQuotasResourceQuotaCpu", + "description": "CPU resource range\n" }, - "role": { - "type": "string" + "memory": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaMemory:getDeploymentOptionsResourceQuotasResourceQuotaMemory", + "description": "Memory resource range\n" } }, "type": "object", "required": [ - "label", - "role" + "cpu", + "memory" ], "language": { "nodejs": { @@ -1712,15 +2127,26 @@ } } }, - "astronomer:index/getDeploymentScalingSpec:getDeploymentScalingSpec": { + "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaCpu:getDeploymentOptionsResourceQuotasResourceQuotaCpu": { "properties": { - "hibernationSpec": { - "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpec:getDeploymentScalingSpecHibernationSpec" + "ceiling": { + "type": "string", + "description": "Resource range ceiling\n" + }, + "default": { + "type": "string", + "description": "Resource range default\n" + }, + "floor": { + "type": "string", + "description": "Resource range floor\n" } }, "type": "object", "required": [ - "hibernationSpec" + "ceiling", + "default", + "floor" ], "language": { "nodejs": { @@ -1728,22 +2154,26 @@ } } }, - "astronomer:index/getDeploymentScalingSpecHibernationSpec:getDeploymentScalingSpecHibernationSpec": { + "astronomer:index/getDeploymentOptionsResourceQuotasResourceQuotaMemory:getDeploymentOptionsResourceQuotasResourceQuotaMemory": { "properties": { - "override": { - "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpecOverride:getDeploymentScalingSpecHibernationSpecOverride" + "ceiling": { + "type": "string", + "description": "Resource range ceiling\n" }, - "schedules": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpecSchedule:getDeploymentScalingSpecHibernationSpecSchedule" - } + "default": { + "type": "string", + "description": "Resource range default\n" + }, + "floor": { + "type": "string", + "description": "Resource range floor\n" } }, "type": "object", "required": [ - "override", - "schedules" + "ceiling", + "default", + "floor" ], "language": { "nodejs": { @@ -1751,26 +2181,35 @@ } } }, - "astronomer:index/getDeploymentScalingSpecHibernationSpecOverride:getDeploymentScalingSpecHibernationSpecOverride": { + "astronomer:index/getDeploymentOptionsRuntimeRelease:getDeploymentOptionsRuntimeRelease": { "properties": { - "isActive": { - "type": "boolean", - "description": "Whether the override is active\n" + "airflowDatabaseMigration": { + "type": "boolean" }, - "isHibernating": { - "type": "boolean", - "description": "Whether the override is hibernating\n" + "airflowVersion": { + "type": "string" }, - "overrideUntil": { - "type": "string", - "description": "Time until the override is active\n" + "channel": { + "type": "string" + }, + "releaseDate": { + "type": "string" + }, + "stellarDatabaseMigration": { + "type": "boolean" + }, + "version": { + "type": "string" } }, "type": "object", "required": [ - "isActive", - "isHibernating", - "overrideUntil" + "airflowDatabaseMigration", + "airflowVersion", + "channel", + "releaseDate", + "stellarDatabaseMigration", + "version" ], "language": { "nodejs": { @@ -1778,31 +2217,19 @@ } } }, - "astronomer:index/getDeploymentScalingSpecHibernationSpecSchedule:getDeploymentScalingSpecHibernationSpecSchedule": { + "astronomer:index/getDeploymentOptionsSchedulerMachine:getDeploymentOptionsSchedulerMachine": { "properties": { - "description": { - "type": "string", - "description": "Description of the schedule\n" - }, - "hibernateAtCron": { - "type": "string", - "description": "Cron expression for hibernation\n" - }, - "isEnabled": { - "type": "boolean", - "description": "Whether the schedule is enabled\n" + "name": { + "type": "string" }, - "wakeAtCron": { - "type": "string", - "description": "Cron expression for waking\n" + "spec": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsSchedulerMachineSpec:getDeploymentOptionsSchedulerMachineSpec" } }, "type": "object", "required": [ - "description", - "hibernateAtCron", - "isEnabled", - "wakeAtCron" + "name", + "spec" ], "language": { "nodejs": { @@ -1810,15 +2237,27 @@ } } }, - "astronomer:index/getDeploymentScalingStatus:getDeploymentScalingStatus": { + "astronomer:index/getDeploymentOptionsSchedulerMachineSpec:getDeploymentOptionsSchedulerMachineSpec": { "properties": { - "hibernationStatus": { - "$ref": "#/types/astronomer:index/getDeploymentScalingStatusHibernationStatus:getDeploymentScalingStatusHibernationStatus" + "concurrency": { + "type": "string" + }, + "cpu": { + "type": "string" + }, + "ephemeralStorage": { + "type": "string" + }, + "memory": { + "type": "string" } }, "type": "object", "required": [ - "hibernationStatus" + "concurrency", + "cpu", + "ephemeralStorage", + "memory" ], "language": { "nodejs": { @@ -1826,31 +2265,23 @@ } } }, - "astronomer:index/getDeploymentScalingStatusHibernationStatus:getDeploymentScalingStatusHibernationStatus": { + "astronomer:index/getDeploymentOptionsWorkerMachine:getDeploymentOptionsWorkerMachine": { "properties": { - "isHibernating": { - "type": "boolean", - "description": "Whether the deployment is hibernating\n" - }, - "nextEventAt": { - "type": "string", - "description": "Time of the next event\n" + "concurrency": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerMachineConcurrency:getDeploymentOptionsWorkerMachineConcurrency" }, - "nextEventType": { - "type": "string", - "description": "Type of the next event\n" + "name": { + "type": "string" }, - "reason": { - "type": "string", - "description": "Reason for the current state\n" + "spec": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerMachineSpec:getDeploymentOptionsWorkerMachineSpec" } }, "type": "object", "required": [ - "isHibernating", - "nextEventAt", - "nextEventType", - "reason" + "concurrency", + "name", + "spec" ], "language": { "nodejs": { @@ -1858,35 +2289,51 @@ } } }, - "astronomer:index/getDeploymentUpdatedBy:getDeploymentUpdatedBy": { + "astronomer:index/getDeploymentOptionsWorkerMachineConcurrency:getDeploymentOptionsWorkerMachineConcurrency": { "properties": { - "apiTokenName": { + "ceiling": { "type": "string" }, - "avatarUrl": { + "default": { "type": "string" }, - "fullName": { + "floor": { + "type": "string" + } + }, + "type": "object", + "required": [ + "ceiling", + "default", + "floor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentOptionsWorkerMachineSpec:getDeploymentOptionsWorkerMachineSpec": { + "properties": { + "concurrency": { "type": "string" }, - "id": { + "cpu": { "type": "string" }, - "subjectType": { + "ephemeralStorage": { "type": "string" }, - "username": { + "memory": { "type": "string" } }, "type": "object", "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" + "concurrency", + "cpu", + "ephemeralStorage", + "memory" ], "language": { "nodejs": { @@ -1894,60 +2341,25 @@ } } }, - "astronomer:index/getDeploymentWorkerQueue:getDeploymentWorkerQueue": { + "astronomer:index/getDeploymentOptionsWorkerQueues:getDeploymentOptionsWorkerQueues": { "properties": { - "astroMachine": { - "type": "string", - "description": "Worker queue Astro machine value\n" - }, - "id": { - "type": "string", - "description": "Worker queue identifier\n" - }, - "isDefault": { - "type": "boolean", - "description": "Whether Worker queue is default\n" - }, - "maxWorkerCount": { - "type": "integer", - "description": "Worker queue max worker count\n" - }, - "minWorkerCount": { - "type": "integer", - "description": "Worker queue min worker count\n" - }, - "name": { - "type": "string", - "description": "Worker queue name\n" - }, - "nodePoolId": { - "type": "string", - "description": "Worker queue node pool identifier\n" - }, - "podCpu": { - "type": "string", - "description": "Worker queue pod CPU\n" + "maxWorkers": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesMaxWorkers:getDeploymentOptionsWorkerQueuesMaxWorkers", + "description": "Worker queue maximum workers\n" }, - "podMemory": { - "type": "string", - "description": "Worker queue pod memory\n" + "minWorkers": { + "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesMinWorkers:getDeploymentOptionsWorkerQueuesMinWorkers", + "description": "Worker queue minimum workers\n" }, "workerConcurrency": { - "type": "integer", + "$ref": "#/types/astronomer:index/getDeploymentOptionsWorkerQueuesWorkerConcurrency:getDeploymentOptionsWorkerQueuesWorkerConcurrency", "description": "Worker queue worker concurrency\n" } }, "type": "object", "required": [ - "astroMachine", - "id", - "isDefault", - "maxWorkerCount", - "minWorkerCount", - "name", - "nodePoolId", - "podCpu", - "podMemory", + "maxWorkers", + "minWorkers", "workerConcurrency" ], "language": { @@ -1956,331 +2368,100 @@ } } }, - "astronomer:index/getDeploymentsDeployment:getDeploymentsDeployment": { + "astronomer:index/getDeploymentOptionsWorkerQueuesMaxWorkers:getDeploymentOptionsWorkerQueuesMaxWorkers": { "properties": { - "airflowVersion": { - "type": "string", - "description": "Deployment Airflow version\n" - }, - "astroRuntimeVersion": { - "type": "string", - "description": "Deployment Astro Runtime version\n" - }, - "cloudProvider": { - "type": "string", - "description": "Deployment cloud provider\n" - }, - "clusterId": { - "type": "string", - "description": "Deployment cluster identifier\n" - }, - "contactEmails": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Deployment contact emails\n" - }, - "createdAt": { + "ceiling": { "type": "string", - "description": "Deployment creation timestamp\n" - }, - "createdBy": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentCreatedBy:getDeploymentsDeploymentCreatedBy", - "description": "Deployment creator\n" + "description": "Resource range ceiling\n" }, - "dagTarballVersion": { + "default": { "type": "string", - "description": "Deployment DAG tarball version\n" + "description": "Resource range default\n" }, - "defaultTaskPodCpu": { + "floor": { "type": "string", - "description": "Deployment default task pod CPU\n" - }, - "defaultTaskPodMemory": { + "description": "Resource range floor\n" + } + }, + "type": "object", + "required": [ + "ceiling", + "default", + "floor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentOptionsWorkerQueuesMinWorkers:getDeploymentOptionsWorkerQueuesMinWorkers": { + "properties": { + "ceiling": { "type": "string", - "description": "Deployment default task pod memory\n" + "description": "Resource range ceiling\n" }, - "description": { + "default": { "type": "string", - "description": "Deployment description\n" + "description": "Resource range default\n" }, - "desiredDagTarballVersion": { + "floor": { "type": "string", - "description": "Deployment desired DAG tarball version\n" - }, - "environmentVariables": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentEnvironmentVariable:getDeploymentsDeploymentEnvironmentVariable" - }, - "description": "Deployment environment variables\n" - }, - "executor": { + "description": "Resource range floor\n" + } + }, + "type": "object", + "required": [ + "ceiling", + "default", + "floor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentOptionsWorkerQueuesWorkerConcurrency:getDeploymentOptionsWorkerQueuesWorkerConcurrency": { + "properties": { + "ceiling": { "type": "string", - "description": "Deployment executor\n" - }, - "externalIps": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Deployment external IPs\n" + "description": "Resource range ceiling\n" }, - "id": { + "default": { "type": "string", - "description": "Deployment identifier\n" + "description": "Resource range default\n" }, - "imageRepository": { + "floor": { "type": "string", - "description": "Deployment image repository\n" + "description": "Resource range floor\n" + } + }, + "type": "object", + "required": [ + "ceiling", + "default", + "floor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentOptionsWorkloadIdentityOption:getDeploymentOptionsWorkloadIdentityOption": { + "properties": { + "label": { + "type": "string" }, - "imageTag": { - "type": "string", - "description": "Deployment image tag\n" - }, - "imageVersion": { - "type": "string", - "description": "Deployment image version\n" - }, - "isCicdEnforced": { - "type": "boolean", - "description": "Whether the Deployment enforces CI/CD deploys\n" - }, - "isDagDeployEnabled": { - "type": "boolean", - "description": "Whether DAG deploy is enabled\n" - }, - "isDevelopmentMode": { - "type": "boolean", - "description": "Whether Deployment is in development mode\n" - }, - "isHighAvailability": { - "type": "boolean", - "description": "Whether Deployment has high availability\n" - }, - "name": { - "type": "string", - "description": "Deployment name\n" - }, - "namespace": { - "type": "string", - "description": "Deployment namespace\n" - }, - "oidcIssuerUrl": { - "type": "string", - "description": "Deployment OIDC issuer URL\n" - }, - "region": { - "type": "string", - "description": "Deployment region\n" - }, - "resourceQuotaCpu": { - "type": "string", - "description": "Deployment resource quota CPU\n" - }, - "resourceQuotaMemory": { - "type": "string", - "description": "Deployment resource quota memory\n" - }, - "scalingSpec": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpec:getDeploymentsDeploymentScalingSpec", - "description": "Deployment scaling spec\n" - }, - "scalingStatus": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingStatus:getDeploymentsDeploymentScalingStatus", - "description": "Deployment scaling status\n" - }, - "schedulerAu": { - "type": "integer", - "description": "Deployment scheduler AU\n" - }, - "schedulerCpu": { - "type": "string", - "description": "Deployment scheduler CPU\n" - }, - "schedulerMemory": { - "type": "string", - "description": "Deployment scheduler memory\n" - }, - "schedulerReplicas": { - "type": "integer", - "description": "Deployment scheduler replicas\n" - }, - "schedulerSize": { - "type": "string", - "description": "Deployment scheduler size\n" - }, - "status": { - "type": "string", - "description": "Deployment status\n" - }, - "statusReason": { - "type": "string", - "description": "Deployment status reason\n" - }, - "taskPodNodePoolId": { - "type": "string", - "description": "Deployment task pod node pool identifier\n" - }, - "type": { - "type": "string", - "description": "Deployment type\n" - }, - "updatedAt": { - "type": "string", - "description": "Deployment last updated timestamp\n" - }, - "updatedBy": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentUpdatedBy:getDeploymentsDeploymentUpdatedBy", - "description": "Deployment updater\n" - }, - "webserverAirflowApiUrl": { - "type": "string", - "description": "Deployment webserver Airflow API URL\n" - }, - "webserverIngressHostname": { - "type": "string", - "description": "Deployment webserver ingress hostname\n" - }, - "webserverUrl": { - "type": "string", - "description": "Deployment webserver URL\n" - }, - "workerQueues": { - "type": "array", - "items": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentWorkerQueue:getDeploymentsDeploymentWorkerQueue" - }, - "description": "Deployment worker queues\n" - }, - "workloadIdentity": { - "type": "string", - "description": "Deployment workload identity\n" - }, - "workspaceId": { - "type": "string", - "description": "Deployment workspace identifier\n" - } - }, - "type": "object", - "required": [ - "airflowVersion", - "astroRuntimeVersion", - "cloudProvider", - "clusterId", - "contactEmails", - "createdAt", - "createdBy", - "dagTarballVersion", - "defaultTaskPodCpu", - "defaultTaskPodMemory", - "description", - "desiredDagTarballVersion", - "environmentVariables", - "executor", - "externalIps", - "id", - "imageRepository", - "imageTag", - "imageVersion", - "isCicdEnforced", - "isDagDeployEnabled", - "isDevelopmentMode", - "isHighAvailability", - "name", - "namespace", - "oidcIssuerUrl", - "region", - "resourceQuotaCpu", - "resourceQuotaMemory", - "scalingSpec", - "scalingStatus", - "schedulerAu", - "schedulerCpu", - "schedulerMemory", - "schedulerReplicas", - "schedulerSize", - "status", - "statusReason", - "taskPodNodePoolId", - "type", - "updatedAt", - "updatedBy", - "webserverAirflowApiUrl", - "webserverIngressHostname", - "webserverUrl", - "workerQueues", - "workloadIdentity", - "workspaceId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getDeploymentsDeploymentCreatedBy:getDeploymentsDeploymentCreatedBy": { - "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" - }, - "id": { - "type": "string" - }, - "subjectType": { - "type": "string" - }, - "username": { + "role": { "type": "string" } }, "type": "object", "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getDeploymentsDeploymentEnvironmentVariable:getDeploymentsDeploymentEnvironmentVariable": { - "properties": { - "isSecret": { - "type": "boolean", - "description": "Whether Environment variable is a secret\n" - }, - "key": { - "type": "string", - "description": "Environment variable key\n" - }, - "updatedAt": { - "type": "string", - "description": "Environment variable last updated timestamp\n" - }, - "value": { - "type": "string", - "description": "Environment variable value\n" - } - }, - "type": "object", - "required": [ - "isSecret", - "key", - "updatedAt", - "value" + "label", + "role" ], "language": { "nodejs": { @@ -2288,10 +2469,10 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingSpec:getDeploymentsDeploymentScalingSpec": { + "astronomer:index/getDeploymentScalingSpec:getDeploymentScalingSpec": { "properties": { "hibernationSpec": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpec:getDeploymentsDeploymentScalingSpecHibernationSpec" + "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpec:getDeploymentScalingSpecHibernationSpec" } }, "type": "object", @@ -2304,15 +2485,15 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpec:getDeploymentsDeploymentScalingSpecHibernationSpec": { + "astronomer:index/getDeploymentScalingSpecHibernationSpec:getDeploymentScalingSpecHibernationSpec": { "properties": { "override": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecOverride:getDeploymentsDeploymentScalingSpecHibernationSpecOverride" + "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpecOverride:getDeploymentScalingSpecHibernationSpecOverride" }, "schedules": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecSchedule:getDeploymentsDeploymentScalingSpecHibernationSpecSchedule" + "$ref": "#/types/astronomer:index/getDeploymentScalingSpecHibernationSpecSchedule:getDeploymentScalingSpecHibernationSpecSchedule" } } }, @@ -2327,7 +2508,7 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecOverride:getDeploymentsDeploymentScalingSpecHibernationSpecOverride": { + "astronomer:index/getDeploymentScalingSpecHibernationSpecOverride:getDeploymentScalingSpecHibernationSpecOverride": { "properties": { "isActive": { "type": "boolean", @@ -2354,7 +2535,7 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecSchedule:getDeploymentsDeploymentScalingSpecHibernationSpecSchedule": { + "astronomer:index/getDeploymentScalingSpecHibernationSpecSchedule:getDeploymentScalingSpecHibernationSpecSchedule": { "properties": { "description": { "type": "string", @@ -2386,10 +2567,10 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingStatus:getDeploymentsDeploymentScalingStatus": { + "astronomer:index/getDeploymentScalingStatus:getDeploymentScalingStatus": { "properties": { "hibernationStatus": { - "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingStatusHibernationStatus:getDeploymentsDeploymentScalingStatusHibernationStatus" + "$ref": "#/types/astronomer:index/getDeploymentScalingStatusHibernationStatus:getDeploymentScalingStatusHibernationStatus" } }, "type": "object", @@ -2402,7 +2583,7 @@ } } }, - "astronomer:index/getDeploymentsDeploymentScalingStatusHibernationStatus:getDeploymentsDeploymentScalingStatusHibernationStatus": { + "astronomer:index/getDeploymentScalingStatusHibernationStatus:getDeploymentScalingStatusHibernationStatus": { "properties": { "isHibernating": { "type": "boolean", @@ -2434,7 +2615,7 @@ } } }, - "astronomer:index/getDeploymentsDeploymentUpdatedBy:getDeploymentsDeploymentUpdatedBy": { + "astronomer:index/getDeploymentUpdatedBy:getDeploymentUpdatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -2470,7 +2651,7 @@ } } }, - "astronomer:index/getDeploymentsDeploymentWorkerQueue:getDeploymentsDeploymentWorkerQueue": { + "astronomer:index/getDeploymentWorkerQueue:getDeploymentWorkerQueue": { "properties": { "astroMachine": { "type": "string", @@ -2532,265 +2713,263 @@ } } }, - "astronomer:index/getOrganizationCreatedBy:getOrganizationCreatedBy": { - "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" - }, - "id": { - "type": "string" - }, - "subjectType": { - "type": "string" - }, - "username": { - "type": "string" - } - }, - "type": "object", - "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getOrganizationUpdatedBy:getOrganizationUpdatedBy": { - "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" - }, - "id": { - "type": "string" - }, - "subjectType": { - "type": "string" - }, - "username": { - "type": "string" - } - }, - "type": "object", - "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getTeamCreatedBy:getTeamCreatedBy": { + "astronomer:index/getDeploymentsDeployment:getDeploymentsDeployment": { "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" - }, - "id": { - "type": "string" + "airflowVersion": { + "type": "string", + "description": "Deployment Airflow version\n" }, - "subjectType": { - "type": "string" + "astroRuntimeVersion": { + "type": "string", + "description": "Deployment Astro Runtime version\n" }, - "username": { - "type": "string" - } - }, - "type": "object", - "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getTeamDeploymentRole:getTeamDeploymentRole": { - "properties": { - "deploymentId": { + "cloudProvider": { "type": "string", - "description": "The ID of the deployment the role is assigned to\n" + "description": "Deployment cloud provider\n" }, - "role": { + "clusterId": { "type": "string", - "description": "The role assigned to the deployment\n" - } - }, - "type": "object", - "required": [ - "deploymentId", - "role" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getTeamUpdatedBy:getTeamUpdatedBy": { - "properties": { - "apiTokenName": { - "type": "string" + "description": "Deployment cluster identifier\n" }, - "avatarUrl": { - "type": "string" + "contactEmails": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Deployment contact emails\n" }, - "fullName": { - "type": "string" + "createdAt": { + "type": "string", + "description": "Deployment creation timestamp\n" }, - "id": { - "type": "string" + "createdBy": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentCreatedBy:getDeploymentsDeploymentCreatedBy", + "description": "Deployment creator\n" }, - "subjectType": { - "type": "string" + "dagTarballVersion": { + "type": "string", + "description": "Deployment DAG tarball version\n" }, - "username": { - "type": "string" - } - }, - "type": "object", - "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getTeamWorkspaceRole:getTeamWorkspaceRole": { - "properties": { - "role": { + "defaultTaskPodCpu": { "type": "string", - "description": "The role assigned to the workspace\n" + "description": "Deployment default task pod CPU\n" }, - "workspaceId": { + "defaultTaskPodMemory": { "type": "string", - "description": "The ID of the workspace the role is assigned to\n" - } - }, - "type": "object", - "required": [ - "role", - "workspaceId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "astronomer:index/getTeamsTeam:getTeamsTeam": { - "properties": { - "createdAt": { + "description": "Deployment default task pod memory\n" + }, + "description": { "type": "string", - "description": "Team creation timestamp\n" + "description": "Deployment description\n" }, - "createdBy": { - "$ref": "#/types/astronomer:index/getTeamsTeamCreatedBy:getTeamsTeamCreatedBy", - "description": "Team creator\n" + "desiredDagTarballVersion": { + "type": "string", + "description": "Deployment desired DAG tarball version\n" }, - "deploymentRoles": { + "environmentVariables": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/getTeamsTeamDeploymentRole:getTeamsTeamDeploymentRole" + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentEnvironmentVariable:getDeploymentsDeploymentEnvironmentVariable" }, - "description": "The roles assigned to the deployments\n" + "description": "Deployment environment variables\n" }, - "description": { + "executor": { "type": "string", - "description": "Team description\n" + "description": "Deployment executor\n" + }, + "externalIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Deployment external IPs\n" }, "id": { "type": "string", - "description": "Team identifier\n" - }, - "isIdpManaged": { - "type": "boolean", - "description": "Whether the team is managed by an identity provider\n" + "description": "Deployment identifier\n" }, - "name": { + "imageRepository": { "type": "string", - "description": "Team name\n" + "description": "Deployment image repository\n" }, - "organizationRole": { + "imageTag": { "type": "string", - "description": "The role assigned to the organization\n" + "description": "Deployment image tag\n" }, - "rolesCount": { + "imageVersion": { + "type": "string", + "description": "Deployment image version\n" + }, + "isCicdEnforced": { + "type": "boolean", + "description": "Whether the Deployment enforces CI/CD deploys\n" + }, + "isDagDeployEnabled": { + "type": "boolean", + "description": "Whether DAG deploy is enabled\n" + }, + "isDevelopmentMode": { + "type": "boolean", + "description": "Whether Deployment is in development mode\n" + }, + "isHighAvailability": { + "type": "boolean", + "description": "Whether Deployment has high availability\n" + }, + "name": { + "type": "string", + "description": "Deployment name\n" + }, + "namespace": { + "type": "string", + "description": "Deployment namespace\n" + }, + "oidcIssuerUrl": { + "type": "string", + "description": "Deployment OIDC issuer URL\n" + }, + "region": { + "type": "string", + "description": "Deployment region\n" + }, + "resourceQuotaCpu": { + "type": "string", + "description": "Deployment resource quota CPU\n" + }, + "resourceQuotaMemory": { + "type": "string", + "description": "Deployment resource quota memory\n" + }, + "scalingSpec": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpec:getDeploymentsDeploymentScalingSpec", + "description": "Deployment scaling spec\n" + }, + "scalingStatus": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingStatus:getDeploymentsDeploymentScalingStatus", + "description": "Deployment scaling status\n" + }, + "schedulerAu": { + "type": "integer", + "description": "Deployment scheduler AU\n" + }, + "schedulerCpu": { + "type": "string", + "description": "Deployment scheduler CPU\n" + }, + "schedulerMemory": { + "type": "string", + "description": "Deployment scheduler memory\n" + }, + "schedulerReplicas": { "type": "integer", - "description": "Number of roles assigned to the team\n" + "description": "Deployment scheduler replicas\n" + }, + "schedulerSize": { + "type": "string", + "description": "Deployment scheduler size\n" + }, + "status": { + "type": "string", + "description": "Deployment status\n" + }, + "statusReason": { + "type": "string", + "description": "Deployment status reason\n" + }, + "taskPodNodePoolId": { + "type": "string", + "description": "Deployment task pod node pool identifier\n" + }, + "type": { + "type": "string", + "description": "Deployment type\n" }, "updatedAt": { "type": "string", - "description": "Team last updated timestamp\n" + "description": "Deployment last updated timestamp\n" }, "updatedBy": { - "$ref": "#/types/astronomer:index/getTeamsTeamUpdatedBy:getTeamsTeamUpdatedBy", - "description": "Team updater\n" + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentUpdatedBy:getDeploymentsDeploymentUpdatedBy", + "description": "Deployment updater\n" }, - "workspaceRoles": { + "webserverAirflowApiUrl": { + "type": "string", + "description": "Deployment webserver Airflow API URL\n" + }, + "webserverIngressHostname": { + "type": "string", + "description": "Deployment webserver ingress hostname\n" + }, + "webserverUrl": { + "type": "string", + "description": "Deployment webserver URL\n" + }, + "workerQueues": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/getTeamsTeamWorkspaceRole:getTeamsTeamWorkspaceRole" + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentWorkerQueue:getDeploymentsDeploymentWorkerQueue" }, - "description": "The roles assigned to the workspaces\n" + "description": "Deployment worker queues\n" + }, + "workloadIdentity": { + "type": "string", + "description": "Deployment workload identity\n" + }, + "workspaceId": { + "type": "string", + "description": "Deployment workspace identifier\n" } }, "type": "object", "required": [ + "airflowVersion", + "astroRuntimeVersion", + "cloudProvider", + "clusterId", + "contactEmails", "createdAt", "createdBy", - "deploymentRoles", + "dagTarballVersion", + "defaultTaskPodCpu", + "defaultTaskPodMemory", "description", + "desiredDagTarballVersion", + "environmentVariables", + "executor", + "externalIps", "id", - "isIdpManaged", + "imageRepository", + "imageTag", + "imageVersion", + "isCicdEnforced", + "isDagDeployEnabled", + "isDevelopmentMode", + "isHighAvailability", "name", - "organizationRole", - "rolesCount", + "namespace", + "oidcIssuerUrl", + "region", + "resourceQuotaCpu", + "resourceQuotaMemory", + "scalingSpec", + "scalingStatus", + "schedulerAu", + "schedulerCpu", + "schedulerMemory", + "schedulerReplicas", + "schedulerSize", + "status", + "statusReason", + "taskPodNodePoolId", + "type", "updatedAt", "updatedBy", - "workspaceRoles" + "webserverAirflowApiUrl", + "webserverIngressHostname", + "webserverUrl", + "workerQueues", + "workloadIdentity", + "workspaceId" ], "language": { "nodejs": { @@ -2798,7 +2977,7 @@ } } }, - "astronomer:index/getTeamsTeamCreatedBy:getTeamsTeamCreatedBy": { + "astronomer:index/getDeploymentsDeploymentCreatedBy:getDeploymentsDeploymentCreatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -2834,21 +3013,31 @@ } } }, - "astronomer:index/getTeamsTeamDeploymentRole:getTeamsTeamDeploymentRole": { + "astronomer:index/getDeploymentsDeploymentEnvironmentVariable:getDeploymentsDeploymentEnvironmentVariable": { "properties": { - "deploymentId": { + "isSecret": { + "type": "boolean", + "description": "Whether Environment variable is a secret\n" + }, + "key": { "type": "string", - "description": "The ID of the deployment the role is assigned to\n" + "description": "Environment variable key\n" }, - "role": { + "updatedAt": { "type": "string", - "description": "The role assigned to the deployment\n" + "description": "Environment variable last updated timestamp\n" + }, + "value": { + "type": "string", + "description": "Environment variable value\n" } }, "type": "object", "required": [ - "deploymentId", - "role" + "isSecret", + "key", + "updatedAt", + "value" ], "language": { "nodejs": { @@ -2856,35 +3045,15 @@ } } }, - "astronomer:index/getTeamsTeamUpdatedBy:getTeamsTeamUpdatedBy": { + "astronomer:index/getDeploymentsDeploymentScalingSpec:getDeploymentsDeploymentScalingSpec": { "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" - }, - "id": { - "type": "string" - }, - "subjectType": { - "type": "string" - }, - "username": { - "type": "string" + "hibernationSpec": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpec:getDeploymentsDeploymentScalingSpecHibernationSpec" } }, "type": "object", "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" + "hibernationSpec" ], "language": { "nodejs": { @@ -2892,21 +3061,22 @@ } } }, - "astronomer:index/getTeamsTeamWorkspaceRole:getTeamsTeamWorkspaceRole": { + "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpec:getDeploymentsDeploymentScalingSpecHibernationSpec": { "properties": { - "role": { - "type": "string", - "description": "The role assigned to the workspace\n" + "override": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecOverride:getDeploymentsDeploymentScalingSpecHibernationSpecOverride" }, - "workspaceId": { - "type": "string", - "description": "The ID of the workspace the role is assigned to\n" + "schedules": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecSchedule:getDeploymentsDeploymentScalingSpecHibernationSpecSchedule" + } } }, "type": "object", "required": [ - "role", - "workspaceId" + "override", + "schedules" ], "language": { "nodejs": { @@ -2914,35 +3084,58 @@ } } }, - "astronomer:index/getWorkspaceCreatedBy:getWorkspaceCreatedBy": { + "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecOverride:getDeploymentsDeploymentScalingSpecHibernationSpecOverride": { "properties": { - "apiTokenName": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "fullName": { - "type": "string" + "isActive": { + "type": "boolean", + "description": "Whether the override is active\n" }, - "id": { - "type": "string" + "isHibernating": { + "type": "boolean", + "description": "Whether the override is hibernating\n" }, - "subjectType": { - "type": "string" + "overrideUntil": { + "type": "string", + "description": "Time until the override is active\n" + } + }, + "type": "object", + "required": [ + "isActive", + "isHibernating", + "overrideUntil" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentsDeploymentScalingSpecHibernationSpecSchedule:getDeploymentsDeploymentScalingSpecHibernationSpecSchedule": { + "properties": { + "description": { + "type": "string", + "description": "Description of the schedule\n" }, - "username": { - "type": "string" + "hibernateAtCron": { + "type": "string", + "description": "Cron expression for hibernation\n" + }, + "isEnabled": { + "type": "boolean", + "description": "Whether the schedule is enabled\n" + }, + "wakeAtCron": { + "type": "string", + "description": "Cron expression for waking\n" } }, "type": "object", "required": [ - "apiTokenName", - "avatarUrl", - "fullName", - "id", - "subjectType", - "username" + "description", + "hibernateAtCron", + "isEnabled", + "wakeAtCron" ], "language": { "nodejs": { @@ -2950,7 +3143,55 @@ } } }, - "astronomer:index/getWorkspaceUpdatedBy:getWorkspaceUpdatedBy": { + "astronomer:index/getDeploymentsDeploymentScalingStatus:getDeploymentsDeploymentScalingStatus": { + "properties": { + "hibernationStatus": { + "$ref": "#/types/astronomer:index/getDeploymentsDeploymentScalingStatusHibernationStatus:getDeploymentsDeploymentScalingStatusHibernationStatus" + } + }, + "type": "object", + "required": [ + "hibernationStatus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentsDeploymentScalingStatusHibernationStatus:getDeploymentsDeploymentScalingStatusHibernationStatus": { + "properties": { + "isHibernating": { + "type": "boolean", + "description": "Whether the deployment is hibernating\n" + }, + "nextEventAt": { + "type": "string", + "description": "Time of the next event\n" + }, + "nextEventType": { + "type": "string", + "description": "Type of the next event\n" + }, + "reason": { + "type": "string", + "description": "Reason for the current state\n" + } + }, + "type": "object", + "required": [ + "isHibernating", + "nextEventAt", + "nextEventType", + "reason" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getDeploymentsDeploymentUpdatedBy:getDeploymentsDeploymentUpdatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -2986,51 +3227,61 @@ } } }, - "astronomer:index/getWorkspacesWorkspace:getWorkspacesWorkspace": { + "astronomer:index/getDeploymentsDeploymentWorkerQueue:getDeploymentsDeploymentWorkerQueue": { "properties": { - "cicdEnforcedDefault": { - "type": "boolean", - "description": "Whether new Deployments enforce CI/CD deploys by default\n" + "astroMachine": { + "type": "string", + "description": "Worker queue Astro machine value\n" }, - "createdAt": { + "id": { "type": "string", - "description": "Workspace creation timestamp\n" + "description": "Worker queue identifier\n" }, - "createdBy": { - "$ref": "#/types/astronomer:index/getWorkspacesWorkspaceCreatedBy:getWorkspacesWorkspaceCreatedBy", - "description": "Workspace creator\n" + "isDefault": { + "type": "boolean", + "description": "Whether Worker queue is default\n" }, - "description": { + "maxWorkerCount": { + "type": "integer", + "description": "Worker queue max worker count\n" + }, + "minWorkerCount": { + "type": "integer", + "description": "Worker queue min worker count\n" + }, + "name": { "type": "string", - "description": "Workspace description\n" + "description": "Worker queue name\n" }, - "id": { + "nodePoolId": { "type": "string", - "description": "Workspace identifier\n" + "description": "Worker queue node pool identifier\n" }, - "name": { + "podCpu": { "type": "string", - "description": "Workspace name\n" + "description": "Worker queue pod CPU\n" }, - "updatedAt": { + "podMemory": { "type": "string", - "description": "Workspace last updated timestamp\n" + "description": "Worker queue pod memory\n" }, - "updatedBy": { - "$ref": "#/types/astronomer:index/getWorkspacesWorkspaceUpdatedBy:getWorkspacesWorkspaceUpdatedBy", - "description": "Workspace updater\n" + "workerConcurrency": { + "type": "integer", + "description": "Worker queue worker concurrency\n" } }, "type": "object", "required": [ - "cicdEnforcedDefault", - "createdAt", - "createdBy", - "description", + "astroMachine", "id", + "isDefault", + "maxWorkerCount", + "minWorkerCount", "name", - "updatedAt", - "updatedBy" + "nodePoolId", + "podCpu", + "podMemory", + "workerConcurrency" ], "language": { "nodejs": { @@ -3038,7 +3289,7 @@ } } }, - "astronomer:index/getWorkspacesWorkspaceCreatedBy:getWorkspacesWorkspaceCreatedBy": { + "astronomer:index/getOrganizationCreatedBy:getOrganizationCreatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -3074,7 +3325,7 @@ } } }, - "astronomer:index/getWorkspacesWorkspaceUpdatedBy:getWorkspacesWorkspaceUpdatedBy": { + "astronomer:index/getOrganizationUpdatedBy:getOrganizationUpdatedBy": { "properties": { "apiTokenName": { "type": "string" @@ -3109,71 +3360,909 @@ "requiredInputs": [] } } - } - }, - "provider": { - "description": "The provider type for the astro 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": { - "host": { - "type": "string", - "description": "API host to use for the provider. Default is `https://api.astronomer.io`\n" - }, - "organizationId": { - "type": "string", - "description": "Organization ID this provider will operate on.\n" - }, - "token": { - "type": "string", - "description": "Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.\n", - "secret": true - } }, - "required": [ - "organizationId" - ], - "inputProperties": { - "host": { - "type": "string", - "description": "API host to use for the provider. Default is `https://api.astronomer.io`\n" - }, - "organizationId": { - "type": "string", - "description": "Organization ID this provider will operate on.\n" - }, - "token": { - "type": "string", - "description": "Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.\n", - "defaultInfo": { - "environment": [ - "ASTRO_API_TOKEN" - ] + "astronomer:index/getTeamCreatedBy:getTeamCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" }, - "secret": true + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } } }, - "requiredInputs": [ - "organizationId" - ] - }, - "resources": { - "astronomer:index/cluster:Cluster": { - "description": "Cluster resource. If creating multiple clusters, add a delay between each cluster creation to avoid cluster creation limiting errors.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@ryan-pip/pulumi_astronomer\";\n\nconst awsExample = new astronomer.Cluster(\"awsExample\", {\n type: \"DEDICATED\",\n region: \"us-east-1\",\n cloudProvider: \"AWS\",\n vpcSubnetRange: \"172.20.0.0/20\",\n workspaceIds: [],\n timeouts: {\n create: \"3h\",\n update: \"2h\",\n \"delete\": \"1h\",\n },\n});\nconst azureExample = new astronomer.Cluster(\"azureExample\", {\n type: \"DEDICATED\",\n region: \"westus2\",\n cloudProvider: \"AZURE\",\n vpcSubnetRange: \"172.20.0.0/19\",\n workspaceIds: [\"clv4wcf6f003u01m3zp7gsvzg\"],\n});\nconst gcpExample = new astronomer.Cluster(\"gcpExample\", {\n type: \"DEDICATED\",\n region: \"us-central1\",\n cloudProvider: \"GCP\",\n podSubnetRange: \"172.21.0.0/19\",\n servicePeeringRange: \"172.23.0.0/20\",\n serviceSubnetRange: \"172.22.0.0/22\",\n vpcSubnetRange: \"172.20.0.0/22\",\n workspaceIds: [],\n});\nconst importedCluster = new astronomer.Cluster(\"importedCluster\", {\n type: \"DEDICATED\",\n region: \"us-central1\",\n cloudProvider: \"GCP\",\n podSubnetRange: \"172.21.0.0/19\",\n servicePeeringRange: \"172.23.0.0/20\",\n serviceSubnetRange: \"172.22.0.0/22\",\n vpcSubnetRange: \"172.20.0.0/22\",\n workspaceIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\naws_example = astronomer.Cluster(\"awsExample\",\n type=\"DEDICATED\",\n region=\"us-east-1\",\n cloud_provider=\"AWS\",\n vpc_subnet_range=\"172.20.0.0/20\",\n workspace_ids=[],\n timeouts=astronomer.ClusterTimeoutsArgs(\n create=\"3h\",\n update=\"2h\",\n delete=\"1h\",\n ))\nazure_example = astronomer.Cluster(\"azureExample\",\n type=\"DEDICATED\",\n region=\"westus2\",\n cloud_provider=\"AZURE\",\n vpc_subnet_range=\"172.20.0.0/19\",\n workspace_ids=[\"clv4wcf6f003u01m3zp7gsvzg\"])\ngcp_example = astronomer.Cluster(\"gcpExample\",\n type=\"DEDICATED\",\n region=\"us-central1\",\n cloud_provider=\"GCP\",\n pod_subnet_range=\"172.21.0.0/19\",\n service_peering_range=\"172.23.0.0/20\",\n service_subnet_range=\"172.22.0.0/22\",\n vpc_subnet_range=\"172.20.0.0/22\",\n workspace_ids=[])\nimported_cluster = astronomer.Cluster(\"importedCluster\",\n type=\"DEDICATED\",\n region=\"us-central1\",\n cloud_provider=\"GCP\",\n pod_subnet_range=\"172.21.0.0/19\",\n service_peering_range=\"172.23.0.0/20\",\n service_subnet_range=\"172.22.0.0/22\",\n vpc_subnet_range=\"172.20.0.0/22\",\n workspace_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = RyanPip.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var awsExample = new Astronomer.Cluster(\"awsExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-east-1\",\n CloudProvider = \"AWS\",\n VpcSubnetRange = \"172.20.0.0/20\",\n WorkspaceIds = new[] {},\n Timeouts = new Astronomer.Inputs.ClusterTimeoutsArgs\n {\n Create = \"3h\",\n Update = \"2h\",\n Delete = \"1h\",\n },\n });\n\n var azureExample = new Astronomer.Cluster(\"azureExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"westus2\",\n CloudProvider = \"AZURE\",\n VpcSubnetRange = \"172.20.0.0/19\",\n WorkspaceIds = new[]\n {\n \"clv4wcf6f003u01m3zp7gsvzg\",\n },\n });\n\n var gcpExample = new Astronomer.Cluster(\"gcpExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-central1\",\n CloudProvider = \"GCP\",\n PodSubnetRange = \"172.21.0.0/19\",\n ServicePeeringRange = \"172.23.0.0/20\",\n ServiceSubnetRange = \"172.22.0.0/22\",\n VpcSubnetRange = \"172.20.0.0/22\",\n WorkspaceIds = new[] {},\n });\n\n var importedCluster = new Astronomer.Cluster(\"importedCluster\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-central1\",\n CloudProvider = \"GCP\",\n PodSubnetRange = \"172.21.0.0/19\",\n ServicePeeringRange = \"172.23.0.0/20\",\n ServiceSubnetRange = \"172.22.0.0/22\",\n VpcSubnetRange = \"172.20.0.0/22\",\n WorkspaceIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.NewCluster(ctx, \"awsExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\tCloudProvider: pulumi.String(\"AWS\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/20\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\n\t\t\tTimeouts: \u0026astronomer.ClusterTimeoutsArgs{\n\t\t\t\tCreate: pulumi.String(\"3h\"),\n\t\t\t\tUpdate: pulumi.String(\"2h\"),\n\t\t\t\tDelete: pulumi.String(\"1h\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"azureExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"westus2\"),\n\t\t\tCloudProvider: pulumi.String(\"AZURE\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/19\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"clv4wcf6f003u01m3zp7gsvzg\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"gcpExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-central1\"),\n\t\t\tCloudProvider: pulumi.String(\"GCP\"),\n\t\t\tPodSubnetRange: pulumi.String(\"172.21.0.0/19\"),\n\t\t\tServicePeeringRange: pulumi.String(\"172.23.0.0/20\"),\n\t\t\tServiceSubnetRange: pulumi.String(\"172.22.0.0/22\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/22\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"importedCluster\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-central1\"),\n\t\t\tCloudProvider: pulumi.String(\"GCP\"),\n\t\t\tPodSubnetRange: pulumi.String(\"172.21.0.0/19\"),\n\t\t\tServicePeeringRange: pulumi.String(\"172.23.0.0/20\"),\n\t\t\tServiceSubnetRange: pulumi.String(\"172.22.0.0/22\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/22\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\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.astronomer.Cluster;\nimport com.pulumi.astronomer.ClusterArgs;\nimport com.pulumi.astronomer.inputs.ClusterTimeoutsArgs;\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 awsExample = new Cluster(\"awsExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-east-1\")\n .cloudProvider(\"AWS\")\n .vpcSubnetRange(\"172.20.0.0/20\")\n .workspaceIds()\n .timeouts(ClusterTimeoutsArgs.builder()\n .create(\"3h\")\n .update(\"2h\")\n .delete(\"1h\")\n .build())\n .build());\n\n var azureExample = new Cluster(\"azureExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"westus2\")\n .cloudProvider(\"AZURE\")\n .vpcSubnetRange(\"172.20.0.0/19\")\n .workspaceIds(\"clv4wcf6f003u01m3zp7gsvzg\")\n .build());\n\n var gcpExample = new Cluster(\"gcpExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-central1\")\n .cloudProvider(\"GCP\")\n .podSubnetRange(\"172.21.0.0/19\")\n .servicePeeringRange(\"172.23.0.0/20\")\n .serviceSubnetRange(\"172.22.0.0/22\")\n .vpcSubnetRange(\"172.20.0.0/22\")\n .workspaceIds()\n .build());\n\n var importedCluster = new Cluster(\"importedCluster\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-central1\")\n .cloudProvider(\"GCP\")\n .podSubnetRange(\"172.21.0.0/19\")\n .servicePeeringRange(\"172.23.0.0/20\")\n .serviceSubnetRange(\"172.22.0.0/22\")\n .vpcSubnetRange(\"172.20.0.0/22\")\n .workspaceIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n awsExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-east-1\n cloudProvider: AWS\n vpcSubnetRange: 172.20.0.0/20\n workspaceIds: []\n timeouts:\n create: 3h\n update: 2h\n delete: 1h\n azureExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: westus2\n cloudProvider: AZURE\n vpcSubnetRange: 172.20.0.0/19\n workspaceIds:\n - clv4wcf6f003u01m3zp7gsvzg\n gcpExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-central1\n cloudProvider: GCP\n podSubnetRange: 172.21.0.0/19\n servicePeeringRange: 172.23.0.0/20\n serviceSubnetRange: 172.22.0.0/22\n vpcSubnetRange: 172.20.0.0/22\n workspaceIds: []\n importedCluster:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-central1\n cloudProvider: GCP\n podSubnetRange: 172.21.0.0/19\n servicePeeringRange: 172.23.0.0/20\n serviceSubnetRange: 172.22.0.0/22\n vpcSubnetRange: 172.20.0.0/22\n workspaceIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "astronomer:index/getTeamDeploymentRole:getTeamDeploymentRole": { "properties": { - "cloudProvider": { - "type": "string", - "description": "Cluster cloud provider - if changed, the cluster will be recreated.\n" - }, - "createdAt": { + "deploymentId": { "type": "string", - "description": "Cluster creation timestamp\n" + "description": "The ID of the deployment the role is assigned to\n" }, - "dbInstanceType": { + "role": { "type": "string", - "description": "Cluster database instance type\n" - }, - "isLimited": { - "type": "boolean", - "description": "Whether the cluster is limited\n" + "description": "The role assigned to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamUpdatedBy:getTeamUpdatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamWorkspaceRole:getTeamWorkspaceRole": { + "properties": { + "role": { + "type": "string", + "description": "The role assigned to the workspace\n" + }, + "workspaceId": { + "type": "string", + "description": "The ID of the workspace the role is assigned to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamsTeam:getTeamsTeam": { + "properties": { + "createdAt": { + "type": "string", + "description": "Team creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/getTeamsTeamCreatedBy:getTeamsTeamCreatedBy", + "description": "Team creator\n" + }, + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getTeamsTeamDeploymentRole:getTeamsTeamDeploymentRole" + }, + "description": "The roles assigned to the Deployments\n" + }, + "description": { + "type": "string", + "description": "Team description\n" + }, + "id": { + "type": "string", + "description": "Team ID\n" + }, + "isIdpManaged": { + "type": "boolean", + "description": "Whether the Team is managed by an identity provider\n" + }, + "name": { + "type": "string", + "description": "Team name\n" + }, + "organizationRole": { + "type": "string", + "description": "The role assigned to the Organization\n" + }, + "rolesCount": { + "type": "integer", + "description": "Number of roles assigned to the Team\n" + }, + "updatedAt": { + "type": "string", + "description": "Team last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/getTeamsTeamUpdatedBy:getTeamsTeamUpdatedBy", + "description": "Team updater\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getTeamsTeamWorkspaceRole:getTeamsTeamWorkspaceRole" + }, + "description": "The roles assigned to the Workspaces\n" + } + }, + "type": "object", + "required": [ + "createdAt", + "createdBy", + "deploymentRoles", + "description", + "id", + "isIdpManaged", + "name", + "organizationRole", + "rolesCount", + "updatedAt", + "updatedBy", + "workspaceRoles" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamsTeamCreatedBy:getTeamsTeamCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamsTeamDeploymentRole:getTeamsTeamDeploymentRole": { + "properties": { + "deploymentId": { + "type": "string", + "description": "The ID of the deployment the role is assigned to\n" + }, + "role": { + "type": "string", + "description": "The role assigned to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamsTeamUpdatedBy:getTeamsTeamUpdatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getTeamsTeamWorkspaceRole:getTeamsTeamWorkspaceRole": { + "properties": { + "role": { + "type": "string", + "description": "The role assigned to the workspace\n" + }, + "workspaceId": { + "type": "string", + "description": "The ID of the workspace the role is assigned to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getUserDeploymentRole:getUserDeploymentRole": { + "properties": { + "deploymentId": { + "type": "string", + "description": "The ID of the deployment the role is assigned to\n" + }, + "role": { + "type": "string", + "description": "The role assigned to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getUserWorkspaceRole:getUserWorkspaceRole": { + "properties": { + "role": { + "type": "string", + "description": "The role assigned to the workspace\n" + }, + "workspaceId": { + "type": "string", + "description": "The ID of the workspace the role is assigned to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getUsersUser:getUsersUser": { + "properties": { + "avatarUrl": { + "type": "string", + "description": "User avatar URL\n" + }, + "createdAt": { + "type": "string", + "description": "User creation timestamp\n" + }, + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getUsersUserDeploymentRole:getUsersUserDeploymentRole" + }, + "description": "The roles assigned to the deployments\n" + }, + "fullName": { + "type": "string", + "description": "User full name\n" + }, + "id": { + "type": "string", + "description": "User identifier\n" + }, + "organizationRole": { + "type": "string", + "description": "The role assigned to the organization\n" + }, + "status": { + "type": "string", + "description": "User status\n" + }, + "updatedAt": { + "type": "string", + "description": "User last updated timestamp\n" + }, + "username": { + "type": "string", + "description": "User username\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getUsersUserWorkspaceRole:getUsersUserWorkspaceRole" + }, + "description": "The roles assigned to the workspaces\n" + } + }, + "type": "object", + "required": [ + "avatarUrl", + "createdAt", + "deploymentRoles", + "fullName", + "id", + "organizationRole", + "status", + "updatedAt", + "username", + "workspaceRoles" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getUsersUserDeploymentRole:getUsersUserDeploymentRole": { + "properties": { + "deploymentId": { + "type": "string", + "description": "The ID of the deployment the role is assigned to\n" + }, + "role": { + "type": "string", + "description": "The role assigned to the deployment\n" + } + }, + "type": "object", + "required": [ + "deploymentId", + "role" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getUsersUserWorkspaceRole:getUsersUserWorkspaceRole": { + "properties": { + "role": { + "type": "string", + "description": "The role assigned to the workspace\n" + }, + "workspaceId": { + "type": "string", + "description": "The ID of the workspace the role is assigned to\n" + } + }, + "type": "object", + "required": [ + "role", + "workspaceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getWorkspaceCreatedBy:getWorkspaceCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getWorkspaceUpdatedBy:getWorkspaceUpdatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getWorkspacesWorkspace:getWorkspacesWorkspace": { + "properties": { + "cicdEnforcedDefault": { + "type": "boolean", + "description": "Whether new Deployments enforce CI/CD deploys by default\n" + }, + "createdAt": { + "type": "string", + "description": "Workspace creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/getWorkspacesWorkspaceCreatedBy:getWorkspacesWorkspaceCreatedBy", + "description": "Workspace creator\n" + }, + "description": { + "type": "string", + "description": "Workspace description\n" + }, + "id": { + "type": "string", + "description": "Workspace identifier\n" + }, + "name": { + "type": "string", + "description": "Workspace name\n" + }, + "updatedAt": { + "type": "string", + "description": "Workspace last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/getWorkspacesWorkspaceUpdatedBy:getWorkspacesWorkspaceUpdatedBy", + "description": "Workspace updater\n" + } + }, + "type": "object", + "required": [ + "cicdEnforcedDefault", + "createdAt", + "createdBy", + "description", + "id", + "name", + "updatedAt", + "updatedBy" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getWorkspacesWorkspaceCreatedBy:getWorkspacesWorkspaceCreatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "astronomer:index/getWorkspacesWorkspaceUpdatedBy:getWorkspacesWorkspaceUpdatedBy": { + "properties": { + "apiTokenName": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + }, + "fullName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "subjectType": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokenName", + "avatarUrl", + "fullName", + "id", + "subjectType", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + } + }, + "provider": { + "description": "The provider type for the astro 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": { + "host": { + "type": "string", + "description": "API host to use for the provider. Default is `https://api.astronomer.io`\n" + }, + "organizationId": { + "type": "string", + "description": "Organization ID this provider will operate on.\n" + }, + "token": { + "type": "string", + "description": "Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.\n", + "secret": true + } + }, + "required": [ + "organizationId" + ], + "inputProperties": { + "host": { + "type": "string", + "description": "API host to use for the provider. Default is `https://api.astronomer.io`\n" + }, + "organizationId": { + "type": "string", + "description": "Organization ID this provider will operate on.\n" + }, + "token": { + "type": "string", + "description": "Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.\n", + "defaultInfo": { + "environment": [ + "ASTRO_API_TOKEN" + ] + }, + "secret": true + } + }, + "requiredInputs": [ + "organizationId" + ] + }, + "resources": { + "astronomer:index/apiToken:ApiToken": { + "description": "API Token resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.ApiToken;\nimport com.pulumi.astronomer.ApiTokenArgs;\nimport com.pulumi.astronomer.inputs.ApiTokenRoleArgs;\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 organizationToken = new ApiToken(\"organizationToken\", ApiTokenArgs.builder()\n .description(\"organization api token description\")\n .type(\"ORGANIZATION\")\n .roles(ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .expiryPeriodInDays(30)\n .build());\n\n var organizationTokenWithMultipleRoles = new ApiToken(\"organizationTokenWithMultipleRoles\", ApiTokenArgs.builder()\n .description(\"organization api token description\")\n .type(\"ORGANIZATION\")\n .roles( \n ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression),\n ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression),\n ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n var workspaceToken = new ApiToken(\"workspaceToken\", ApiTokenArgs.builder()\n .description(\"workspace api token description\")\n .type(\"WORKSPACE\")\n .roles(ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n var workspaceTokenWithDeploymentRole = new ApiToken(\"workspaceTokenWithDeploymentRole\", ApiTokenArgs.builder()\n .description(\"workspace api token description\")\n .type(\"WORKSPACE\")\n .roles( \n ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression),\n ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n var deploymentToken = new ApiToken(\"deploymentToken\", ApiTokenArgs.builder()\n .description(\"deployment api token description\")\n .type(\"DEPLOYMENT\")\n .roles(ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n var deploymentTokenWithCustomRole = new ApiToken(\"deploymentTokenWithCustomRole\", ApiTokenArgs.builder()\n .description(\"deployment api token description\")\n .type(\"DEPLOYMENT\")\n .roles(ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n var importedApiToken = new ApiToken(\"importedApiToken\", ApiTokenArgs.builder()\n .description(\"imported api token description\")\n .type(\"ORGANIZATION\")\n .roles(ApiTokenRoleArgs.builder()\n%!v(PANIC=Format method: interface conversion: model.Expression is *model.TemplateExpression, not *model.LiteralValueExpression))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n organizationToken:\n type: astronomer:ApiToken\n properties:\n description: organization api token description\n type: ORGANIZATION\n roles:\n - role: ORGANIZATION_OWNER\n entity_id: clx42kkcm01fo01o06agtmshg\n entity_type: ORGANIZATION\n expiryPeriodInDays: 30\n organizationTokenWithMultipleRoles:\n type: astronomer:ApiToken\n properties:\n description: organization api token description\n type: ORGANIZATION\n roles:\n - role: ORGANIZATION_OWNER\n entity_id: clx42kkcm01fo01o06agtmshg\n entity_type: ORGANIZATION\n - role: WORKSPACE_OWNER\n entity_id: clx42sxw501gl01o0gjenthnh\n entity_type: WORKSPACE\n - role: DEPLOYMENT_ADMIN\n entity_id: clyn6kxud003x01mtxmccegnh\n entity_type: DEPLOYMENT\n workspaceToken:\n type: astronomer:ApiToken\n properties:\n description: workspace api token description\n type: WORKSPACE\n roles:\n - role: WORKSPACE_OWNER\n entity_id: clx42sxw501gl01o0gjenthnh\n entity_type: WORKSPACE\n workspaceTokenWithDeploymentRole:\n type: astronomer:ApiToken\n properties:\n description: workspace api token description\n type: WORKSPACE\n roles:\n - role: WORKSPACE_OWNER\n entity_id: clx42sxw501gl01o0gjenthnh\n entity_type: WORKSPACE\n - role: DEPLOYMENT_ADMIN\n entity_id: clyn6kxud003x01mtxmccegnh\n entity_type: DEPLOYMENT\n deploymentToken:\n type: astronomer:ApiToken\n properties:\n description: deployment api token description\n type: DEPLOYMENT\n roles:\n - role: DEPLOYMENT_ADMIN\n entity_id: clyn6kxud003x01mtxmccegnh\n entity_type: DEPLOYMENT\n deploymentTokenWithCustomRole:\n type: astronomer:ApiToken\n properties:\n description: deployment api token description\n type: DEPLOYMENT\n roles:\n - role: CUSTOM_ROLE\n entity_id: clyn6kxud003x01mtxmccegnh\n entity_type: DEPLOYMENT\n importedApiToken:\n type: astronomer:ApiToken\n properties:\n description: imported api token description\n type: ORGANIZATION\n roles:\n - role: ORGANIZATION_OWNER\n entity_id: clx42kkcm01fo01o06agtmshg\n entity_type: ORGANIZATION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "createdAt": { + "type": "string", + "description": "API Token creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/ApiTokenCreatedBy:ApiTokenCreatedBy", + "description": "API Token creator\n" + }, + "description": { + "type": "string", + "description": "API Token description\n" + }, + "endAt": { + "type": "string", + "description": "time when the API token will expire in UTC\n" + }, + "expiryPeriodInDays": { + "type": "integer", + "description": "API Token expiry period in days\n" + }, + "lastUsedAt": { + "type": "string", + "description": "API Token last used timestamp\n" + }, + "name": { + "type": "string", + "description": "API Token name\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/ApiTokenRole:ApiTokenRole" + }, + "description": "The roles assigned to the API Token\n" + }, + "shortToken": { + "type": "string", + "description": "API Token short token\n" + }, + "startAt": { + "type": "string", + "description": "time when the API token will become valid in UTC\n" + }, + "token": { + "type": "string", + "secret": true + }, + "type": { + "type": "string", + "description": "API Token type - if changing this value, the API Token will be recreated with the new type\n" + }, + "updatedAt": { + "type": "string", + "description": "API Token last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/ApiTokenUpdatedBy:ApiTokenUpdatedBy", + "description": "API Token updater\n" + } + }, + "required": [ + "createdAt", + "createdBy", + "endAt", + "lastUsedAt", + "name", + "roles", + "shortToken", + "startAt", + "token", + "type", + "updatedAt", + "updatedBy" + ], + "inputProperties": { + "description": { + "type": "string", + "description": "API Token description\n" + }, + "expiryPeriodInDays": { + "type": "integer", + "description": "API Token expiry period in days\n" + }, + "name": { + "type": "string", + "description": "API Token name\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/ApiTokenRole:ApiTokenRole" + }, + "description": "The roles assigned to the API Token\n" + }, + "type": { + "type": "string", + "description": "API Token type - if changing this value, the API Token will be recreated with the new type\n" + } + }, + "requiredInputs": [ + "roles", + "type" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering ApiToken resources.\n", + "properties": { + "createdAt": { + "type": "string", + "description": "API Token creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/ApiTokenCreatedBy:ApiTokenCreatedBy", + "description": "API Token creator\n" + }, + "description": { + "type": "string", + "description": "API Token description\n" + }, + "endAt": { + "type": "string", + "description": "time when the API token will expire in UTC\n" + }, + "expiryPeriodInDays": { + "type": "integer", + "description": "API Token expiry period in days\n" + }, + "lastUsedAt": { + "type": "string", + "description": "API Token last used timestamp\n" + }, + "name": { + "type": "string", + "description": "API Token name\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/ApiTokenRole:ApiTokenRole" + }, + "description": "The roles assigned to the API Token\n" + }, + "shortToken": { + "type": "string", + "description": "API Token short token\n" + }, + "startAt": { + "type": "string", + "description": "time when the API token will become valid in UTC\n" + }, + "token": { + "type": "string", + "secret": true + }, + "type": { + "type": "string", + "description": "API Token type - if changing this value, the API Token will be recreated with the new type\n" + }, + "updatedAt": { + "type": "string", + "description": "API Token last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/ApiTokenUpdatedBy:ApiTokenUpdatedBy", + "description": "API Token updater\n" + } + }, + "type": "object" + } + }, + "astronomer:index/cluster:Cluster": { + "description": "Cluster resource. If creating multiple clusters, add a delay between each cluster creation to avoid cluster creation limiting errors.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@ryan-pip/pulumi_astronomer\";\n\nconst awsExample = new astronomer.Cluster(\"awsExample\", {\n type: \"DEDICATED\",\n region: \"us-east-1\",\n cloudProvider: \"AWS\",\n vpcSubnetRange: \"172.20.0.0/20\",\n workspaceIds: [],\n timeouts: {\n create: \"3h\",\n update: \"2h\",\n \"delete\": \"1h\",\n },\n});\nconst azureExample = new astronomer.Cluster(\"azureExample\", {\n type: \"DEDICATED\",\n region: \"westus2\",\n cloudProvider: \"AZURE\",\n vpcSubnetRange: \"172.20.0.0/19\",\n workspaceIds: [\"clv4wcf6f003u01m3zp7gsvzg\"],\n});\nconst gcpExample = new astronomer.Cluster(\"gcpExample\", {\n type: \"DEDICATED\",\n region: \"us-central1\",\n cloudProvider: \"GCP\",\n podSubnetRange: \"172.21.0.0/19\",\n servicePeeringRange: \"172.23.0.0/20\",\n serviceSubnetRange: \"172.22.0.0/22\",\n vpcSubnetRange: \"172.20.0.0/22\",\n workspaceIds: [],\n});\nconst importedCluster = new astronomer.Cluster(\"importedCluster\", {\n type: \"DEDICATED\",\n region: \"us-central1\",\n cloudProvider: \"GCP\",\n podSubnetRange: \"172.21.0.0/19\",\n servicePeeringRange: \"172.23.0.0/20\",\n serviceSubnetRange: \"172.22.0.0/22\",\n vpcSubnetRange: \"172.20.0.0/22\",\n workspaceIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\naws_example = astronomer.Cluster(\"awsExample\",\n type=\"DEDICATED\",\n region=\"us-east-1\",\n cloud_provider=\"AWS\",\n vpc_subnet_range=\"172.20.0.0/20\",\n workspace_ids=[],\n timeouts={\n \"create\": \"3h\",\n \"update\": \"2h\",\n \"delete\": \"1h\",\n })\nazure_example = astronomer.Cluster(\"azureExample\",\n type=\"DEDICATED\",\n region=\"westus2\",\n cloud_provider=\"AZURE\",\n vpc_subnet_range=\"172.20.0.0/19\",\n workspace_ids=[\"clv4wcf6f003u01m3zp7gsvzg\"])\ngcp_example = astronomer.Cluster(\"gcpExample\",\n type=\"DEDICATED\",\n region=\"us-central1\",\n cloud_provider=\"GCP\",\n pod_subnet_range=\"172.21.0.0/19\",\n service_peering_range=\"172.23.0.0/20\",\n service_subnet_range=\"172.22.0.0/22\",\n vpc_subnet_range=\"172.20.0.0/22\",\n workspace_ids=[])\nimported_cluster = astronomer.Cluster(\"importedCluster\",\n type=\"DEDICATED\",\n region=\"us-central1\",\n cloud_provider=\"GCP\",\n pod_subnet_range=\"172.21.0.0/19\",\n service_peering_range=\"172.23.0.0/20\",\n service_subnet_range=\"172.22.0.0/22\",\n vpc_subnet_range=\"172.20.0.0/22\",\n workspace_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = RyanPip.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var awsExample = new Astronomer.Cluster(\"awsExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-east-1\",\n CloudProvider = \"AWS\",\n VpcSubnetRange = \"172.20.0.0/20\",\n WorkspaceIds = new[] {},\n Timeouts = new Astronomer.Inputs.ClusterTimeoutsArgs\n {\n Create = \"3h\",\n Update = \"2h\",\n Delete = \"1h\",\n },\n });\n\n var azureExample = new Astronomer.Cluster(\"azureExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"westus2\",\n CloudProvider = \"AZURE\",\n VpcSubnetRange = \"172.20.0.0/19\",\n WorkspaceIds = new[]\n {\n \"clv4wcf6f003u01m3zp7gsvzg\",\n },\n });\n\n var gcpExample = new Astronomer.Cluster(\"gcpExample\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-central1\",\n CloudProvider = \"GCP\",\n PodSubnetRange = \"172.21.0.0/19\",\n ServicePeeringRange = \"172.23.0.0/20\",\n ServiceSubnetRange = \"172.22.0.0/22\",\n VpcSubnetRange = \"172.20.0.0/22\",\n WorkspaceIds = new[] {},\n });\n\n var importedCluster = new Astronomer.Cluster(\"importedCluster\", new()\n {\n Type = \"DEDICATED\",\n Region = \"us-central1\",\n CloudProvider = \"GCP\",\n PodSubnetRange = \"172.21.0.0/19\",\n ServicePeeringRange = \"172.23.0.0/20\",\n ServiceSubnetRange = \"172.22.0.0/22\",\n VpcSubnetRange = \"172.20.0.0/22\",\n WorkspaceIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.NewCluster(ctx, \"awsExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\tCloudProvider: pulumi.String(\"AWS\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/20\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\n\t\t\tTimeouts: \u0026astronomer.ClusterTimeoutsArgs{\n\t\t\t\tCreate: pulumi.String(\"3h\"),\n\t\t\t\tUpdate: pulumi.String(\"2h\"),\n\t\t\t\tDelete: pulumi.String(\"1h\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"azureExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"westus2\"),\n\t\t\tCloudProvider: pulumi.String(\"AZURE\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/19\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"clv4wcf6f003u01m3zp7gsvzg\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"gcpExample\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-central1\"),\n\t\t\tCloudProvider: pulumi.String(\"GCP\"),\n\t\t\tPodSubnetRange: pulumi.String(\"172.21.0.0/19\"),\n\t\t\tServicePeeringRange: pulumi.String(\"172.23.0.0/20\"),\n\t\t\tServiceSubnetRange: pulumi.String(\"172.22.0.0/22\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/22\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewCluster(ctx, \"importedCluster\", \u0026astronomer.ClusterArgs{\n\t\t\tType: pulumi.String(\"DEDICATED\"),\n\t\t\tRegion: pulumi.String(\"us-central1\"),\n\t\t\tCloudProvider: pulumi.String(\"GCP\"),\n\t\t\tPodSubnetRange: pulumi.String(\"172.21.0.0/19\"),\n\t\t\tServicePeeringRange: pulumi.String(\"172.23.0.0/20\"),\n\t\t\tServiceSubnetRange: pulumi.String(\"172.22.0.0/22\"),\n\t\t\tVpcSubnetRange: pulumi.String(\"172.20.0.0/22\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{},\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.astronomer.Cluster;\nimport com.pulumi.astronomer.ClusterArgs;\nimport com.pulumi.astronomer.inputs.ClusterTimeoutsArgs;\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 awsExample = new Cluster(\"awsExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-east-1\")\n .cloudProvider(\"AWS\")\n .vpcSubnetRange(\"172.20.0.0/20\")\n .workspaceIds()\n .timeouts(ClusterTimeoutsArgs.builder()\n .create(\"3h\")\n .update(\"2h\")\n .delete(\"1h\")\n .build())\n .build());\n\n var azureExample = new Cluster(\"azureExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"westus2\")\n .cloudProvider(\"AZURE\")\n .vpcSubnetRange(\"172.20.0.0/19\")\n .workspaceIds(\"clv4wcf6f003u01m3zp7gsvzg\")\n .build());\n\n var gcpExample = new Cluster(\"gcpExample\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-central1\")\n .cloudProvider(\"GCP\")\n .podSubnetRange(\"172.21.0.0/19\")\n .servicePeeringRange(\"172.23.0.0/20\")\n .serviceSubnetRange(\"172.22.0.0/22\")\n .vpcSubnetRange(\"172.20.0.0/22\")\n .workspaceIds()\n .build());\n\n var importedCluster = new Cluster(\"importedCluster\", ClusterArgs.builder()\n .type(\"DEDICATED\")\n .region(\"us-central1\")\n .cloudProvider(\"GCP\")\n .podSubnetRange(\"172.21.0.0/19\")\n .servicePeeringRange(\"172.23.0.0/20\")\n .serviceSubnetRange(\"172.22.0.0/22\")\n .vpcSubnetRange(\"172.20.0.0/22\")\n .workspaceIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n awsExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-east-1\n cloudProvider: AWS\n vpcSubnetRange: 172.20.0.0/20\n workspaceIds: []\n timeouts:\n create: 3h\n update: 2h\n delete: 1h\n azureExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: westus2\n cloudProvider: AZURE\n vpcSubnetRange: 172.20.0.0/19\n workspaceIds:\n - clv4wcf6f003u01m3zp7gsvzg\n gcpExample:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-central1\n cloudProvider: GCP\n podSubnetRange: 172.21.0.0/19\n servicePeeringRange: 172.23.0.0/20\n serviceSubnetRange: 172.22.0.0/22\n vpcSubnetRange: 172.20.0.0/22\n workspaceIds: []\n importedCluster:\n type: astronomer:Cluster\n properties:\n type: DEDICATED\n region: us-central1\n cloudProvider: GCP\n podSubnetRange: 172.21.0.0/19\n servicePeeringRange: 172.23.0.0/20\n serviceSubnetRange: 172.22.0.0/22\n vpcSubnetRange: 172.20.0.0/22\n workspaceIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "cloudProvider": { + "type": "string", + "description": "Cluster cloud provider - if changed, the cluster will be recreated.\n" + }, + "createdAt": { + "type": "string", + "description": "Cluster creation timestamp\n" + }, + "dbInstanceType": { + "type": "string", + "description": "Cluster database instance type\n" + }, + "healthStatus": { + "$ref": "#/types/astronomer:index/ClusterHealthStatus:ClusterHealthStatus", + "description": "Cluster health status\n" + }, + "isLimited": { + "type": "boolean", + "description": "Whether the cluster is limited\n" }, "metadata": { "$ref": "#/types/astronomer:index/ClusterMetadata:ClusterMetadata", @@ -3245,6 +4334,7 @@ "cloudProvider", "createdAt", "dbInstanceType", + "healthStatus", "isLimited", "metadata", "name", @@ -3324,6 +4414,10 @@ "type": "string", "description": "Cluster database instance type\n" }, + "healthStatus": { + "$ref": "#/types/astronomer:index/ClusterHealthStatus:ClusterHealthStatus", + "description": "Cluster health status\n" + }, "isLimited": { "type": "boolean", "description": "Whether the cluster is limited\n" @@ -3398,7 +4492,7 @@ } }, "astronomer:index/deployment:Deployment": { - "description": "Deployment resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.Deployment;\nimport com.pulumi.astronomer.DeploymentArgs;\nimport com.pulumi.astronomer.inputs.DeploymentEnvironmentVariableArgs;\nimport com.pulumi.astronomer.inputs.DeploymentWorkerQueueArgs;\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 dedicated = new Deployment(\"dedicated\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"DEDICATED\")\n .clusterId(\"clv17vgft000801kkydsws63x\")\n .contactEmails(\"preview@astronomer.test\")\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(true)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly5000401ndaga21g81\")\n .environmentVariables(DeploymentEnvironmentVariableArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .is_secret(false)\n .build())\n .build());\n\n var standard = new Deployment(\"standard\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"STANDARD\")\n .cloudProvider(\"AWS\")\n .region(\"us-east-1\")\n .contactEmails()\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"CELERY\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(false)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly500a401ndaga20g81\")\n .environmentVariables()\n .workerQueues(DeploymentWorkerQueueArgs.builder()\n .name(\"default\")\n .is_default(true)\n .astro_machine(\"A5\")\n .max_worker_count(10)\n .min_worker_count(0)\n .worker_concurrency(1)\n .build())\n .build());\n\n var hybrid = new Deployment(\"hybrid\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"HYBRID\")\n .clusterId(\"clnp86ly5000401ndagu20g81\")\n .taskPodNodePoolId(\"clnp86ly5000301ndzfxz895w\")\n .contactEmails(\"example@astronomer.io\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .schedulerReplicas(1)\n .schedulerAu(5)\n .workspaceId(\"clnp86ly5000401ndaga20g81\")\n .environmentVariables(DeploymentEnvironmentVariableArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .is_secret(false)\n .build())\n .build());\n\n var importedDeployment = new Deployment(\"importedDeployment\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an existing deployment\")\n .type(\"DEDICATED\")\n .clusterId(\"clv17vgft000801kkydsws63x\")\n .contactEmails(\"preview@astronomer.test\")\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(true)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly5000401ndaga21g81\")\n .environmentVariables()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n dedicated:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: DEDICATED\n clusterId: clv17vgft000801kkydsws63x\n contactEmails:\n - preview@astronomer.test\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: true\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly5000401ndaga21g81\n environmentVariables:\n - key: key1\n value: value1\n is_secret: false\n standard:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: STANDARD\n cloudProvider: AWS\n region: us-east-1\n contactEmails: []\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: CELERY\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: false\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly500a401ndaga20g81\n environmentVariables: []\n workerQueues:\n - name: default\n is_default: true\n astro_machine: A5\n max_worker_count: 10\n min_worker_count: 0\n worker_concurrency: 1\n hybrid:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: HYBRID\n clusterId: clnp86ly5000401ndagu20g81\n taskPodNodePoolId: clnp86ly5000301ndzfxz895w\n contactEmails:\n - example@astronomer.io\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n schedulerReplicas: 1\n schedulerAu: 5\n workspaceId: clnp86ly5000401ndaga20g81\n environmentVariables:\n - key: key1\n value: value1\n is_secret: false\n importedDeployment:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an existing deployment\n type: DEDICATED\n clusterId: clv17vgft000801kkydsws63x\n contactEmails:\n - preview@astronomer.test\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: true\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly5000401ndaga21g81\n environmentVariables: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Deployment resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.Deployment;\nimport com.pulumi.astronomer.DeploymentArgs;\nimport com.pulumi.astronomer.inputs.DeploymentEnvironmentVariableArgs;\nimport com.pulumi.astronomer.inputs.DeploymentWorkerQueueArgs;\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 dedicated = new Deployment(\"dedicated\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"DEDICATED\")\n .clusterId(\"clv17vgft000801kkydsws63x\")\n .contactEmails(\"preview@astronomer.test\")\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(true)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly5000401ndaga21g81\")\n .environmentVariables(DeploymentEnvironmentVariableArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .is_secret(false)\n .build())\n .build());\n\n var standard = new Deployment(\"standard\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"STANDARD\")\n .cloudProvider(\"AWS\")\n .region(\"us-east-1\")\n .contactEmails()\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"CELERY\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(false)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly500a401ndaga20g81\")\n .environmentVariables()\n .workerQueues(DeploymentWorkerQueueArgs.builder()\n .name(\"default\")\n .is_default(true)\n .astro_machine(\"A5\")\n .max_worker_count(10)\n .min_worker_count(0)\n .worker_concurrency(1)\n .build())\n .build());\n\n var hybrid = new Deployment(\"hybrid\", DeploymentArgs.builder()\n .originalAstroRuntimeVersion(\"11.3.0\")\n .description(\"an example deployment\")\n .type(\"HYBRID\")\n .clusterId(\"clnp86ly5000401ndagu20g81\")\n .taskPodNodePoolId(\"clnp86ly5000301ndzfxz895w\")\n .contactEmails(\"example@astronomer.io\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .schedulerReplicas(1)\n .schedulerAu(5)\n .workspaceId(\"clnp86ly5000401ndaga20g81\")\n .environmentVariables(DeploymentEnvironmentVariableArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .is_secret(false)\n .build())\n .build());\n\n var importedDeployment = new Deployment(\"importedDeployment\", DeploymentArgs.builder()\n .description(\"an existing deployment\")\n .type(\"DEDICATED\")\n .clusterId(\"clv17vgft000801kkydsws63x\")\n .contactEmails(\"preview@astronomer.test\")\n .defaultTaskPodCpu(\"0.25\")\n .defaultTaskPodMemory(\"0.5Gi\")\n .executor(\"KUBERNETES\")\n .isCicdEnforced(true)\n .isDagDeployEnabled(true)\n .isDevelopmentMode(false)\n .isHighAvailability(true)\n .resourceQuotaCpu(\"10\")\n .resourceQuotaMemory(\"20Gi\")\n .schedulerSize(\"SMALL\")\n .workspaceId(\"clnp86ly5000401ndaga21g81\")\n .environmentVariables()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n dedicated:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: DEDICATED\n clusterId: clv17vgft000801kkydsws63x\n contactEmails:\n - preview@astronomer.test\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: true\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly5000401ndaga21g81\n environmentVariables:\n - key: key1\n value: value1\n is_secret: false\n standard:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: STANDARD\n cloudProvider: AWS\n region: us-east-1\n contactEmails: []\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: CELERY\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: false\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly500a401ndaga20g81\n environmentVariables: []\n workerQueues:\n - name: default\n is_default: true\n astro_machine: A5\n max_worker_count: 10\n min_worker_count: 0\n worker_concurrency: 1\n hybrid:\n type: astronomer:Deployment\n properties:\n originalAstroRuntimeVersion: 11.3.0\n description: an example deployment\n type: HYBRID\n clusterId: clnp86ly5000401ndagu20g81\n taskPodNodePoolId: clnp86ly5000301ndzfxz895w\n contactEmails:\n - example@astronomer.io\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n schedulerReplicas: 1\n schedulerAu: 5\n workspaceId: clnp86ly5000401ndaga20g81\n environmentVariables:\n - key: key1\n value: value1\n is_secret: false\n importedDeployment:\n type: astronomer:Deployment\n properties:\n description: an existing deployment\n type: DEDICATED\n clusterId: clv17vgft000801kkydsws63x\n contactEmails:\n - preview@astronomer.test\n defaultTaskPodCpu: '0.25'\n defaultTaskPodMemory: 0.5Gi\n executor: KUBERNETES\n isCicdEnforced: true\n isDagDeployEnabled: true\n isDevelopmentMode: false\n isHighAvailability: true\n resourceQuotaCpu: '10'\n resourceQuotaMemory: 20Gi\n schedulerSize: SMALL\n workspaceId: clnp86ly5000401ndaga21g81\n environmentVariables: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "airflowVersion": { "type": "string", @@ -3477,9 +4571,209 @@ "type": "string", "description": "Deployment image tag\n" }, - "imageVersion": { + "imageVersion": { + "type": "string", + "description": "Deployment image version\n" + }, + "isCicdEnforced": { + "type": "boolean", + "description": "Deployment CI/CD enforced\n" + }, + "isDagDeployEnabled": { + "type": "boolean", + "description": "Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment\n" + }, + "isDevelopmentMode": { + "type": "boolean", + "description": "Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated\n" + }, + "isHighAvailability": { + "type": "boolean", + "description": "Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "name": { + "type": "string", + "description": "Deployment name\n" + }, + "namespace": { + "type": "string", + "description": "Deployment namespace\n" + }, + "oidcIssuerUrl": { + "type": "string", + "description": "Deployment OIDC issuer URL\n" + }, + "originalAstroRuntimeVersion": { + "type": "string" + }, + "region": { + "type": "string", + "description": "Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region\n" + }, + "resourceQuotaCpu": { + "type": "string", + "description": "Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "resourceQuotaMemory": { + "type": "string", + "description": "Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "scalingSpec": { + "$ref": "#/types/astronomer:index/DeploymentScalingSpec:DeploymentScalingSpec", + "description": "Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "scalingStatus": { + "$ref": "#/types/astronomer:index/DeploymentScalingStatus:DeploymentScalingStatus", + "description": "Deployment scaling status\n" + }, + "schedulerAu": { + "type": "integer", + "description": "Deployment scheduler AU - required for 'HYBRID' deployments\n" + }, + "schedulerCpu": { + "type": "string", + "description": "Deployment scheduler CPU\n" + }, + "schedulerMemory": { + "type": "string", + "description": "Deployment scheduler memory\n" + }, + "schedulerReplicas": { + "type": "integer", + "description": "Deployment scheduler replicas - required for 'HYBRID' deployments\n" + }, + "schedulerSize": { + "type": "string", + "description": "Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "status": { + "type": "string", + "description": "Deployment status\n" + }, + "statusReason": { + "type": "string", + "description": "Deployment status reason\n" + }, + "taskPodNodePoolId": { + "type": "string", + "description": "Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'\n" + }, + "type": { + "type": "string", + "description": "Deployment type - if changing this value, the deployment will be recreated with the new type\n" + }, + "updatedAt": { + "type": "string", + "description": "Deployment last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/DeploymentUpdatedBy:DeploymentUpdatedBy", + "description": "Deployment updater\n" + }, + "webserverAirflowApiUrl": { + "type": "string", + "description": "Deployment webserver Airflow API URL\n" + }, + "webserverIngressHostname": { + "type": "string", + "description": "Deployment webserver ingress hostname\n" + }, + "webserverUrl": { + "type": "string", + "description": "Deployment webserver URL\n" + }, + "workerQueues": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + }, + "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" + }, + "workloadIdentity": { + "type": "string", + "description": "Deployment workload identity. This value can be changed via the Astro API if applicable.\n" + }, + "workspaceId": { + "type": "string", + "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + } + }, + "required": [ + "airflowVersion", + "astroRuntimeVersion", + "cloudProvider", + "clusterId", + "contactEmails", + "createdAt", + "createdBy", + "dagTarballVersion", + "description", + "desiredDagTarballVersion", + "environmentVariables", + "executor", + "externalIps", + "imageRepository", + "imageTag", + "imageVersion", + "isCicdEnforced", + "isDagDeployEnabled", + "name", + "namespace", + "oidcIssuerUrl", + "region", + "scalingStatus", + "schedulerCpu", + "schedulerMemory", + "schedulerReplicas", + "status", + "statusReason", + "type", + "updatedAt", + "updatedBy", + "webserverAirflowApiUrl", + "webserverIngressHostname", + "webserverUrl", + "workloadIdentity", + "workspaceId" + ], + "inputProperties": { + "cloudProvider": { + "type": "string", + "description": "Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider\n" + }, + "clusterId": { + "type": "string", + "description": "Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster\n" + }, + "contactEmails": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Deployment contact emails\n" + }, + "defaultTaskPodCpu": { + "type": "string", + "description": "Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "defaultTaskPodMemory": { + "type": "string", + "description": "Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "description": { + "type": "string", + "description": "Deployment description\n" + }, + "environmentVariables": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/DeploymentEnvironmentVariable:DeploymentEnvironmentVariable" + }, + "description": "Deployment environment variables\n" + }, + "executor": { "type": "string", - "description": "Deployment image version\n" + "description": "Deployment executor\n" }, "isCicdEnforced": { "type": "boolean", @@ -3501,14 +4795,6 @@ "type": "string", "description": "Deployment name\n" }, - "namespace": { - "type": "string", - "description": "Deployment namespace\n" - }, - "oidcIssuerUrl": { - "type": "string", - "description": "Deployment OIDC issuer URL\n" - }, "originalAstroRuntimeVersion": { "type": "string" }, @@ -3528,22 +4814,10 @@ "$ref": "#/types/astronomer:index/DeploymentScalingSpec:DeploymentScalingSpec", "description": "Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments\n" }, - "scalingStatus": { - "$ref": "#/types/astronomer:index/DeploymentScalingStatus:DeploymentScalingStatus", - "description": "Deployment scaling status\n" - }, "schedulerAu": { "type": "integer", "description": "Deployment scheduler AU - required for 'HYBRID' deployments\n" }, - "schedulerCpu": { - "type": "string", - "description": "Deployment scheduler CPU\n" - }, - "schedulerMemory": { - "type": "string", - "description": "Deployment scheduler memory\n" - }, "schedulerReplicas": { "type": "integer", "description": "Deployment scheduler replicas - required for 'HYBRID' deployments\n" @@ -3552,14 +4826,6 @@ "type": "string", "description": "Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments\n" }, - "status": { - "type": "string", - "description": "Deployment status\n" - }, - "statusReason": { - "type": "string", - "description": "Deployment status reason\n" - }, "taskPodNodePoolId": { "type": "string", "description": "Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'\n" @@ -3568,469 +4834,647 @@ "type": "string", "description": "Deployment type - if changing this value, the deployment will be recreated with the new type\n" }, - "updatedAt": { - "type": "string", - "description": "Deployment last updated timestamp\n" - }, - "updatedBy": { - "$ref": "#/types/astronomer:index/DeploymentUpdatedBy:DeploymentUpdatedBy", - "description": "Deployment updater\n" - }, - "webserverAirflowApiUrl": { - "type": "string", - "description": "Deployment webserver Airflow API URL\n" + "workerQueues": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + }, + "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" }, - "webserverIngressHostname": { + "workspaceId": { "type": "string", - "description": "Deployment webserver ingress hostname\n" + "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + } + }, + "requiredInputs": [ + "contactEmails", + "description", + "environmentVariables", + "executor", + "isCicdEnforced", + "isDagDeployEnabled", + "type", + "workspaceId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Deployment resources.\n", + "properties": { + "airflowVersion": { + "type": "string", + "description": "Deployment Airflow version\n" + }, + "astroRuntimeVersion": { + "type": "string", + "description": "Deployment's current Astro Runtime version\n" + }, + "cloudProvider": { + "type": "string", + "description": "Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider\n" + }, + "clusterId": { + "type": "string", + "description": "Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster\n" + }, + "contactEmails": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Deployment contact emails\n" + }, + "createdAt": { + "type": "string", + "description": "Deployment creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/DeploymentCreatedBy:DeploymentCreatedBy", + "description": "Deployment creator\n" + }, + "dagTarballVersion": { + "type": "string", + "description": "Deployment DAG tarball version\n" + }, + "defaultTaskPodCpu": { + "type": "string", + "description": "Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "defaultTaskPodMemory": { + "type": "string", + "description": "Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "description": { + "type": "string", + "description": "Deployment description\n" + }, + "desiredDagTarballVersion": { + "type": "string", + "description": "Deployment desired DAG tarball version\n" + }, + "environmentVariables": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/DeploymentEnvironmentVariable:DeploymentEnvironmentVariable" + }, + "description": "Deployment environment variables\n" + }, + "executor": { + "type": "string", + "description": "Deployment executor\n" + }, + "externalIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Deployment external IPs\n" + }, + "imageRepository": { + "type": "string", + "description": "Deployment image repository\n" + }, + "imageTag": { + "type": "string", + "description": "Deployment image tag\n" + }, + "imageVersion": { + "type": "string", + "description": "Deployment image version\n" + }, + "isCicdEnforced": { + "type": "boolean", + "description": "Deployment CI/CD enforced\n" + }, + "isDagDeployEnabled": { + "type": "boolean", + "description": "Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment\n" + }, + "isDevelopmentMode": { + "type": "boolean", + "description": "Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated\n" + }, + "isHighAvailability": { + "type": "boolean", + "description": "Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "name": { + "type": "string", + "description": "Deployment name\n" + }, + "namespace": { + "type": "string", + "description": "Deployment namespace\n" + }, + "oidcIssuerUrl": { + "type": "string", + "description": "Deployment OIDC issuer URL\n" + }, + "originalAstroRuntimeVersion": { + "type": "string" + }, + "region": { + "type": "string", + "description": "Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region\n" + }, + "resourceQuotaCpu": { + "type": "string", + "description": "Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "resourceQuotaMemory": { + "type": "string", + "description": "Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "scalingSpec": { + "$ref": "#/types/astronomer:index/DeploymentScalingSpec:DeploymentScalingSpec", + "description": "Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "scalingStatus": { + "$ref": "#/types/astronomer:index/DeploymentScalingStatus:DeploymentScalingStatus", + "description": "Deployment scaling status\n" + }, + "schedulerAu": { + "type": "integer", + "description": "Deployment scheduler AU - required for 'HYBRID' deployments\n" + }, + "schedulerCpu": { + "type": "string", + "description": "Deployment scheduler CPU\n" + }, + "schedulerMemory": { + "type": "string", + "description": "Deployment scheduler memory\n" + }, + "schedulerReplicas": { + "type": "integer", + "description": "Deployment scheduler replicas - required for 'HYBRID' deployments\n" + }, + "schedulerSize": { + "type": "string", + "description": "Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments\n" + }, + "status": { + "type": "string", + "description": "Deployment status\n" + }, + "statusReason": { + "type": "string", + "description": "Deployment status reason\n" + }, + "taskPodNodePoolId": { + "type": "string", + "description": "Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'\n" + }, + "type": { + "type": "string", + "description": "Deployment type - if changing this value, the deployment will be recreated with the new type\n" + }, + "updatedAt": { + "type": "string", + "description": "Deployment last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/DeploymentUpdatedBy:DeploymentUpdatedBy", + "description": "Deployment updater\n" + }, + "webserverAirflowApiUrl": { + "type": "string", + "description": "Deployment webserver Airflow API URL\n" + }, + "webserverIngressHostname": { + "type": "string", + "description": "Deployment webserver ingress hostname\n" + }, + "webserverUrl": { + "type": "string", + "description": "Deployment webserver URL\n" + }, + "workerQueues": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + }, + "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" + }, + "workloadIdentity": { + "type": "string", + "description": "Deployment workload identity. This value can be changed via the Astro API if applicable.\n" + }, + "workspaceId": { + "type": "string", + "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + } }, - "webserverUrl": { + "type": "object" + } + }, + "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization": { + "description": "Hybrid cluster workspace authorization resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@ryan-pip/pulumi_astronomer\";\n\nconst example = new astronomer.HybridClusterWorkspaceAuthorization(\"example\", {\n clusterId: \"clk8h0fv1006801j8yysfybbt\",\n workspaceIds: [\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n ],\n});\nconst importedClusterWorkspaceAuthorization = new astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", {\n clusterId: \"clk8h0fv1006801j8yysfybbt\",\n workspaceIds: [\"cl70oe7cu445571iynrkthtybl\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.HybridClusterWorkspaceAuthorization(\"example\",\n cluster_id=\"clk8h0fv1006801j8yysfybbt\",\n workspace_ids=[\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n ])\nimported_cluster_workspace_authorization = astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\",\n cluster_id=\"clk8h0fv1006801j8yysfybbt\",\n workspace_ids=[\"cl70oe7cu445571iynrkthtybl\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = RyanPip.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Astronomer.HybridClusterWorkspaceAuthorization(\"example\", new()\n {\n ClusterId = \"clk8h0fv1006801j8yysfybbt\",\n WorkspaceIds = new[]\n {\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n },\n });\n\n var importedClusterWorkspaceAuthorization = new Astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", new()\n {\n ClusterId = \"clk8h0fv1006801j8yysfybbt\",\n WorkspaceIds = new[]\n {\n \"cl70oe7cu445571iynrkthtybl\",\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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.NewHybridClusterWorkspaceAuthorization(ctx, \"example\", \u0026astronomer.HybridClusterWorkspaceAuthorizationArgs{\n\t\t\tClusterId: pulumi.String(\"clk8h0fv1006801j8yysfybbt\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthtybl\"),\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthacsd\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewHybridClusterWorkspaceAuthorization(ctx, \"importedClusterWorkspaceAuthorization\", \u0026astronomer.HybridClusterWorkspaceAuthorizationArgs{\n\t\t\tClusterId: pulumi.String(\"clk8h0fv1006801j8yysfybbt\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthtybl\"),\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.astronomer.HybridClusterWorkspaceAuthorization;\nimport com.pulumi.astronomer.HybridClusterWorkspaceAuthorizationArgs;\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 HybridClusterWorkspaceAuthorization(\"example\", HybridClusterWorkspaceAuthorizationArgs.builder()\n .clusterId(\"clk8h0fv1006801j8yysfybbt\")\n .workspaceIds( \n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\")\n .build());\n\n var importedClusterWorkspaceAuthorization = new HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", HybridClusterWorkspaceAuthorizationArgs.builder()\n .clusterId(\"clk8h0fv1006801j8yysfybbt\")\n .workspaceIds(\"cl70oe7cu445571iynrkthtybl\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: astronomer:HybridClusterWorkspaceAuthorization\n properties:\n clusterId: clk8h0fv1006801j8yysfybbt\n workspaceIds:\n - cl70oe7cu445571iynrkthtybl\n - cl70oe7cu445571iynrkthacsd\n importedClusterWorkspaceAuthorization:\n type: astronomer:HybridClusterWorkspaceAuthorization\n properties:\n clusterId: clk8h0fv1006801j8yysfybbt\n workspaceIds:\n - cl70oe7cu445571iynrkthtybl\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "clusterId": { "type": "string", - "description": "Deployment webserver URL\n" + "description": "The ID of the hybrid cluster to set authorizations for\n" }, - "workerQueues": { + "workspaceIds": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + "type": "string" }, - "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" - }, - "workloadIdentity": { - "type": "string", - "description": "Deployment workload identity. This value can be changed via the Astro API if applicable.\n" - }, - "workspaceId": { - "type": "string", - "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" } }, "required": [ - "airflowVersion", - "astroRuntimeVersion", - "cloudProvider", - "clusterId", - "contactEmails", - "createdAt", - "createdBy", - "dagTarballVersion", - "description", - "desiredDagTarballVersion", - "environmentVariables", - "executor", - "externalIps", - "imageRepository", - "imageTag", - "imageVersion", - "isCicdEnforced", - "isDagDeployEnabled", - "name", - "namespace", - "oidcIssuerUrl", - "region", - "scalingStatus", - "schedulerCpu", - "schedulerMemory", - "schedulerReplicas", - "status", - "statusReason", - "type", - "updatedAt", - "updatedBy", - "webserverAirflowApiUrl", - "webserverIngressHostname", - "webserverUrl", - "workloadIdentity", - "workspaceId" + "clusterId" ], "inputProperties": { - "cloudProvider": { - "type": "string", - "description": "Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider\n" - }, "clusterId": { "type": "string", - "description": "Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster\n" + "description": "The ID of the hybrid cluster to set authorizations for\n" }, - "contactEmails": { + "workspaceIds": { "type": "array", "items": { "type": "string" }, - "description": "Deployment contact emails\n" - }, - "defaultTaskPodCpu": { - "type": "string", - "description": "Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" + } + }, + "requiredInputs": [ + "clusterId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering HybridClusterWorkspaceAuthorization resources.\n", + "properties": { + "clusterId": { + "type": "string", + "description": "The ID of the hybrid cluster to set authorizations for\n" + }, + "workspaceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" + } }, - "defaultTaskPodMemory": { + "type": "object" + } + }, + "astronomer:index/team:Team": { + "description": "Team resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.Team;\nimport com.pulumi.astronomer.TeamArgs;\nimport com.pulumi.astronomer.inputs.TeamWorkspaceRoleArgs;\nimport com.pulumi.astronomer.inputs.TeamDeploymentRoleArgs;\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 team = new Team(\"team\", TeamArgs.builder()\n .description(\"team description\")\n .memberIds(\"clhpichn8002m01mqa4ocs7g6\")\n .organizationRole(\"ORGANIZATION_OWNER\")\n .workspaceRoles(TeamWorkspaceRoleArgs.builder()\n .workspace_id(\"clx42sxw501gl01o0gjenthnh\")\n .role(\"WORKSPACE_OWNER\")\n .build())\n .deploymentRoles(TeamDeploymentRoleArgs.builder()\n .deployment_id(\"clyn6kxud003x01mtxmccegnh\")\n .role(\"DEPLOYMENT_ADMIN\")\n .build())\n .build());\n\n var teamWithNoOptionalFields = new Team(\"teamWithNoOptionalFields\", TeamArgs.builder()\n .organizationRole(\"ORGANIZATION_OWNER\")\n .build());\n\n var importedTeam = new Team(\"importedTeam\", TeamArgs.builder()\n .description(\"imported team description\")\n .memberIds(\"clhpichn8002m01mqa4ocs7g6\")\n .organizationRole(\"ORGANIZATION_OWNER\")\n .workspaceRoles(TeamWorkspaceRoleArgs.builder()\n .workspace_id(\"clx42sxw501gl01o0gjenthnh\")\n .role(\"WORKSPACE_OWNER\")\n .build())\n .deploymentRoles(TeamDeploymentRoleArgs.builder()\n .deployment_id(\"clyn6kxud003x01mtxmccegnh\")\n .role(\"DEPLOYMENT_ADMIN\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n team:\n type: astronomer:Team\n properties:\n description: team description\n memberIds:\n - clhpichn8002m01mqa4ocs7g6\n organizationRole: ORGANIZATION_OWNER\n workspaceRoles:\n - workspace_id: clx42sxw501gl01o0gjenthnh\n role: WORKSPACE_OWNER\n deploymentRoles:\n - deployment_id: clyn6kxud003x01mtxmccegnh\n role: DEPLOYMENT_ADMIN\n teamWithNoOptionalFields:\n type: astronomer:Team\n properties:\n organizationRole: ORGANIZATION_OWNER\n importedTeam:\n type: astronomer:Team\n properties:\n description: imported team description\n memberIds:\n - clhpichn8002m01mqa4ocs7g6\n organizationRole: ORGANIZATION_OWNER\n workspaceRoles:\n - workspace_id: clx42sxw501gl01o0gjenthnh\n role: WORKSPACE_OWNER\n deploymentRoles:\n - deployment_id: clyn6kxud003x01mtxmccegnh\n role: DEPLOYMENT_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "createdAt": { "type": "string", - "description": "Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments\n" + "description": "Team creation timestamp\n" }, - "description": { - "type": "string", - "description": "Deployment description\n" + "createdBy": { + "$ref": "#/types/astronomer:index/TeamCreatedBy:TeamCreatedBy", + "description": "Team creator\n" }, - "environmentVariables": { + "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/DeploymentEnvironmentVariable:DeploymentEnvironmentVariable" + "$ref": "#/types/astronomer:index/TeamDeploymentRole:TeamDeploymentRole" }, - "description": "Deployment environment variables\n" + "description": "The roles to assign to the Deployments\n" }, - "executor": { + "description": { "type": "string", - "description": "Deployment executor\n" - }, - "isCicdEnforced": { - "type": "boolean", - "description": "Deployment CI/CD enforced\n" - }, - "isDagDeployEnabled": { - "type": "boolean", - "description": "Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment\n" + "description": "Team description\n" }, - "isDevelopmentMode": { + "isIdpManaged": { "type": "boolean", - "description": "Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated\n" + "description": "Whether the Team is managed by an identity provider\n" }, - "isHighAvailability": { - "type": "boolean", - "description": "Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments\n" + "memberIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the users to add to the Team\n" }, "name": { "type": "string", - "description": "Deployment name\n" - }, - "originalAstroRuntimeVersion": { - "type": "string" - }, - "region": { - "type": "string", - "description": "Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region\n" - }, - "resourceQuotaCpu": { - "type": "string", - "description": "Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" + "description": "Team name\n" }, - "resourceQuotaMemory": { + "organizationRole": { "type": "string", - "description": "Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "scalingSpec": { - "$ref": "#/types/astronomer:index/DeploymentScalingSpec:DeploymentScalingSpec", - "description": "Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "schedulerAu": { - "type": "integer", - "description": "Deployment scheduler AU - required for 'HYBRID' deployments\n" + "description": "The role to assign to the Organization\n" }, - "schedulerReplicas": { + "rolesCount": { "type": "integer", - "description": "Deployment scheduler replicas - required for 'HYBRID' deployments\n" - }, - "schedulerSize": { - "type": "string", - "description": "Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments\n" + "description": "Number of roles assigned to the Team\n" }, - "taskPodNodePoolId": { + "updatedAt": { "type": "string", - "description": "Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'\n" + "description": "Team last updated timestamp\n" }, - "type": { - "type": "string", - "description": "Deployment type - if changing this value, the deployment will be recreated with the new type\n" + "updatedBy": { + "$ref": "#/types/astronomer:index/TeamUpdatedBy:TeamUpdatedBy", + "description": "Team updater\n" }, - "workerQueues": { + "workspaceRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + "$ref": "#/types/astronomer:index/TeamWorkspaceRole:TeamWorkspaceRole" }, - "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" - }, - "workspaceId": { - "type": "string", - "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + "description": "The roles to assign to the Workspaces\n" } }, - "requiredInputs": [ - "contactEmails", - "description", - "environmentVariables", - "executor", - "isCicdEnforced", - "isDagDeployEnabled", - "type", - "workspaceId" + "required": [ + "createdAt", + "createdBy", + "isIdpManaged", + "name", + "organizationRole", + "rolesCount", + "updatedAt", + "updatedBy" ], - "stateInputs": { - "description": "Input properties used for looking up and filtering Deployment resources.\n", - "properties": { - "airflowVersion": { - "type": "string", - "description": "Deployment Airflow version\n" - }, - "astroRuntimeVersion": { - "type": "string", - "description": "Deployment's current Astro Runtime version\n" - }, - "cloudProvider": { - "type": "string", - "description": "Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider\n" + "inputProperties": { + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamDeploymentRole:TeamDeploymentRole" }, - "clusterId": { - "type": "string", - "description": "Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster\n" + "description": "The roles to assign to the Deployments\n" + }, + "description": { + "type": "string", + "description": "Team description\n" + }, + "memberIds": { + "type": "array", + "items": { + "type": "string" }, - "contactEmails": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Deployment contact emails\n" + "description": "The IDs of the users to add to the Team\n" + }, + "name": { + "type": "string", + "description": "Team name\n" + }, + "organizationRole": { + "type": "string", + "description": "The role to assign to the Organization\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamWorkspaceRole:TeamWorkspaceRole" }, + "description": "The roles to assign to the Workspaces\n" + } + }, + "requiredInputs": [ + "organizationRole" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Team resources.\n", + "properties": { "createdAt": { "type": "string", - "description": "Deployment creation timestamp\n" + "description": "Team creation timestamp\n" }, "createdBy": { - "$ref": "#/types/astronomer:index/DeploymentCreatedBy:DeploymentCreatedBy", - "description": "Deployment creator\n" - }, - "dagTarballVersion": { - "type": "string", - "description": "Deployment DAG tarball version\n" - }, - "defaultTaskPodCpu": { - "type": "string", - "description": "Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "defaultTaskPodMemory": { - "type": "string", - "description": "Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "description": { - "type": "string", - "description": "Deployment description\n" - }, - "desiredDagTarballVersion": { - "type": "string", - "description": "Deployment desired DAG tarball version\n" + "$ref": "#/types/astronomer:index/TeamCreatedBy:TeamCreatedBy", + "description": "Team creator\n" }, - "environmentVariables": { + "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/DeploymentEnvironmentVariable:DeploymentEnvironmentVariable" + "$ref": "#/types/astronomer:index/TeamDeploymentRole:TeamDeploymentRole" }, - "description": "Deployment environment variables\n" + "description": "The roles to assign to the Deployments\n" }, - "executor": { + "description": { "type": "string", - "description": "Deployment executor\n" + "description": "Team description\n" }, - "externalIps": { + "isIdpManaged": { + "type": "boolean", + "description": "Whether the Team is managed by an identity provider\n" + }, + "memberIds": { "type": "array", "items": { "type": "string" }, - "description": "Deployment external IPs\n" - }, - "imageRepository": { - "type": "string", - "description": "Deployment image repository\n" - }, - "imageTag": { - "type": "string", - "description": "Deployment image tag\n" - }, - "imageVersion": { - "type": "string", - "description": "Deployment image version\n" - }, - "isCicdEnforced": { - "type": "boolean", - "description": "Deployment CI/CD enforced\n" - }, - "isDagDeployEnabled": { - "type": "boolean", - "description": "Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment\n" - }, - "isDevelopmentMode": { - "type": "boolean", - "description": "Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated\n" - }, - "isHighAvailability": { - "type": "boolean", - "description": "Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments\n" + "description": "The IDs of the users to add to the Team\n" }, "name": { "type": "string", - "description": "Deployment name\n" - }, - "namespace": { - "type": "string", - "description": "Deployment namespace\n" - }, - "oidcIssuerUrl": { - "type": "string", - "description": "Deployment OIDC issuer URL\n" - }, - "originalAstroRuntimeVersion": { - "type": "string" - }, - "region": { - "type": "string", - "description": "Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region\n" - }, - "resourceQuotaCpu": { - "type": "string", - "description": "Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "resourceQuotaMemory": { - "type": "string", - "description": "Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "scalingSpec": { - "$ref": "#/types/astronomer:index/DeploymentScalingSpec:DeploymentScalingSpec", - "description": "Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "scalingStatus": { - "$ref": "#/types/astronomer:index/DeploymentScalingStatus:DeploymentScalingStatus", - "description": "Deployment scaling status\n" - }, - "schedulerAu": { - "type": "integer", - "description": "Deployment scheduler AU - required for 'HYBRID' deployments\n" - }, - "schedulerCpu": { - "type": "string", - "description": "Deployment scheduler CPU\n" + "description": "Team name\n" }, - "schedulerMemory": { + "organizationRole": { "type": "string", - "description": "Deployment scheduler memory\n" + "description": "The role to assign to the Organization\n" }, - "schedulerReplicas": { + "rolesCount": { "type": "integer", - "description": "Deployment scheduler replicas - required for 'HYBRID' deployments\n" - }, - "schedulerSize": { - "type": "string", - "description": "Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments\n" - }, - "status": { - "type": "string", - "description": "Deployment status\n" - }, - "statusReason": { - "type": "string", - "description": "Deployment status reason\n" - }, - "taskPodNodePoolId": { - "type": "string", - "description": "Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'\n" - }, - "type": { - "type": "string", - "description": "Deployment type - if changing this value, the deployment will be recreated with the new type\n" + "description": "Number of roles assigned to the Team\n" }, "updatedAt": { "type": "string", - "description": "Deployment last updated timestamp\n" + "description": "Team last updated timestamp\n" }, "updatedBy": { - "$ref": "#/types/astronomer:index/DeploymentUpdatedBy:DeploymentUpdatedBy", - "description": "Deployment updater\n" + "$ref": "#/types/astronomer:index/TeamUpdatedBy:TeamUpdatedBy", + "description": "Team updater\n" }, - "webserverAirflowApiUrl": { - "type": "string", - "description": "Deployment webserver Airflow API URL\n" + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamWorkspaceRole:TeamWorkspaceRole" + }, + "description": "The roles to assign to the Workspaces\n" + } + }, + "type": "object" + } + }, + "astronomer:index/teamRoles:TeamRoles": { + "description": "Team Roles resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.TeamRoles;\nimport com.pulumi.astronomer.TeamRolesArgs;\nimport com.pulumi.astronomer.inputs.TeamRolesWorkspaceRoleArgs;\nimport com.pulumi.astronomer.inputs.TeamRolesDeploymentRoleArgs;\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 organizationRoleOnly = new TeamRoles(\"organizationRoleOnly\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .build());\n\n var workspaceRoles = new TeamRoles(\"workspaceRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_ACCESSOR\")\n .build(),\n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g82\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .build());\n\n var deploymentRoles = new TeamRoles(\"deploymentRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .deploymentRoles(TeamRolesDeploymentRoleArgs.builder()\n .deployment_id(\"cldp86ly5000401ndaga21g86\")\n .role(\"DEPLOYMENT_ADMIN\")\n .build())\n .build());\n\n var allRoles = new TeamRoles(\"allRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_OWNER\")\n .build(),\n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g82\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .deploymentRoles(TeamRolesDeploymentRoleArgs.builder()\n .deployment_id(\"cldp86ly5000401ndaga21g86\")\n .role(\"my custom role\")\n .build())\n .build());\n\n var importedTeamRoles = new TeamRoles(\"importedTeamRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles(TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_OWNER\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n organizationRoleOnly:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_ACCESSOR\n - workspace_id: clwp86ly5000401ndaga21g82\n role: WORKSPACE_MEMBER\n deploymentRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n deploymentRoles:\n - deployment_id: cldp86ly5000401ndaga21g86\n role: DEPLOYMENT_ADMIN\n allRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_OWNER\n - workspace_id: clwp86ly5000401ndaga21g82\n role: WORKSPACE_MEMBER\n deploymentRoles:\n - deployment_id: cldp86ly5000401ndaga21g86\n role: my custom role\n importedTeamRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_OWNER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" }, - "webserverIngressHostname": { - "type": "string", - "description": "Deployment webserver ingress hostname\n" + "description": "The roles to assign to the deployments\n" + }, + "organizationRole": { + "type": "string", + "description": "The role to assign to the organization\n" + }, + "teamId": { + "type": "string", + "description": "The ID of the team to assign the roles to\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" }, - "webserverUrl": { - "type": "string", - "description": "Deployment webserver URL\n" + "description": "The roles to assign to the workspaces\n" + } + }, + "required": [ + "organizationRole", + "teamId" + ], + "inputProperties": { + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" }, - "workerQueues": { + "description": "The roles to assign to the deployments\n" + }, + "organizationRole": { + "type": "string", + "description": "The role to assign to the organization\n" + }, + "teamId": { + "type": "string", + "description": "The ID of the team to assign the roles to\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" + }, + "description": "The roles to assign to the workspaces\n" + } + }, + "requiredInputs": [ + "organizationRole", + "teamId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering TeamRoles resources.\n", + "properties": { + "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/DeploymentWorkerQueue:DeploymentWorkerQueue" + "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" }, - "description": "Deployment worker queues - required for deployments with 'CELERY' executor\n" + "description": "The roles to assign to the deployments\n" }, - "workloadIdentity": { + "organizationRole": { "type": "string", - "description": "Deployment workload identity. This value can be changed via the Astro API if applicable.\n" + "description": "The role to assign to the organization\n" }, - "workspaceId": { + "teamId": { "type": "string", - "description": "Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace\n" + "description": "The ID of the team to assign the roles to\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" + }, + "description": "The roles to assign to the workspaces\n" } }, "type": "object" } }, - "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization": { - "description": "Hybrid cluster workspace authorization resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@ryan-pip/pulumi_astronomer\";\n\nconst example = new astronomer.HybridClusterWorkspaceAuthorization(\"example\", {\n clusterId: \"clk8h0fv1006801j8yysfybbt\",\n workspaceIds: [\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n ],\n});\nconst importedClusterWorkspaceAuthorization = new astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", {\n clusterId: \"clk8h0fv1006801j8yysfybbt\",\n workspaceIds: [\"cl70oe7cu445571iynrkthtybl\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.HybridClusterWorkspaceAuthorization(\"example\",\n cluster_id=\"clk8h0fv1006801j8yysfybbt\",\n workspace_ids=[\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n ])\nimported_cluster_workspace_authorization = astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\",\n cluster_id=\"clk8h0fv1006801j8yysfybbt\",\n workspace_ids=[\"cl70oe7cu445571iynrkthtybl\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = RyanPip.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Astronomer.HybridClusterWorkspaceAuthorization(\"example\", new()\n {\n ClusterId = \"clk8h0fv1006801j8yysfybbt\",\n WorkspaceIds = new[]\n {\n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\",\n },\n });\n\n var importedClusterWorkspaceAuthorization = new Astronomer.HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", new()\n {\n ClusterId = \"clk8h0fv1006801j8yysfybbt\",\n WorkspaceIds = new[]\n {\n \"cl70oe7cu445571iynrkthtybl\",\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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.NewHybridClusterWorkspaceAuthorization(ctx, \"example\", \u0026astronomer.HybridClusterWorkspaceAuthorizationArgs{\n\t\t\tClusterId: pulumi.String(\"clk8h0fv1006801j8yysfybbt\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthtybl\"),\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthacsd\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.NewHybridClusterWorkspaceAuthorization(ctx, \"importedClusterWorkspaceAuthorization\", \u0026astronomer.HybridClusterWorkspaceAuthorizationArgs{\n\t\t\tClusterId: pulumi.String(\"clk8h0fv1006801j8yysfybbt\"),\n\t\t\tWorkspaceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"cl70oe7cu445571iynrkthtybl\"),\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.astronomer.HybridClusterWorkspaceAuthorization;\nimport com.pulumi.astronomer.HybridClusterWorkspaceAuthorizationArgs;\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 HybridClusterWorkspaceAuthorization(\"example\", HybridClusterWorkspaceAuthorizationArgs.builder()\n .clusterId(\"clk8h0fv1006801j8yysfybbt\")\n .workspaceIds( \n \"cl70oe7cu445571iynrkthtybl\",\n \"cl70oe7cu445571iynrkthacsd\")\n .build());\n\n var importedClusterWorkspaceAuthorization = new HybridClusterWorkspaceAuthorization(\"importedClusterWorkspaceAuthorization\", HybridClusterWorkspaceAuthorizationArgs.builder()\n .clusterId(\"clk8h0fv1006801j8yysfybbt\")\n .workspaceIds(\"cl70oe7cu445571iynrkthtybl\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: astronomer:HybridClusterWorkspaceAuthorization\n properties:\n clusterId: clk8h0fv1006801j8yysfybbt\n workspaceIds:\n - cl70oe7cu445571iynrkthtybl\n - cl70oe7cu445571iynrkthacsd\n importedClusterWorkspaceAuthorization:\n type: astronomer:HybridClusterWorkspaceAuthorization\n properties:\n clusterId: clk8h0fv1006801j8yysfybbt\n workspaceIds:\n - cl70oe7cu445571iynrkthtybl\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "astronomer:index/userInvite:UserInvite": { + "description": "User Invite resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@ryan-pip/pulumi_astronomer\";\n\nconst userInvite = new astronomer.UserInvite(\"userInvite\", {\n email: \"email@organization.com\",\n role: \"ORGANIZATION_MEMBER\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nuser_invite = astronomer.UserInvite(\"userInvite\",\n email=\"email@organization.com\",\n role=\"ORGANIZATION_MEMBER\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = RyanPip.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var userInvite = new Astronomer.UserInvite(\"userInvite\", new()\n {\n Email = \"email@organization.com\",\n Role = \"ORGANIZATION_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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.NewUserInvite(ctx, \"userInvite\", \u0026astronomer.UserInviteArgs{\n\t\t\tEmail: pulumi.String(\"email@organization.com\"),\n\t\t\tRole: pulumi.String(\"ORGANIZATION_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.astronomer.UserInvite;\nimport com.pulumi.astronomer.UserInviteArgs;\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 userInvite = new UserInvite(\"userInvite\", UserInviteArgs.builder()\n .email(\"email@organization.com\")\n .role(\"ORGANIZATION_MEMBER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n userInvite:\n type: astronomer:UserInvite\n properties:\n email: email@organization.com\n role: ORGANIZATION_MEMBER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { - "clusterId": { + "email": { + "type": "string", + "description": "The email address of the user being invited\n" + }, + "expiresAt": { + "type": "string", + "description": "The expiration date of the invite\n" + }, + "inviteId": { + "type": "string", + "description": "The ID of the invite\n" + }, + "invitee": { + "$ref": "#/types/astronomer:index/UserInviteInvitee:UserInviteInvitee", + "description": "The profile of the invitee\n" + }, + "inviter": { + "$ref": "#/types/astronomer:index/UserInviteInviter:UserInviteInviter", + "description": "The profile of the inviter\n" + }, + "role": { "type": "string", - "description": "The ID of the hybrid cluster to set authorizations for\n" + "description": "The Organization role to assign to the user\n" }, - "workspaceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" + "userId": { + "type": "string", + "description": "The ID of the user\n" } }, "required": [ - "clusterId" + "email", + "expiresAt", + "inviteId", + "invitee", + "inviter", + "role", + "userId" ], "inputProperties": { - "clusterId": { + "email": { "type": "string", - "description": "The ID of the hybrid cluster to set authorizations for\n" + "description": "The email address of the user being invited\n" }, - "workspaceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" + "role": { + "type": "string", + "description": "The Organization role to assign to the user\n" } }, "requiredInputs": [ - "clusterId" + "email", + "role" ], "stateInputs": { - "description": "Input properties used for looking up and filtering HybridClusterWorkspaceAuthorization resources.\n", + "description": "Input properties used for looking up and filtering UserInvite resources.\n", "properties": { - "clusterId": { + "email": { "type": "string", - "description": "The ID of the hybrid cluster to set authorizations for\n" + "description": "The email address of the user being invited\n" }, - "workspaceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of the workspaces to authorize for the hybrid cluster\n" + "expiresAt": { + "type": "string", + "description": "The expiration date of the invite\n" + }, + "inviteId": { + "type": "string", + "description": "The ID of the invite\n" + }, + "invitee": { + "$ref": "#/types/astronomer:index/UserInviteInvitee:UserInviteInvitee", + "description": "The profile of the invitee\n" + }, + "inviter": { + "$ref": "#/types/astronomer:index/UserInviteInviter:UserInviteInviter", + "description": "The profile of the inviter\n" + }, + "role": { + "type": "string", + "description": "The Organization role to assign to the user\n" + }, + "userId": { + "type": "string", + "description": "The ID of the user\n" } }, "type": "object" } }, - "astronomer:index/teamRoles:TeamRoles": { - "description": "Team Roles resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.TeamRoles;\nimport com.pulumi.astronomer.TeamRolesArgs;\nimport com.pulumi.astronomer.inputs.TeamRolesWorkspaceRoleArgs;\nimport com.pulumi.astronomer.inputs.TeamRolesDeploymentRoleArgs;\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 organizationRoleOnly = new TeamRoles(\"organizationRoleOnly\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .build());\n\n var workspaceRoles = new TeamRoles(\"workspaceRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_ADMIN\")\n .build(),\n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g82\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .build());\n\n var deploymentRoles = new TeamRoles(\"deploymentRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .deploymentRoles(TeamRolesDeploymentRoleArgs.builder()\n .deployment_id(\"cldp86ly5000401ndaga21g86\")\n .role(\"DEPLOYMENT_ADMIN\")\n .build())\n .build());\n\n var allRoles = new TeamRoles(\"allRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_OWNER\")\n .build(),\n TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g82\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .deploymentRoles(TeamRolesDeploymentRoleArgs.builder()\n .deployment_id(\"cldp86ly5000401ndaga21g86\")\n .role(\"my custom role\")\n .build())\n .build());\n\n var importedTeamRoles = new TeamRoles(\"importedTeamRoles\", TeamRolesArgs.builder()\n .teamId(\"clnp86ly5000401ndaga21g81\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles(TeamRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clwp86ly5000401ndaga21g85\")\n .role(\"WORKSPACE_OWNER\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n organizationRoleOnly:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_ADMIN\n - workspace_id: clwp86ly5000401ndaga21g82\n role: WORKSPACE_MEMBER\n deploymentRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n deploymentRoles:\n - deployment_id: cldp86ly5000401ndaga21g86\n role: DEPLOYMENT_ADMIN\n allRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_OWNER\n - workspace_id: clwp86ly5000401ndaga21g82\n role: WORKSPACE_MEMBER\n deploymentRoles:\n - deployment_id: cldp86ly5000401ndaga21g86\n role: my custom role\n importedTeamRoles:\n type: astronomer:TeamRoles\n properties:\n teamId: clnp86ly5000401ndaga21g81\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clwp86ly5000401ndaga21g85\n role: WORKSPACE_OWNER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "astronomer:index/userRoles:UserRoles": { + "description": "User Roles resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.astronomer.UserRoles;\nimport com.pulumi.astronomer.UserRolesArgs;\nimport com.pulumi.astronomer.inputs.UserRolesWorkspaceRoleArgs;\nimport com.pulumi.astronomer.inputs.UserRolesDeploymentRoleArgs;\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 organizationRoleOnly = new UserRoles(\"organizationRoleOnly\", UserRolesArgs.builder()\n .userId(\"clzaftcaz006001lhkey6qzzg\")\n .organizationRole(\"ORGANIZATION_OWNER\")\n .build());\n\n var workspaceRoles = new UserRoles(\"workspaceRoles\", UserRolesArgs.builder()\n .userId(\"clzaftcaz006001lhkey6qzzg\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles(UserRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clx42sxw501gl01o0gjenthnh\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .build());\n\n var deploymentRoles = new UserRoles(\"deploymentRoles\", UserRolesArgs.builder()\n .userId(\"clzaftcaz006001lhkey6qzzg\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .deploymentRoles(UserRolesDeploymentRoleArgs.builder()\n .deployment_id(\"clyn6kxud003x01mtxmccegnh\")\n .role(\"DEPLOYMENT_ADMIN\")\n .build())\n .build());\n\n var allRoles = new UserRoles(\"allRoles\", UserRolesArgs.builder()\n .userId(\"clzaftcaz006001lhkey6qzzg\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n UserRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clx42sxw501gl01o0gjenthnh\")\n .role(\"WORKSPACE_OWNER\")\n .build(),\n UserRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clzafte7z006001lhkey6qzzb\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .deploymentRoles(UserRolesDeploymentRoleArgs.builder()\n .deployment_id(\"clyn6kxud003x01mtxmccegnh\")\n .role(\"my custom role\")\n .build())\n .build());\n\n var importedUserRoles = new UserRoles(\"importedUserRoles\", UserRolesArgs.builder()\n .userId(\"clzaftcaz006001lhkey6qzzg\")\n .organizationRole(\"ORGANIZATION_MEMBER\")\n .workspaceRoles( \n UserRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clx42sxw501gl01o0gjenthnh\")\n .role(\"WORKSPACE_OWNER\")\n .build(),\n UserRolesWorkspaceRoleArgs.builder()\n .workspace_id(\"clzafte7z006001lhkey6qzzb\")\n .role(\"WORKSPACE_MEMBER\")\n .build())\n .deploymentRoles(UserRolesDeploymentRoleArgs.builder()\n .deployment_id(\"clyn6kxud003x01mtxmccegnh\")\n .role(\"my custom role\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n organizationRoleOnly:\n type: astronomer:UserRoles\n properties:\n userId: clzaftcaz006001lhkey6qzzg\n organizationRole: ORGANIZATION_OWNER\n workspaceRoles:\n type: astronomer:UserRoles\n properties:\n userId: clzaftcaz006001lhkey6qzzg\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clx42sxw501gl01o0gjenthnh\n role: WORKSPACE_MEMBER\n deploymentRoles:\n type: astronomer:UserRoles\n properties:\n userId: clzaftcaz006001lhkey6qzzg\n organizationRole: ORGANIZATION_MEMBER\n deploymentRoles:\n - deployment_id: clyn6kxud003x01mtxmccegnh\n role: DEPLOYMENT_ADMIN\n allRoles:\n type: astronomer:UserRoles\n properties:\n userId: clzaftcaz006001lhkey6qzzg\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clx42sxw501gl01o0gjenthnh\n role: WORKSPACE_OWNER\n - workspace_id: clzafte7z006001lhkey6qzzb\n role: WORKSPACE_MEMBER\n deploymentRoles:\n - deployment_id: clyn6kxud003x01mtxmccegnh\n role: my custom role\n importedUserRoles:\n type: astronomer:UserRoles\n properties:\n userId: clzaftcaz006001lhkey6qzzg\n organizationRole: ORGANIZATION_MEMBER\n workspaceRoles:\n - workspace_id: clx42sxw501gl01o0gjenthnh\n role: WORKSPACE_OWNER\n - workspace_id: clzafte7z006001lhkey6qzzb\n role: WORKSPACE_MEMBER\n deploymentRoles:\n - deployment_id: clyn6kxud003x01mtxmccegnh\n role: my custom role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" + "$ref": "#/types/astronomer:index/UserRolesDeploymentRole:UserRolesDeploymentRole" }, "description": "The roles to assign to the deployments\n" }, @@ -4038,27 +5482,27 @@ "type": "string", "description": "The role to assign to the organization\n" }, - "teamId": { + "userId": { "type": "string", - "description": "The ID of the team to assign the roles to\n" + "description": "The ID of the user to assign the roles to\n" }, "workspaceRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" + "$ref": "#/types/astronomer:index/UserRolesWorkspaceRole:UserRolesWorkspaceRole" }, "description": "The roles to assign to the workspaces\n" } }, "required": [ "organizationRole", - "teamId" + "userId" ], "inputProperties": { "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" + "$ref": "#/types/astronomer:index/UserRolesDeploymentRole:UserRolesDeploymentRole" }, "description": "The roles to assign to the deployments\n" }, @@ -4066,29 +5510,29 @@ "type": "string", "description": "The role to assign to the organization\n" }, - "teamId": { + "userId": { "type": "string", - "description": "The ID of the team to assign the roles to\n" + "description": "The ID of the user to assign the roles to\n" }, "workspaceRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" + "$ref": "#/types/astronomer:index/UserRolesWorkspaceRole:UserRolesWorkspaceRole" }, "description": "The roles to assign to the workspaces\n" } }, "requiredInputs": [ "organizationRole", - "teamId" + "userId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering TeamRoles resources.\n", + "description": "Input properties used for looking up and filtering UserRoles resources.\n", "properties": { "deploymentRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesDeploymentRole:TeamRolesDeploymentRole" + "$ref": "#/types/astronomer:index/UserRolesDeploymentRole:UserRolesDeploymentRole" }, "description": "The roles to assign to the deployments\n" }, @@ -4096,14 +5540,14 @@ "type": "string", "description": "The role to assign to the organization\n" }, - "teamId": { + "userId": { "type": "string", - "description": "The ID of the team to assign the roles to\n" + "description": "The ID of the user to assign the roles to\n" }, "workspaceRoles": { "type": "array", "items": { - "$ref": "#/types/astronomer:index/TeamRolesWorkspaceRole:TeamRolesWorkspaceRole" + "$ref": "#/types/astronomer:index/UserRolesWorkspaceRole:UserRolesWorkspaceRole" }, "description": "The roles to assign to the workspaces\n" } @@ -4207,8 +5651,152 @@ } }, "functions": { + "astronomer:index/getApiToken:getApiToken": { + "description": "API Token data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleApiToken = astronomer.getApiToken({\n id: \"clxm4836f00ql01me3nigmcr6\",\n});\nexport const apiToken = exampleApiToken;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_api_token = astronomer.get_api_token(id=\"clxm4836f00ql01me3nigmcr6\")\npulumi.export(\"apiToken\", example_api_token)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleApiToken = Astronomer.GetApiToken.Invoke(new()\n {\n Id = \"clxm4836f00ql01me3nigmcr6\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"apiToken\"] = exampleApiToken,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleApiToken, err := astronomer.LookupApiToken(ctx, \u0026astronomer.LookupApiTokenArgs{\n\t\t\tId: \"clxm4836f00ql01me3nigmcr6\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"apiToken\", exampleApiToken)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetApiTokenArgs;\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 exampleApiToken = AstronomerFunctions.getApiToken(GetApiTokenArgs.builder()\n .id(\"clxm4836f00ql01me3nigmcr6\")\n .build());\n\n ctx.export(\"apiToken\", exampleApiToken.applyValue(getApiTokenResult -\u003e getApiTokenResult));\n }\n}\n```\n```yaml\nvariables:\n exampleApiToken:\n fn::invoke:\n Function: astronomer:getApiToken\n Arguments:\n id: clxm4836f00ql01me3nigmcr6\noutputs:\n # Output the API token using pulumi up\n apiToken: ${exampleApiToken}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getApiToken.\n", + "properties": { + "id": { + "type": "string", + "description": "API Token identifier\n" + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "outputs": { + "description": "A collection of values returned by getApiToken.\n", + "properties": { + "createdAt": { + "type": "string", + "description": "API Token creation timestamp\n" + }, + "createdBy": { + "$ref": "#/types/astronomer:index/getApiTokenCreatedBy:getApiTokenCreatedBy", + "description": "API Token creator\n" + }, + "description": { + "type": "string", + "description": "API Token description\n" + }, + "endAt": { + "type": "string", + "description": "time when the API token will expire in UTC\n" + }, + "expiryPeriodInDays": { + "type": "integer", + "description": "API Token expiry period in days\n" + }, + "id": { + "type": "string", + "description": "API Token identifier\n" + }, + "lastUsedAt": { + "type": "string", + "description": "API Token last used timestamp\n" + }, + "name": { + "type": "string", + "description": "API Token name\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getApiTokenRole:getApiTokenRole" + }, + "description": "The roles assigned to the API Token\n" + }, + "shortToken": { + "type": "string", + "description": "API Token short token\n" + }, + "startAt": { + "type": "string", + "description": "time when the API token will become valid in UTC\n" + }, + "type": { + "type": "string", + "description": "API Token type\n" + }, + "updatedAt": { + "type": "string", + "description": "API Token last updated timestamp\n" + }, + "updatedBy": { + "$ref": "#/types/astronomer:index/getApiTokenUpdatedBy:getApiTokenUpdatedBy", + "description": "API Token updater\n" + } + }, + "type": "object", + "required": [ + "createdAt", + "createdBy", + "description", + "endAt", + "expiryPeriodInDays", + "id", + "lastUsedAt", + "name", + "roles", + "shortToken", + "startAt", + "type", + "updatedAt", + "updatedBy" + ] + } + }, + "astronomer:index/getApiTokens:getApiTokens": { + "description": "API Tokens data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleApiTokens = astronomer.getApiTokens({});\nconst organizationOnlyExample = astronomer.getApiTokens({\n includeOnlyOrganizationTokens: true,\n});\nconst workspaceExample = astronomer.getApiTokens({\n workspaceId: \"clx42sxw501gl01o0gjenthnh\",\n});\nconst deploymentExample = astronomer.getApiTokens({\n deploymentId: \"clx44jyu001m201m5dzsbexqr\",\n});\nexport const apiTokens = exampleApiTokens;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_api_tokens = astronomer.get_api_tokens()\norganization_only_example = astronomer.get_api_tokens(include_only_organization_tokens=True)\nworkspace_example = astronomer.get_api_tokens(workspace_id=\"clx42sxw501gl01o0gjenthnh\")\ndeployment_example = astronomer.get_api_tokens(deployment_id=\"clx44jyu001m201m5dzsbexqr\")\npulumi.export(\"apiTokens\", example_api_tokens)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleApiTokens = Astronomer.GetApiTokens.Invoke();\n\n var organizationOnlyExample = Astronomer.GetApiTokens.Invoke(new()\n {\n IncludeOnlyOrganizationTokens = true,\n });\n\n var workspaceExample = Astronomer.GetApiTokens.Invoke(new()\n {\n WorkspaceId = \"clx42sxw501gl01o0gjenthnh\",\n });\n\n var deploymentExample = Astronomer.GetApiTokens.Invoke(new()\n {\n DeploymentId = \"clx44jyu001m201m5dzsbexqr\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"apiTokens\"] = exampleApiTokens,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleApiTokens, err := astronomer.GetApiTokens(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetApiTokens(ctx, \u0026astronomer.GetApiTokensArgs{\n\t\t\tIncludeOnlyOrganizationTokens: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetApiTokens(ctx, \u0026astronomer.GetApiTokensArgs{\n\t\t\tWorkspaceId: pulumi.StringRef(\"clx42sxw501gl01o0gjenthnh\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetApiTokens(ctx, \u0026astronomer.GetApiTokensArgs{\n\t\t\tDeploymentId: pulumi.StringRef(\"clx44jyu001m201m5dzsbexqr\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"apiTokens\", exampleApiTokens)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetApiTokensArgs;\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 exampleApiTokens = AstronomerFunctions.getApiTokens();\n\n final var organizationOnlyExample = AstronomerFunctions.getApiTokens(GetApiTokensArgs.builder()\n .includeOnlyOrganizationTokens(true)\n .build());\n\n final var workspaceExample = AstronomerFunctions.getApiTokens(GetApiTokensArgs.builder()\n .workspaceId(\"clx42sxw501gl01o0gjenthnh\")\n .build());\n\n final var deploymentExample = AstronomerFunctions.getApiTokens(GetApiTokensArgs.builder()\n .deploymentId(\"clx44jyu001m201m5dzsbexqr\")\n .build());\n\n ctx.export(\"apiTokens\", exampleApiTokens.applyValue(getApiTokensResult -\u003e getApiTokensResult));\n }\n}\n```\n```yaml\nvariables:\n exampleApiTokens:\n fn::invoke:\n Function: astronomer:getApiTokens\n Arguments: {}\n organizationOnlyExample:\n fn::invoke:\n Function: astronomer:getApiTokens\n Arguments:\n includeOnlyOrganizationTokens: true\n workspaceExample:\n fn::invoke:\n Function: astronomer:getApiTokens\n Arguments:\n workspaceId: clx42sxw501gl01o0gjenthnh\n deploymentExample:\n fn::invoke:\n Function: astronomer:getApiTokens\n Arguments:\n deploymentId: clx44jyu001m201m5dzsbexqr\noutputs:\n # Output the API tokens using pulumi up\n apiTokens: ${exampleApiTokens}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getApiTokens.\n", + "properties": { + "deploymentId": { + "type": "string" + }, + "includeOnlyOrganizationTokens": { + "type": "boolean" + }, + "workspaceId": { + "type": "string" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getApiTokens.\n", + "properties": { + "apiTokens": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getApiTokensApiToken:getApiTokensApiToken" + } + }, + "deploymentId": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "includeOnlyOrganizationTokens": { + "type": "boolean" + }, + "workspaceId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "apiTokens", + "id" + ] + } + }, "astronomer:index/getCluster:getCluster": { - "description": "Cluster data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getCluster({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_cluster(id=\"clozc036j01to01jrlgvueo8t\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetCluster.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.LookupCluster(ctx, \u0026astronomer.LookupClusterArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClusterArgs;\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 example = AstronomerFunctions.getCluster(GetClusterArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getCluster\n Arguments:\n id: clozc036j01to01jrlgvueo8t\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Cluster data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleCluster = astronomer.getCluster({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\nexport const cluster = exampleCluster;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_cluster = astronomer.get_cluster(id=\"clozc036j01to01jrlgvueo8t\")\npulumi.export(\"cluster\", example_cluster)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleCluster = Astronomer.GetCluster.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"cluster\"] = exampleCluster,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleCluster, err := astronomer.LookupCluster(ctx, \u0026astronomer.LookupClusterArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"cluster\", exampleCluster)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClusterArgs;\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 exampleCluster = AstronomerFunctions.getCluster(GetClusterArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n ctx.export(\"cluster\", exampleCluster.applyValue(getClusterResult -\u003e getClusterResult));\n }\n}\n```\n```yaml\nvariables:\n exampleCluster:\n fn::invoke:\n Function: astronomer:getCluster\n Arguments:\n id: clozc036j01to01jrlgvueo8t\noutputs:\n # Output the cluster value using pulumi up\n cluster: ${exampleCluster}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getCluster.\n", "properties": { @@ -4237,6 +5825,10 @@ "type": "string", "description": "Cluster database instance type\n" }, + "healthStatus": { + "$ref": "#/types/astronomer:index/getClusterHealthStatus:getClusterHealthStatus", + "description": "Cluster health status\n" + }, "id": { "type": "string", "description": "Cluster identifier\n" @@ -4320,6 +5912,7 @@ "cloudProvider", "createdAt", "dbInstanceType", + "healthStatus", "id", "isLimited", "metadata", @@ -4341,7 +5934,7 @@ } }, "astronomer:index/getClusterOptions:getClusterOptions": { - "description": "ClusterOptions data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleClusterOptions = astronomer.getClusterOptions({\n type: \"HYBRID\",\n});\nconst exampleClusterOptionsFilterByProvider = astronomer.getClusterOptions({\n cloudProvider: \"AWS\",\n type: \"HYBRID\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_cluster_options = astronomer.get_cluster_options(type=\"HYBRID\")\nexample_cluster_options_filter_by_provider = astronomer.get_cluster_options(cloud_provider=\"AWS\",\n type=\"HYBRID\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleClusterOptions = Astronomer.GetClusterOptions.Invoke(new()\n {\n Type = \"HYBRID\",\n });\n\n var exampleClusterOptionsFilterByProvider = Astronomer.GetClusterOptions.Invoke(new()\n {\n CloudProvider = \"AWS\",\n Type = \"HYBRID\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetClusterOptions(ctx, \u0026astronomer.GetClusterOptionsArgs{\n\t\t\tType: \"HYBRID\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusterOptions(ctx, \u0026astronomer.GetClusterOptionsArgs{\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\n\t\t\tType: \"HYBRID\",\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClusterOptionsArgs;\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 exampleClusterOptions = AstronomerFunctions.getClusterOptions(GetClusterOptionsArgs.builder()\n .type(\"HYBRID\")\n .build());\n\n final var exampleClusterOptionsFilterByProvider = AstronomerFunctions.getClusterOptions(GetClusterOptionsArgs.builder()\n .cloudProvider(\"AWS\")\n .type(\"HYBRID\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleClusterOptions:\n fn::invoke:\n Function: astronomer:getClusterOptions\n Arguments:\n type: HYBRID\n exampleClusterOptionsFilterByProvider:\n fn::invoke:\n Function: astronomer:getClusterOptions\n Arguments:\n cloudProvider: AWS\n type: HYBRID\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "ClusterOptions data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleClusterOptions = astronomer.getClusterOptions({\n type: \"HYBRID\",\n});\nconst exampleClusterOptionsFilterByProvider = astronomer.getClusterOptions({\n type: \"HYBRID\",\n cloudProvider: \"AWS\",\n});\nexport const clusterOptions = exampleClusterOptions;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_cluster_options = astronomer.get_cluster_options(type=\"HYBRID\")\nexample_cluster_options_filter_by_provider = astronomer.get_cluster_options(type=\"HYBRID\",\n cloud_provider=\"AWS\")\npulumi.export(\"clusterOptions\", example_cluster_options)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleClusterOptions = Astronomer.GetClusterOptions.Invoke(new()\n {\n Type = \"HYBRID\",\n });\n\n var exampleClusterOptionsFilterByProvider = Astronomer.GetClusterOptions.Invoke(new()\n {\n Type = \"HYBRID\",\n CloudProvider = \"AWS\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"clusterOptions\"] = exampleClusterOptions,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleClusterOptions, err := astronomer.GetClusterOptions(ctx, \u0026astronomer.GetClusterOptionsArgs{\n\t\t\tType: \"HYBRID\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusterOptions(ctx, \u0026astronomer.GetClusterOptionsArgs{\n\t\t\tType: \"HYBRID\",\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"clusterOptions\", exampleClusterOptions)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClusterOptionsArgs;\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 exampleClusterOptions = AstronomerFunctions.getClusterOptions(GetClusterOptionsArgs.builder()\n .type(\"HYBRID\")\n .build());\n\n final var exampleClusterOptionsFilterByProvider = AstronomerFunctions.getClusterOptions(GetClusterOptionsArgs.builder()\n .type(\"HYBRID\")\n .cloudProvider(\"AWS\")\n .build());\n\n ctx.export(\"clusterOptions\", exampleClusterOptions.applyValue(getClusterOptionsResult -\u003e getClusterOptionsResult));\n }\n}\n```\n```yaml\nvariables:\n exampleClusterOptions:\n fn::invoke:\n Function: astronomer:getClusterOptions\n Arguments:\n type: HYBRID\n exampleClusterOptionsFilterByProvider:\n fn::invoke:\n Function: astronomer:getClusterOptions\n Arguments:\n type: HYBRID\n cloudProvider: AWS\noutputs:\n # Output the cluster options value using pulumi up\n clusterOptions: ${exampleClusterOptions}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getClusterOptions.\n", "properties": { @@ -4386,7 +5979,7 @@ } }, "astronomer:index/getClusters:getClusters": { - "description": "Clusters data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleClusters = astronomer.getClusters({});\nconst exampleClustersFilterByNames = astronomer.getClusters({\n names: [\"my cluster\"],\n});\nconst exampleClustersFilterByCloudProvider = astronomer.getClusters({\n cloudProvider: \"AWS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_clusters = astronomer.get_clusters()\nexample_clusters_filter_by_names = astronomer.get_clusters(names=[\"my cluster\"])\nexample_clusters_filter_by_cloud_provider = astronomer.get_clusters(cloud_provider=\"AWS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleClusters = Astronomer.GetClusters.Invoke();\n\n var exampleClustersFilterByNames = Astronomer.GetClusters.Invoke(new()\n {\n Names = new[]\n {\n \"my cluster\",\n },\n });\n\n var exampleClustersFilterByCloudProvider = Astronomer.GetClusters.Invoke(new()\n {\n CloudProvider = \"AWS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetClusters(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusters(ctx, \u0026astronomer.GetClustersArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my cluster\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusters(ctx, \u0026astronomer.GetClustersArgs{\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClustersArgs;\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 exampleClusters = AstronomerFunctions.getClusters();\n\n final var exampleClustersFilterByNames = AstronomerFunctions.getClusters(GetClustersArgs.builder()\n .names(\"my cluster\")\n .build());\n\n final var exampleClustersFilterByCloudProvider = AstronomerFunctions.getClusters(GetClustersArgs.builder()\n .cloudProvider(\"AWS\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleClusters:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments: {}\n exampleClustersFilterByNames:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments:\n names:\n - my cluster\n exampleClustersFilterByCloudProvider:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments:\n cloudProvider: AWS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Clusters data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleClusters = astronomer.getClusters({});\nconst exampleClustersFilterByNames = astronomer.getClusters({\n names: [\"my cluster\"],\n});\nconst exampleClustersFilterByCloudProvider = astronomer.getClusters({\n cloudProvider: \"AWS\",\n});\nexport const clusters = exampleClusters;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_clusters = astronomer.get_clusters()\nexample_clusters_filter_by_names = astronomer.get_clusters(names=[\"my cluster\"])\nexample_clusters_filter_by_cloud_provider = astronomer.get_clusters(cloud_provider=\"AWS\")\npulumi.export(\"clusters\", example_clusters)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleClusters = Astronomer.GetClusters.Invoke();\n\n var exampleClustersFilterByNames = Astronomer.GetClusters.Invoke(new()\n {\n Names = new[]\n {\n \"my cluster\",\n },\n });\n\n var exampleClustersFilterByCloudProvider = Astronomer.GetClusters.Invoke(new()\n {\n CloudProvider = \"AWS\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"clusters\"] = exampleClusters,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleClusters, err := astronomer.GetClusters(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusters(ctx, \u0026astronomer.GetClustersArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my cluster\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetClusters(ctx, \u0026astronomer.GetClustersArgs{\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"clusters\", exampleClusters)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetClustersArgs;\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 exampleClusters = AstronomerFunctions.getClusters();\n\n final var exampleClustersFilterByNames = AstronomerFunctions.getClusters(GetClustersArgs.builder()\n .names(\"my cluster\")\n .build());\n\n final var exampleClustersFilterByCloudProvider = AstronomerFunctions.getClusters(GetClustersArgs.builder()\n .cloudProvider(\"AWS\")\n .build());\n\n ctx.export(\"clusters\", exampleClusters.applyValue(getClustersResult -\u003e getClustersResult));\n }\n}\n```\n```yaml\nvariables:\n exampleClusters:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments: {}\n exampleClustersFilterByNames:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments:\n names:\n - my cluster\n exampleClustersFilterByCloudProvider:\n fn::invoke:\n Function: astronomer:getClusters\n Arguments:\n cloudProvider: AWS\noutputs:\n # Output the clusters value using pulumi up\n clusters: ${exampleClusters}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getClusters.\n", "properties": { @@ -4433,7 +6026,7 @@ } }, "astronomer:index/getDeployment:getDeployment": { - "description": "Deployment data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getDeployment({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_deployment(id=\"clozc036j01to01jrlgvueo8t\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetDeployment.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.LookupDeployment(ctx, \u0026astronomer.LookupDeploymentArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentArgs;\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 example = AstronomerFunctions.getDeployment(GetDeploymentArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getDeployment\n Arguments:\n id: clozc036j01to01jrlgvueo8t\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Deployment data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleDeployment = astronomer.getDeployment({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\nexport const deployment = exampleDeployment;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_deployment = astronomer.get_deployment(id=\"clozc036j01to01jrlgvueo8t\")\npulumi.export(\"deployment\", example_deployment)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDeployment = Astronomer.GetDeployment.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"deployment\"] = exampleDeployment,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDeployment, err := astronomer.LookupDeployment(ctx, \u0026astronomer.LookupDeploymentArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"deployment\", exampleDeployment)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentArgs;\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 exampleDeployment = AstronomerFunctions.getDeployment(GetDeploymentArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n ctx.export(\"deployment\", exampleDeployment.applyValue(getDeploymentResult -\u003e getDeploymentResult));\n }\n}\n```\n```yaml\nvariables:\n exampleDeployment:\n fn::invoke:\n Function: astronomer:getDeployment\n Arguments:\n id: clozc036j01to01jrlgvueo8t\noutputs:\n # Output the deployment value using pulumi up\n deployment: ${exampleDeployment}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDeployment.\n", "properties": { @@ -4709,7 +6302,7 @@ } }, "astronomer:index/getDeploymentOptions:getDeploymentOptions": { - "description": "Deployment options data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getDeploymentOptions({});\nconst exampleWithDeploymentIdQueryParam = astronomer.getDeploymentOptions({\n deploymentId: \"clozc036j01to01jrlgvueo8t\",\n});\nconst exampleWithDeploymentTypeQueryParam = astronomer.getDeploymentOptions({\n deploymentType: \"DEDICATED\",\n});\nconst exampleWithExecutorQueryParam = astronomer.getDeploymentOptions({\n executor: \"CELERY\",\n});\nconst exampleWithCloudProviderQueryParam = astronomer.getDeploymentOptions({\n cloudProvider: \"AWS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_deployment_options()\nexample_with_deployment_id_query_param = astronomer.get_deployment_options(deployment_id=\"clozc036j01to01jrlgvueo8t\")\nexample_with_deployment_type_query_param = astronomer.get_deployment_options(deployment_type=\"DEDICATED\")\nexample_with_executor_query_param = astronomer.get_deployment_options(executor=\"CELERY\")\nexample_with_cloud_provider_query_param = astronomer.get_deployment_options(cloud_provider=\"AWS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetDeploymentOptions.Invoke();\n\n var exampleWithDeploymentIdQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n DeploymentId = \"clozc036j01to01jrlgvueo8t\",\n });\n\n var exampleWithDeploymentTypeQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n DeploymentType = \"DEDICATED\",\n });\n\n var exampleWithExecutorQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n Executor = \"CELERY\",\n });\n\n var exampleWithCloudProviderQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n CloudProvider = \"AWS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetDeploymentOptions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tDeploymentId: pulumi.StringRef(\"clozc036j01to01jrlgvueo8t\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tDeploymentType: pulumi.StringRef(\"DEDICATED\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tExecutor: pulumi.StringRef(\"CELERY\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentOptionsArgs;\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 example = AstronomerFunctions.getDeploymentOptions();\n\n final var exampleWithDeploymentIdQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .deploymentId(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n final var exampleWithDeploymentTypeQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .deploymentType(\"DEDICATED\")\n .build());\n\n final var exampleWithExecutorQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .executor(\"CELERY\")\n .build());\n\n final var exampleWithCloudProviderQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .cloudProvider(\"AWS\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments: {}\n exampleWithDeploymentIdQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n deploymentId: clozc036j01to01jrlgvueo8t\n exampleWithDeploymentTypeQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n deploymentType: DEDICATED\n exampleWithExecutorQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n executor: CELERY\n exampleWithCloudProviderQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n cloudProvider: AWS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Deployment options data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleDeploymentOptions = astronomer.getDeploymentOptions({});\nconst exampleWithDeploymentIdQueryParam = astronomer.getDeploymentOptions({\n deploymentId: \"clozc036j01to01jrlgvueo8t\",\n});\nconst exampleWithDeploymentTypeQueryParam = astronomer.getDeploymentOptions({\n deploymentType: \"DEDICATED\",\n});\nconst exampleWithExecutorQueryParam = astronomer.getDeploymentOptions({\n executor: \"CELERY\",\n});\nconst exampleWithCloudProviderQueryParam = astronomer.getDeploymentOptions({\n cloudProvider: \"AWS\",\n});\nexport const deploymentOptions = exampleDeploymentOptions;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_deployment_options = astronomer.get_deployment_options()\nexample_with_deployment_id_query_param = astronomer.get_deployment_options(deployment_id=\"clozc036j01to01jrlgvueo8t\")\nexample_with_deployment_type_query_param = astronomer.get_deployment_options(deployment_type=\"DEDICATED\")\nexample_with_executor_query_param = astronomer.get_deployment_options(executor=\"CELERY\")\nexample_with_cloud_provider_query_param = astronomer.get_deployment_options(cloud_provider=\"AWS\")\npulumi.export(\"deploymentOptions\", example_deployment_options)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDeploymentOptions = Astronomer.GetDeploymentOptions.Invoke();\n\n var exampleWithDeploymentIdQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n DeploymentId = \"clozc036j01to01jrlgvueo8t\",\n });\n\n var exampleWithDeploymentTypeQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n DeploymentType = \"DEDICATED\",\n });\n\n var exampleWithExecutorQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n Executor = \"CELERY\",\n });\n\n var exampleWithCloudProviderQueryParam = Astronomer.GetDeploymentOptions.Invoke(new()\n {\n CloudProvider = \"AWS\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"deploymentOptions\"] = exampleDeploymentOptions,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDeploymentOptions, err := astronomer.GetDeploymentOptions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tDeploymentId: pulumi.StringRef(\"clozc036j01to01jrlgvueo8t\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tDeploymentType: pulumi.StringRef(\"DEDICATED\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tExecutor: pulumi.StringRef(\"CELERY\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeploymentOptions(ctx, \u0026astronomer.GetDeploymentOptionsArgs{\n\t\t\tCloudProvider: pulumi.StringRef(\"AWS\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"deploymentOptions\", exampleDeploymentOptions)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentOptionsArgs;\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 exampleDeploymentOptions = AstronomerFunctions.getDeploymentOptions();\n\n final var exampleWithDeploymentIdQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .deploymentId(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n final var exampleWithDeploymentTypeQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .deploymentType(\"DEDICATED\")\n .build());\n\n final var exampleWithExecutorQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .executor(\"CELERY\")\n .build());\n\n final var exampleWithCloudProviderQueryParam = AstronomerFunctions.getDeploymentOptions(GetDeploymentOptionsArgs.builder()\n .cloudProvider(\"AWS\")\n .build());\n\n ctx.export(\"deploymentOptions\", exampleDeploymentOptions.applyValue(getDeploymentOptionsResult -\u003e getDeploymentOptionsResult));\n }\n}\n```\n```yaml\nvariables:\n exampleDeploymentOptions:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments: {}\n exampleWithDeploymentIdQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n deploymentId: clozc036j01to01jrlgvueo8t\n exampleWithDeploymentTypeQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n deploymentType: DEDICATED\n exampleWithExecutorQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n executor: CELERY\n exampleWithCloudProviderQueryParam:\n fn::invoke:\n Function: astronomer:getDeploymentOptions\n Arguments:\n cloudProvider: AWS\noutputs:\n # Output the deployment options value using pulumi up\n deploymentOptions: ${exampleDeploymentOptions}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDeploymentOptions.\n", "properties": { @@ -4813,7 +6406,7 @@ } }, "astronomer:index/getDeployments:getDeployments": { - "description": "Deployments data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleDeployments = astronomer.getDeployments({});\nconst exampleDeploymentsFilterByNames = astronomer.getDeployments({\n names: [\"my deployment\"],\n});\nconst exampleDeploymentsFilterByDeploymentIds = astronomer.getDeployments({\n deploymentIds: [\"clozc036j01to01jrlgvueo8t\"],\n});\nconst exampleDeploymentsFilterByWorkspaceIds = astronomer.getDeployments({\n workspaceIds: [\"clozc036j01to01jrlgvu798d\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_deployments = astronomer.get_deployments()\nexample_deployments_filter_by_names = astronomer.get_deployments(names=[\"my deployment\"])\nexample_deployments_filter_by_deployment_ids = astronomer.get_deployments(deployment_ids=[\"clozc036j01to01jrlgvueo8t\"])\nexample_deployments_filter_by_workspace_ids = astronomer.get_deployments(workspace_ids=[\"clozc036j01to01jrlgvu798d\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDeployments = Astronomer.GetDeployments.Invoke();\n\n var exampleDeploymentsFilterByNames = Astronomer.GetDeployments.Invoke(new()\n {\n Names = new[]\n {\n \"my deployment\",\n },\n });\n\n var exampleDeploymentsFilterByDeploymentIds = Astronomer.GetDeployments.Invoke(new()\n {\n DeploymentIds = new[]\n {\n \"clozc036j01to01jrlgvueo8t\",\n },\n });\n\n var exampleDeploymentsFilterByWorkspaceIds = Astronomer.GetDeployments.Invoke(new()\n {\n WorkspaceIds = new[]\n {\n \"clozc036j01to01jrlgvu798d\",\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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetDeployments(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my deployment\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tDeploymentIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvueo8t\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tWorkspaceIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvu798d\",\n\t\t\t},\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentsArgs;\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 exampleDeployments = AstronomerFunctions.getDeployments();\n\n final var exampleDeploymentsFilterByNames = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .names(\"my deployment\")\n .build());\n\n final var exampleDeploymentsFilterByDeploymentIds = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .deploymentIds(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n final var exampleDeploymentsFilterByWorkspaceIds = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .workspaceIds(\"clozc036j01to01jrlgvu798d\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleDeployments:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments: {}\n exampleDeploymentsFilterByNames:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n names:\n - my deployment\n exampleDeploymentsFilterByDeploymentIds:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n deploymentIds:\n - clozc036j01to01jrlgvueo8t\n exampleDeploymentsFilterByWorkspaceIds:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n workspaceIds:\n - clozc036j01to01jrlgvu798d\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Deployments data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleDeployments = astronomer.getDeployments({});\nconst exampleDeploymentsFilterByNames = astronomer.getDeployments({\n names: [\"my deployment\"],\n});\nconst exampleDeploymentsFilterByDeploymentIds = astronomer.getDeployments({\n deploymentIds: [\"clozc036j01to01jrlgvueo8t\"],\n});\nconst exampleDeploymentsFilterByWorkspaceIds = astronomer.getDeployments({\n workspaceIds: [\"clozc036j01to01jrlgvu798d\"],\n});\nexport const deployments = exampleDeployments;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_deployments = astronomer.get_deployments()\nexample_deployments_filter_by_names = astronomer.get_deployments(names=[\"my deployment\"])\nexample_deployments_filter_by_deployment_ids = astronomer.get_deployments(deployment_ids=[\"clozc036j01to01jrlgvueo8t\"])\nexample_deployments_filter_by_workspace_ids = astronomer.get_deployments(workspace_ids=[\"clozc036j01to01jrlgvu798d\"])\npulumi.export(\"deployments\", example_deployments)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDeployments = Astronomer.GetDeployments.Invoke();\n\n var exampleDeploymentsFilterByNames = Astronomer.GetDeployments.Invoke(new()\n {\n Names = new[]\n {\n \"my deployment\",\n },\n });\n\n var exampleDeploymentsFilterByDeploymentIds = Astronomer.GetDeployments.Invoke(new()\n {\n DeploymentIds = new[]\n {\n \"clozc036j01to01jrlgvueo8t\",\n },\n });\n\n var exampleDeploymentsFilterByWorkspaceIds = Astronomer.GetDeployments.Invoke(new()\n {\n WorkspaceIds = new[]\n {\n \"clozc036j01to01jrlgvu798d\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"deployments\"] = exampleDeployments,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDeployments, err := astronomer.GetDeployments(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my deployment\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tDeploymentIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvueo8t\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetDeployments(ctx, \u0026astronomer.GetDeploymentsArgs{\n\t\t\tWorkspaceIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvu798d\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"deployments\", exampleDeployments)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetDeploymentsArgs;\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 exampleDeployments = AstronomerFunctions.getDeployments();\n\n final var exampleDeploymentsFilterByNames = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .names(\"my deployment\")\n .build());\n\n final var exampleDeploymentsFilterByDeploymentIds = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .deploymentIds(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n final var exampleDeploymentsFilterByWorkspaceIds = AstronomerFunctions.getDeployments(GetDeploymentsArgs.builder()\n .workspaceIds(\"clozc036j01to01jrlgvu798d\")\n .build());\n\n ctx.export(\"deployments\", exampleDeployments.applyValue(getDeploymentsResult -\u003e getDeploymentsResult));\n }\n}\n```\n```yaml\nvariables:\n exampleDeployments:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments: {}\n exampleDeploymentsFilterByNames:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n names:\n - my deployment\n exampleDeploymentsFilterByDeploymentIds:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n deploymentIds:\n - clozc036j01to01jrlgvueo8t\n exampleDeploymentsFilterByWorkspaceIds:\n fn::invoke:\n Function: astronomer:getDeployments\n Arguments:\n workspaceIds:\n - clozc036j01to01jrlgvu798d\noutputs:\n # Output the deployments value using pulumi up\n deployments: ${exampleDeployments}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDeployments.\n", "properties": { @@ -4878,7 +6471,7 @@ } }, "astronomer:index/getOrganization:getOrganization": { - "description": "Organization data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getOrganization({});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_organization()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetOrganization.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetOrganization(ctx, nil, 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.astronomer.AstronomerFunctions;\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 example = AstronomerFunctions.getOrganization();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getOrganization\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Organization data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleOrganization = astronomer.getOrganization({});\nexport const organization = exampleOrganization;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_organization = astronomer.get_organization()\npulumi.export(\"organization\", example_organization)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleOrganization = Astronomer.GetOrganization.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"organization\"] = exampleOrganization,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleOrganization, err := astronomer.GetOrganization(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"organization\", exampleOrganization)\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.astronomer.AstronomerFunctions;\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 exampleOrganization = AstronomerFunctions.getOrganization();\n\n ctx.export(\"organization\", exampleOrganization.applyValue(getOrganizationResult -\u003e getOrganizationResult));\n }\n}\n```\n```yaml\nvariables:\n exampleOrganization:\n fn::invoke:\n Function: astronomer:getOrganization\n Arguments: {}\noutputs:\n # Output the organization value using pulumi up\n organization: ${exampleOrganization}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getOrganization.\n", "properties": { @@ -4954,13 +6547,13 @@ } }, "astronomer:index/getTeam:getTeam": { - "description": "Team data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getTeam({\n id: \"clwbclrc100bl01ozjj5s4jmq\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_team(id=\"clwbclrc100bl01ozjj5s4jmq\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetTeam.Invoke(new()\n {\n Id = \"clwbclrc100bl01ozjj5s4jmq\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetTeam(ctx, \u0026astronomer.GetTeamArgs{\n\t\t\tId: \"clwbclrc100bl01ozjj5s4jmq\",\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.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 example = AstronomerFunctions.getTeam(GetTeamArgs.builder()\n .id(\"clwbclrc100bl01ozjj5s4jmq\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getTeam\n Arguments:\n id: clwbclrc100bl01ozjj5s4jmq\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Team data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleTeam = astronomer.getTeam({\n id: \"clwbclrc100bl01ozjj5s4jmq\",\n});\nexport const team = exampleTeam;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_team = astronomer.get_team(id=\"clwbclrc100bl01ozjj5s4jmq\")\npulumi.export(\"team\", example_team)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleTeam = Astronomer.GetTeam.Invoke(new()\n {\n Id = \"clwbclrc100bl01ozjj5s4jmq\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"team\"] = exampleTeam,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTeam, err := astronomer.LookupTeam(ctx, \u0026astronomer.LookupTeamArgs{\n\t\t\tId: \"clwbclrc100bl01ozjj5s4jmq\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"team\", exampleTeam)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.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 exampleTeam = AstronomerFunctions.getTeam(GetTeamArgs.builder()\n .id(\"clwbclrc100bl01ozjj5s4jmq\")\n .build());\n\n ctx.export(\"team\", exampleTeam.applyValue(getTeamResult -\u003e getTeamResult));\n }\n}\n```\n```yaml\nvariables:\n exampleTeam:\n fn::invoke:\n Function: astronomer:getTeam\n Arguments:\n id: clwbclrc100bl01ozjj5s4jmq\noutputs:\n # Output the team value using pulumi up\n team: ${exampleTeam}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTeam.\n", "properties": { "id": { "type": "string", - "description": "Team identifier\n" + "description": "Team ID\n" } }, "type": "object", @@ -4984,7 +6577,7 @@ "items": { "$ref": "#/types/astronomer:index/getTeamDeploymentRole:getTeamDeploymentRole" }, - "description": "The roles assigned to the deployments\n" + "description": "The roles assigned to the Deployments\n" }, "description": { "type": "string", @@ -4992,11 +6585,11 @@ }, "id": { "type": "string", - "description": "Team identifier\n" + "description": "Team ID\n" }, "isIdpManaged": { "type": "boolean", - "description": "Whether the team is managed by an identity provider\n" + "description": "Whether the Team is managed by an identity provider\n" }, "name": { "type": "string", @@ -5004,11 +6597,11 @@ }, "organizationRole": { "type": "string", - "description": "The role assigned to the organization\n" + "description": "The role assigned to the Organization\n" }, "rolesCount": { "type": "integer", - "description": "Number of roles assigned to the team\n" + "description": "Number of roles assigned to the Team\n" }, "updatedAt": { "type": "string", @@ -5023,7 +6616,7 @@ "items": { "$ref": "#/types/astronomer:index/getTeamWorkspaceRole:getTeamWorkspaceRole" }, - "description": "The roles assigned to the workspaces\n" + "description": "The roles assigned to the Workspaces\n" } }, "type": "object", @@ -5044,7 +6637,7 @@ } }, "astronomer:index/getTeams:getTeams": { - "description": "Teams data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleTeams = astronomer.getTeams({});\nconst exampleTeamsFilterByNames = astronomer.getTeams({\n names: [\n \"my first team\",\n \"my second team\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_teams = astronomer.get_teams()\nexample_teams_filter_by_names = astronomer.get_teams(names=[\n \"my first team\",\n \"my second team\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleTeams = Astronomer.GetTeams.Invoke();\n\n var exampleTeamsFilterByNames = Astronomer.GetTeams.Invoke(new()\n {\n Names = new[]\n {\n \"my first team\",\n \"my second team\",\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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetTeams(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetTeams(ctx, \u0026astronomer.GetTeamsArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my first team\",\n\t\t\t\t\"my second team\",\n\t\t\t},\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetTeamsArgs;\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 exampleTeams = AstronomerFunctions.getTeams();\n\n final var exampleTeamsFilterByNames = AstronomerFunctions.getTeams(GetTeamsArgs.builder()\n .names( \n \"my first team\",\n \"my second team\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleTeams:\n fn::invoke:\n Function: astronomer:getTeams\n Arguments: {}\n exampleTeamsFilterByNames:\n fn::invoke:\n Function: astronomer:getTeams\n Arguments:\n names:\n - my first team\n - my second team\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Teams data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleTeamsTeams = astronomer.getTeams({});\nconst exampleTeamsFilterByNames = astronomer.getTeams({\n names: [\n \"my first team\",\n \"my second team\",\n ],\n});\nexport const exampleTeams = exampleTeamsTeams;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_teams_teams = astronomer.get_teams()\nexample_teams_filter_by_names = astronomer.get_teams(names=[\n \"my first team\",\n \"my second team\",\n])\npulumi.export(\"exampleTeams\", example_teams_teams)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleTeamsTeams = Astronomer.GetTeams.Invoke();\n\n var exampleTeamsFilterByNames = Astronomer.GetTeams.Invoke(new()\n {\n Names = new[]\n {\n \"my first team\",\n \"my second team\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleTeams\"] = exampleTeamsTeams,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTeamsTeams, err := astronomer.GetTeams(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetTeams(ctx, \u0026astronomer.GetTeamsArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my first team\",\n\t\t\t\t\"my second team\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleTeams\", exampleTeamsTeams)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetTeamsArgs;\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 exampleTeamsTeams = AstronomerFunctions.getTeams();\n\n final var exampleTeamsFilterByNames = AstronomerFunctions.getTeams(GetTeamsArgs.builder()\n .names( \n \"my first team\",\n \"my second team\")\n .build());\n\n ctx.export(\"exampleTeams\", exampleTeamsTeams.applyValue(getTeamsResult -\u003e getTeamsResult));\n }\n}\n```\n```yaml\nvariables:\n exampleTeamsTeams:\n fn::invoke:\n Function: astronomer:getTeams\n Arguments: {}\n exampleTeamsFilterByNames:\n fn::invoke:\n Function: astronomer:getTeams\n Arguments:\n names:\n - my first team\n - my second team\noutputs:\n # Output the teams value using pulumi up\n exampleTeams: ${exampleTeamsTeams}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTeams.\n", "properties": { @@ -5084,8 +6677,129 @@ ] } }, + "astronomer:index/getUser:getUser": { + "description": "User data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleUser = astronomer.getUser({\n id: \"clhpichn8002m01mqa4ocs7g6\",\n});\nexport const user = exampleUser;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_user = astronomer.get_user(id=\"clhpichn8002m01mqa4ocs7g6\")\npulumi.export(\"user\", example_user)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = Astronomer.GetUser.Invoke(new()\n {\n Id = \"clhpichn8002m01mqa4ocs7g6\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"user\"] = exampleUser,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := astronomer.GetUser(ctx, \u0026astronomer.GetUserArgs{\n\t\t\tId: \"clhpichn8002m01mqa4ocs7g6\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"user\", exampleUser)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetUserArgs;\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 exampleUser = AstronomerFunctions.getUser(GetUserArgs.builder()\n .id(\"clhpichn8002m01mqa4ocs7g6\")\n .build());\n\n ctx.export(\"user\", exampleUser.applyValue(getUserResult -\u003e getUserResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUser:\n fn::invoke:\n Function: astronomer:getUser\n Arguments:\n id: clhpichn8002m01mqa4ocs7g6\noutputs:\n # Output the user value using pulumi up\n user: ${exampleUser}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getUser.\n", + "properties": { + "id": { + "type": "string", + "description": "User identifier\n" + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "outputs": { + "description": "A collection of values returned by getUser.\n", + "properties": { + "avatarUrl": { + "type": "string", + "description": "User avatar URL\n" + }, + "createdAt": { + "type": "string", + "description": "User creation timestamp\n" + }, + "deploymentRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getUserDeploymentRole:getUserDeploymentRole" + }, + "description": "The roles assigned to the deployments\n" + }, + "fullName": { + "type": "string", + "description": "User full name\n" + }, + "id": { + "type": "string", + "description": "User identifier\n" + }, + "organizationRole": { + "type": "string", + "description": "The role assigned to the organization\n" + }, + "status": { + "type": "string", + "description": "User status\n" + }, + "updatedAt": { + "type": "string", + "description": "User last updated timestamp\n" + }, + "username": { + "type": "string", + "description": "User username\n" + }, + "workspaceRoles": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getUserWorkspaceRole:getUserWorkspaceRole" + }, + "description": "The roles assigned to the workspaces\n" + } + }, + "type": "object", + "required": [ + "avatarUrl", + "createdAt", + "deploymentRoles", + "fullName", + "id", + "organizationRole", + "status", + "updatedAt", + "username", + "workspaceRoles" + ] + } + }, + "astronomer:index/getUsers:getUsers": { + "description": "Users data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleUsersUsers = astronomer.getUsers({});\nconst exampleUsersFilterByWorkspaceId = astronomer.getUsers({\n workspaceId: \"clx42sxw501gl01o0gjenthnh\",\n});\nconst exampleUsersFilterByDeploymentId = astronomer.getUsers({\n deploymentId: \"clx44jyu001m201m5dzsbexqr\",\n});\nexport const exampleUsers = exampleUsersUsers;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_users_users = astronomer.get_users()\nexample_users_filter_by_workspace_id = astronomer.get_users(workspace_id=\"clx42sxw501gl01o0gjenthnh\")\nexample_users_filter_by_deployment_id = astronomer.get_users(deployment_id=\"clx44jyu001m201m5dzsbexqr\")\npulumi.export(\"exampleUsers\", example_users_users)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUsersUsers = Astronomer.GetUsers.Invoke();\n\n var exampleUsersFilterByWorkspaceId = Astronomer.GetUsers.Invoke(new()\n {\n WorkspaceId = \"clx42sxw501gl01o0gjenthnh\",\n });\n\n var exampleUsersFilterByDeploymentId = Astronomer.GetUsers.Invoke(new()\n {\n DeploymentId = \"clx44jyu001m201m5dzsbexqr\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleUsers\"] = exampleUsersUsers,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsersUsers, err := astronomer.GetUsers(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetUsers(ctx, \u0026astronomer.GetUsersArgs{\n\t\t\tWorkspaceId: pulumi.StringRef(\"clx42sxw501gl01o0gjenthnh\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetUsers(ctx, \u0026astronomer.GetUsersArgs{\n\t\t\tDeploymentId: pulumi.StringRef(\"clx44jyu001m201m5dzsbexqr\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleUsers\", exampleUsersUsers)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetUsersArgs;\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 exampleUsersUsers = AstronomerFunctions.getUsers();\n\n final var exampleUsersFilterByWorkspaceId = AstronomerFunctions.getUsers(GetUsersArgs.builder()\n .workspaceId(\"clx42sxw501gl01o0gjenthnh\")\n .build());\n\n final var exampleUsersFilterByDeploymentId = AstronomerFunctions.getUsers(GetUsersArgs.builder()\n .deploymentId(\"clx44jyu001m201m5dzsbexqr\")\n .build());\n\n ctx.export(\"exampleUsers\", exampleUsersUsers.applyValue(getUsersResult -\u003e getUsersResult));\n }\n}\n```\n```yaml\nvariables:\n exampleUsersUsers:\n fn::invoke:\n Function: astronomer:getUsers\n Arguments: {}\n exampleUsersFilterByWorkspaceId:\n fn::invoke:\n Function: astronomer:getUsers\n Arguments:\n workspaceId: clx42sxw501gl01o0gjenthnh\n exampleUsersFilterByDeploymentId:\n fn::invoke:\n Function: astronomer:getUsers\n Arguments:\n deploymentId: clx44jyu001m201m5dzsbexqr\noutputs:\n # Output the users value using pulumi up\n exampleUsers: ${exampleUsersUsers}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getUsers.\n", + "properties": { + "deploymentId": { + "type": "string" + }, + "workspaceId": { + "type": "string" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getUsers.\n", + "properties": { + "deploymentId": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "users": { + "type": "array", + "items": { + "$ref": "#/types/astronomer:index/getUsersUser:getUsersUser" + } + }, + "workspaceId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "users", + "id" + ] + } + }, "astronomer:index/getWorkspace:getWorkspace": { - "description": "Workspace data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst example = astronomer.getWorkspace({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample = astronomer.get_workspace(id=\"clozc036j01to01jrlgvueo8t\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Astronomer.GetWorkspace.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.LookupWorkspace(ctx, \u0026astronomer.LookupWorkspaceArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetWorkspaceArgs;\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 example = AstronomerFunctions.getWorkspace(GetWorkspaceArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: astronomer:getWorkspace\n Arguments:\n id: clozc036j01to01jrlgvueo8t\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Workspace data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleWorkspace = astronomer.getWorkspace({\n id: \"clozc036j01to01jrlgvueo8t\",\n});\nexport const workspace = exampleWorkspace;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_workspace = astronomer.get_workspace(id=\"clozc036j01to01jrlgvueo8t\")\npulumi.export(\"workspace\", example_workspace)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleWorkspace = Astronomer.GetWorkspace.Invoke(new()\n {\n Id = \"clozc036j01to01jrlgvueo8t\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"workspace\"] = exampleWorkspace,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleWorkspace, err := astronomer.LookupWorkspace(ctx, \u0026astronomer.LookupWorkspaceArgs{\n\t\t\tId: \"clozc036j01to01jrlgvueo8t\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"workspace\", exampleWorkspace)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetWorkspaceArgs;\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 exampleWorkspace = AstronomerFunctions.getWorkspace(GetWorkspaceArgs.builder()\n .id(\"clozc036j01to01jrlgvueo8t\")\n .build());\n\n ctx.export(\"workspace\", exampleWorkspace.applyValue(getWorkspaceResult -\u003e getWorkspaceResult));\n }\n}\n```\n```yaml\nvariables:\n exampleWorkspace:\n fn::invoke:\n Function: astronomer:getWorkspace\n Arguments:\n id: clozc036j01to01jrlgvueo8t\noutputs:\n # Output the workspace value using pulumi up\n workspace: ${exampleWorkspace}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getWorkspace.\n", "properties": { @@ -5149,7 +6863,7 @@ } }, "astronomer:index/getWorkspaces:getWorkspaces": { - "description": "Workspaces data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleWorkspaces = astronomer.getWorkspaces({});\nconst exampleWorkspacesFilterByWorkspaceIds = astronomer.getWorkspaces({\n workspaceIds: [\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n ],\n});\nconst exampleWorkspacesFilterByNames = astronomer.getWorkspaces({\n names: [\n \"my first workspace\",\n \"my second workspace\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_workspaces = astronomer.get_workspaces()\nexample_workspaces_filter_by_workspace_ids = astronomer.get_workspaces(workspace_ids=[\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n])\nexample_workspaces_filter_by_names = astronomer.get_workspaces(names=[\n \"my first workspace\",\n \"my second workspace\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleWorkspaces = Astronomer.GetWorkspaces.Invoke();\n\n var exampleWorkspacesFilterByWorkspaceIds = Astronomer.GetWorkspaces.Invoke(new()\n {\n WorkspaceIds = new[]\n {\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n },\n });\n\n var exampleWorkspacesFilterByNames = Astronomer.GetWorkspaces.Invoke(new()\n {\n Names = new[]\n {\n \"my first workspace\",\n \"my second workspace\",\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/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := astronomer.GetWorkspaces(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetWorkspaces(ctx, \u0026astronomer.GetWorkspacesArgs{\n\t\t\tWorkspaceIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvueo8t\",\n\t\t\t\t\"clozc036j01to01jrlgvueo81\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetWorkspaces(ctx, \u0026astronomer.GetWorkspacesArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my first workspace\",\n\t\t\t\t\"my second workspace\",\n\t\t\t},\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetWorkspacesArgs;\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 exampleWorkspaces = AstronomerFunctions.getWorkspaces();\n\n final var exampleWorkspacesFilterByWorkspaceIds = AstronomerFunctions.getWorkspaces(GetWorkspacesArgs.builder()\n .workspaceIds( \n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\")\n .build());\n\n final var exampleWorkspacesFilterByNames = AstronomerFunctions.getWorkspaces(GetWorkspacesArgs.builder()\n .names( \n \"my first workspace\",\n \"my second workspace\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleWorkspaces:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments: {}\n exampleWorkspacesFilterByWorkspaceIds:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments:\n workspaceIds:\n - clozc036j01to01jrlgvueo8t\n - clozc036j01to01jrlgvueo81\n exampleWorkspacesFilterByNames:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments:\n names:\n - my first workspace\n - my second workspace\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Workspaces data source\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as astronomer from \"@pulumi/astronomer\";\n\nconst exampleWorkspacesWorkspaces = astronomer.getWorkspaces({});\nconst exampleWorkspacesFilterByWorkspaceIds = astronomer.getWorkspaces({\n workspaceIds: [\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n ],\n});\nconst exampleWorkspacesFilterByNames = astronomer.getWorkspaces({\n names: [\n \"my first workspace\",\n \"my second workspace\",\n ],\n});\nexport const exampleWorkspaces = exampleWorkspacesWorkspaces;\n```\n```python\nimport pulumi\nimport pulumi_astronomer as astronomer\n\nexample_workspaces_workspaces = astronomer.get_workspaces()\nexample_workspaces_filter_by_workspace_ids = astronomer.get_workspaces(workspace_ids=[\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n])\nexample_workspaces_filter_by_names = astronomer.get_workspaces(names=[\n \"my first workspace\",\n \"my second workspace\",\n])\npulumi.export(\"exampleWorkspaces\", example_workspaces_workspaces)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Astronomer = Pulumi.Astronomer;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleWorkspacesWorkspaces = Astronomer.GetWorkspaces.Invoke();\n\n var exampleWorkspacesFilterByWorkspaceIds = Astronomer.GetWorkspaces.Invoke(new()\n {\n WorkspaceIds = new[]\n {\n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\",\n },\n });\n\n var exampleWorkspacesFilterByNames = Astronomer.GetWorkspaces.Invoke(new()\n {\n Names = new[]\n {\n \"my first workspace\",\n \"my second workspace\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleWorkspaces\"] = exampleWorkspacesWorkspaces,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleWorkspacesWorkspaces, err := astronomer.GetWorkspaces(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetWorkspaces(ctx, \u0026astronomer.GetWorkspacesArgs{\n\t\t\tWorkspaceIds: []string{\n\t\t\t\t\"clozc036j01to01jrlgvueo8t\",\n\t\t\t\t\"clozc036j01to01jrlgvueo81\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = astronomer.GetWorkspaces(ctx, \u0026astronomer.GetWorkspacesArgs{\n\t\t\tNames: []string{\n\t\t\t\t\"my first workspace\",\n\t\t\t\t\"my second workspace\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleWorkspaces\", exampleWorkspacesWorkspaces)\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.astronomer.AstronomerFunctions;\nimport com.pulumi.astronomer.inputs.GetWorkspacesArgs;\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 exampleWorkspacesWorkspaces = AstronomerFunctions.getWorkspaces();\n\n final var exampleWorkspacesFilterByWorkspaceIds = AstronomerFunctions.getWorkspaces(GetWorkspacesArgs.builder()\n .workspaceIds( \n \"clozc036j01to01jrlgvueo8t\",\n \"clozc036j01to01jrlgvueo81\")\n .build());\n\n final var exampleWorkspacesFilterByNames = AstronomerFunctions.getWorkspaces(GetWorkspacesArgs.builder()\n .names( \n \"my first workspace\",\n \"my second workspace\")\n .build());\n\n ctx.export(\"exampleWorkspaces\", exampleWorkspacesWorkspaces.applyValue(getWorkspacesResult -\u003e getWorkspacesResult));\n }\n}\n```\n```yaml\nvariables:\n exampleWorkspacesWorkspaces:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments: {}\n exampleWorkspacesFilterByWorkspaceIds:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments:\n workspaceIds:\n - clozc036j01to01jrlgvueo8t\n - clozc036j01to01jrlgvueo81\n exampleWorkspacesFilterByNames:\n fn::invoke:\n Function: astronomer:getWorkspaces\n Arguments:\n names:\n - my first workspace\n - my second workspace\noutputs:\n # Output the workspaces value using pulumi up\n exampleWorkspaces: ${exampleWorkspacesWorkspaces}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getWorkspaces.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index e77271e..051314b 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,8 @@ module github.com/ryan-pip/pulumi-astronomer/provider -go 1.21.12 +go 1.22 + +toolchain go1.22.5 replace github.com/astronomer/terraform-provider-astro/shim => ./shim @@ -8,9 +10,9 @@ replace github.com/astronomer/terraform-provider-astro/shim => ./shim require ( github.com/astronomer/terraform-provider-astro/shim v0.0.0-00010101000000-000000000000 - github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 - github.com/pulumi/pulumi/sdk/v3 v3.126.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 ) require ( @@ -42,7 +44,7 @@ require ( github.com/apparentlymart/go-cidr v1.1.0 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/astronomer/terraform-provider-astro v0.3.0 // indirect + github.com/astronomer/terraform-provider-astro v1.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.50.36 // indirect github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect @@ -83,7 +85,7 @@ require ( github.com/go-git/go-billy/v5 v5.5.0 // indirect github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/go-jose/go-jose/v3 v3.0.3 // indirect - github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect @@ -118,7 +120,7 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.20.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect - github.com/hashicorp/terraform-plugin-framework v1.9.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.11.0 // indirect github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect @@ -176,10 +178,10 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.11.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.9.1 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.126.0 // indirect + github.com/pulumi/pulumi-yaml v1.9.2 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.130.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect @@ -198,6 +200,7 @@ require ( github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.9.0 // indirect + github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -209,6 +212,7 @@ require ( github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect + github.com/yuin/goldmark v1.7.4 // indirect github.com/zclconf/go-cty v1.14.4 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect @@ -219,17 +223,17 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.24.0 // indirect - golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect - golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/crypto v0.26.0 // indirect + golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect + golang.org/x/mod v0.20.0 // indirect + golang.org/x/net v0.28.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.21.0 // indirect - golang.org/x/term v0.21.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.0 // indirect + golang.org/x/term v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.22.0 // indirect + golang.org/x/tools v0.24.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect @@ -237,8 +241,10 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.34.0 // indirect + google.golang.org/protobuf v1.34.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect ) + +replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 diff --git a/provider/go.sum b/provider/go.sum index 6593e43..3dbf116 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -250,8 +250,8 @@ github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/astronomer/terraform-provider-astro v0.3.0 h1:mI0oOwU3rVR1TaGxHxFjTTbJxO3t6oq8WRb5Tihyg8Y= -github.com/astronomer/terraform-provider-astro v0.3.0/go.mod h1:EQGyYzfgxm4t/rBn7+7GgQt8AwQhJ428ROUODWAd0Bk= +github.com/astronomer/terraform-provider-astro v1.0.0 h1:dHCsjGBfyF+MBF2srsBa7MmAJKP1ZpOQJ8NIyzPSuig= +github.com/astronomer/terraform-provider-astro v1.0.0/go.mod h1:+Yq8yet4PJIm+j8W7tjcekUfNBsdzUC5pAT4Yj2GykI= github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= @@ -376,8 +376,8 @@ github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= -github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= @@ -395,8 +395,8 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-jose/go-jose/v3 v3.0.3 h1:fFKWeig/irsp7XD2zBxvnmA/XaRWp5V3CBsZXJF7G7k= github.com/go-jose/go-jose/v3 v3.0.3/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQrVfLAMboGkQ= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= @@ -581,8 +581,8 @@ github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVW github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= github.com/hashicorp/terraform-json v0.22.1 h1:xft84GZR0QzjPVWs4lRUwvTcPnegqlyS7orfb5Ltvec= github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= -github.com/hashicorp/terraform-plugin-framework v1.9.0 h1:caLcDoxiRucNi2hk8+j3kJwkKfvHznubyFsJMWfZqKU= -github.com/hashicorp/terraform-plugin-framework v1.9.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework v1.11.0 h1:M7+9zBArexHFXDx/pKTxjE6n/2UCXY6b8FIq9ZYhwfE= +github.com/hashicorp/terraform-plugin-framework v1.11.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= @@ -593,8 +593,6 @@ github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9T github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 h1:kJiWGx2kiQVo97Y5IOGR4EMcZ8DtMswHhUuFibsCQQE= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0/go.mod h1:sl/UoabMc37HA6ICVMmGO+/0wofkVIRxf+BMb/dnoIg= github.com/hashicorp/terraform-plugin-testing v1.8.0 h1:wdYIgwDk4iO933gC4S8KbKdnMQShu6BXuZQPScmHvpk= github.com/hashicorp/terraform-plugin-testing v1.8.0/go.mod h1:o2kOgf18ADUaZGhtOl0YCkfIxg01MAiMATT2EtIHlZk= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= @@ -724,8 +722,8 @@ github.com/oapi-codegen/runtime v1.1.1 h1:EXLHh0DXIJnWhdRPN2w4MXAzFyE4CskzhNLUmt github.com/oapi-codegen/runtime v1.1.1/go.mod h1:SK9X900oXmPWilYR5/WKPzt3Kqxn/uS/+lbpREv+eCg= github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k= +github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -758,24 +756,28 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMpHmtZ+1oA= -github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= -github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0 h1:nSXm/mV699EtAXLoA/XrDkFyoyWPFyfcMqk/SGCuH2M= -github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0/go.mod h1:vGN8Ab6u/dxRE1Byqo6dXQE/loVbe9hYqiiHqm00hV4= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 h1:0W2Y3Fk7VAWHpjD3FwzVnqWo7g1hD+96C0YDobMnvDU= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0/go.mod h1:QSDiqiCMMbfzrsp3oyRPWgSVE/dkVH5ujxoFappqjdo= +github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= +github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= +github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 h1:g15WgVKJBhFtzhLqOky6R77QIU3x4KkunrLHDSkK6CM= +github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0/go.mod h1:xdU2rcUBjPX/alXMiywUK1GvN4goUHZxos8ZfT6sVXM= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 h1:e7xfYAiXCE8LCwfKvbGeNAjdPmKwPM3kavEXECt3wvs= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0/go.mod h1:dIVp4qG+GsUwmpz40L7Z+PZnzHf3cQq1CAFwhz++ris= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.9.1 h1:JPeI80M23SPactxgnCFS1casZlSr7ZhAXwSx4H55QQ4= -github.com/pulumi/pulumi-yaml v1.9.1/go.mod h1:OH0R34yJxA5u6zjYBN4JXcWoEvfkRoOVWi6viu8buoA= -github.com/pulumi/pulumi/pkg/v3 v3.126.0 h1:XaZU1ehjHN2I5ihkfwxK/UFMDiCDM9FSt2TBnbldAx4= -github.com/pulumi/pulumi/pkg/v3 v3.126.0/go.mod h1:1P4/oK9zceOJUm48QQl/TqjDN68lfsdnTR1FITTFddw= -github.com/pulumi/pulumi/sdk/v3 v3.126.0 h1:6GQVhwG2jgnG7wjRiWgrq0/sU39onctAiBcvTlqb20s= -github.com/pulumi/pulumi/sdk/v3 v3.126.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= +github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= +github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= +github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 h1:M6Ceq1o6gGeEKxTZgJ2CKLye3p67ZZjnsAwxr5VC32A= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A= +github.com/rhysd/go-fakeio v1.0.0 h1:+TjiKCOs32dONY7DaoVz/VPOdvRkPfBkEyUDIpM8FQY= +github.com/rhysd/go-fakeio v1.0.0/go.mod h1:joYxF906trVwp2JLrE4jlN7A0z6wrz8O6o1UjarbFzE= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -834,6 +836,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/teekennedy/goldmark-markdown v0.3.0 h1:ik9/biVGCwGWFg8dQ3KVm2pQ/wiiG0whYiUcz9xH0W8= +github.com/teekennedy/goldmark-markdown v0.3.0/go.mod h1:kMhDz8La77A9UHvJGsxejd0QUflN9sS+QXCqnhmxmNo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -865,6 +869,8 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yuin/goldmark v1.7.4 h1:BDXOHExt+A7gwPCJgPIIq7ENvceR7we7rOS9TNoLZeg= +github.com/yuin/goldmark v1.7.4/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= @@ -914,8 +920,8 @@ golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4 golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -926,8 +932,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -957,8 +963,8 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91 golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= -golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1014,8 +1020,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1060,8 +1066,8 @@ golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1144,8 +1150,8 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -1155,8 +1161,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= -golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1172,8 +1178,8 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1238,8 +1244,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= -golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= -golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1471,8 +1477,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= -google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/provider/resources.go b/provider/resources.go index d90d042..8efab98 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -87,7 +87,9 @@ func Provider() tfbridge.ProviderInfo { "astro_hybrid_cluster_workspace_authorization": { ComputeID: delegateID("clusterId"), }, - "astro_team_roles": {ComputeID: delegateID("teamId")}, + "astro_team_roles": {ComputeID: delegateID("teamId")}, + "astro_user_invite": {ComputeID: delegateID("inviteId")}, + "astro_user_roles": {ComputeID: delegateID("userId")}, }, DataSources: map[string]*tfbridge.DataSourceInfo{}, JavaScript: &tfbridge.JavaScriptInfo{ diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 500059e..2bf4259 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -5,7 +5,7 @@ go 1.21.5 toolchain go1.21.6 require ( - github.com/astronomer/terraform-provider-astro v0.3.0 + github.com/astronomer/terraform-provider-astro v1.0.0 github.com/hashicorp/terraform-plugin-framework v1.9.0 github.com/ryan-pip/pulumi-astronomer/provider v0.0.0-20240607020557-47813651c291 ) @@ -42,14 +42,15 @@ require ( github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/zclconf/go-cty v1.14.4 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect - golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.23.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.17.0 // indirect + golang.org/x/crypto v0.26.0 // indirect + golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect + golang.org/x/mod v0.20.0 // indirect + golang.org/x/net v0.28.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect + golang.org/x/tools v0.24.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.34.0 // indirect + google.golang.org/protobuf v1.34.1 // indirect ) diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 8f3d9cd..92bf74f 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -8,8 +8,8 @@ github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= -github.com/astronomer/terraform-provider-astro v0.3.0 h1:mI0oOwU3rVR1TaGxHxFjTTbJxO3t6oq8WRb5Tihyg8Y= -github.com/astronomer/terraform-provider-astro v0.3.0/go.mod h1:EQGyYzfgxm4t/rBn7+7GgQt8AwQhJ428ROUODWAd0Bk= +github.com/astronomer/terraform-provider-astro v1.0.0 h1:dHCsjGBfyF+MBF2srsBa7MmAJKP1ZpOQJ8NIyzPSuig= +github.com/astronomer/terraform-provider-astro v1.0.0/go.mod h1:+Yq8yet4PJIm+j8W7tjcekUfNBsdzUC5pAT4Yj2GykI= github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= @@ -134,18 +134,18 @@ github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgr github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -154,17 +154,17 @@ golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= @@ -172,8 +172,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= -google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= -google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/sdk/go.mod b/sdk/go.mod index 189f356..77eaf0e 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,20 +4,21 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.104.2 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 ) require ( dario.cat/mergo v1.0.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/charmbracelet/bubbles v0.16.1 // indirect - github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/bubbletea v0.25.0 // indirect github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect github.com/cloudflare/circl v1.3.7 // indirect @@ -27,11 +28,11 @@ require ( github.com/emirpasic/gods v1.18.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect @@ -56,13 +57,13 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.6.2 // indirect + github.com/pulumi/esc v0.9.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/cast v1.4.1 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect @@ -73,18 +74,18 @@ require ( github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.19.0 // indirect - golang.org/x/sync v0.5.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/term v0.15.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/tools v0.15.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/grpc v1.57.1 // indirect - google.golang.org/protobuf v1.31.0 // indirect + golang.org/x/crypto v0.24.0 // indirect + golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/term v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/grpc v1.63.2 // indirect + google.golang.org/protobuf v1.33.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 2775758..06ce7f4 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -1,12 +1,14 @@ dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= +github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= @@ -26,8 +28,8 @@ github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnweb github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= -github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= -github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/bubbletea v0.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt5dywy4TcM= +github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg= github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= @@ -52,29 +54,29 @@ github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FM github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= -github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -146,10 +148,10 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= -github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.104.2 h1:aOwUkrlsyEWrL1jlHqn2/36zMSPQrVUYUyZPqstrmjc= -github.com/pulumi/pulumi/sdk/v3 v3.104.2/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= +github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= +github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -161,11 +163,11 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDj github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= -github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= @@ -179,8 +181,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -205,18 +207,18 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= +golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= +golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= +golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -228,15 +230,15 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -257,15 +259,15 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -273,8 +275,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -283,20 +285,18 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= -golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= -google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= -google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= diff --git a/sdk/go/astronomer/apiToken.go b/sdk/go/astronomer/apiToken.go new file mode 100644 index 0000000..d0184b3 --- /dev/null +++ b/sdk/go/astronomer/apiToken.go @@ -0,0 +1,381 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// API Token resource +type ApiToken struct { + pulumi.CustomResourceState + + // API Token creation timestamp + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // API Token creator + CreatedBy ApiTokenCreatedByOutput `pulumi:"createdBy"` + // API Token description + Description pulumi.StringPtrOutput `pulumi:"description"` + // time when the API token will expire in UTC + EndAt pulumi.StringOutput `pulumi:"endAt"` + // API Token expiry period in days + ExpiryPeriodInDays pulumi.IntPtrOutput `pulumi:"expiryPeriodInDays"` + // API Token last used timestamp + LastUsedAt pulumi.StringOutput `pulumi:"lastUsedAt"` + // API Token name + Name pulumi.StringOutput `pulumi:"name"` + // The roles assigned to the API Token + Roles ApiTokenRoleArrayOutput `pulumi:"roles"` + // API Token short token + ShortToken pulumi.StringOutput `pulumi:"shortToken"` + // time when the API token will become valid in UTC + StartAt pulumi.StringOutput `pulumi:"startAt"` + Token pulumi.StringOutput `pulumi:"token"` + // API Token type - if changing this value, the API Token will be recreated with the new type + Type pulumi.StringOutput `pulumi:"type"` + // API Token last updated timestamp + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // API Token updater + UpdatedBy ApiTokenUpdatedByOutput `pulumi:"updatedBy"` +} + +// NewApiToken registers a new resource with the given unique name, arguments, and options. +func NewApiToken(ctx *pulumi.Context, + name string, args *ApiTokenArgs, opts ...pulumi.ResourceOption) (*ApiToken, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Roles == nil { + return nil, errors.New("invalid value for required argument 'Roles'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "token", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource ApiToken + err := ctx.RegisterResource("astronomer:index/apiToken:ApiToken", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetApiToken gets an existing ApiToken resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetApiToken(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ApiTokenState, opts ...pulumi.ResourceOption) (*ApiToken, error) { + var resource ApiToken + err := ctx.ReadResource("astronomer:index/apiToken:ApiToken", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ApiToken resources. +type apiTokenState struct { + // API Token creation timestamp + CreatedAt *string `pulumi:"createdAt"` + // API Token creator + CreatedBy *ApiTokenCreatedBy `pulumi:"createdBy"` + // API Token description + Description *string `pulumi:"description"` + // time when the API token will expire in UTC + EndAt *string `pulumi:"endAt"` + // API Token expiry period in days + ExpiryPeriodInDays *int `pulumi:"expiryPeriodInDays"` + // API Token last used timestamp + LastUsedAt *string `pulumi:"lastUsedAt"` + // API Token name + Name *string `pulumi:"name"` + // The roles assigned to the API Token + Roles []ApiTokenRole `pulumi:"roles"` + // API Token short token + ShortToken *string `pulumi:"shortToken"` + // time when the API token will become valid in UTC + StartAt *string `pulumi:"startAt"` + Token *string `pulumi:"token"` + // API Token type - if changing this value, the API Token will be recreated with the new type + Type *string `pulumi:"type"` + // API Token last updated timestamp + UpdatedAt *string `pulumi:"updatedAt"` + // API Token updater + UpdatedBy *ApiTokenUpdatedBy `pulumi:"updatedBy"` +} + +type ApiTokenState struct { + // API Token creation timestamp + CreatedAt pulumi.StringPtrInput + // API Token creator + CreatedBy ApiTokenCreatedByPtrInput + // API Token description + Description pulumi.StringPtrInput + // time when the API token will expire in UTC + EndAt pulumi.StringPtrInput + // API Token expiry period in days + ExpiryPeriodInDays pulumi.IntPtrInput + // API Token last used timestamp + LastUsedAt pulumi.StringPtrInput + // API Token name + Name pulumi.StringPtrInput + // The roles assigned to the API Token + Roles ApiTokenRoleArrayInput + // API Token short token + ShortToken pulumi.StringPtrInput + // time when the API token will become valid in UTC + StartAt pulumi.StringPtrInput + Token pulumi.StringPtrInput + // API Token type - if changing this value, the API Token will be recreated with the new type + Type pulumi.StringPtrInput + // API Token last updated timestamp + UpdatedAt pulumi.StringPtrInput + // API Token updater + UpdatedBy ApiTokenUpdatedByPtrInput +} + +func (ApiTokenState) ElementType() reflect.Type { + return reflect.TypeOf((*apiTokenState)(nil)).Elem() +} + +type apiTokenArgs struct { + // API Token description + Description *string `pulumi:"description"` + // API Token expiry period in days + ExpiryPeriodInDays *int `pulumi:"expiryPeriodInDays"` + // API Token name + Name *string `pulumi:"name"` + // The roles assigned to the API Token + Roles []ApiTokenRole `pulumi:"roles"` + // API Token type - if changing this value, the API Token will be recreated with the new type + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a ApiToken resource. +type ApiTokenArgs struct { + // API Token description + Description pulumi.StringPtrInput + // API Token expiry period in days + ExpiryPeriodInDays pulumi.IntPtrInput + // API Token name + Name pulumi.StringPtrInput + // The roles assigned to the API Token + Roles ApiTokenRoleArrayInput + // API Token type - if changing this value, the API Token will be recreated with the new type + Type pulumi.StringInput +} + +func (ApiTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*apiTokenArgs)(nil)).Elem() +} + +type ApiTokenInput interface { + pulumi.Input + + ToApiTokenOutput() ApiTokenOutput + ToApiTokenOutputWithContext(ctx context.Context) ApiTokenOutput +} + +func (*ApiToken) ElementType() reflect.Type { + return reflect.TypeOf((**ApiToken)(nil)).Elem() +} + +func (i *ApiToken) ToApiTokenOutput() ApiTokenOutput { + return i.ToApiTokenOutputWithContext(context.Background()) +} + +func (i *ApiToken) ToApiTokenOutputWithContext(ctx context.Context) ApiTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenOutput) +} + +// ApiTokenArrayInput is an input type that accepts ApiTokenArray and ApiTokenArrayOutput values. +// You can construct a concrete instance of `ApiTokenArrayInput` via: +// +// ApiTokenArray{ ApiTokenArgs{...} } +type ApiTokenArrayInput interface { + pulumi.Input + + ToApiTokenArrayOutput() ApiTokenArrayOutput + ToApiTokenArrayOutputWithContext(context.Context) ApiTokenArrayOutput +} + +type ApiTokenArray []ApiTokenInput + +func (ApiTokenArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ApiToken)(nil)).Elem() +} + +func (i ApiTokenArray) ToApiTokenArrayOutput() ApiTokenArrayOutput { + return i.ToApiTokenArrayOutputWithContext(context.Background()) +} + +func (i ApiTokenArray) ToApiTokenArrayOutputWithContext(ctx context.Context) ApiTokenArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenArrayOutput) +} + +// ApiTokenMapInput is an input type that accepts ApiTokenMap and ApiTokenMapOutput values. +// You can construct a concrete instance of `ApiTokenMapInput` via: +// +// ApiTokenMap{ "key": ApiTokenArgs{...} } +type ApiTokenMapInput interface { + pulumi.Input + + ToApiTokenMapOutput() ApiTokenMapOutput + ToApiTokenMapOutputWithContext(context.Context) ApiTokenMapOutput +} + +type ApiTokenMap map[string]ApiTokenInput + +func (ApiTokenMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ApiToken)(nil)).Elem() +} + +func (i ApiTokenMap) ToApiTokenMapOutput() ApiTokenMapOutput { + return i.ToApiTokenMapOutputWithContext(context.Background()) +} + +func (i ApiTokenMap) ToApiTokenMapOutputWithContext(ctx context.Context) ApiTokenMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenMapOutput) +} + +type ApiTokenOutput struct{ *pulumi.OutputState } + +func (ApiTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApiToken)(nil)).Elem() +} + +func (o ApiTokenOutput) ToApiTokenOutput() ApiTokenOutput { + return o +} + +func (o ApiTokenOutput) ToApiTokenOutputWithContext(ctx context.Context) ApiTokenOutput { + return o +} + +// API Token creation timestamp +func (o ApiTokenOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// API Token creator +func (o ApiTokenOutput) CreatedBy() ApiTokenCreatedByOutput { + return o.ApplyT(func(v *ApiToken) ApiTokenCreatedByOutput { return v.CreatedBy }).(ApiTokenCreatedByOutput) +} + +// API Token description +func (o ApiTokenOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// time when the API token will expire in UTC +func (o ApiTokenOutput) EndAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.EndAt }).(pulumi.StringOutput) +} + +// API Token expiry period in days +func (o ApiTokenOutput) ExpiryPeriodInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ApiToken) pulumi.IntPtrOutput { return v.ExpiryPeriodInDays }).(pulumi.IntPtrOutput) +} + +// API Token last used timestamp +func (o ApiTokenOutput) LastUsedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.LastUsedAt }).(pulumi.StringOutput) +} + +// API Token name +func (o ApiTokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The roles assigned to the API Token +func (o ApiTokenOutput) Roles() ApiTokenRoleArrayOutput { + return o.ApplyT(func(v *ApiToken) ApiTokenRoleArrayOutput { return v.Roles }).(ApiTokenRoleArrayOutput) +} + +// API Token short token +func (o ApiTokenOutput) ShortToken() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.ShortToken }).(pulumi.StringOutput) +} + +// time when the API token will become valid in UTC +func (o ApiTokenOutput) StartAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.StartAt }).(pulumi.StringOutput) +} + +func (o ApiTokenOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.Token }).(pulumi.StringOutput) +} + +// API Token type - if changing this value, the API Token will be recreated with the new type +func (o ApiTokenOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// API Token last updated timestamp +func (o ApiTokenOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApiToken) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// API Token updater +func (o ApiTokenOutput) UpdatedBy() ApiTokenUpdatedByOutput { + return o.ApplyT(func(v *ApiToken) ApiTokenUpdatedByOutput { return v.UpdatedBy }).(ApiTokenUpdatedByOutput) +} + +type ApiTokenArrayOutput struct{ *pulumi.OutputState } + +func (ApiTokenArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ApiToken)(nil)).Elem() +} + +func (o ApiTokenArrayOutput) ToApiTokenArrayOutput() ApiTokenArrayOutput { + return o +} + +func (o ApiTokenArrayOutput) ToApiTokenArrayOutputWithContext(ctx context.Context) ApiTokenArrayOutput { + return o +} + +func (o ApiTokenArrayOutput) Index(i pulumi.IntInput) ApiTokenOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApiToken { + return vs[0].([]*ApiToken)[vs[1].(int)] + }).(ApiTokenOutput) +} + +type ApiTokenMapOutput struct{ *pulumi.OutputState } + +func (ApiTokenMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ApiToken)(nil)).Elem() +} + +func (o ApiTokenMapOutput) ToApiTokenMapOutput() ApiTokenMapOutput { + return o +} + +func (o ApiTokenMapOutput) ToApiTokenMapOutputWithContext(ctx context.Context) ApiTokenMapOutput { + return o +} + +func (o ApiTokenMapOutput) MapIndex(k pulumi.StringInput) ApiTokenOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApiToken { + return vs[0].(map[string]*ApiToken)[vs[1].(string)] + }).(ApiTokenOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenInput)(nil)).Elem(), &ApiToken{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenArrayInput)(nil)).Elem(), ApiTokenArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenMapInput)(nil)).Elem(), ApiTokenMap{}) + pulumi.RegisterOutputType(ApiTokenOutput{}) + pulumi.RegisterOutputType(ApiTokenArrayOutput{}) + pulumi.RegisterOutputType(ApiTokenMapOutput{}) +} diff --git a/sdk/go/astronomer/cluster.go b/sdk/go/astronomer/cluster.go index 3e37674..439acda 100644 --- a/sdk/go/astronomer/cluster.go +++ b/sdk/go/astronomer/cluster.go @@ -95,6 +95,8 @@ type Cluster struct { CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // Cluster database instance type DbInstanceType pulumi.StringOutput `pulumi:"dbInstanceType"` + // Cluster health status + HealthStatus ClusterHealthStatusOutput `pulumi:"healthStatus"` // Whether the cluster is limited IsLimited pulumi.BoolOutput `pulumi:"isLimited"` // Cluster metadata @@ -179,6 +181,8 @@ type clusterState struct { CreatedAt *string `pulumi:"createdAt"` // Cluster database instance type DbInstanceType *string `pulumi:"dbInstanceType"` + // Cluster health status + HealthStatus *ClusterHealthStatus `pulumi:"healthStatus"` // Whether the cluster is limited IsLimited *bool `pulumi:"isLimited"` // Cluster metadata @@ -219,6 +223,8 @@ type ClusterState struct { CreatedAt pulumi.StringPtrInput // Cluster database instance type DbInstanceType pulumi.StringPtrInput + // Cluster health status + HealthStatus ClusterHealthStatusPtrInput // Whether the cluster is limited IsLimited pulumi.BoolPtrInput // Cluster metadata @@ -403,6 +409,11 @@ func (o ClusterOutput) DbInstanceType() pulumi.StringOutput { return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DbInstanceType }).(pulumi.StringOutput) } +// Cluster health status +func (o ClusterOutput) HealthStatus() ClusterHealthStatusOutput { + return o.ApplyT(func(v *Cluster) ClusterHealthStatusOutput { return v.HealthStatus }).(ClusterHealthStatusOutput) +} + // Whether the cluster is limited func (o ClusterOutput) IsLimited() pulumi.BoolOutput { return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.IsLimited }).(pulumi.BoolOutput) diff --git a/sdk/go/astronomer/getApiToken.go b/sdk/go/astronomer/getApiToken.go new file mode 100644 index 0000000..d703388 --- /dev/null +++ b/sdk/go/astronomer/getApiToken.go @@ -0,0 +1,200 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// API Token data source +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// exampleApiToken, err := astronomer.LookupApiToken(ctx, &astronomer.LookupApiTokenArgs{ +// Id: "clxm4836f00ql01me3nigmcr6", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("apiToken", exampleApiToken) +// return nil +// }) +// } +// +// ``` +func LookupApiToken(ctx *pulumi.Context, args *LookupApiTokenArgs, opts ...pulumi.InvokeOption) (*LookupApiTokenResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApiTokenResult + err := ctx.Invoke("astronomer:index/getApiToken:getApiToken", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getApiToken. +type LookupApiTokenArgs struct { + // API Token identifier + Id string `pulumi:"id"` +} + +// A collection of values returned by getApiToken. +type LookupApiTokenResult struct { + // API Token creation timestamp + CreatedAt string `pulumi:"createdAt"` + // API Token creator + CreatedBy GetApiTokenCreatedBy `pulumi:"createdBy"` + // API Token description + Description string `pulumi:"description"` + // time when the API token will expire in UTC + EndAt string `pulumi:"endAt"` + // API Token expiry period in days + ExpiryPeriodInDays int `pulumi:"expiryPeriodInDays"` + // API Token identifier + Id string `pulumi:"id"` + // API Token last used timestamp + LastUsedAt string `pulumi:"lastUsedAt"` + // API Token name + Name string `pulumi:"name"` + // The roles assigned to the API Token + Roles []GetApiTokenRole `pulumi:"roles"` + // API Token short token + ShortToken string `pulumi:"shortToken"` + // time when the API token will become valid in UTC + StartAt string `pulumi:"startAt"` + // API Token type + Type string `pulumi:"type"` + // API Token last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // API Token updater + UpdatedBy GetApiTokenUpdatedBy `pulumi:"updatedBy"` +} + +func LookupApiTokenOutput(ctx *pulumi.Context, args LookupApiTokenOutputArgs, opts ...pulumi.InvokeOption) LookupApiTokenResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupApiTokenResult, error) { + args := v.(LookupApiTokenArgs) + r, err := LookupApiToken(ctx, &args, opts...) + var s LookupApiTokenResult + if r != nil { + s = *r + } + return s, err + }).(LookupApiTokenResultOutput) +} + +// A collection of arguments for invoking getApiToken. +type LookupApiTokenOutputArgs struct { + // API Token identifier + Id pulumi.StringInput `pulumi:"id"` +} + +func (LookupApiTokenOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupApiTokenArgs)(nil)).Elem() +} + +// A collection of values returned by getApiToken. +type LookupApiTokenResultOutput struct{ *pulumi.OutputState } + +func (LookupApiTokenResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupApiTokenResult)(nil)).Elem() +} + +func (o LookupApiTokenResultOutput) ToLookupApiTokenResultOutput() LookupApiTokenResultOutput { + return o +} + +func (o LookupApiTokenResultOutput) ToLookupApiTokenResultOutputWithContext(ctx context.Context) LookupApiTokenResultOutput { + return o +} + +// API Token creation timestamp +func (o LookupApiTokenResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// API Token creator +func (o LookupApiTokenResultOutput) CreatedBy() GetApiTokenCreatedByOutput { + return o.ApplyT(func(v LookupApiTokenResult) GetApiTokenCreatedBy { return v.CreatedBy }).(GetApiTokenCreatedByOutput) +} + +// API Token description +func (o LookupApiTokenResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.Description }).(pulumi.StringOutput) +} + +// time when the API token will expire in UTC +func (o LookupApiTokenResultOutput) EndAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.EndAt }).(pulumi.StringOutput) +} + +// API Token expiry period in days +func (o LookupApiTokenResultOutput) ExpiryPeriodInDays() pulumi.IntOutput { + return o.ApplyT(func(v LookupApiTokenResult) int { return v.ExpiryPeriodInDays }).(pulumi.IntOutput) +} + +// API Token identifier +func (o LookupApiTokenResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.Id }).(pulumi.StringOutput) +} + +// API Token last used timestamp +func (o LookupApiTokenResultOutput) LastUsedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.LastUsedAt }).(pulumi.StringOutput) +} + +// API Token name +func (o LookupApiTokenResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The roles assigned to the API Token +func (o LookupApiTokenResultOutput) Roles() GetApiTokenRoleArrayOutput { + return o.ApplyT(func(v LookupApiTokenResult) []GetApiTokenRole { return v.Roles }).(GetApiTokenRoleArrayOutput) +} + +// API Token short token +func (o LookupApiTokenResultOutput) ShortToken() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.ShortToken }).(pulumi.StringOutput) +} + +// time when the API token will become valid in UTC +func (o LookupApiTokenResultOutput) StartAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.StartAt }).(pulumi.StringOutput) +} + +// API Token type +func (o LookupApiTokenResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.Type }).(pulumi.StringOutput) +} + +// API Token last updated timestamp +func (o LookupApiTokenResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupApiTokenResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// API Token updater +func (o LookupApiTokenResultOutput) UpdatedBy() GetApiTokenUpdatedByOutput { + return o.ApplyT(func(v LookupApiTokenResult) GetApiTokenUpdatedBy { return v.UpdatedBy }).(GetApiTokenUpdatedByOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupApiTokenResultOutput{}) +} diff --git a/sdk/go/astronomer/getApiTokens.go b/sdk/go/astronomer/getApiTokens.go new file mode 100644 index 0000000..fd8996b --- /dev/null +++ b/sdk/go/astronomer/getApiTokens.go @@ -0,0 +1,147 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// API Tokens data source +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// exampleApiTokens, err := astronomer.GetApiTokens(ctx, nil, nil) +// if err != nil { +// return err +// } +// _, err = astronomer.GetApiTokens(ctx, &astronomer.GetApiTokensArgs{ +// IncludeOnlyOrganizationTokens: pulumi.BoolRef(true), +// }, nil) +// if err != nil { +// return err +// } +// _, err = astronomer.GetApiTokens(ctx, &astronomer.GetApiTokensArgs{ +// WorkspaceId: pulumi.StringRef("clx42sxw501gl01o0gjenthnh"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = astronomer.GetApiTokens(ctx, &astronomer.GetApiTokensArgs{ +// DeploymentId: pulumi.StringRef("clx44jyu001m201m5dzsbexqr"), +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("apiTokens", exampleApiTokens) +// return nil +// }) +// } +// +// ``` +func GetApiTokens(ctx *pulumi.Context, args *GetApiTokensArgs, opts ...pulumi.InvokeOption) (*GetApiTokensResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApiTokensResult + err := ctx.Invoke("astronomer:index/getApiTokens:getApiTokens", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getApiTokens. +type GetApiTokensArgs struct { + DeploymentId *string `pulumi:"deploymentId"` + IncludeOnlyOrganizationTokens *bool `pulumi:"includeOnlyOrganizationTokens"` + WorkspaceId *string `pulumi:"workspaceId"` +} + +// A collection of values returned by getApiTokens. +type GetApiTokensResult struct { + ApiTokens []GetApiTokensApiToken `pulumi:"apiTokens"` + DeploymentId *string `pulumi:"deploymentId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + IncludeOnlyOrganizationTokens *bool `pulumi:"includeOnlyOrganizationTokens"` + WorkspaceId *string `pulumi:"workspaceId"` +} + +func GetApiTokensOutput(ctx *pulumi.Context, args GetApiTokensOutputArgs, opts ...pulumi.InvokeOption) GetApiTokensResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetApiTokensResult, error) { + args := v.(GetApiTokensArgs) + r, err := GetApiTokens(ctx, &args, opts...) + var s GetApiTokensResult + if r != nil { + s = *r + } + return s, err + }).(GetApiTokensResultOutput) +} + +// A collection of arguments for invoking getApiTokens. +type GetApiTokensOutputArgs struct { + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + IncludeOnlyOrganizationTokens pulumi.BoolPtrInput `pulumi:"includeOnlyOrganizationTokens"` + WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"` +} + +func (GetApiTokensOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensArgs)(nil)).Elem() +} + +// A collection of values returned by getApiTokens. +type GetApiTokensResultOutput struct{ *pulumi.OutputState } + +func (GetApiTokensResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensResult)(nil)).Elem() +} + +func (o GetApiTokensResultOutput) ToGetApiTokensResultOutput() GetApiTokensResultOutput { + return o +} + +func (o GetApiTokensResultOutput) ToGetApiTokensResultOutputWithContext(ctx context.Context) GetApiTokensResultOutput { + return o +} + +func (o GetApiTokensResultOutput) ApiTokens() GetApiTokensApiTokenArrayOutput { + return o.ApplyT(func(v GetApiTokensResult) []GetApiTokensApiToken { return v.ApiTokens }).(GetApiTokensApiTokenArrayOutput) +} + +func (o GetApiTokensResultOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetApiTokensResult) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetApiTokensResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetApiTokensResultOutput) IncludeOnlyOrganizationTokens() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetApiTokensResult) *bool { return v.IncludeOnlyOrganizationTokens }).(pulumi.BoolPtrOutput) +} + +func (o GetApiTokensResultOutput) WorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetApiTokensResult) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetApiTokensResultOutput{}) +} diff --git a/sdk/go/astronomer/getCluster.go b/sdk/go/astronomer/getCluster.go index dc8e87e..6add5f0 100644 --- a/sdk/go/astronomer/getCluster.go +++ b/sdk/go/astronomer/getCluster.go @@ -27,12 +27,13 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.LookupCluster(ctx, &astronomer.LookupClusterArgs{ +// exampleCluster, err := astronomer.LookupCluster(ctx, &astronomer.LookupClusterArgs{ // Id: "clozc036j01to01jrlgvueo8t", // }, nil) // if err != nil { // return err // } +// ctx.Export("cluster", exampleCluster) // return nil // }) // } @@ -62,6 +63,8 @@ type LookupClusterResult struct { CreatedAt string `pulumi:"createdAt"` // Cluster database instance type DbInstanceType string `pulumi:"dbInstanceType"` + // Cluster health status + HealthStatus GetClusterHealthStatus `pulumi:"healthStatus"` // Cluster identifier Id string `pulumi:"id"` // Whether the cluster is limited @@ -151,6 +154,11 @@ func (o LookupClusterResultOutput) DbInstanceType() pulumi.StringOutput { return o.ApplyT(func(v LookupClusterResult) string { return v.DbInstanceType }).(pulumi.StringOutput) } +// Cluster health status +func (o LookupClusterResultOutput) HealthStatus() GetClusterHealthStatusOutput { + return o.ApplyT(func(v LookupClusterResult) GetClusterHealthStatus { return v.HealthStatus }).(GetClusterHealthStatusOutput) +} + // Cluster identifier func (o LookupClusterResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupClusterResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/astronomer/getClusterOptions.go b/sdk/go/astronomer/getClusterOptions.go index bece826..c42cbbf 100644 --- a/sdk/go/astronomer/getClusterOptions.go +++ b/sdk/go/astronomer/getClusterOptions.go @@ -27,19 +27,20 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetClusterOptions(ctx, &astronomer.GetClusterOptionsArgs{ +// exampleClusterOptions, err := astronomer.GetClusterOptions(ctx, &astronomer.GetClusterOptionsArgs{ // Type: "HYBRID", // }, nil) // if err != nil { // return err // } // _, err = astronomer.GetClusterOptions(ctx, &astronomer.GetClusterOptionsArgs{ -// CloudProvider: pulumi.StringRef("AWS"), // Type: "HYBRID", +// CloudProvider: pulumi.StringRef("AWS"), // }, nil) // if err != nil { // return err // } +// ctx.Export("clusterOptions", exampleClusterOptions) // return nil // }) // } diff --git a/sdk/go/astronomer/getClusters.go b/sdk/go/astronomer/getClusters.go index d3bd1ac..fd2940d 100644 --- a/sdk/go/astronomer/getClusters.go +++ b/sdk/go/astronomer/getClusters.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetClusters(ctx, nil, nil) +// exampleClusters, err := astronomer.GetClusters(ctx, nil, nil) // if err != nil { // return err // } @@ -45,6 +45,7 @@ import ( // if err != nil { // return err // } +// ctx.Export("clusters", exampleClusters) // return nil // }) // } diff --git a/sdk/go/astronomer/getDeployment.go b/sdk/go/astronomer/getDeployment.go index 3a78afa..bbe3884 100644 --- a/sdk/go/astronomer/getDeployment.go +++ b/sdk/go/astronomer/getDeployment.go @@ -27,12 +27,13 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.LookupDeployment(ctx, &astronomer.LookupDeploymentArgs{ +// exampleDeployment, err := astronomer.LookupDeployment(ctx, &astronomer.LookupDeploymentArgs{ // Id: "clozc036j01to01jrlgvueo8t", // }, nil) // if err != nil { // return err // } +// ctx.Export("deployment", exampleDeployment) // return nil // }) // } diff --git a/sdk/go/astronomer/getDeploymentOptions.go b/sdk/go/astronomer/getDeploymentOptions.go index 56930c0..6d88eda 100644 --- a/sdk/go/astronomer/getDeploymentOptions.go +++ b/sdk/go/astronomer/getDeploymentOptions.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetDeploymentOptions(ctx, nil, nil) +// exampleDeploymentOptions, err := astronomer.GetDeploymentOptions(ctx, nil, nil) // if err != nil { // return err // } @@ -55,6 +55,7 @@ import ( // if err != nil { // return err // } +// ctx.Export("deploymentOptions", exampleDeploymentOptions) // return nil // }) // } diff --git a/sdk/go/astronomer/getDeployments.go b/sdk/go/astronomer/getDeployments.go index 9d74a97..bc44747 100644 --- a/sdk/go/astronomer/getDeployments.go +++ b/sdk/go/astronomer/getDeployments.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetDeployments(ctx, nil, nil) +// exampleDeployments, err := astronomer.GetDeployments(ctx, nil, nil) // if err != nil { // return err // } @@ -55,6 +55,7 @@ import ( // if err != nil { // return err // } +// ctx.Export("deployments", exampleDeployments) // return nil // }) // } diff --git a/sdk/go/astronomer/getOrganization.go b/sdk/go/astronomer/getOrganization.go index e0df017..8415ceb 100644 --- a/sdk/go/astronomer/getOrganization.go +++ b/sdk/go/astronomer/getOrganization.go @@ -27,10 +27,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetOrganization(ctx, nil, nil) +// exampleOrganization, err := astronomer.GetOrganization(ctx, nil, nil) // if err != nil { // return err // } +// ctx.Export("organization", exampleOrganization) // return nil // }) // } diff --git a/sdk/go/astronomer/getTeam.go b/sdk/go/astronomer/getTeam.go index e706e9b..adb2380 100644 --- a/sdk/go/astronomer/getTeam.go +++ b/sdk/go/astronomer/getTeam.go @@ -27,20 +27,21 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetTeam(ctx, &astronomer.GetTeamArgs{ +// exampleTeam, err := astronomer.LookupTeam(ctx, &astronomer.LookupTeamArgs{ // Id: "clwbclrc100bl01ozjj5s4jmq", // }, nil) // if err != nil { // return err // } +// ctx.Export("team", exampleTeam) // return nil // }) // } // // ``` -func GetTeam(ctx *pulumi.Context, args *GetTeamArgs, opts ...pulumi.InvokeOption) (*GetTeamResult, error) { +func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetTeamResult + var rv LookupTeamResult err := ctx.Invoke("astronomer:index/getTeam:getTeam", args, &rv, opts...) if err != nil { return nil, err @@ -49,137 +50,137 @@ func GetTeam(ctx *pulumi.Context, args *GetTeamArgs, opts ...pulumi.InvokeOption } // A collection of arguments for invoking getTeam. -type GetTeamArgs struct { - // Team identifier +type LookupTeamArgs struct { + // Team ID Id string `pulumi:"id"` } // A collection of values returned by getTeam. -type GetTeamResult struct { +type LookupTeamResult struct { // Team creation timestamp CreatedAt string `pulumi:"createdAt"` // Team creator CreatedBy GetTeamCreatedBy `pulumi:"createdBy"` - // The roles assigned to the deployments + // The roles assigned to the Deployments DeploymentRoles []GetTeamDeploymentRole `pulumi:"deploymentRoles"` // Team description Description string `pulumi:"description"` - // Team identifier + // Team ID Id string `pulumi:"id"` - // Whether the team is managed by an identity provider + // Whether the Team is managed by an identity provider IsIdpManaged bool `pulumi:"isIdpManaged"` // Team name Name string `pulumi:"name"` - // The role assigned to the organization + // The role assigned to the Organization OrganizationRole string `pulumi:"organizationRole"` - // Number of roles assigned to the team + // Number of roles assigned to the Team RolesCount int `pulumi:"rolesCount"` // Team last updated timestamp UpdatedAt string `pulumi:"updatedAt"` // Team updater UpdatedBy GetTeamUpdatedBy `pulumi:"updatedBy"` - // The roles assigned to the workspaces + // The roles assigned to the Workspaces WorkspaceRoles []GetTeamWorkspaceRole `pulumi:"workspaceRoles"` } -func GetTeamOutput(ctx *pulumi.Context, args GetTeamOutputArgs, opts ...pulumi.InvokeOption) GetTeamResultOutput { +func LookupTeamOutput(ctx *pulumi.Context, args LookupTeamOutputArgs, opts ...pulumi.InvokeOption) LookupTeamResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetTeamResult, error) { - args := v.(GetTeamArgs) - r, err := GetTeam(ctx, &args, opts...) - var s GetTeamResult + ApplyT(func(v interface{}) (LookupTeamResult, error) { + args := v.(LookupTeamArgs) + r, err := LookupTeam(ctx, &args, opts...) + var s LookupTeamResult if r != nil { s = *r } return s, err - }).(GetTeamResultOutput) + }).(LookupTeamResultOutput) } // A collection of arguments for invoking getTeam. -type GetTeamOutputArgs struct { - // Team identifier +type LookupTeamOutputArgs struct { + // Team ID Id pulumi.StringInput `pulumi:"id"` } -func (GetTeamOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamArgs)(nil)).Elem() +func (LookupTeamOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTeamArgs)(nil)).Elem() } // A collection of values returned by getTeam. -type GetTeamResultOutput struct{ *pulumi.OutputState } +type LookupTeamResultOutput struct{ *pulumi.OutputState } -func (GetTeamResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamResult)(nil)).Elem() +func (LookupTeamResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTeamResult)(nil)).Elem() } -func (o GetTeamResultOutput) ToGetTeamResultOutput() GetTeamResultOutput { +func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput { return o } -func (o GetTeamResultOutput) ToGetTeamResultOutputWithContext(ctx context.Context) GetTeamResultOutput { +func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput { return o } // Team creation timestamp -func (o GetTeamResultOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.CreatedAt }).(pulumi.StringOutput) +func (o LookupTeamResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.CreatedAt }).(pulumi.StringOutput) } // Team creator -func (o GetTeamResultOutput) CreatedBy() GetTeamCreatedByOutput { - return o.ApplyT(func(v GetTeamResult) GetTeamCreatedBy { return v.CreatedBy }).(GetTeamCreatedByOutput) +func (o LookupTeamResultOutput) CreatedBy() GetTeamCreatedByOutput { + return o.ApplyT(func(v LookupTeamResult) GetTeamCreatedBy { return v.CreatedBy }).(GetTeamCreatedByOutput) } -// The roles assigned to the deployments -func (o GetTeamResultOutput) DeploymentRoles() GetTeamDeploymentRoleArrayOutput { - return o.ApplyT(func(v GetTeamResult) []GetTeamDeploymentRole { return v.DeploymentRoles }).(GetTeamDeploymentRoleArrayOutput) +// The roles assigned to the Deployments +func (o LookupTeamResultOutput) DeploymentRoles() GetTeamDeploymentRoleArrayOutput { + return o.ApplyT(func(v LookupTeamResult) []GetTeamDeploymentRole { return v.DeploymentRoles }).(GetTeamDeploymentRoleArrayOutput) } // Team description -func (o GetTeamResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.Description }).(pulumi.StringOutput) +func (o LookupTeamResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.Description }).(pulumi.StringOutput) } -// Team identifier -func (o GetTeamResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.Id }).(pulumi.StringOutput) +// Team ID +func (o LookupTeamResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.Id }).(pulumi.StringOutput) } -// Whether the team is managed by an identity provider -func (o GetTeamResultOutput) IsIdpManaged() pulumi.BoolOutput { - return o.ApplyT(func(v GetTeamResult) bool { return v.IsIdpManaged }).(pulumi.BoolOutput) +// Whether the Team is managed by an identity provider +func (o LookupTeamResultOutput) IsIdpManaged() pulumi.BoolOutput { + return o.ApplyT(func(v LookupTeamResult) bool { return v.IsIdpManaged }).(pulumi.BoolOutput) } // Team name -func (o GetTeamResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.Name }).(pulumi.StringOutput) +func (o LookupTeamResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.Name }).(pulumi.StringOutput) } -// The role assigned to the organization -func (o GetTeamResultOutput) OrganizationRole() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.OrganizationRole }).(pulumi.StringOutput) +// The role assigned to the Organization +func (o LookupTeamResultOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.OrganizationRole }).(pulumi.StringOutput) } -// Number of roles assigned to the team -func (o GetTeamResultOutput) RolesCount() pulumi.IntOutput { - return o.ApplyT(func(v GetTeamResult) int { return v.RolesCount }).(pulumi.IntOutput) +// Number of roles assigned to the Team +func (o LookupTeamResultOutput) RolesCount() pulumi.IntOutput { + return o.ApplyT(func(v LookupTeamResult) int { return v.RolesCount }).(pulumi.IntOutput) } // Team last updated timestamp -func (o GetTeamResultOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o LookupTeamResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupTeamResult) string { return v.UpdatedAt }).(pulumi.StringOutput) } // Team updater -func (o GetTeamResultOutput) UpdatedBy() GetTeamUpdatedByOutput { - return o.ApplyT(func(v GetTeamResult) GetTeamUpdatedBy { return v.UpdatedBy }).(GetTeamUpdatedByOutput) +func (o LookupTeamResultOutput) UpdatedBy() GetTeamUpdatedByOutput { + return o.ApplyT(func(v LookupTeamResult) GetTeamUpdatedBy { return v.UpdatedBy }).(GetTeamUpdatedByOutput) } -// The roles assigned to the workspaces -func (o GetTeamResultOutput) WorkspaceRoles() GetTeamWorkspaceRoleArrayOutput { - return o.ApplyT(func(v GetTeamResult) []GetTeamWorkspaceRole { return v.WorkspaceRoles }).(GetTeamWorkspaceRoleArrayOutput) +// The roles assigned to the Workspaces +func (o LookupTeamResultOutput) WorkspaceRoles() GetTeamWorkspaceRoleArrayOutput { + return o.ApplyT(func(v LookupTeamResult) []GetTeamWorkspaceRole { return v.WorkspaceRoles }).(GetTeamWorkspaceRoleArrayOutput) } func init() { - pulumi.RegisterOutputType(GetTeamResultOutput{}) + pulumi.RegisterOutputType(LookupTeamResultOutput{}) } diff --git a/sdk/go/astronomer/getTeams.go b/sdk/go/astronomer/getTeams.go index 4c713dc..305873f 100644 --- a/sdk/go/astronomer/getTeams.go +++ b/sdk/go/astronomer/getTeams.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetTeams(ctx, nil, nil) +// exampleTeamsTeams, err := astronomer.GetTeams(ctx, nil, nil) // if err != nil { // return err // } @@ -40,6 +40,7 @@ import ( // if err != nil { // return err // } +// ctx.Export("exampleTeams", exampleTeamsTeams) // return nil // }) // } diff --git a/sdk/go/astronomer/getUser.go b/sdk/go/astronomer/getUser.go new file mode 100644 index 0000000..5e6b0c7 --- /dev/null +++ b/sdk/go/astronomer/getUser.go @@ -0,0 +1,172 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// User data source +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// exampleUser, err := astronomer.GetUser(ctx, &astronomer.GetUserArgs{ +// Id: "clhpichn8002m01mqa4ocs7g6", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("user", exampleUser) +// return nil +// }) +// } +// +// ``` +func GetUser(ctx *pulumi.Context, args *GetUserArgs, opts ...pulumi.InvokeOption) (*GetUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUserResult + err := ctx.Invoke("astronomer:index/getUser:getUser", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getUser. +type GetUserArgs struct { + // User identifier + Id string `pulumi:"id"` +} + +// A collection of values returned by getUser. +type GetUserResult struct { + // User avatar URL + AvatarUrl string `pulumi:"avatarUrl"` + // User creation timestamp + CreatedAt string `pulumi:"createdAt"` + // The roles assigned to the deployments + DeploymentRoles []GetUserDeploymentRole `pulumi:"deploymentRoles"` + // User full name + FullName string `pulumi:"fullName"` + // User identifier + Id string `pulumi:"id"` + // The role assigned to the organization + OrganizationRole string `pulumi:"organizationRole"` + // User status + Status string `pulumi:"status"` + // User last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // User username + Username string `pulumi:"username"` + // The roles assigned to the workspaces + WorkspaceRoles []GetUserWorkspaceRole `pulumi:"workspaceRoles"` +} + +func GetUserOutput(ctx *pulumi.Context, args GetUserOutputArgs, opts ...pulumi.InvokeOption) GetUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetUserResult, error) { + args := v.(GetUserArgs) + r, err := GetUser(ctx, &args, opts...) + var s GetUserResult + if r != nil { + s = *r + } + return s, err + }).(GetUserResultOutput) +} + +// A collection of arguments for invoking getUser. +type GetUserOutputArgs struct { + // User identifier + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserArgs)(nil)).Elem() +} + +// A collection of values returned by getUser. +type GetUserResultOutput struct{ *pulumi.OutputState } + +func (GetUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserResult)(nil)).Elem() +} + +func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput { + return o +} + +func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput { + return o +} + +// User avatar URL +func (o GetUserResultOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.AvatarUrl }).(pulumi.StringOutput) +} + +// User creation timestamp +func (o GetUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// The roles assigned to the deployments +func (o GetUserResultOutput) DeploymentRoles() GetUserDeploymentRoleArrayOutput { + return o.ApplyT(func(v GetUserResult) []GetUserDeploymentRole { return v.DeploymentRoles }).(GetUserDeploymentRoleArrayOutput) +} + +// User full name +func (o GetUserResultOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.FullName }).(pulumi.StringOutput) +} + +// User identifier +func (o GetUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The role assigned to the organization +func (o GetUserResultOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.OrganizationRole }).(pulumi.StringOutput) +} + +// User status +func (o GetUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +// User last updated timestamp +func (o GetUserResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// User username +func (o GetUserResultOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetUserResult) string { return v.Username }).(pulumi.StringOutput) +} + +// The roles assigned to the workspaces +func (o GetUserResultOutput) WorkspaceRoles() GetUserWorkspaceRoleArrayOutput { + return o.ApplyT(func(v GetUserResult) []GetUserWorkspaceRole { return v.WorkspaceRoles }).(GetUserWorkspaceRoleArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetUserResultOutput{}) +} diff --git a/sdk/go/astronomer/getUsers.go b/sdk/go/astronomer/getUsers.go new file mode 100644 index 0000000..cf15310 --- /dev/null +++ b/sdk/go/astronomer/getUsers.go @@ -0,0 +1,134 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// Users data source +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// exampleUsersUsers, err := astronomer.GetUsers(ctx, nil, nil) +// if err != nil { +// return err +// } +// _, err = astronomer.GetUsers(ctx, &astronomer.GetUsersArgs{ +// WorkspaceId: pulumi.StringRef("clx42sxw501gl01o0gjenthnh"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = astronomer.GetUsers(ctx, &astronomer.GetUsersArgs{ +// DeploymentId: pulumi.StringRef("clx44jyu001m201m5dzsbexqr"), +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("exampleUsers", exampleUsersUsers) +// return nil +// }) +// } +// +// ``` +func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUsersResult + err := ctx.Invoke("astronomer:index/getUsers:getUsers", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getUsers. +type GetUsersArgs struct { + DeploymentId *string `pulumi:"deploymentId"` + WorkspaceId *string `pulumi:"workspaceId"` +} + +// A collection of values returned by getUsers. +type GetUsersResult struct { + DeploymentId *string `pulumi:"deploymentId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Users []GetUsersUser `pulumi:"users"` + WorkspaceId *string `pulumi:"workspaceId"` +} + +func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetUsersResult, error) { + args := v.(GetUsersArgs) + r, err := GetUsers(ctx, &args, opts...) + var s GetUsersResult + if r != nil { + s = *r + } + return s, err + }).(GetUsersResultOutput) +} + +// A collection of arguments for invoking getUsers. +type GetUsersOutputArgs struct { + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"` +} + +func (GetUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getUsers. +type GetUsersResultOutput struct{ *pulumi.OutputState } + +func (GetUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersResult)(nil)).Elem() +} + +func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput { + return o +} + +func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput { + return o +} + +func (o GetUsersResultOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetUsersResultOutput) Users() GetUsersUserArrayOutput { + return o.ApplyT(func(v GetUsersResult) []GetUsersUser { return v.Users }).(GetUsersUserArrayOutput) +} + +func (o GetUsersResultOutput) WorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetUsersResult) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetUsersResultOutput{}) +} diff --git a/sdk/go/astronomer/getWorkspace.go b/sdk/go/astronomer/getWorkspace.go index 1e31707..b645d1e 100644 --- a/sdk/go/astronomer/getWorkspace.go +++ b/sdk/go/astronomer/getWorkspace.go @@ -27,12 +27,13 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.LookupWorkspace(ctx, &astronomer.LookupWorkspaceArgs{ +// exampleWorkspace, err := astronomer.LookupWorkspace(ctx, &astronomer.LookupWorkspaceArgs{ // Id: "clozc036j01to01jrlgvueo8t", // }, nil) // if err != nil { // return err // } +// ctx.Export("workspace", exampleWorkspace) // return nil // }) // } diff --git a/sdk/go/astronomer/getWorkspaces.go b/sdk/go/astronomer/getWorkspaces.go index 97e7699..b44b168 100644 --- a/sdk/go/astronomer/getWorkspaces.go +++ b/sdk/go/astronomer/getWorkspaces.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := astronomer.GetWorkspaces(ctx, nil, nil) +// exampleWorkspacesWorkspaces, err := astronomer.GetWorkspaces(ctx, nil, nil) // if err != nil { // return err // } @@ -49,6 +49,7 @@ import ( // if err != nil { // return err // } +// ctx.Export("exampleWorkspaces", exampleWorkspacesWorkspaces) // return nil // }) // } diff --git a/sdk/go/astronomer/init.go b/sdk/go/astronomer/init.go index 2c6195e..e71f981 100644 --- a/sdk/go/astronomer/init.go +++ b/sdk/go/astronomer/init.go @@ -21,14 +21,22 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "astronomer:index/apiToken:ApiToken": + r = &ApiToken{} case "astronomer:index/cluster:Cluster": r = &Cluster{} case "astronomer:index/deployment:Deployment": r = &Deployment{} case "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization": r = &HybridClusterWorkspaceAuthorization{} + case "astronomer:index/team:Team": + r = &Team{} case "astronomer:index/teamRoles:TeamRoles": r = &TeamRoles{} + case "astronomer:index/userInvite:UserInvite": + r = &UserInvite{} + case "astronomer:index/userRoles:UserRoles": + r = &UserRoles{} case "astronomer:index/workspace:Workspace": r = &Workspace{} default: @@ -62,6 +70,11 @@ func init() { if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "astronomer", + "index/apiToken", + &module{version}, + ) pulumi.RegisterResourceModule( "astronomer", "index/cluster", @@ -77,11 +90,26 @@ func init() { "index/hybridClusterWorkspaceAuthorization", &module{version}, ) + pulumi.RegisterResourceModule( + "astronomer", + "index/team", + &module{version}, + ) pulumi.RegisterResourceModule( "astronomer", "index/teamRoles", &module{version}, ) + pulumi.RegisterResourceModule( + "astronomer", + "index/userInvite", + &module{version}, + ) + pulumi.RegisterResourceModule( + "astronomer", + "index/userRoles", + &module{version}, + ) pulumi.RegisterResourceModule( "astronomer", "index/workspace", diff --git a/sdk/go/astronomer/pulumiTypes.go b/sdk/go/astronomer/pulumiTypes.go index 32149ca..12984e2 100644 --- a/sdk/go/astronomer/pulumiTypes.go +++ b/sdk/go/astronomer/pulumiTypes.go @@ -13,2528 +13,2552 @@ import ( var _ = internal.GetEnvOrDefault -type ClusterMetadata struct { - // Cluster external IPs - ExternalIps []string `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl *string `pulumi:"oidcIssuerUrl"` +type ApiTokenCreatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// ClusterMetadataInput is an input type that accepts ClusterMetadataArgs and ClusterMetadataOutput values. -// You can construct a concrete instance of `ClusterMetadataInput` via: +// ApiTokenCreatedByInput is an input type that accepts ApiTokenCreatedByArgs and ApiTokenCreatedByOutput values. +// You can construct a concrete instance of `ApiTokenCreatedByInput` via: // -// ClusterMetadataArgs{...} -type ClusterMetadataInput interface { +// ApiTokenCreatedByArgs{...} +type ApiTokenCreatedByInput interface { pulumi.Input - ToClusterMetadataOutput() ClusterMetadataOutput - ToClusterMetadataOutputWithContext(context.Context) ClusterMetadataOutput + ToApiTokenCreatedByOutput() ApiTokenCreatedByOutput + ToApiTokenCreatedByOutputWithContext(context.Context) ApiTokenCreatedByOutput } -type ClusterMetadataArgs struct { - // Cluster external IPs - ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl pulumi.StringPtrInput `pulumi:"oidcIssuerUrl"` +type ApiTokenCreatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (ClusterMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterMetadata)(nil)).Elem() +func (ApiTokenCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenCreatedBy)(nil)).Elem() } -func (i ClusterMetadataArgs) ToClusterMetadataOutput() ClusterMetadataOutput { - return i.ToClusterMetadataOutputWithContext(context.Background()) +func (i ApiTokenCreatedByArgs) ToApiTokenCreatedByOutput() ApiTokenCreatedByOutput { + return i.ToApiTokenCreatedByOutputWithContext(context.Background()) } -func (i ClusterMetadataArgs) ToClusterMetadataOutputWithContext(ctx context.Context) ClusterMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataOutput) +func (i ApiTokenCreatedByArgs) ToApiTokenCreatedByOutputWithContext(ctx context.Context) ApiTokenCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenCreatedByOutput) } -func (i ClusterMetadataArgs) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { - return i.ToClusterMetadataPtrOutputWithContext(context.Background()) +func (i ApiTokenCreatedByArgs) ToApiTokenCreatedByPtrOutput() ApiTokenCreatedByPtrOutput { + return i.ToApiTokenCreatedByPtrOutputWithContext(context.Background()) } -func (i ClusterMetadataArgs) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataOutput).ToClusterMetadataPtrOutputWithContext(ctx) +func (i ApiTokenCreatedByArgs) ToApiTokenCreatedByPtrOutputWithContext(ctx context.Context) ApiTokenCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenCreatedByOutput).ToApiTokenCreatedByPtrOutputWithContext(ctx) } -// ClusterMetadataPtrInput is an input type that accepts ClusterMetadataArgs, ClusterMetadataPtr and ClusterMetadataPtrOutput values. -// You can construct a concrete instance of `ClusterMetadataPtrInput` via: +// ApiTokenCreatedByPtrInput is an input type that accepts ApiTokenCreatedByArgs, ApiTokenCreatedByPtr and ApiTokenCreatedByPtrOutput values. +// You can construct a concrete instance of `ApiTokenCreatedByPtrInput` via: // -// ClusterMetadataArgs{...} +// ApiTokenCreatedByArgs{...} // // or: // // nil -type ClusterMetadataPtrInput interface { +type ApiTokenCreatedByPtrInput interface { pulumi.Input - ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput - ToClusterMetadataPtrOutputWithContext(context.Context) ClusterMetadataPtrOutput + ToApiTokenCreatedByPtrOutput() ApiTokenCreatedByPtrOutput + ToApiTokenCreatedByPtrOutputWithContext(context.Context) ApiTokenCreatedByPtrOutput } -type clusterMetadataPtrType ClusterMetadataArgs +type apiTokenCreatedByPtrType ApiTokenCreatedByArgs -func ClusterMetadataPtr(v *ClusterMetadataArgs) ClusterMetadataPtrInput { - return (*clusterMetadataPtrType)(v) +func ApiTokenCreatedByPtr(v *ApiTokenCreatedByArgs) ApiTokenCreatedByPtrInput { + return (*apiTokenCreatedByPtrType)(v) } -func (*clusterMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterMetadata)(nil)).Elem() +func (*apiTokenCreatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ApiTokenCreatedBy)(nil)).Elem() } -func (i *clusterMetadataPtrType) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { - return i.ToClusterMetadataPtrOutputWithContext(context.Background()) +func (i *apiTokenCreatedByPtrType) ToApiTokenCreatedByPtrOutput() ApiTokenCreatedByPtrOutput { + return i.ToApiTokenCreatedByPtrOutputWithContext(context.Background()) } -func (i *clusterMetadataPtrType) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataPtrOutput) +func (i *apiTokenCreatedByPtrType) ToApiTokenCreatedByPtrOutputWithContext(ctx context.Context) ApiTokenCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenCreatedByPtrOutput) } -type ClusterMetadataOutput struct{ *pulumi.OutputState } +type ApiTokenCreatedByOutput struct{ *pulumi.OutputState } -func (ClusterMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterMetadata)(nil)).Elem() +func (ApiTokenCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenCreatedBy)(nil)).Elem() } -func (o ClusterMetadataOutput) ToClusterMetadataOutput() ClusterMetadataOutput { +func (o ApiTokenCreatedByOutput) ToApiTokenCreatedByOutput() ApiTokenCreatedByOutput { return o } -func (o ClusterMetadataOutput) ToClusterMetadataOutputWithContext(ctx context.Context) ClusterMetadataOutput { +func (o ApiTokenCreatedByOutput) ToApiTokenCreatedByOutputWithContext(ctx context.Context) ApiTokenCreatedByOutput { return o } -func (o ClusterMetadataOutput) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { - return o.ToClusterMetadataPtrOutputWithContext(context.Background()) +func (o ApiTokenCreatedByOutput) ToApiTokenCreatedByPtrOutput() ApiTokenCreatedByPtrOutput { + return o.ToApiTokenCreatedByPtrOutputWithContext(context.Background()) } -func (o ClusterMetadataOutput) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterMetadata) *ClusterMetadata { +func (o ApiTokenCreatedByOutput) ToApiTokenCreatedByPtrOutputWithContext(ctx context.Context) ApiTokenCreatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApiTokenCreatedBy) *ApiTokenCreatedBy { return &v - }).(ClusterMetadataPtrOutput) + }).(ApiTokenCreatedByPtrOutput) } -// Cluster external IPs -func (o ClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +func (o ApiTokenCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -// Cluster OIDC issuer URL -func (o ClusterMetadataOutput) OidcIssuerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterMetadata) *string { return v.OidcIssuerUrl }).(pulumi.StringPtrOutput) +func (o ApiTokenCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -type ClusterMetadataPtrOutput struct{ *pulumi.OutputState } +func (o ApiTokenCreatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) +} -func (ClusterMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterMetadata)(nil)).Elem() +func (o ApiTokenCreatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o ClusterMetadataPtrOutput) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { +func (o ApiTokenCreatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) +} + +func (o ApiTokenCreatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ApiTokenCreatedByPtrOutput struct{ *pulumi.OutputState } + +func (ApiTokenCreatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApiTokenCreatedBy)(nil)).Elem() +} + +func (o ApiTokenCreatedByPtrOutput) ToApiTokenCreatedByPtrOutput() ApiTokenCreatedByPtrOutput { return o } -func (o ClusterMetadataPtrOutput) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { +func (o ApiTokenCreatedByPtrOutput) ToApiTokenCreatedByPtrOutputWithContext(ctx context.Context) ApiTokenCreatedByPtrOutput { return o } -func (o ClusterMetadataPtrOutput) Elem() ClusterMetadataOutput { - return o.ApplyT(func(v *ClusterMetadata) ClusterMetadata { +func (o ApiTokenCreatedByPtrOutput) Elem() ApiTokenCreatedByOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) ApiTokenCreatedBy { if v != nil { return *v } - var ret ClusterMetadata + var ret ApiTokenCreatedBy return ret - }).(ClusterMetadataOutput) + }).(ApiTokenCreatedByOutput) } -// Cluster external IPs -func (o ClusterMetadataPtrOutput) ExternalIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterMetadata) []string { +func (o ApiTokenCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { if v == nil { return nil } - return v.ExternalIps - }).(pulumi.StringArrayOutput) + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -// Cluster OIDC issuer URL -func (o ClusterMetadataPtrOutput) OidcIssuerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterMetadata) *string { +func (o ApiTokenCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { if v == nil { return nil } - return v.OidcIssuerUrl + return v.AvatarUrl }).(pulumi.StringPtrOutput) } -type ClusterNodePool struct { - // Node pool cloud provider - CloudProvider *string `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId *string `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt *string `pulumi:"createdAt"` - // Node pool identifier - Id *string `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault *bool `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount *int `pulumi:"maxNodeCount"` - // Node pool name - Name *string `pulumi:"name"` - // Node pool node instance type - NodeInstanceType *string `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt *string `pulumi:"updatedAt"` +func (o ApiTokenCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -// ClusterNodePoolInput is an input type that accepts ClusterNodePoolArgs and ClusterNodePoolOutput values. -// You can construct a concrete instance of `ClusterNodePoolInput` via: +func (o ApiTokenCreatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) +} + +func (o ApiTokenCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) +} + +func (o ApiTokenCreatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenCreatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ApiTokenRole struct { + // The ID of the entity to assign the role to + EntityId string `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType string `pulumi:"entityType"` + // The role to assign to the entity + Role string `pulumi:"role"` +} + +// ApiTokenRoleInput is an input type that accepts ApiTokenRoleArgs and ApiTokenRoleOutput values. +// You can construct a concrete instance of `ApiTokenRoleInput` via: // -// ClusterNodePoolArgs{...} -type ClusterNodePoolInput interface { +// ApiTokenRoleArgs{...} +type ApiTokenRoleInput interface { pulumi.Input - ToClusterNodePoolOutput() ClusterNodePoolOutput - ToClusterNodePoolOutputWithContext(context.Context) ClusterNodePoolOutput + ToApiTokenRoleOutput() ApiTokenRoleOutput + ToApiTokenRoleOutputWithContext(context.Context) ApiTokenRoleOutput } -type ClusterNodePoolArgs struct { - // Node pool cloud provider - CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` - // Node pool identifier - Id pulumi.StringPtrInput `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount pulumi.IntPtrInput `pulumi:"maxNodeCount"` - // Node pool name - Name pulumi.StringPtrInput `pulumi:"name"` - // Node pool node instance type - NodeInstanceType pulumi.StringPtrInput `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` +type ApiTokenRoleArgs struct { + // The ID of the entity to assign the role to + EntityId pulumi.StringInput `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType pulumi.StringInput `pulumi:"entityType"` + // The role to assign to the entity + Role pulumi.StringInput `pulumi:"role"` } -func (ClusterNodePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterNodePool)(nil)).Elem() +func (ApiTokenRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenRole)(nil)).Elem() } -func (i ClusterNodePoolArgs) ToClusterNodePoolOutput() ClusterNodePoolOutput { - return i.ToClusterNodePoolOutputWithContext(context.Background()) +func (i ApiTokenRoleArgs) ToApiTokenRoleOutput() ApiTokenRoleOutput { + return i.ToApiTokenRoleOutputWithContext(context.Background()) } -func (i ClusterNodePoolArgs) ToClusterNodePoolOutputWithContext(ctx context.Context) ClusterNodePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterNodePoolOutput) +func (i ApiTokenRoleArgs) ToApiTokenRoleOutputWithContext(ctx context.Context) ApiTokenRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenRoleOutput) } -// ClusterNodePoolArrayInput is an input type that accepts ClusterNodePoolArray and ClusterNodePoolArrayOutput values. -// You can construct a concrete instance of `ClusterNodePoolArrayInput` via: +// ApiTokenRoleArrayInput is an input type that accepts ApiTokenRoleArray and ApiTokenRoleArrayOutput values. +// You can construct a concrete instance of `ApiTokenRoleArrayInput` via: // -// ClusterNodePoolArray{ ClusterNodePoolArgs{...} } -type ClusterNodePoolArrayInput interface { +// ApiTokenRoleArray{ ApiTokenRoleArgs{...} } +type ApiTokenRoleArrayInput interface { pulumi.Input - ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput - ToClusterNodePoolArrayOutputWithContext(context.Context) ClusterNodePoolArrayOutput + ToApiTokenRoleArrayOutput() ApiTokenRoleArrayOutput + ToApiTokenRoleArrayOutputWithContext(context.Context) ApiTokenRoleArrayOutput } -type ClusterNodePoolArray []ClusterNodePoolInput +type ApiTokenRoleArray []ApiTokenRoleInput -func (ClusterNodePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterNodePool)(nil)).Elem() +func (ApiTokenRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ApiTokenRole)(nil)).Elem() } -func (i ClusterNodePoolArray) ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput { - return i.ToClusterNodePoolArrayOutputWithContext(context.Background()) +func (i ApiTokenRoleArray) ToApiTokenRoleArrayOutput() ApiTokenRoleArrayOutput { + return i.ToApiTokenRoleArrayOutputWithContext(context.Background()) } -func (i ClusterNodePoolArray) ToClusterNodePoolArrayOutputWithContext(ctx context.Context) ClusterNodePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterNodePoolArrayOutput) +func (i ApiTokenRoleArray) ToApiTokenRoleArrayOutputWithContext(ctx context.Context) ApiTokenRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenRoleArrayOutput) } -type ClusterNodePoolOutput struct{ *pulumi.OutputState } +type ApiTokenRoleOutput struct{ *pulumi.OutputState } -func (ClusterNodePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterNodePool)(nil)).Elem() +func (ApiTokenRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenRole)(nil)).Elem() } -func (o ClusterNodePoolOutput) ToClusterNodePoolOutput() ClusterNodePoolOutput { +func (o ApiTokenRoleOutput) ToApiTokenRoleOutput() ApiTokenRoleOutput { return o } -func (o ClusterNodePoolOutput) ToClusterNodePoolOutputWithContext(ctx context.Context) ClusterNodePoolOutput { +func (o ApiTokenRoleOutput) ToApiTokenRoleOutputWithContext(ctx context.Context) ApiTokenRoleOutput { return o } -// Node pool cloud provider -func (o ClusterNodePoolOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.CloudProvider }).(pulumi.StringPtrOutput) +// The ID of the entity to assign the role to +func (o ApiTokenRoleOutput) EntityId() pulumi.StringOutput { + return o.ApplyT(func(v ApiTokenRole) string { return v.EntityId }).(pulumi.StringOutput) } -// Node pool cluster identifier -func (o ClusterNodePoolOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +// The type of entity to assign the role to +func (o ApiTokenRoleOutput) EntityType() pulumi.StringOutput { + return o.ApplyT(func(v ApiTokenRole) string { return v.EntityType }).(pulumi.StringOutput) } -// Node pool creation timestamp -func (o ClusterNodePoolOutput) CreatedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +// The role to assign to the entity +func (o ApiTokenRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v ApiTokenRole) string { return v.Role }).(pulumi.StringOutput) } -// Node pool identifier -func (o ClusterNodePoolOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.Id }).(pulumi.StringPtrOutput) +type ApiTokenRoleArrayOutput struct{ *pulumi.OutputState } + +func (ApiTokenRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ApiTokenRole)(nil)).Elem() } -// Whether the node pool is the default node pool of the cluster -func (o ClusterNodePoolOutput) IsDefault() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) +func (o ApiTokenRoleArrayOutput) ToApiTokenRoleArrayOutput() ApiTokenRoleArrayOutput { + return o } -// Node pool maximum node count -func (o ClusterNodePoolOutput) MaxNodeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) +func (o ApiTokenRoleArrayOutput) ToApiTokenRoleArrayOutputWithContext(ctx context.Context) ApiTokenRoleArrayOutput { + return o } -// Node pool name -func (o ClusterNodePoolOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ApiTokenRoleArrayOutput) Index(i pulumi.IntInput) ApiTokenRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiTokenRole { + return vs[0].([]ApiTokenRole)[vs[1].(int)] + }).(ApiTokenRoleOutput) } -// Node pool node instance type -func (o ClusterNodePoolOutput) NodeInstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.NodeInstanceType }).(pulumi.StringPtrOutput) +type ApiTokenUpdatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// Node pool supported Astro machines -func (o ClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) +// ApiTokenUpdatedByInput is an input type that accepts ApiTokenUpdatedByArgs and ApiTokenUpdatedByOutput values. +// You can construct a concrete instance of `ApiTokenUpdatedByInput` via: +// +// ApiTokenUpdatedByArgs{...} +type ApiTokenUpdatedByInput interface { + pulumi.Input + + ToApiTokenUpdatedByOutput() ApiTokenUpdatedByOutput + ToApiTokenUpdatedByOutputWithContext(context.Context) ApiTokenUpdatedByOutput } -// Node pool last updated timestamp -func (o ClusterNodePoolOutput) UpdatedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterNodePool) *string { return v.UpdatedAt }).(pulumi.StringPtrOutput) +type ApiTokenUpdatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -type ClusterNodePoolArrayOutput struct{ *pulumi.OutputState } +func (ApiTokenUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenUpdatedBy)(nil)).Elem() +} -func (ClusterNodePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterNodePool)(nil)).Elem() +func (i ApiTokenUpdatedByArgs) ToApiTokenUpdatedByOutput() ApiTokenUpdatedByOutput { + return i.ToApiTokenUpdatedByOutputWithContext(context.Background()) } -func (o ClusterNodePoolArrayOutput) ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput { - return o +func (i ApiTokenUpdatedByArgs) ToApiTokenUpdatedByOutputWithContext(ctx context.Context) ApiTokenUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenUpdatedByOutput) } -func (o ClusterNodePoolArrayOutput) ToClusterNodePoolArrayOutputWithContext(ctx context.Context) ClusterNodePoolArrayOutput { - return o +func (i ApiTokenUpdatedByArgs) ToApiTokenUpdatedByPtrOutput() ApiTokenUpdatedByPtrOutput { + return i.ToApiTokenUpdatedByPtrOutputWithContext(context.Background()) } -func (o ClusterNodePoolArrayOutput) Index(i pulumi.IntInput) ClusterNodePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterNodePool { - return vs[0].([]ClusterNodePool)[vs[1].(int)] - }).(ClusterNodePoolOutput) -} - -type ClusterTimeouts struct { - // 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). - Create *string `pulumi:"create"` - // 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. - Delete *string `pulumi:"delete"` - // 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). - Update *string `pulumi:"update"` -} - -// ClusterTimeoutsInput is an input type that accepts ClusterTimeoutsArgs and ClusterTimeoutsOutput values. -// You can construct a concrete instance of `ClusterTimeoutsInput` via: -// -// ClusterTimeoutsArgs{...} -type ClusterTimeoutsInput interface { - pulumi.Input - - ToClusterTimeoutsOutput() ClusterTimeoutsOutput - ToClusterTimeoutsOutputWithContext(context.Context) ClusterTimeoutsOutput -} - -type ClusterTimeoutsArgs struct { - // 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). - Create pulumi.StringPtrInput `pulumi:"create"` - // 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. - Delete pulumi.StringPtrInput `pulumi:"delete"` - // 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). - Update pulumi.StringPtrInput `pulumi:"update"` -} - -func (ClusterTimeoutsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTimeouts)(nil)).Elem() -} - -func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutput() ClusterTimeoutsOutput { - return i.ToClusterTimeoutsOutputWithContext(context.Background()) -} - -func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsOutput) -} - -func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { - return i.ToClusterTimeoutsPtrOutputWithContext(context.Background()) -} - -func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsOutput).ToClusterTimeoutsPtrOutputWithContext(ctx) +func (i ApiTokenUpdatedByArgs) ToApiTokenUpdatedByPtrOutputWithContext(ctx context.Context) ApiTokenUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenUpdatedByOutput).ToApiTokenUpdatedByPtrOutputWithContext(ctx) } -// ClusterTimeoutsPtrInput is an input type that accepts ClusterTimeoutsArgs, ClusterTimeoutsPtr and ClusterTimeoutsPtrOutput values. -// You can construct a concrete instance of `ClusterTimeoutsPtrInput` via: +// ApiTokenUpdatedByPtrInput is an input type that accepts ApiTokenUpdatedByArgs, ApiTokenUpdatedByPtr and ApiTokenUpdatedByPtrOutput values. +// You can construct a concrete instance of `ApiTokenUpdatedByPtrInput` via: // -// ClusterTimeoutsArgs{...} +// ApiTokenUpdatedByArgs{...} // // or: // // nil -type ClusterTimeoutsPtrInput interface { +type ApiTokenUpdatedByPtrInput interface { pulumi.Input - ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput - ToClusterTimeoutsPtrOutputWithContext(context.Context) ClusterTimeoutsPtrOutput + ToApiTokenUpdatedByPtrOutput() ApiTokenUpdatedByPtrOutput + ToApiTokenUpdatedByPtrOutputWithContext(context.Context) ApiTokenUpdatedByPtrOutput } -type clusterTimeoutsPtrType ClusterTimeoutsArgs +type apiTokenUpdatedByPtrType ApiTokenUpdatedByArgs -func ClusterTimeoutsPtr(v *ClusterTimeoutsArgs) ClusterTimeoutsPtrInput { - return (*clusterTimeoutsPtrType)(v) +func ApiTokenUpdatedByPtr(v *ApiTokenUpdatedByArgs) ApiTokenUpdatedByPtrInput { + return (*apiTokenUpdatedByPtrType)(v) } -func (*clusterTimeoutsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTimeouts)(nil)).Elem() +func (*apiTokenUpdatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ApiTokenUpdatedBy)(nil)).Elem() } -func (i *clusterTimeoutsPtrType) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { - return i.ToClusterTimeoutsPtrOutputWithContext(context.Background()) +func (i *apiTokenUpdatedByPtrType) ToApiTokenUpdatedByPtrOutput() ApiTokenUpdatedByPtrOutput { + return i.ToApiTokenUpdatedByPtrOutputWithContext(context.Background()) } -func (i *clusterTimeoutsPtrType) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsPtrOutput) +func (i *apiTokenUpdatedByPtrType) ToApiTokenUpdatedByPtrOutputWithContext(ctx context.Context) ApiTokenUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApiTokenUpdatedByPtrOutput) } -type ClusterTimeoutsOutput struct{ *pulumi.OutputState } +type ApiTokenUpdatedByOutput struct{ *pulumi.OutputState } -func (ClusterTimeoutsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTimeouts)(nil)).Elem() +func (ApiTokenUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApiTokenUpdatedBy)(nil)).Elem() } -func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutput() ClusterTimeoutsOutput { +func (o ApiTokenUpdatedByOutput) ToApiTokenUpdatedByOutput() ApiTokenUpdatedByOutput { return o } -func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput { +func (o ApiTokenUpdatedByOutput) ToApiTokenUpdatedByOutputWithContext(ctx context.Context) ApiTokenUpdatedByOutput { return o } -func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { - return o.ToClusterTimeoutsPtrOutputWithContext(context.Background()) +func (o ApiTokenUpdatedByOutput) ToApiTokenUpdatedByPtrOutput() ApiTokenUpdatedByPtrOutput { + return o.ToApiTokenUpdatedByPtrOutputWithContext(context.Background()) } -func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTimeouts) *ClusterTimeouts { +func (o ApiTokenUpdatedByOutput) ToApiTokenUpdatedByPtrOutputWithContext(ctx context.Context) ApiTokenUpdatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApiTokenUpdatedBy) *ApiTokenUpdatedBy { return &v - }).(ClusterTimeoutsPtrOutput) + }).(ApiTokenUpdatedByPtrOutput) } -// 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). -func (o ClusterTimeoutsOutput) Create() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +func (o ApiTokenUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -// 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. -func (o ClusterTimeoutsOutput) Delete() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +func (o ApiTokenUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -// 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). -func (o ClusterTimeoutsOutput) Update() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +func (o ApiTokenUpdatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -type ClusterTimeoutsPtrOutput struct{ *pulumi.OutputState } +func (o ApiTokenUpdatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) +} -func (ClusterTimeoutsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTimeouts)(nil)).Elem() +func (o ApiTokenUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { +func (o ApiTokenUpdatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiTokenUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type ApiTokenUpdatedByPtrOutput struct{ *pulumi.OutputState } + +func (ApiTokenUpdatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApiTokenUpdatedBy)(nil)).Elem() +} + +func (o ApiTokenUpdatedByPtrOutput) ToApiTokenUpdatedByPtrOutput() ApiTokenUpdatedByPtrOutput { return o } -func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { +func (o ApiTokenUpdatedByPtrOutput) ToApiTokenUpdatedByPtrOutputWithContext(ctx context.Context) ApiTokenUpdatedByPtrOutput { return o } -func (o ClusterTimeoutsPtrOutput) Elem() ClusterTimeoutsOutput { - return o.ApplyT(func(v *ClusterTimeouts) ClusterTimeouts { +func (o ApiTokenUpdatedByPtrOutput) Elem() ApiTokenUpdatedByOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) ApiTokenUpdatedBy { if v != nil { return *v } - var ret ClusterTimeouts + var ret ApiTokenUpdatedBy return ret - }).(ClusterTimeoutsOutput) + }).(ApiTokenUpdatedByOutput) } -// 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). -func (o ClusterTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTimeouts) *string { +func (o ApiTokenUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { if v == nil { return nil } - return v.Create + return v.ApiTokenName }).(pulumi.StringPtrOutput) } -// 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. -func (o ClusterTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTimeouts) *string { +func (o ApiTokenUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { if v == nil { return nil } - return v.Delete + return v.AvatarUrl }).(pulumi.StringPtrOutput) } -// 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). -func (o ClusterTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTimeouts) *string { +func (o ApiTokenUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { if v == nil { return nil } - return v.Update + return v.FullName }).(pulumi.StringPtrOutput) } -type DeploymentCreatedBy struct { - ApiTokenName *string `pulumi:"apiTokenName"` - AvatarUrl *string `pulumi:"avatarUrl"` - FullName *string `pulumi:"fullName"` - Id *string `pulumi:"id"` - SubjectType *string `pulumi:"subjectType"` - Username *string `pulumi:"username"` +func (o ApiTokenUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -// DeploymentCreatedByInput is an input type that accepts DeploymentCreatedByArgs and DeploymentCreatedByOutput values. -// You can construct a concrete instance of `DeploymentCreatedByInput` via: +func (o ApiTokenUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) +} + +func (o ApiTokenUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiTokenUpdatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type ClusterHealthStatus struct { + // Cluster health status details + Details []ClusterHealthStatusDetail `pulumi:"details"` + // Cluster health status value + Value *string `pulumi:"value"` +} + +// ClusterHealthStatusInput is an input type that accepts ClusterHealthStatusArgs and ClusterHealthStatusOutput values. +// You can construct a concrete instance of `ClusterHealthStatusInput` via: // -// DeploymentCreatedByArgs{...} -type DeploymentCreatedByInput interface { +// ClusterHealthStatusArgs{...} +type ClusterHealthStatusInput interface { pulumi.Input - ToDeploymentCreatedByOutput() DeploymentCreatedByOutput - ToDeploymentCreatedByOutputWithContext(context.Context) DeploymentCreatedByOutput + ToClusterHealthStatusOutput() ClusterHealthStatusOutput + ToClusterHealthStatusOutputWithContext(context.Context) ClusterHealthStatusOutput } -type DeploymentCreatedByArgs struct { - ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` - FullName pulumi.StringPtrInput `pulumi:"fullName"` - Id pulumi.StringPtrInput `pulumi:"id"` - SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` - Username pulumi.StringPtrInput `pulumi:"username"` +type ClusterHealthStatusArgs struct { + // Cluster health status details + Details ClusterHealthStatusDetailArrayInput `pulumi:"details"` + // Cluster health status value + Value pulumi.StringPtrInput `pulumi:"value"` } -func (DeploymentCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentCreatedBy)(nil)).Elem() +func (ClusterHealthStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterHealthStatus)(nil)).Elem() } -func (i DeploymentCreatedByArgs) ToDeploymentCreatedByOutput() DeploymentCreatedByOutput { - return i.ToDeploymentCreatedByOutputWithContext(context.Background()) +func (i ClusterHealthStatusArgs) ToClusterHealthStatusOutput() ClusterHealthStatusOutput { + return i.ToClusterHealthStatusOutputWithContext(context.Background()) } -func (i DeploymentCreatedByArgs) ToDeploymentCreatedByOutputWithContext(ctx context.Context) DeploymentCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByOutput) +func (i ClusterHealthStatusArgs) ToClusterHealthStatusOutputWithContext(ctx context.Context) ClusterHealthStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterHealthStatusOutput) } -func (i DeploymentCreatedByArgs) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { - return i.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) +func (i ClusterHealthStatusArgs) ToClusterHealthStatusPtrOutput() ClusterHealthStatusPtrOutput { + return i.ToClusterHealthStatusPtrOutputWithContext(context.Background()) } -func (i DeploymentCreatedByArgs) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByOutput).ToDeploymentCreatedByPtrOutputWithContext(ctx) +func (i ClusterHealthStatusArgs) ToClusterHealthStatusPtrOutputWithContext(ctx context.Context) ClusterHealthStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterHealthStatusOutput).ToClusterHealthStatusPtrOutputWithContext(ctx) } -// DeploymentCreatedByPtrInput is an input type that accepts DeploymentCreatedByArgs, DeploymentCreatedByPtr and DeploymentCreatedByPtrOutput values. -// You can construct a concrete instance of `DeploymentCreatedByPtrInput` via: +// ClusterHealthStatusPtrInput is an input type that accepts ClusterHealthStatusArgs, ClusterHealthStatusPtr and ClusterHealthStatusPtrOutput values. +// You can construct a concrete instance of `ClusterHealthStatusPtrInput` via: // -// DeploymentCreatedByArgs{...} +// ClusterHealthStatusArgs{...} // // or: // // nil -type DeploymentCreatedByPtrInput interface { +type ClusterHealthStatusPtrInput interface { pulumi.Input - ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput - ToDeploymentCreatedByPtrOutputWithContext(context.Context) DeploymentCreatedByPtrOutput + ToClusterHealthStatusPtrOutput() ClusterHealthStatusPtrOutput + ToClusterHealthStatusPtrOutputWithContext(context.Context) ClusterHealthStatusPtrOutput } -type deploymentCreatedByPtrType DeploymentCreatedByArgs +type clusterHealthStatusPtrType ClusterHealthStatusArgs -func DeploymentCreatedByPtr(v *DeploymentCreatedByArgs) DeploymentCreatedByPtrInput { - return (*deploymentCreatedByPtrType)(v) +func ClusterHealthStatusPtr(v *ClusterHealthStatusArgs) ClusterHealthStatusPtrInput { + return (*clusterHealthStatusPtrType)(v) } -func (*deploymentCreatedByPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentCreatedBy)(nil)).Elem() +func (*clusterHealthStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterHealthStatus)(nil)).Elem() } -func (i *deploymentCreatedByPtrType) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { - return i.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) +func (i *clusterHealthStatusPtrType) ToClusterHealthStatusPtrOutput() ClusterHealthStatusPtrOutput { + return i.ToClusterHealthStatusPtrOutputWithContext(context.Background()) } -func (i *deploymentCreatedByPtrType) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByPtrOutput) +func (i *clusterHealthStatusPtrType) ToClusterHealthStatusPtrOutputWithContext(ctx context.Context) ClusterHealthStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterHealthStatusPtrOutput) } -type DeploymentCreatedByOutput struct{ *pulumi.OutputState } +type ClusterHealthStatusOutput struct{ *pulumi.OutputState } -func (DeploymentCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentCreatedBy)(nil)).Elem() +func (ClusterHealthStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterHealthStatus)(nil)).Elem() } -func (o DeploymentCreatedByOutput) ToDeploymentCreatedByOutput() DeploymentCreatedByOutput { +func (o ClusterHealthStatusOutput) ToClusterHealthStatusOutput() ClusterHealthStatusOutput { return o } -func (o DeploymentCreatedByOutput) ToDeploymentCreatedByOutputWithContext(ctx context.Context) DeploymentCreatedByOutput { +func (o ClusterHealthStatusOutput) ToClusterHealthStatusOutputWithContext(ctx context.Context) ClusterHealthStatusOutput { return o } -func (o DeploymentCreatedByOutput) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { - return o.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) +func (o ClusterHealthStatusOutput) ToClusterHealthStatusPtrOutput() ClusterHealthStatusPtrOutput { + return o.ToClusterHealthStatusPtrOutputWithContext(context.Background()) } -func (o DeploymentCreatedByOutput) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentCreatedBy) *DeploymentCreatedBy { +func (o ClusterHealthStatusOutput) ToClusterHealthStatusPtrOutputWithContext(ctx context.Context) ClusterHealthStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterHealthStatus) *ClusterHealthStatus { return &v - }).(DeploymentCreatedByPtrOutput) -} - -func (o DeploymentCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) -} - -func (o DeploymentCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) -} - -func (o DeploymentCreatedByOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) -} - -func (o DeploymentCreatedByOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) + }).(ClusterHealthStatusPtrOutput) } -func (o DeploymentCreatedByOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) +// Cluster health status details +func (o ClusterHealthStatusOutput) Details() ClusterHealthStatusDetailArrayOutput { + return o.ApplyT(func(v ClusterHealthStatus) []ClusterHealthStatusDetail { return v.Details }).(ClusterHealthStatusDetailArrayOutput) } -func (o DeploymentCreatedByOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +// Cluster health status value +func (o ClusterHealthStatusOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterHealthStatus) *string { return v.Value }).(pulumi.StringPtrOutput) } -type DeploymentCreatedByPtrOutput struct{ *pulumi.OutputState } +type ClusterHealthStatusPtrOutput struct{ *pulumi.OutputState } -func (DeploymentCreatedByPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentCreatedBy)(nil)).Elem() +func (ClusterHealthStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterHealthStatus)(nil)).Elem() } -func (o DeploymentCreatedByPtrOutput) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { +func (o ClusterHealthStatusPtrOutput) ToClusterHealthStatusPtrOutput() ClusterHealthStatusPtrOutput { return o } -func (o DeploymentCreatedByPtrOutput) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { +func (o ClusterHealthStatusPtrOutput) ToClusterHealthStatusPtrOutputWithContext(ctx context.Context) ClusterHealthStatusPtrOutput { return o } -func (o DeploymentCreatedByPtrOutput) Elem() DeploymentCreatedByOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) DeploymentCreatedBy { +func (o ClusterHealthStatusPtrOutput) Elem() ClusterHealthStatusOutput { + return o.ApplyT(func(v *ClusterHealthStatus) ClusterHealthStatus { if v != nil { return *v } - var ret DeploymentCreatedBy + var ret ClusterHealthStatus return ret - }).(DeploymentCreatedByOutput) + }).(ClusterHealthStatusOutput) } -func (o DeploymentCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { +// Cluster health status details +func (o ClusterHealthStatusPtrOutput) Details() ClusterHealthStatusDetailArrayOutput { + return o.ApplyT(func(v *ClusterHealthStatus) []ClusterHealthStatusDetail { if v == nil { return nil } - return v.ApiTokenName - }).(pulumi.StringPtrOutput) + return v.Details + }).(ClusterHealthStatusDetailArrayOutput) } -func (o DeploymentCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { +// Cluster health status value +func (o ClusterHealthStatusPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterHealthStatus) *string { if v == nil { return nil } - return v.AvatarUrl + return v.Value }).(pulumi.StringPtrOutput) } -func (o DeploymentCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { - if v == nil { - return nil - } - return v.FullName - }).(pulumi.StringPtrOutput) +type ClusterHealthStatusDetail struct { + // Cluster health status detail code + Code *string `pulumi:"code"` + // Cluster health status detail description + Description *string `pulumi:"description"` + // Cluster health status detail severity + Severity *string `pulumi:"severity"` } -func (o DeploymentCreatedByPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) +// ClusterHealthStatusDetailInput is an input type that accepts ClusterHealthStatusDetailArgs and ClusterHealthStatusDetailOutput values. +// You can construct a concrete instance of `ClusterHealthStatusDetailInput` via: +// +// ClusterHealthStatusDetailArgs{...} +type ClusterHealthStatusDetailInput interface { + pulumi.Input + + ToClusterHealthStatusDetailOutput() ClusterHealthStatusDetailOutput + ToClusterHealthStatusDetailOutputWithContext(context.Context) ClusterHealthStatusDetailOutput } -func (o DeploymentCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { - if v == nil { - return nil - } - return v.SubjectType - }).(pulumi.StringPtrOutput) +type ClusterHealthStatusDetailArgs struct { + // Cluster health status detail code + Code pulumi.StringPtrInput `pulumi:"code"` + // Cluster health status detail description + Description pulumi.StringPtrInput `pulumi:"description"` + // Cluster health status detail severity + Severity pulumi.StringPtrInput `pulumi:"severity"` } -func (o DeploymentCreatedByPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentCreatedBy) *string { - if v == nil { - return nil - } - return v.Username - }).(pulumi.StringPtrOutput) -} - -type DeploymentEnvironmentVariable struct { - // Whether Environment variable is a secret - IsSecret bool `pulumi:"isSecret"` - // Environment variable key - Key string `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt *string `pulumi:"updatedAt"` - // Environment variable value - Value *string `pulumi:"value"` -} - -// DeploymentEnvironmentVariableInput is an input type that accepts DeploymentEnvironmentVariableArgs and DeploymentEnvironmentVariableOutput values. -// You can construct a concrete instance of `DeploymentEnvironmentVariableInput` via: -// -// DeploymentEnvironmentVariableArgs{...} -type DeploymentEnvironmentVariableInput interface { - pulumi.Input - - ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput - ToDeploymentEnvironmentVariableOutputWithContext(context.Context) DeploymentEnvironmentVariableOutput -} - -type DeploymentEnvironmentVariableArgs struct { - // Whether Environment variable is a secret - IsSecret pulumi.BoolInput `pulumi:"isSecret"` - // Environment variable key - Key pulumi.StringInput `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` - // Environment variable value - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (DeploymentEnvironmentVariableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentEnvironmentVariable)(nil)).Elem() +func (ClusterHealthStatusDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterHealthStatusDetail)(nil)).Elem() } -func (i DeploymentEnvironmentVariableArgs) ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput { - return i.ToDeploymentEnvironmentVariableOutputWithContext(context.Background()) +func (i ClusterHealthStatusDetailArgs) ToClusterHealthStatusDetailOutput() ClusterHealthStatusDetailOutput { + return i.ToClusterHealthStatusDetailOutputWithContext(context.Background()) } -func (i DeploymentEnvironmentVariableArgs) ToDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentEnvironmentVariableOutput) +func (i ClusterHealthStatusDetailArgs) ToClusterHealthStatusDetailOutputWithContext(ctx context.Context) ClusterHealthStatusDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterHealthStatusDetailOutput) } -// DeploymentEnvironmentVariableArrayInput is an input type that accepts DeploymentEnvironmentVariableArray and DeploymentEnvironmentVariableArrayOutput values. -// You can construct a concrete instance of `DeploymentEnvironmentVariableArrayInput` via: +// ClusterHealthStatusDetailArrayInput is an input type that accepts ClusterHealthStatusDetailArray and ClusterHealthStatusDetailArrayOutput values. +// You can construct a concrete instance of `ClusterHealthStatusDetailArrayInput` via: // -// DeploymentEnvironmentVariableArray{ DeploymentEnvironmentVariableArgs{...} } -type DeploymentEnvironmentVariableArrayInput interface { +// ClusterHealthStatusDetailArray{ ClusterHealthStatusDetailArgs{...} } +type ClusterHealthStatusDetailArrayInput interface { pulumi.Input - ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput - ToDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) DeploymentEnvironmentVariableArrayOutput + ToClusterHealthStatusDetailArrayOutput() ClusterHealthStatusDetailArrayOutput + ToClusterHealthStatusDetailArrayOutputWithContext(context.Context) ClusterHealthStatusDetailArrayOutput } -type DeploymentEnvironmentVariableArray []DeploymentEnvironmentVariableInput +type ClusterHealthStatusDetailArray []ClusterHealthStatusDetailInput -func (DeploymentEnvironmentVariableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentEnvironmentVariable)(nil)).Elem() +func (ClusterHealthStatusDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterHealthStatusDetail)(nil)).Elem() } -func (i DeploymentEnvironmentVariableArray) ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput { - return i.ToDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) +func (i ClusterHealthStatusDetailArray) ToClusterHealthStatusDetailArrayOutput() ClusterHealthStatusDetailArrayOutput { + return i.ToClusterHealthStatusDetailArrayOutputWithContext(context.Background()) } -func (i DeploymentEnvironmentVariableArray) ToDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentEnvironmentVariableArrayOutput) +func (i ClusterHealthStatusDetailArray) ToClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) ClusterHealthStatusDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterHealthStatusDetailArrayOutput) } -type DeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } +type ClusterHealthStatusDetailOutput struct{ *pulumi.OutputState } -func (DeploymentEnvironmentVariableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentEnvironmentVariable)(nil)).Elem() +func (ClusterHealthStatusDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterHealthStatusDetail)(nil)).Elem() } -func (o DeploymentEnvironmentVariableOutput) ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput { +func (o ClusterHealthStatusDetailOutput) ToClusterHealthStatusDetailOutput() ClusterHealthStatusDetailOutput { return o } -func (o DeploymentEnvironmentVariableOutput) ToDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableOutput { +func (o ClusterHealthStatusDetailOutput) ToClusterHealthStatusDetailOutputWithContext(ctx context.Context) ClusterHealthStatusDetailOutput { return o } -// Whether Environment variable is a secret -func (o DeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) -} - -// Environment variable key -func (o DeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) +// Cluster health status detail code +func (o ClusterHealthStatusDetailOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterHealthStatusDetail) *string { return v.Code }).(pulumi.StringPtrOutput) } -// Environment variable last updated timestamp -func (o DeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentEnvironmentVariable) *string { return v.UpdatedAt }).(pulumi.StringPtrOutput) +// Cluster health status detail description +func (o ClusterHealthStatusDetailOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterHealthStatusDetail) *string { return v.Description }).(pulumi.StringPtrOutput) } -// Environment variable value -func (o DeploymentEnvironmentVariableOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentEnvironmentVariable) *string { return v.Value }).(pulumi.StringPtrOutput) +// Cluster health status detail severity +func (o ClusterHealthStatusDetailOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterHealthStatusDetail) *string { return v.Severity }).(pulumi.StringPtrOutput) } -type DeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } +type ClusterHealthStatusDetailArrayOutput struct{ *pulumi.OutputState } -func (DeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentEnvironmentVariable)(nil)).Elem() +func (ClusterHealthStatusDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterHealthStatusDetail)(nil)).Elem() } -func (o DeploymentEnvironmentVariableArrayOutput) ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput { +func (o ClusterHealthStatusDetailArrayOutput) ToClusterHealthStatusDetailArrayOutput() ClusterHealthStatusDetailArrayOutput { return o } -func (o DeploymentEnvironmentVariableArrayOutput) ToDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableArrayOutput { +func (o ClusterHealthStatusDetailArrayOutput) ToClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) ClusterHealthStatusDetailArrayOutput { return o } -func (o DeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) DeploymentEnvironmentVariableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentEnvironmentVariable { - return vs[0].([]DeploymentEnvironmentVariable)[vs[1].(int)] - }).(DeploymentEnvironmentVariableOutput) +func (o ClusterHealthStatusDetailArrayOutput) Index(i pulumi.IntInput) ClusterHealthStatusDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterHealthStatusDetail { + return vs[0].([]ClusterHealthStatusDetail)[vs[1].(int)] + }).(ClusterHealthStatusDetailOutput) } -type DeploymentScalingSpec struct { - // Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. - HibernationSpec DeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` +type ClusterMetadata struct { + // Cluster external IPs + ExternalIps []string `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp *string `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl *string `pulumi:"oidcIssuerUrl"` } -// DeploymentScalingSpecInput is an input type that accepts DeploymentScalingSpecArgs and DeploymentScalingSpecOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecInput` via: +// ClusterMetadataInput is an input type that accepts ClusterMetadataArgs and ClusterMetadataOutput values. +// You can construct a concrete instance of `ClusterMetadataInput` via: // -// DeploymentScalingSpecArgs{...} -type DeploymentScalingSpecInput interface { +// ClusterMetadataArgs{...} +type ClusterMetadataInput interface { pulumi.Input - ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput - ToDeploymentScalingSpecOutputWithContext(context.Context) DeploymentScalingSpecOutput + ToClusterMetadataOutput() ClusterMetadataOutput + ToClusterMetadataOutputWithContext(context.Context) ClusterMetadataOutput } -type DeploymentScalingSpecArgs struct { - // Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. - HibernationSpec DeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` +type ClusterMetadataArgs struct { + // Cluster external IPs + ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp pulumi.StringPtrInput `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl pulumi.StringPtrInput `pulumi:"oidcIssuerUrl"` } -func (DeploymentScalingSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpec)(nil)).Elem() +func (ClusterMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterMetadata)(nil)).Elem() } -func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput { - return i.ToDeploymentScalingSpecOutputWithContext(context.Background()) +func (i ClusterMetadataArgs) ToClusterMetadataOutput() ClusterMetadataOutput { + return i.ToClusterMetadataOutputWithContext(context.Background()) } -func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecOutput) +func (i ClusterMetadataArgs) ToClusterMetadataOutputWithContext(ctx context.Context) ClusterMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataOutput) } -func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { - return i.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) +func (i ClusterMetadataArgs) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { + return i.ToClusterMetadataPtrOutputWithContext(context.Background()) } -func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecOutput).ToDeploymentScalingSpecPtrOutputWithContext(ctx) +func (i ClusterMetadataArgs) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataOutput).ToClusterMetadataPtrOutputWithContext(ctx) } -// DeploymentScalingSpecPtrInput is an input type that accepts DeploymentScalingSpecArgs, DeploymentScalingSpecPtr and DeploymentScalingSpecPtrOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecPtrInput` via: +// ClusterMetadataPtrInput is an input type that accepts ClusterMetadataArgs, ClusterMetadataPtr and ClusterMetadataPtrOutput values. +// You can construct a concrete instance of `ClusterMetadataPtrInput` via: // -// DeploymentScalingSpecArgs{...} +// ClusterMetadataArgs{...} // // or: // // nil -type DeploymentScalingSpecPtrInput interface { +type ClusterMetadataPtrInput interface { pulumi.Input - ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput - ToDeploymentScalingSpecPtrOutputWithContext(context.Context) DeploymentScalingSpecPtrOutput + ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput + ToClusterMetadataPtrOutputWithContext(context.Context) ClusterMetadataPtrOutput } -type deploymentScalingSpecPtrType DeploymentScalingSpecArgs +type clusterMetadataPtrType ClusterMetadataArgs -func DeploymentScalingSpecPtr(v *DeploymentScalingSpecArgs) DeploymentScalingSpecPtrInput { - return (*deploymentScalingSpecPtrType)(v) +func ClusterMetadataPtr(v *ClusterMetadataArgs) ClusterMetadataPtrInput { + return (*clusterMetadataPtrType)(v) } -func (*deploymentScalingSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpec)(nil)).Elem() +func (*clusterMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterMetadata)(nil)).Elem() } -func (i *deploymentScalingSpecPtrType) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { - return i.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) +func (i *clusterMetadataPtrType) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { + return i.ToClusterMetadataPtrOutputWithContext(context.Background()) } -func (i *deploymentScalingSpecPtrType) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecPtrOutput) +func (i *clusterMetadataPtrType) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterMetadataPtrOutput) } -type DeploymentScalingSpecOutput struct{ *pulumi.OutputState } +type ClusterMetadataOutput struct{ *pulumi.OutputState } -func (DeploymentScalingSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpec)(nil)).Elem() +func (ClusterMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterMetadata)(nil)).Elem() } -func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput { +func (o ClusterMetadataOutput) ToClusterMetadataOutput() ClusterMetadataOutput { return o } -func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecOutput { +func (o ClusterMetadataOutput) ToClusterMetadataOutputWithContext(ctx context.Context) ClusterMetadataOutput { return o } -func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { - return o.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) +func (o ClusterMetadataOutput) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { + return o.ToClusterMetadataPtrOutputWithContext(context.Background()) } -func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpec) *DeploymentScalingSpec { +func (o ClusterMetadataOutput) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterMetadata) *ClusterMetadata { return &v - }).(DeploymentScalingSpecPtrOutput) + }).(ClusterMetadataPtrOutput) } -// Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. -func (o DeploymentScalingSpecOutput) HibernationSpec() DeploymentScalingSpecHibernationSpecOutput { - return o.ApplyT(func(v DeploymentScalingSpec) DeploymentScalingSpecHibernationSpec { return v.HibernationSpec }).(DeploymentScalingSpecHibernationSpecOutput) +// Cluster external IPs +func (o ClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) } -type DeploymentScalingSpecPtrOutput struct{ *pulumi.OutputState } +// Cluster kube DNS IP +func (o ClusterMetadataOutput) KubeDnsIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterMetadata) *string { return v.KubeDnsIp }).(pulumi.StringPtrOutput) +} -func (DeploymentScalingSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpec)(nil)).Elem() +// Cluster OIDC issuer URL +func (o ClusterMetadataOutput) OidcIssuerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterMetadata) *string { return v.OidcIssuerUrl }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecPtrOutput) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { +type ClusterMetadataPtrOutput struct{ *pulumi.OutputState } + +func (ClusterMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterMetadata)(nil)).Elem() +} + +func (o ClusterMetadataPtrOutput) ToClusterMetadataPtrOutput() ClusterMetadataPtrOutput { return o } -func (o DeploymentScalingSpecPtrOutput) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { +func (o ClusterMetadataPtrOutput) ToClusterMetadataPtrOutputWithContext(ctx context.Context) ClusterMetadataPtrOutput { return o } -func (o DeploymentScalingSpecPtrOutput) Elem() DeploymentScalingSpecOutput { - return o.ApplyT(func(v *DeploymentScalingSpec) DeploymentScalingSpec { +func (o ClusterMetadataPtrOutput) Elem() ClusterMetadataOutput { + return o.ApplyT(func(v *ClusterMetadata) ClusterMetadata { if v != nil { return *v } - var ret DeploymentScalingSpec + var ret ClusterMetadata return ret - }).(DeploymentScalingSpecOutput) + }).(ClusterMetadataOutput) } -// Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. -func (o DeploymentScalingSpecPtrOutput) HibernationSpec() DeploymentScalingSpecHibernationSpecPtrOutput { - return o.ApplyT(func(v *DeploymentScalingSpec) *DeploymentScalingSpecHibernationSpec { +// Cluster external IPs +func (o ClusterMetadataPtrOutput) ExternalIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterMetadata) []string { if v == nil { return nil } - return &v.HibernationSpec - }).(DeploymentScalingSpecHibernationSpecPtrOutput) + return v.ExternalIps + }).(pulumi.StringArrayOutput) } -type DeploymentScalingSpecHibernationSpec struct { - // Hibernation override configuration. Set to null to remove the override. - Override *DeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` - // List of hibernation schedules. Set to null to remove all schedules. - Schedules []DeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` +// Cluster kube DNS IP +func (o ClusterMetadataPtrOutput) KubeDnsIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterMetadata) *string { + if v == nil { + return nil + } + return v.KubeDnsIp + }).(pulumi.StringPtrOutput) } -// DeploymentScalingSpecHibernationSpecInput is an input type that accepts DeploymentScalingSpecHibernationSpecArgs and DeploymentScalingSpecHibernationSpecOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecInput` via: -// -// DeploymentScalingSpecHibernationSpecArgs{...} -type DeploymentScalingSpecHibernationSpecInput interface { - pulumi.Input - - ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput - ToDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOutput +// Cluster OIDC issuer URL +func (o ClusterMetadataPtrOutput) OidcIssuerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterMetadata) *string { + if v == nil { + return nil + } + return v.OidcIssuerUrl + }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecArgs struct { - // Hibernation override configuration. Set to null to remove the override. - Override DeploymentScalingSpecHibernationSpecOverridePtrInput `pulumi:"override"` - // List of hibernation schedules. Set to null to remove all schedules. - Schedules DeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` +type ClusterNodePool struct { + // Node pool cloud provider + CloudProvider *string `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId *string `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt *string `pulumi:"createdAt"` + // Node pool identifier + Id *string `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault *bool `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount *int `pulumi:"maxNodeCount"` + // Node pool name + Name *string `pulumi:"name"` + // Node pool node instance type + NodeInstanceType *string `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt *string `pulumi:"updatedAt"` } -func (DeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpec)(nil)).Elem() +// ClusterNodePoolInput is an input type that accepts ClusterNodePoolArgs and ClusterNodePoolOutput values. +// You can construct a concrete instance of `ClusterNodePoolInput` via: +// +// ClusterNodePoolArgs{...} +type ClusterNodePoolInput interface { + pulumi.Input + + ToClusterNodePoolOutput() ClusterNodePoolOutput + ToClusterNodePoolOutputWithContext(context.Context) ClusterNodePoolOutput } -func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput { - return i.ToDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) +type ClusterNodePoolArgs struct { + // Node pool cloud provider + CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // Node pool identifier + Id pulumi.StringPtrInput `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount pulumi.IntPtrInput `pulumi:"maxNodeCount"` + // Node pool name + Name pulumi.StringPtrInput `pulumi:"name"` + // Node pool node instance type + NodeInstanceType pulumi.StringPtrInput `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` } -func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOutput) +func (ClusterNodePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterNodePool)(nil)).Elem() } -func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { - return i.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) +func (i ClusterNodePoolArgs) ToClusterNodePoolOutput() ClusterNodePoolOutput { + return i.ToClusterNodePoolOutputWithContext(context.Background()) } -func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOutput).ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx) +func (i ClusterNodePoolArgs) ToClusterNodePoolOutputWithContext(ctx context.Context) ClusterNodePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterNodePoolOutput) } -// DeploymentScalingSpecHibernationSpecPtrInput is an input type that accepts DeploymentScalingSpecHibernationSpecArgs, DeploymentScalingSpecHibernationSpecPtr and DeploymentScalingSpecHibernationSpecPtrOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecPtrInput` via: -// -// DeploymentScalingSpecHibernationSpecArgs{...} -// -// or: +// ClusterNodePoolArrayInput is an input type that accepts ClusterNodePoolArray and ClusterNodePoolArrayOutput values. +// You can construct a concrete instance of `ClusterNodePoolArrayInput` via: // -// nil -type DeploymentScalingSpecHibernationSpecPtrInput interface { +// ClusterNodePoolArray{ ClusterNodePoolArgs{...} } +type ClusterNodePoolArrayInput interface { pulumi.Input - ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput - ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecPtrOutput + ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput + ToClusterNodePoolArrayOutputWithContext(context.Context) ClusterNodePoolArrayOutput } -type deploymentScalingSpecHibernationSpecPtrType DeploymentScalingSpecHibernationSpecArgs - -func DeploymentScalingSpecHibernationSpecPtr(v *DeploymentScalingSpecHibernationSpecArgs) DeploymentScalingSpecHibernationSpecPtrInput { - return (*deploymentScalingSpecHibernationSpecPtrType)(v) -} +type ClusterNodePoolArray []ClusterNodePoolInput -func (*deploymentScalingSpecHibernationSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpecHibernationSpec)(nil)).Elem() +func (ClusterNodePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterNodePool)(nil)).Elem() } -func (i *deploymentScalingSpecHibernationSpecPtrType) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { - return i.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) +func (i ClusterNodePoolArray) ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput { + return i.ToClusterNodePoolArrayOutputWithContext(context.Background()) } -func (i *deploymentScalingSpecHibernationSpecPtrType) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecPtrOutput) +func (i ClusterNodePoolArray) ToClusterNodePoolArrayOutputWithContext(ctx context.Context) ClusterNodePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterNodePoolArrayOutput) } -type DeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } +type ClusterNodePoolOutput struct{ *pulumi.OutputState } -func (DeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpec)(nil)).Elem() +func (ClusterNodePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterNodePool)(nil)).Elem() } -func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput { +func (o ClusterNodePoolOutput) ToClusterNodePoolOutput() ClusterNodePoolOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOutput { +func (o ClusterNodePoolOutput) ToClusterNodePoolOutputWithContext(ctx context.Context) ClusterNodePoolOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { - return o.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) +// Node pool cloud provider +func (o ClusterNodePoolOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.CloudProvider }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpec { - return &v - }).(DeploymentScalingSpecHibernationSpecPtrOutput) +// Node pool cluster identifier +func (o ClusterNodePoolOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -// Hibernation override configuration. Set to null to remove the override. -func (o DeploymentScalingSpecHibernationSpecOutput) Override() DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpecOverride { - return v.Override - }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) +// Node pool creation timestamp +func (o ClusterNodePoolOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) } -// List of hibernation schedules. Set to null to remove all schedules. -func (o DeploymentScalingSpecHibernationSpecOutput) Schedules() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpec) []DeploymentScalingSpecHibernationSpecSchedule { - return v.Schedules - }).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) +// Node pool identifier +func (o ClusterNodePoolOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.Id }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecPtrOutput struct{ *pulumi.OutputState } - -func (DeploymentScalingSpecHibernationSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpecHibernationSpec)(nil)).Elem() +// Whether the node pool is the default node pool of the cluster +func (o ClusterNodePoolOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecPtrOutput) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { - return o +// Node pool maximum node count +func (o ClusterNodePoolOutput) MaxNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecPtrOutput) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { - return o +// Node pool name +func (o ClusterNodePoolOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecPtrOutput) Elem() DeploymentScalingSpecHibernationSpecOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) DeploymentScalingSpecHibernationSpec { - if v != nil { - return *v - } - var ret DeploymentScalingSpecHibernationSpec - return ret - }).(DeploymentScalingSpecHibernationSpecOutput) +// Node pool node instance type +func (o ClusterNodePoolOutput) NodeInstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.NodeInstanceType }).(pulumi.StringPtrOutput) } -// Hibernation override configuration. Set to null to remove the override. -func (o DeploymentScalingSpecHibernationSpecPtrOutput) Override() DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpecOverride { - if v == nil { - return nil - } - return v.Override - }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) +// Node pool supported Astro machines +func (o ClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) } -// List of hibernation schedules. Set to null to remove all schedules. -func (o DeploymentScalingSpecHibernationSpecPtrOutput) Schedules() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) []DeploymentScalingSpecHibernationSpecSchedule { - if v == nil { - return nil - } - return v.Schedules - }).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) +// Node pool last updated timestamp +func (o ClusterNodePoolOutput) UpdatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterNodePool) *string { return v.UpdatedAt }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecOverride struct { - IsActive *bool `pulumi:"isActive"` - IsHibernating bool `pulumi:"isHibernating"` - OverrideUntil *string `pulumi:"overrideUntil"` -} +type ClusterNodePoolArrayOutput struct{ *pulumi.OutputState } -// DeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts DeploymentScalingSpecHibernationSpecOverrideArgs and DeploymentScalingSpecHibernationSpecOverrideOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecOverrideInput` via: -// -// DeploymentScalingSpecHibernationSpecOverrideArgs{...} -type DeploymentScalingSpecHibernationSpecOverrideInput interface { - pulumi.Input +func (ClusterNodePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterNodePool)(nil)).Elem() +} - ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput - ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput +func (o ClusterNodePoolArrayOutput) ToClusterNodePoolArrayOutput() ClusterNodePoolArrayOutput { + return o } -type DeploymentScalingSpecHibernationSpecOverrideArgs struct { - IsActive pulumi.BoolPtrInput `pulumi:"isActive"` - IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` - OverrideUntil pulumi.StringPtrInput `pulumi:"overrideUntil"` +func (o ClusterNodePoolArrayOutput) ToClusterNodePoolArrayOutputWithContext(ctx context.Context) ClusterNodePoolArrayOutput { + return o } -func (DeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (o ClusterNodePoolArrayOutput) Index(i pulumi.IntInput) ClusterNodePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterNodePool { + return vs[0].([]ClusterNodePool)[vs[1].(int)] + }).(ClusterNodePoolOutput) } -func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput { - return i.ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) +type ClusterTimeouts struct { + // 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). + Create *string `pulumi:"create"` + // 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. + Delete *string `pulumi:"delete"` + // 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). + Update *string `pulumi:"update"` } -func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverrideOutput) +// ClusterTimeoutsInput is an input type that accepts ClusterTimeoutsArgs and ClusterTimeoutsOutput values. +// You can construct a concrete instance of `ClusterTimeoutsInput` via: +// +// ClusterTimeoutsArgs{...} +type ClusterTimeoutsInput interface { + pulumi.Input + + ToClusterTimeoutsOutput() ClusterTimeoutsOutput + ToClusterTimeoutsOutputWithContext(context.Context) ClusterTimeoutsOutput } -func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return i.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) +type ClusterTimeoutsArgs struct { + // 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). + Create pulumi.StringPtrInput `pulumi:"create"` + // 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. + Delete pulumi.StringPtrInput `pulumi:"delete"` + // 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). + Update pulumi.StringPtrInput `pulumi:"update"` } -func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverrideOutput).ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx) +func (ClusterTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTimeouts)(nil)).Elem() } -// DeploymentScalingSpecHibernationSpecOverridePtrInput is an input type that accepts DeploymentScalingSpecHibernationSpecOverrideArgs, DeploymentScalingSpecHibernationSpecOverridePtr and DeploymentScalingSpecHibernationSpecOverridePtrOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecOverridePtrInput` via: +func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutput() ClusterTimeoutsOutput { + return i.ToClusterTimeoutsOutputWithContext(context.Background()) +} + +func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsOutput) +} + +func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { + return i.ToClusterTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsOutput).ToClusterTimeoutsPtrOutputWithContext(ctx) +} + +// ClusterTimeoutsPtrInput is an input type that accepts ClusterTimeoutsArgs, ClusterTimeoutsPtr and ClusterTimeoutsPtrOutput values. +// You can construct a concrete instance of `ClusterTimeoutsPtrInput` via: // -// DeploymentScalingSpecHibernationSpecOverrideArgs{...} +// ClusterTimeoutsArgs{...} // // or: // // nil -type DeploymentScalingSpecHibernationSpecOverridePtrInput interface { +type ClusterTimeoutsPtrInput interface { pulumi.Input - ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput - ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput + ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput + ToClusterTimeoutsPtrOutputWithContext(context.Context) ClusterTimeoutsPtrOutput } -type deploymentScalingSpecHibernationSpecOverridePtrType DeploymentScalingSpecHibernationSpecOverrideArgs +type clusterTimeoutsPtrType ClusterTimeoutsArgs -func DeploymentScalingSpecHibernationSpecOverridePtr(v *DeploymentScalingSpecHibernationSpecOverrideArgs) DeploymentScalingSpecHibernationSpecOverridePtrInput { - return (*deploymentScalingSpecHibernationSpecOverridePtrType)(v) +func ClusterTimeoutsPtr(v *ClusterTimeoutsArgs) ClusterTimeoutsPtrInput { + return (*clusterTimeoutsPtrType)(v) } -func (*deploymentScalingSpecHibernationSpecOverridePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (*clusterTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTimeouts)(nil)).Elem() } -func (i *deploymentScalingSpecHibernationSpecOverridePtrType) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return i.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) +func (i *clusterTimeoutsPtrType) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { + return i.ToClusterTimeoutsPtrOutputWithContext(context.Background()) } -func (i *deploymentScalingSpecHibernationSpecOverridePtrType) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) +func (i *clusterTimeoutsPtrType) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTimeoutsPtrOutput) } -type DeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } +type ClusterTimeoutsOutput struct{ *pulumi.OutputState } -func (DeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (ClusterTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTimeouts)(nil)).Elem() } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput { +func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutput() ClusterTimeoutsOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput { +func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return o.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) +func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { + return o.ToClusterTimeoutsPtrOutputWithContext(context.Background()) } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpecHibernationSpecOverride) *DeploymentScalingSpecHibernationSpecOverride { +func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTimeouts) *ClusterTimeouts { return &v - }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) + }).(ClusterTimeoutsPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) *bool { return v.IsActive }).(pulumi.BoolPtrOutput) +// 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). +func (o ClusterTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) +// 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. +func (o ClusterTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) *string { return v.OverrideUntil }).(pulumi.StringPtrOutput) +// 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). +func (o ClusterTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecOverridePtrOutput struct{ *pulumi.OutputState } +type ClusterTimeoutsPtrOutput struct{ *pulumi.OutputState } -func (DeploymentScalingSpecHibernationSpecOverridePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (ClusterTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTimeouts)(nil)).Elem() } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { +func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { +func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput { return o } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) Elem() DeploymentScalingSpecHibernationSpecOverrideOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) DeploymentScalingSpecHibernationSpecOverride { +func (o ClusterTimeoutsPtrOutput) Elem() ClusterTimeoutsOutput { + return o.ApplyT(func(v *ClusterTimeouts) ClusterTimeouts { if v != nil { return *v } - var ret DeploymentScalingSpecHibernationSpecOverride + var ret ClusterTimeouts return ret - }).(DeploymentScalingSpecHibernationSpecOverrideOutput) + }).(ClusterTimeoutsOutput) } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) IsActive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *bool { +// 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). +func (o ClusterTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTimeouts) *string { if v == nil { return nil } - return v.IsActive - }).(pulumi.BoolPtrOutput) + return v.Create + }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) IsHibernating() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *bool { +// 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. +func (o ClusterTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTimeouts) *string { if v == nil { return nil } - return &v.IsHibernating - }).(pulumi.BoolPtrOutput) + return v.Delete + }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) OverrideUntil() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *string { +// 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). +func (o ClusterTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTimeouts) *string { if v == nil { return nil } - return v.OverrideUntil + return v.Update }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecSchedule struct { - Description *string `pulumi:"description"` - HibernateAtCron string `pulumi:"hibernateAtCron"` - IsEnabled bool `pulumi:"isEnabled"` - WakeAtCron string `pulumi:"wakeAtCron"` +type DeploymentCreatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// DeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts DeploymentScalingSpecHibernationSpecScheduleArgs and DeploymentScalingSpecHibernationSpecScheduleOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecScheduleInput` via: +// DeploymentCreatedByInput is an input type that accepts DeploymentCreatedByArgs and DeploymentCreatedByOutput values. +// You can construct a concrete instance of `DeploymentCreatedByInput` via: // -// DeploymentScalingSpecHibernationSpecScheduleArgs{...} -type DeploymentScalingSpecHibernationSpecScheduleInput interface { +// DeploymentCreatedByArgs{...} +type DeploymentCreatedByInput interface { pulumi.Input - ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput - ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput + ToDeploymentCreatedByOutput() DeploymentCreatedByOutput + ToDeploymentCreatedByOutputWithContext(context.Context) DeploymentCreatedByOutput } -type DeploymentScalingSpecHibernationSpecScheduleArgs struct { - Description pulumi.StringPtrInput `pulumi:"description"` - HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` - WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` +type DeploymentCreatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (DeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (DeploymentCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentCreatedBy)(nil)).Elem() } -func (i DeploymentScalingSpecHibernationSpecScheduleArgs) ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput { - return i.ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) +func (i DeploymentCreatedByArgs) ToDeploymentCreatedByOutput() DeploymentCreatedByOutput { + return i.ToDeploymentCreatedByOutputWithContext(context.Background()) } -func (i DeploymentScalingSpecHibernationSpecScheduleArgs) ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecScheduleOutput) +func (i DeploymentCreatedByArgs) ToDeploymentCreatedByOutputWithContext(ctx context.Context) DeploymentCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByOutput) } -// DeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts DeploymentScalingSpecHibernationSpecScheduleArray and DeploymentScalingSpecHibernationSpecScheduleArrayOutput values. -// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecScheduleArrayInput` via: +func (i DeploymentCreatedByArgs) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { + return i.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) +} + +func (i DeploymentCreatedByArgs) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByOutput).ToDeploymentCreatedByPtrOutputWithContext(ctx) +} + +// DeploymentCreatedByPtrInput is an input type that accepts DeploymentCreatedByArgs, DeploymentCreatedByPtr and DeploymentCreatedByPtrOutput values. +// You can construct a concrete instance of `DeploymentCreatedByPtrInput` via: // -// DeploymentScalingSpecHibernationSpecScheduleArray{ DeploymentScalingSpecHibernationSpecScheduleArgs{...} } -type DeploymentScalingSpecHibernationSpecScheduleArrayInput interface { +// DeploymentCreatedByArgs{...} +// +// or: +// +// nil +type DeploymentCreatedByPtrInput interface { pulumi.Input - ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput - ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput + ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput + ToDeploymentCreatedByPtrOutputWithContext(context.Context) DeploymentCreatedByPtrOutput } -type DeploymentScalingSpecHibernationSpecScheduleArray []DeploymentScalingSpecHibernationSpecScheduleInput +type deploymentCreatedByPtrType DeploymentCreatedByArgs -func (DeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func DeploymentCreatedByPtr(v *DeploymentCreatedByArgs) DeploymentCreatedByPtrInput { + return (*deploymentCreatedByPtrType)(v) } -func (i DeploymentScalingSpecHibernationSpecScheduleArray) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return i.ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) +func (*deploymentCreatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentCreatedBy)(nil)).Elem() } -func (i DeploymentScalingSpecHibernationSpecScheduleArray) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) +func (i *deploymentCreatedByPtrType) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { + return i.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) } -type DeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } +func (i *deploymentCreatedByPtrType) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentCreatedByPtrOutput) +} -func (DeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +type DeploymentCreatedByOutput struct{ *pulumi.OutputState } + +func (DeploymentCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentCreatedBy)(nil)).Elem() } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput { +func (o DeploymentCreatedByOutput) ToDeploymentCreatedByOutput() DeploymentCreatedByOutput { return o } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput { +func (o DeploymentCreatedByOutput) ToDeploymentCreatedByOutputWithContext(ctx context.Context) DeploymentCreatedByOutput { return o } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o DeploymentCreatedByOutput) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { + return o.ToDeploymentCreatedByPtrOutputWithContext(context.Background()) } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) +func (o DeploymentCreatedByOutput) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentCreatedBy) *DeploymentCreatedBy { + return &v + }).(DeploymentCreatedByPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) +func (o DeploymentCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) +func (o DeploymentCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -type DeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } - -func (DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (o DeploymentCreatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o +func (o DeploymentCreatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o +func (o DeploymentCreatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) DeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentScalingSpecHibernationSpecSchedule { - return vs[0].([]DeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] - }).(DeploymentScalingSpecHibernationSpecScheduleOutput) +func (o DeploymentCreatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -type DeploymentScalingStatus struct { - HibernationStatus *DeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` +type DeploymentCreatedByPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentCreatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentCreatedBy)(nil)).Elem() } -// DeploymentScalingStatusInput is an input type that accepts DeploymentScalingStatusArgs and DeploymentScalingStatusOutput values. -// You can construct a concrete instance of `DeploymentScalingStatusInput` via: -// -// DeploymentScalingStatusArgs{...} -type DeploymentScalingStatusInput interface { - pulumi.Input +func (o DeploymentCreatedByPtrOutput) ToDeploymentCreatedByPtrOutput() DeploymentCreatedByPtrOutput { + return o +} - ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput - ToDeploymentScalingStatusOutputWithContext(context.Context) DeploymentScalingStatusOutput +func (o DeploymentCreatedByPtrOutput) ToDeploymentCreatedByPtrOutputWithContext(ctx context.Context) DeploymentCreatedByPtrOutput { + return o } -type DeploymentScalingStatusArgs struct { - HibernationStatus DeploymentScalingStatusHibernationStatusPtrInput `pulumi:"hibernationStatus"` +func (o DeploymentCreatedByPtrOutput) Elem() DeploymentCreatedByOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) DeploymentCreatedBy { + if v != nil { + return *v + } + var ret DeploymentCreatedBy + return ret + }).(DeploymentCreatedByOutput) } -func (DeploymentScalingStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingStatus)(nil)).Elem() +func (o DeploymentCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput { - return i.ToDeploymentScalingStatusOutputWithContext(context.Background()) +func (o DeploymentCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusOutput) +func (o DeploymentCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { - return i.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) +func (o DeploymentCreatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusOutput).ToDeploymentScalingStatusPtrOutputWithContext(ctx) +func (o DeploymentCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -// DeploymentScalingStatusPtrInput is an input type that accepts DeploymentScalingStatusArgs, DeploymentScalingStatusPtr and DeploymentScalingStatusPtrOutput values. -// You can construct a concrete instance of `DeploymentScalingStatusPtrInput` via: -// -// DeploymentScalingStatusArgs{...} -// -// or: -// -// nil -type DeploymentScalingStatusPtrInput interface { - pulumi.Input +func (o DeploymentCreatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentCreatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} - ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput - ToDeploymentScalingStatusPtrOutputWithContext(context.Context) DeploymentScalingStatusPtrOutput +type DeploymentEnvironmentVariable struct { + // Whether Environment variable is a secret + IsSecret bool `pulumi:"isSecret"` + // Environment variable key + Key string `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt *string `pulumi:"updatedAt"` + // Environment variable value + Value *string `pulumi:"value"` } -type deploymentScalingStatusPtrType DeploymentScalingStatusArgs +// DeploymentEnvironmentVariableInput is an input type that accepts DeploymentEnvironmentVariableArgs and DeploymentEnvironmentVariableOutput values. +// You can construct a concrete instance of `DeploymentEnvironmentVariableInput` via: +// +// DeploymentEnvironmentVariableArgs{...} +type DeploymentEnvironmentVariableInput interface { + pulumi.Input -func DeploymentScalingStatusPtr(v *DeploymentScalingStatusArgs) DeploymentScalingStatusPtrInput { - return (*deploymentScalingStatusPtrType)(v) + ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput + ToDeploymentEnvironmentVariableOutputWithContext(context.Context) DeploymentEnvironmentVariableOutput } -func (*deploymentScalingStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingStatus)(nil)).Elem() +type DeploymentEnvironmentVariableArgs struct { + // Whether Environment variable is a secret + IsSecret pulumi.BoolInput `pulumi:"isSecret"` + // Environment variable key + Key pulumi.StringInput `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` + // Environment variable value + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i *deploymentScalingStatusPtrType) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { - return i.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) +func (DeploymentEnvironmentVariableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentEnvironmentVariable)(nil)).Elem() } -func (i *deploymentScalingStatusPtrType) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusPtrOutput) +func (i DeploymentEnvironmentVariableArgs) ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput { + return i.ToDeploymentEnvironmentVariableOutputWithContext(context.Background()) } -type DeploymentScalingStatusOutput struct{ *pulumi.OutputState } - -func (DeploymentScalingStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingStatus)(nil)).Elem() +func (i DeploymentEnvironmentVariableArgs) ToDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentEnvironmentVariableOutput) } -func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput { - return o -} +// DeploymentEnvironmentVariableArrayInput is an input type that accepts DeploymentEnvironmentVariableArray and DeploymentEnvironmentVariableArrayOutput values. +// You can construct a concrete instance of `DeploymentEnvironmentVariableArrayInput` via: +// +// DeploymentEnvironmentVariableArray{ DeploymentEnvironmentVariableArgs{...} } +type DeploymentEnvironmentVariableArrayInput interface { + pulumi.Input -func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusOutput { - return o + ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput + ToDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) DeploymentEnvironmentVariableArrayOutput } -func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { - return o.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) +type DeploymentEnvironmentVariableArray []DeploymentEnvironmentVariableInput + +func (DeploymentEnvironmentVariableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentEnvironmentVariable)(nil)).Elem() } -func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingStatus) *DeploymentScalingStatus { - return &v - }).(DeploymentScalingStatusPtrOutput) +func (i DeploymentEnvironmentVariableArray) ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput { + return i.ToDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) } -func (o DeploymentScalingStatusOutput) HibernationStatus() DeploymentScalingStatusHibernationStatusPtrOutput { - return o.ApplyT(func(v DeploymentScalingStatus) *DeploymentScalingStatusHibernationStatus { return v.HibernationStatus }).(DeploymentScalingStatusHibernationStatusPtrOutput) +func (i DeploymentEnvironmentVariableArray) ToDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentEnvironmentVariableArrayOutput) } -type DeploymentScalingStatusPtrOutput struct{ *pulumi.OutputState } +type DeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } -func (DeploymentScalingStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingStatus)(nil)).Elem() +func (DeploymentEnvironmentVariableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentEnvironmentVariable)(nil)).Elem() } -func (o DeploymentScalingStatusPtrOutput) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { +func (o DeploymentEnvironmentVariableOutput) ToDeploymentEnvironmentVariableOutput() DeploymentEnvironmentVariableOutput { return o } -func (o DeploymentScalingStatusPtrOutput) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { +func (o DeploymentEnvironmentVariableOutput) ToDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableOutput { return o } -func (o DeploymentScalingStatusPtrOutput) Elem() DeploymentScalingStatusOutput { - return o.ApplyT(func(v *DeploymentScalingStatus) DeploymentScalingStatus { - if v != nil { - return *v - } - var ret DeploymentScalingStatus - return ret - }).(DeploymentScalingStatusOutput) +// Whether Environment variable is a secret +func (o DeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) } -func (o DeploymentScalingStatusPtrOutput) HibernationStatus() DeploymentScalingStatusHibernationStatusPtrOutput { - return o.ApplyT(func(v *DeploymentScalingStatus) *DeploymentScalingStatusHibernationStatus { - if v == nil { - return nil - } - return v.HibernationStatus - }).(DeploymentScalingStatusHibernationStatusPtrOutput) +// Environment variable key +func (o DeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) } -type DeploymentScalingStatusHibernationStatus struct { - IsHibernating *bool `pulumi:"isHibernating"` - NextEventAt *string `pulumi:"nextEventAt"` - NextEventType *string `pulumi:"nextEventType"` - Reason *string `pulumi:"reason"` +// Environment variable last updated timestamp +func (o DeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentEnvironmentVariable) *string { return v.UpdatedAt }).(pulumi.StringPtrOutput) } -// DeploymentScalingStatusHibernationStatusInput is an input type that accepts DeploymentScalingStatusHibernationStatusArgs and DeploymentScalingStatusHibernationStatusOutput values. -// You can construct a concrete instance of `DeploymentScalingStatusHibernationStatusInput` via: -// -// DeploymentScalingStatusHibernationStatusArgs{...} -type DeploymentScalingStatusHibernationStatusInput interface { - pulumi.Input - - ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput - ToDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) DeploymentScalingStatusHibernationStatusOutput +// Environment variable value +func (o DeploymentEnvironmentVariableOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentEnvironmentVariable) *string { return v.Value }).(pulumi.StringPtrOutput) } -type DeploymentScalingStatusHibernationStatusArgs struct { - IsHibernating pulumi.BoolPtrInput `pulumi:"isHibernating"` - NextEventAt pulumi.StringPtrInput `pulumi:"nextEventAt"` - NextEventType pulumi.StringPtrInput `pulumi:"nextEventType"` - Reason pulumi.StringPtrInput `pulumi:"reason"` -} +type DeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } -func (DeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (DeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentEnvironmentVariable)(nil)).Elem() } -func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput { - return i.ToDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) +func (o DeploymentEnvironmentVariableArrayOutput) ToDeploymentEnvironmentVariableArrayOutput() DeploymentEnvironmentVariableArrayOutput { + return o } -func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusOutput) +func (o DeploymentEnvironmentVariableArrayOutput) ToDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) DeploymentEnvironmentVariableArrayOutput { + return o } -func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { - return i.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) +func (o DeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) DeploymentEnvironmentVariableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentEnvironmentVariable { + return vs[0].([]DeploymentEnvironmentVariable)[vs[1].(int)] + }).(DeploymentEnvironmentVariableOutput) } -func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusOutput).ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx) +type DeploymentScalingSpec struct { + // Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. + HibernationSpec DeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` } -// DeploymentScalingStatusHibernationStatusPtrInput is an input type that accepts DeploymentScalingStatusHibernationStatusArgs, DeploymentScalingStatusHibernationStatusPtr and DeploymentScalingStatusHibernationStatusPtrOutput values. -// You can construct a concrete instance of `DeploymentScalingStatusHibernationStatusPtrInput` via: +// DeploymentScalingSpecInput is an input type that accepts DeploymentScalingSpecArgs and DeploymentScalingSpecOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecInput` via: // -// DeploymentScalingStatusHibernationStatusArgs{...} +// DeploymentScalingSpecArgs{...} +type DeploymentScalingSpecInput interface { + pulumi.Input + + ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput + ToDeploymentScalingSpecOutputWithContext(context.Context) DeploymentScalingSpecOutput +} + +type DeploymentScalingSpecArgs struct { + // Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. + HibernationSpec DeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` +} + +func (DeploymentScalingSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpec)(nil)).Elem() +} + +func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput { + return i.ToDeploymentScalingSpecOutputWithContext(context.Background()) +} + +func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecOutput) +} + +func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { + return i.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) +} + +func (i DeploymentScalingSpecArgs) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecOutput).ToDeploymentScalingSpecPtrOutputWithContext(ctx) +} + +// DeploymentScalingSpecPtrInput is an input type that accepts DeploymentScalingSpecArgs, DeploymentScalingSpecPtr and DeploymentScalingSpecPtrOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecPtrInput` via: +// +// DeploymentScalingSpecArgs{...} // // or: // // nil -type DeploymentScalingStatusHibernationStatusPtrInput interface { +type DeploymentScalingSpecPtrInput interface { pulumi.Input - ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput - ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Context) DeploymentScalingStatusHibernationStatusPtrOutput + ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput + ToDeploymentScalingSpecPtrOutputWithContext(context.Context) DeploymentScalingSpecPtrOutput } -type deploymentScalingStatusHibernationStatusPtrType DeploymentScalingStatusHibernationStatusArgs +type deploymentScalingSpecPtrType DeploymentScalingSpecArgs -func DeploymentScalingStatusHibernationStatusPtr(v *DeploymentScalingStatusHibernationStatusArgs) DeploymentScalingStatusHibernationStatusPtrInput { - return (*deploymentScalingStatusHibernationStatusPtrType)(v) +func DeploymentScalingSpecPtr(v *DeploymentScalingSpecArgs) DeploymentScalingSpecPtrInput { + return (*deploymentScalingSpecPtrType)(v) } -func (*deploymentScalingStatusHibernationStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (*deploymentScalingSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpec)(nil)).Elem() } -func (i *deploymentScalingStatusHibernationStatusPtrType) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { - return i.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) +func (i *deploymentScalingSpecPtrType) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { + return i.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) } -func (i *deploymentScalingStatusHibernationStatusPtrType) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusPtrOutput) +func (i *deploymentScalingSpecPtrType) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecPtrOutput) } -type DeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } +type DeploymentScalingSpecOutput struct{ *pulumi.OutputState } -func (DeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (DeploymentScalingSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpec)(nil)).Elem() } -func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput { +func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecOutput() DeploymentScalingSpecOutput { return o } -func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusOutput { +func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecOutput { return o } -func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { - return o.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) +func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { + return o.ToDeploymentScalingSpecPtrOutputWithContext(context.Background()) } -func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingStatusHibernationStatus) *DeploymentScalingStatusHibernationStatus { +func (o DeploymentScalingSpecOutput) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpec) *DeploymentScalingSpec { return &v - }).(DeploymentScalingStatusHibernationStatusPtrOutput) -} - -func (o DeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *bool { return v.IsHibernating }).(pulumi.BoolPtrOutput) -} - -func (o DeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.NextEventAt }).(pulumi.StringPtrOutput) -} - -func (o DeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.NextEventType }).(pulumi.StringPtrOutput) + }).(DeploymentScalingSpecPtrOutput) } -func (o DeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.Reason }).(pulumi.StringPtrOutput) +// Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. +func (o DeploymentScalingSpecOutput) HibernationSpec() DeploymentScalingSpecHibernationSpecOutput { + return o.ApplyT(func(v DeploymentScalingSpec) DeploymentScalingSpecHibernationSpec { return v.HibernationSpec }).(DeploymentScalingSpecHibernationSpecOutput) } -type DeploymentScalingStatusHibernationStatusPtrOutput struct{ *pulumi.OutputState } +type DeploymentScalingSpecPtrOutput struct{ *pulumi.OutputState } -func (DeploymentScalingStatusHibernationStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (DeploymentScalingSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpec)(nil)).Elem() } -func (o DeploymentScalingStatusHibernationStatusPtrOutput) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { +func (o DeploymentScalingSpecPtrOutput) ToDeploymentScalingSpecPtrOutput() DeploymentScalingSpecPtrOutput { return o } -func (o DeploymentScalingStatusHibernationStatusPtrOutput) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { +func (o DeploymentScalingSpecPtrOutput) ToDeploymentScalingSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecPtrOutput { return o } -func (o DeploymentScalingStatusHibernationStatusPtrOutput) Elem() DeploymentScalingStatusHibernationStatusOutput { - return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) DeploymentScalingStatusHibernationStatus { +func (o DeploymentScalingSpecPtrOutput) Elem() DeploymentScalingSpecOutput { + return o.ApplyT(func(v *DeploymentScalingSpec) DeploymentScalingSpec { if v != nil { return *v } - var ret DeploymentScalingStatusHibernationStatus + var ret DeploymentScalingSpec return ret - }).(DeploymentScalingStatusHibernationStatusOutput) -} - -func (o DeploymentScalingStatusHibernationStatusPtrOutput) IsHibernating() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *bool { - if v == nil { - return nil - } - return v.IsHibernating - }).(pulumi.BoolPtrOutput) -} - -func (o DeploymentScalingStatusHibernationStatusPtrOutput) NextEventAt() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { - if v == nil { - return nil - } - return v.NextEventAt - }).(pulumi.StringPtrOutput) -} - -func (o DeploymentScalingStatusHibernationStatusPtrOutput) NextEventType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { - if v == nil { - return nil - } - return v.NextEventType - }).(pulumi.StringPtrOutput) + }).(DeploymentScalingSpecOutput) } -func (o DeploymentScalingStatusHibernationStatusPtrOutput) Reason() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { +// Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null. +func (o DeploymentScalingSpecPtrOutput) HibernationSpec() DeploymentScalingSpecHibernationSpecPtrOutput { + return o.ApplyT(func(v *DeploymentScalingSpec) *DeploymentScalingSpecHibernationSpec { if v == nil { return nil } - return v.Reason - }).(pulumi.StringPtrOutput) + return &v.HibernationSpec + }).(DeploymentScalingSpecHibernationSpecPtrOutput) } -type DeploymentUpdatedBy struct { - ApiTokenName *string `pulumi:"apiTokenName"` - AvatarUrl *string `pulumi:"avatarUrl"` - FullName *string `pulumi:"fullName"` - Id *string `pulumi:"id"` - SubjectType *string `pulumi:"subjectType"` - Username *string `pulumi:"username"` +type DeploymentScalingSpecHibernationSpec struct { + // Hibernation override configuration. Set to null to remove the override. + Override *DeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` + // List of hibernation schedules. Set to null to remove all schedules. + Schedules []DeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` } -// DeploymentUpdatedByInput is an input type that accepts DeploymentUpdatedByArgs and DeploymentUpdatedByOutput values. -// You can construct a concrete instance of `DeploymentUpdatedByInput` via: +// DeploymentScalingSpecHibernationSpecInput is an input type that accepts DeploymentScalingSpecHibernationSpecArgs and DeploymentScalingSpecHibernationSpecOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecInput` via: // -// DeploymentUpdatedByArgs{...} -type DeploymentUpdatedByInput interface { +// DeploymentScalingSpecHibernationSpecArgs{...} +type DeploymentScalingSpecHibernationSpecInput interface { pulumi.Input - ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput - ToDeploymentUpdatedByOutputWithContext(context.Context) DeploymentUpdatedByOutput + ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput + ToDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOutput } -type DeploymentUpdatedByArgs struct { - ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` - FullName pulumi.StringPtrInput `pulumi:"fullName"` - Id pulumi.StringPtrInput `pulumi:"id"` - SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` - Username pulumi.StringPtrInput `pulumi:"username"` +type DeploymentScalingSpecHibernationSpecArgs struct { + // Hibernation override configuration. Set to null to remove the override. + Override DeploymentScalingSpecHibernationSpecOverridePtrInput `pulumi:"override"` + // List of hibernation schedules. Set to null to remove all schedules. + Schedules DeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` } -func (DeploymentUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentUpdatedBy)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput { - return i.ToDeploymentUpdatedByOutputWithContext(context.Background()) +func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput { + return i.ToDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) } -func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByOutputWithContext(ctx context.Context) DeploymentUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByOutput) +func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOutput) } -func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { - return i.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) +func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { + return i.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) } -func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByOutput).ToDeploymentUpdatedByPtrOutputWithContext(ctx) +func (i DeploymentScalingSpecHibernationSpecArgs) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOutput).ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx) } -// DeploymentUpdatedByPtrInput is an input type that accepts DeploymentUpdatedByArgs, DeploymentUpdatedByPtr and DeploymentUpdatedByPtrOutput values. -// You can construct a concrete instance of `DeploymentUpdatedByPtrInput` via: +// DeploymentScalingSpecHibernationSpecPtrInput is an input type that accepts DeploymentScalingSpecHibernationSpecArgs, DeploymentScalingSpecHibernationSpecPtr and DeploymentScalingSpecHibernationSpecPtrOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecPtrInput` via: // -// DeploymentUpdatedByArgs{...} +// DeploymentScalingSpecHibernationSpecArgs{...} // // or: // // nil -type DeploymentUpdatedByPtrInput interface { +type DeploymentScalingSpecHibernationSpecPtrInput interface { pulumi.Input - ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput - ToDeploymentUpdatedByPtrOutputWithContext(context.Context) DeploymentUpdatedByPtrOutput + ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput + ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecPtrOutput } -type deploymentUpdatedByPtrType DeploymentUpdatedByArgs +type deploymentScalingSpecHibernationSpecPtrType DeploymentScalingSpecHibernationSpecArgs -func DeploymentUpdatedByPtr(v *DeploymentUpdatedByArgs) DeploymentUpdatedByPtrInput { - return (*deploymentUpdatedByPtrType)(v) +func DeploymentScalingSpecHibernationSpecPtr(v *DeploymentScalingSpecHibernationSpecArgs) DeploymentScalingSpecHibernationSpecPtrInput { + return (*deploymentScalingSpecHibernationSpecPtrType)(v) } -func (*deploymentUpdatedByPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentUpdatedBy)(nil)).Elem() +func (*deploymentScalingSpecHibernationSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (i *deploymentUpdatedByPtrType) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { - return i.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) +func (i *deploymentScalingSpecHibernationSpecPtrType) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { + return i.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) } -func (i *deploymentUpdatedByPtrType) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByPtrOutput) +func (i *deploymentScalingSpecHibernationSpecPtrType) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecPtrOutput) } -type DeploymentUpdatedByOutput struct{ *pulumi.OutputState } +type DeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } -func (DeploymentUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentUpdatedBy)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput { +func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecOutput() DeploymentScalingSpecHibernationSpecOutput { return o } -func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByOutputWithContext(ctx context.Context) DeploymentUpdatedByOutput { +func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOutput { return o } -func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { - return o.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) +func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { + return o.ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(context.Background()) } -func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentUpdatedBy) *DeploymentUpdatedBy { +func (o DeploymentScalingSpecHibernationSpecOutput) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpec { return &v - }).(DeploymentUpdatedByPtrOutput) -} - -func (o DeploymentUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) -} - -func (o DeploymentUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) -} - -func (o DeploymentUpdatedByOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) -} - -func (o DeploymentUpdatedByOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) + }).(DeploymentScalingSpecHibernationSpecPtrOutput) } -func (o DeploymentUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) +// Hibernation override configuration. Set to null to remove the override. +func (o DeploymentScalingSpecHibernationSpecOutput) Override() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpecOverride { + return v.Override + }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) } -func (o DeploymentUpdatedByOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +// List of hibernation schedules. Set to null to remove all schedules. +func (o DeploymentScalingSpecHibernationSpecOutput) Schedules() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpec) []DeploymentScalingSpecHibernationSpecSchedule { + return v.Schedules + }).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) } -type DeploymentUpdatedByPtrOutput struct{ *pulumi.OutputState } +type DeploymentScalingSpecHibernationSpecPtrOutput struct{ *pulumi.OutputState } -func (DeploymentUpdatedByPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DeploymentUpdatedBy)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (o DeploymentUpdatedByPtrOutput) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { +func (o DeploymentScalingSpecHibernationSpecPtrOutput) ToDeploymentScalingSpecHibernationSpecPtrOutput() DeploymentScalingSpecHibernationSpecPtrOutput { return o } -func (o DeploymentUpdatedByPtrOutput) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { +func (o DeploymentScalingSpecHibernationSpecPtrOutput) ToDeploymentScalingSpecHibernationSpecPtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecPtrOutput { return o } -func (o DeploymentUpdatedByPtrOutput) Elem() DeploymentUpdatedByOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) DeploymentUpdatedBy { +func (o DeploymentScalingSpecHibernationSpecPtrOutput) Elem() DeploymentScalingSpecHibernationSpecOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) DeploymentScalingSpecHibernationSpec { if v != nil { return *v } - var ret DeploymentUpdatedBy + var ret DeploymentScalingSpecHibernationSpec return ret - }).(DeploymentUpdatedByOutput) -} - -func (o DeploymentUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { - if v == nil { - return nil - } - return v.ApiTokenName - }).(pulumi.StringPtrOutput) + }).(DeploymentScalingSpecHibernationSpecOutput) } -func (o DeploymentUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { +// Hibernation override configuration. Set to null to remove the override. +func (o DeploymentScalingSpecHibernationSpecPtrOutput) Override() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) *DeploymentScalingSpecHibernationSpecOverride { if v == nil { return nil } - return v.AvatarUrl - }).(pulumi.StringPtrOutput) + return v.Override + }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) } -func (o DeploymentUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { +// List of hibernation schedules. Set to null to remove all schedules. +func (o DeploymentScalingSpecHibernationSpecPtrOutput) Schedules() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpec) []DeploymentScalingSpecHibernationSpecSchedule { if v == nil { return nil } - return v.FullName - }).(pulumi.StringPtrOutput) + return v.Schedules + }).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) } -func (o DeploymentUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) +type DeploymentScalingSpecHibernationSpecOverride struct { + IsActive *bool `pulumi:"isActive"` + IsHibernating bool `pulumi:"isHibernating"` + OverrideUntil *string `pulumi:"overrideUntil"` } -func (o DeploymentUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { - if v == nil { - return nil - } - return v.SubjectType - }).(pulumi.StringPtrOutput) -} +// DeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts DeploymentScalingSpecHibernationSpecOverrideArgs and DeploymentScalingSpecHibernationSpecOverrideOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecOverrideInput` via: +// +// DeploymentScalingSpecHibernationSpecOverrideArgs{...} +type DeploymentScalingSpecHibernationSpecOverrideInput interface { + pulumi.Input -func (o DeploymentUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentUpdatedBy) *string { - if v == nil { - return nil - } - return v.Username - }).(pulumi.StringPtrOutput) + ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput + ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput } -type DeploymentWorkerQueue struct { - // Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments - AstroMachine *string `pulumi:"astroMachine"` - // Worker queue default - IsDefault bool `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount int `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount int `pulumi:"minWorkerCount"` - // Worker queue name - Name string `pulumi:"name"` - // Worker queue Node pool identifier - required for 'HYBRID' deployments - NodePoolId *string `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu *string `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory *string `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency int `pulumi:"workerConcurrency"` +type DeploymentScalingSpecHibernationSpecOverrideArgs struct { + IsActive pulumi.BoolPtrInput `pulumi:"isActive"` + IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` + OverrideUntil pulumi.StringPtrInput `pulumi:"overrideUntil"` } -// DeploymentWorkerQueueInput is an input type that accepts DeploymentWorkerQueueArgs and DeploymentWorkerQueueOutput values. -// You can construct a concrete instance of `DeploymentWorkerQueueInput` via: -// -// DeploymentWorkerQueueArgs{...} -type DeploymentWorkerQueueInput interface { - pulumi.Input - - ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput - ToDeploymentWorkerQueueOutputWithContext(context.Context) DeploymentWorkerQueueOutput +func (DeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -type DeploymentWorkerQueueArgs struct { - // Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments - AstroMachine pulumi.StringPtrInput `pulumi:"astroMachine"` - // Worker queue default - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` - // Worker queue name - Name pulumi.StringInput `pulumi:"name"` - // Worker queue Node pool identifier - required for 'HYBRID' deployments - NodePoolId pulumi.StringPtrInput `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu pulumi.StringPtrInput `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory pulumi.StringPtrInput `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` +func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput { + return i.ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) } -func (DeploymentWorkerQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentWorkerQueue)(nil)).Elem() +func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverrideOutput) } -func (i DeploymentWorkerQueueArgs) ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput { - return i.ToDeploymentWorkerQueueOutputWithContext(context.Background()) +func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return i.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) } -func (i DeploymentWorkerQueueArgs) ToDeploymentWorkerQueueOutputWithContext(ctx context.Context) DeploymentWorkerQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentWorkerQueueOutput) +func (i DeploymentScalingSpecHibernationSpecOverrideArgs) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverrideOutput).ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx) } -// DeploymentWorkerQueueArrayInput is an input type that accepts DeploymentWorkerQueueArray and DeploymentWorkerQueueArrayOutput values. -// You can construct a concrete instance of `DeploymentWorkerQueueArrayInput` via: +// DeploymentScalingSpecHibernationSpecOverridePtrInput is an input type that accepts DeploymentScalingSpecHibernationSpecOverrideArgs, DeploymentScalingSpecHibernationSpecOverridePtr and DeploymentScalingSpecHibernationSpecOverridePtrOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecOverridePtrInput` via: // -// DeploymentWorkerQueueArray{ DeploymentWorkerQueueArgs{...} } -type DeploymentWorkerQueueArrayInput interface { +// DeploymentScalingSpecHibernationSpecOverrideArgs{...} +// +// or: +// +// nil +type DeploymentScalingSpecHibernationSpecOverridePtrInput interface { pulumi.Input - ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput - ToDeploymentWorkerQueueArrayOutputWithContext(context.Context) DeploymentWorkerQueueArrayOutput + ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput + ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput } -type DeploymentWorkerQueueArray []DeploymentWorkerQueueInput +type deploymentScalingSpecHibernationSpecOverridePtrType DeploymentScalingSpecHibernationSpecOverrideArgs -func (DeploymentWorkerQueueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentWorkerQueue)(nil)).Elem() +func DeploymentScalingSpecHibernationSpecOverridePtr(v *DeploymentScalingSpecHibernationSpecOverrideArgs) DeploymentScalingSpecHibernationSpecOverridePtrInput { + return (*deploymentScalingSpecHibernationSpecOverridePtrType)(v) } -func (i DeploymentWorkerQueueArray) ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput { - return i.ToDeploymentWorkerQueueArrayOutputWithContext(context.Background()) +func (*deploymentScalingSpecHibernationSpecOverridePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -func (i DeploymentWorkerQueueArray) ToDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) DeploymentWorkerQueueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DeploymentWorkerQueueArrayOutput) +func (i *deploymentScalingSpecHibernationSpecOverridePtrType) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return i.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) } -type DeploymentWorkerQueueOutput struct{ *pulumi.OutputState } +func (i *deploymentScalingSpecHibernationSpecOverridePtrType) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) +} -func (DeploymentWorkerQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DeploymentWorkerQueue)(nil)).Elem() +type DeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } + +func (DeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -func (o DeploymentWorkerQueueOutput) ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput { +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverrideOutput() DeploymentScalingSpecHibernationSpecOverrideOutput { return o } -func (o DeploymentWorkerQueueOutput) ToDeploymentWorkerQueueOutputWithContext(ctx context.Context) DeploymentWorkerQueueOutput { +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverrideOutput { return o } -// Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments -func (o DeploymentWorkerQueueOutput) AstroMachine() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.AstroMachine }).(pulumi.StringPtrOutput) +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o.ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(context.Background()) } -// Worker queue default -func (o DeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingSpecHibernationSpecOverride) *DeploymentScalingSpecHibernationSpecOverride { + return &v + }).(DeploymentScalingSpecHibernationSpecOverridePtrOutput) } -// Worker queue max worker count -func (o DeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) *bool { return v.IsActive }).(pulumi.BoolPtrOutput) } -// Worker queue min worker count -func (o DeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) } -// Worker queue name -func (o DeploymentWorkerQueueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) +func (o DeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecOverride) *string { return v.OverrideUntil }).(pulumi.StringPtrOutput) } -// Worker queue Node pool identifier - required for 'HYBRID' deployments -func (o DeploymentWorkerQueueOutput) NodePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.NodePoolId }).(pulumi.StringPtrOutput) -} +type DeploymentScalingSpecHibernationSpecOverridePtrOutput struct{ *pulumi.OutputState } -// Worker queue pod CPU -func (o DeploymentWorkerQueueOutput) PodCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.PodCpu }).(pulumi.StringPtrOutput) +func (DeploymentScalingSpecHibernationSpecOverridePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -// Worker queue pod memory -func (o DeploymentWorkerQueueOutput) PodMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.PodMemory }).(pulumi.StringPtrOutput) +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutput() DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o } -// Worker queue worker concurrency -func (o DeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { - return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) ToDeploymentScalingSpecHibernationSpecOverridePtrOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecOverridePtrOutput { + return o } -type DeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } - -func (DeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DeploymentWorkerQueue)(nil)).Elem() +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) Elem() DeploymentScalingSpecHibernationSpecOverrideOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) DeploymentScalingSpecHibernationSpecOverride { + if v != nil { + return *v + } + var ret DeploymentScalingSpecHibernationSpecOverride + return ret + }).(DeploymentScalingSpecHibernationSpecOverrideOutput) } -func (o DeploymentWorkerQueueArrayOutput) ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput { - return o +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *bool { + if v == nil { + return nil + } + return v.IsActive + }).(pulumi.BoolPtrOutput) } -func (o DeploymentWorkerQueueArrayOutput) ToDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) DeploymentWorkerQueueArrayOutput { - return o +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) IsHibernating() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *bool { + if v == nil { + return nil + } + return &v.IsHibernating + }).(pulumi.BoolPtrOutput) } -func (o DeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) DeploymentWorkerQueueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentWorkerQueue { - return vs[0].([]DeploymentWorkerQueue)[vs[1].(int)] - }).(DeploymentWorkerQueueOutput) +func (o DeploymentScalingSpecHibernationSpecOverridePtrOutput) OverrideUntil() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentScalingSpecHibernationSpecOverride) *string { + if v == nil { + return nil + } + return v.OverrideUntil + }).(pulumi.StringPtrOutput) } -type TeamRolesDeploymentRole struct { - // The ID of the deployment to assign the role to - DeploymentId string `pulumi:"deploymentId"` - // The role to assign to the deployment - Role string `pulumi:"role"` +type DeploymentScalingSpecHibernationSpecSchedule struct { + Description *string `pulumi:"description"` + HibernateAtCron string `pulumi:"hibernateAtCron"` + IsEnabled bool `pulumi:"isEnabled"` + WakeAtCron string `pulumi:"wakeAtCron"` } -// TeamRolesDeploymentRoleInput is an input type that accepts TeamRolesDeploymentRoleArgs and TeamRolesDeploymentRoleOutput values. -// You can construct a concrete instance of `TeamRolesDeploymentRoleInput` via: +// DeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts DeploymentScalingSpecHibernationSpecScheduleArgs and DeploymentScalingSpecHibernationSpecScheduleOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecScheduleInput` via: // -// TeamRolesDeploymentRoleArgs{...} -type TeamRolesDeploymentRoleInput interface { +// DeploymentScalingSpecHibernationSpecScheduleArgs{...} +type DeploymentScalingSpecHibernationSpecScheduleInput interface { pulumi.Input - ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput - ToTeamRolesDeploymentRoleOutputWithContext(context.Context) TeamRolesDeploymentRoleOutput + ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput + ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput } -type TeamRolesDeploymentRoleArgs struct { - // The ID of the deployment to assign the role to - DeploymentId pulumi.StringInput `pulumi:"deploymentId"` - // The role to assign to the deployment - Role pulumi.StringInput `pulumi:"role"` +type DeploymentScalingSpecHibernationSpecScheduleArgs struct { + Description pulumi.StringPtrInput `pulumi:"description"` + HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` } -func (TeamRolesDeploymentRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TeamRolesDeploymentRole)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -func (i TeamRolesDeploymentRoleArgs) ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput { - return i.ToTeamRolesDeploymentRoleOutputWithContext(context.Background()) +func (i DeploymentScalingSpecHibernationSpecScheduleArgs) ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput { + return i.ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) } -func (i TeamRolesDeploymentRoleArgs) ToTeamRolesDeploymentRoleOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(TeamRolesDeploymentRoleOutput) +func (i DeploymentScalingSpecHibernationSpecScheduleArgs) ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecScheduleOutput) } -// TeamRolesDeploymentRoleArrayInput is an input type that accepts TeamRolesDeploymentRoleArray and TeamRolesDeploymentRoleArrayOutput values. -// You can construct a concrete instance of `TeamRolesDeploymentRoleArrayInput` via: +// DeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts DeploymentScalingSpecHibernationSpecScheduleArray and DeploymentScalingSpecHibernationSpecScheduleArrayOutput values. +// You can construct a concrete instance of `DeploymentScalingSpecHibernationSpecScheduleArrayInput` via: // -// TeamRolesDeploymentRoleArray{ TeamRolesDeploymentRoleArgs{...} } -type TeamRolesDeploymentRoleArrayInput interface { +// DeploymentScalingSpecHibernationSpecScheduleArray{ DeploymentScalingSpecHibernationSpecScheduleArgs{...} } +type DeploymentScalingSpecHibernationSpecScheduleArrayInput interface { pulumi.Input - ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput - ToTeamRolesDeploymentRoleArrayOutputWithContext(context.Context) TeamRolesDeploymentRoleArrayOutput + ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput + ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput } -type TeamRolesDeploymentRoleArray []TeamRolesDeploymentRoleInput +type DeploymentScalingSpecHibernationSpecScheduleArray []DeploymentScalingSpecHibernationSpecScheduleInput -func (TeamRolesDeploymentRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TeamRolesDeploymentRole)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -func (i TeamRolesDeploymentRoleArray) ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput { - return i.ToTeamRolesDeploymentRoleArrayOutputWithContext(context.Background()) +func (i DeploymentScalingSpecHibernationSpecScheduleArray) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return i.ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) } -func (i TeamRolesDeploymentRoleArray) ToTeamRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TeamRolesDeploymentRoleArrayOutput) +func (i DeploymentScalingSpecHibernationSpecScheduleArray) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingSpecHibernationSpecScheduleArrayOutput) } -type TeamRolesDeploymentRoleOutput struct{ *pulumi.OutputState } +type DeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } -func (TeamRolesDeploymentRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TeamRolesDeploymentRole)(nil)).Elem() +func (DeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -func (o TeamRolesDeploymentRoleOutput) ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput { +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) ToDeploymentScalingSpecHibernationSpecScheduleOutput() DeploymentScalingSpecHibernationSpecScheduleOutput { return o } -func (o TeamRolesDeploymentRoleOutput) ToTeamRolesDeploymentRoleOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleOutput { +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) ToDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleOutput { return o } -// The ID of the deployment to assign the role to -func (o TeamRolesDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { - return o.ApplyT(func(v TeamRolesDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) *string { return v.Description }).(pulumi.StringPtrOutput) } -// The role to assign to the deployment -func (o TeamRolesDeploymentRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v TeamRolesDeploymentRole) string { return v.Role }).(pulumi.StringOutput) +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) } -type TeamRolesDeploymentRoleArrayOutput struct{ *pulumi.OutputState } +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} -func (TeamRolesDeploymentRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TeamRolesDeploymentRole)(nil)).Elem() +func (o DeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) } -func (o TeamRolesDeploymentRoleArrayOutput) ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput { +type DeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } + +func (DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +} + +func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutput() DeploymentScalingSpecHibernationSpecScheduleArrayOutput { return o } -func (o TeamRolesDeploymentRoleArrayOutput) ToTeamRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleArrayOutput { +func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) DeploymentScalingSpecHibernationSpecScheduleArrayOutput { return o } -func (o TeamRolesDeploymentRoleArrayOutput) Index(i pulumi.IntInput) TeamRolesDeploymentRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamRolesDeploymentRole { - return vs[0].([]TeamRolesDeploymentRole)[vs[1].(int)] - }).(TeamRolesDeploymentRoleOutput) +func (o DeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) DeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentScalingSpecHibernationSpecSchedule { + return vs[0].([]DeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] + }).(DeploymentScalingSpecHibernationSpecScheduleOutput) } -type TeamRolesWorkspaceRole struct { - // The role to assign to the workspace - Role string `pulumi:"role"` - // The ID of the workspace to assign the role to - WorkspaceId string `pulumi:"workspaceId"` +type DeploymentScalingStatus struct { + HibernationStatus *DeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` } -// TeamRolesWorkspaceRoleInput is an input type that accepts TeamRolesWorkspaceRoleArgs and TeamRolesWorkspaceRoleOutput values. -// You can construct a concrete instance of `TeamRolesWorkspaceRoleInput` via: +// DeploymentScalingStatusInput is an input type that accepts DeploymentScalingStatusArgs and DeploymentScalingStatusOutput values. +// You can construct a concrete instance of `DeploymentScalingStatusInput` via: // -// TeamRolesWorkspaceRoleArgs{...} -type TeamRolesWorkspaceRoleInput interface { +// DeploymentScalingStatusArgs{...} +type DeploymentScalingStatusInput interface { pulumi.Input - ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput - ToTeamRolesWorkspaceRoleOutputWithContext(context.Context) TeamRolesWorkspaceRoleOutput + ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput + ToDeploymentScalingStatusOutputWithContext(context.Context) DeploymentScalingStatusOutput } -type TeamRolesWorkspaceRoleArgs struct { - // The role to assign to the workspace - Role pulumi.StringInput `pulumi:"role"` - // The ID of the workspace to assign the role to - WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` +type DeploymentScalingStatusArgs struct { + HibernationStatus DeploymentScalingStatusHibernationStatusPtrInput `pulumi:"hibernationStatus"` } -func (TeamRolesWorkspaceRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TeamRolesWorkspaceRole)(nil)).Elem() +func (DeploymentScalingStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingStatus)(nil)).Elem() } -func (i TeamRolesWorkspaceRoleArgs) ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput { - return i.ToTeamRolesWorkspaceRoleOutputWithContext(context.Background()) +func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput { + return i.ToDeploymentScalingStatusOutputWithContext(context.Background()) } -func (i TeamRolesWorkspaceRoleArgs) ToTeamRolesWorkspaceRoleOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(TeamRolesWorkspaceRoleOutput) +func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusOutput) } -// TeamRolesWorkspaceRoleArrayInput is an input type that accepts TeamRolesWorkspaceRoleArray and TeamRolesWorkspaceRoleArrayOutput values. -// You can construct a concrete instance of `TeamRolesWorkspaceRoleArrayInput` via: +func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { + return i.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) +} + +func (i DeploymentScalingStatusArgs) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusOutput).ToDeploymentScalingStatusPtrOutputWithContext(ctx) +} + +// DeploymentScalingStatusPtrInput is an input type that accepts DeploymentScalingStatusArgs, DeploymentScalingStatusPtr and DeploymentScalingStatusPtrOutput values. +// You can construct a concrete instance of `DeploymentScalingStatusPtrInput` via: // -// TeamRolesWorkspaceRoleArray{ TeamRolesWorkspaceRoleArgs{...} } -type TeamRolesWorkspaceRoleArrayInput interface { +// DeploymentScalingStatusArgs{...} +// +// or: +// +// nil +type DeploymentScalingStatusPtrInput interface { pulumi.Input - ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput - ToTeamRolesWorkspaceRoleArrayOutputWithContext(context.Context) TeamRolesWorkspaceRoleArrayOutput + ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput + ToDeploymentScalingStatusPtrOutputWithContext(context.Context) DeploymentScalingStatusPtrOutput } -type TeamRolesWorkspaceRoleArray []TeamRolesWorkspaceRoleInput +type deploymentScalingStatusPtrType DeploymentScalingStatusArgs -func (TeamRolesWorkspaceRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TeamRolesWorkspaceRole)(nil)).Elem() +func DeploymentScalingStatusPtr(v *DeploymentScalingStatusArgs) DeploymentScalingStatusPtrInput { + return (*deploymentScalingStatusPtrType)(v) } -func (i TeamRolesWorkspaceRoleArray) ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput { - return i.ToTeamRolesWorkspaceRoleArrayOutputWithContext(context.Background()) +func (*deploymentScalingStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingStatus)(nil)).Elem() } -func (i TeamRolesWorkspaceRoleArray) ToTeamRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TeamRolesWorkspaceRoleArrayOutput) +func (i *deploymentScalingStatusPtrType) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { + return i.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) } -type TeamRolesWorkspaceRoleOutput struct{ *pulumi.OutputState } - -func (TeamRolesWorkspaceRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TeamRolesWorkspaceRole)(nil)).Elem() +func (i *deploymentScalingStatusPtrType) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusPtrOutput) } -func (o TeamRolesWorkspaceRoleOutput) ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput { +type DeploymentScalingStatusOutput struct{ *pulumi.OutputState } + +func (DeploymentScalingStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingStatus)(nil)).Elem() +} + +func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusOutput() DeploymentScalingStatusOutput { return o } -func (o TeamRolesWorkspaceRoleOutput) ToTeamRolesWorkspaceRoleOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleOutput { +func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusOutput { return o } -// The role to assign to the workspace -func (o TeamRolesWorkspaceRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v TeamRolesWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) +func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { + return o.ToDeploymentScalingStatusPtrOutputWithContext(context.Background()) } -// The ID of the workspace to assign the role to -func (o TeamRolesWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { - return o.ApplyT(func(v TeamRolesWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) +func (o DeploymentScalingStatusOutput) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingStatus) *DeploymentScalingStatus { + return &v + }).(DeploymentScalingStatusPtrOutput) } -type TeamRolesWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } +func (o DeploymentScalingStatusOutput) HibernationStatus() DeploymentScalingStatusHibernationStatusPtrOutput { + return o.ApplyT(func(v DeploymentScalingStatus) *DeploymentScalingStatusHibernationStatus { return v.HibernationStatus }).(DeploymentScalingStatusHibernationStatusPtrOutput) +} -func (TeamRolesWorkspaceRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TeamRolesWorkspaceRole)(nil)).Elem() +type DeploymentScalingStatusPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentScalingStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingStatus)(nil)).Elem() } -func (o TeamRolesWorkspaceRoleArrayOutput) ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput { +func (o DeploymentScalingStatusPtrOutput) ToDeploymentScalingStatusPtrOutput() DeploymentScalingStatusPtrOutput { return o } -func (o TeamRolesWorkspaceRoleArrayOutput) ToTeamRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleArrayOutput { +func (o DeploymentScalingStatusPtrOutput) ToDeploymentScalingStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusPtrOutput { return o } -func (o TeamRolesWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) TeamRolesWorkspaceRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamRolesWorkspaceRole { - return vs[0].([]TeamRolesWorkspaceRole)[vs[1].(int)] - }).(TeamRolesWorkspaceRoleOutput) +func (o DeploymentScalingStatusPtrOutput) Elem() DeploymentScalingStatusOutput { + return o.ApplyT(func(v *DeploymentScalingStatus) DeploymentScalingStatus { + if v != nil { + return *v + } + var ret DeploymentScalingStatus + return ret + }).(DeploymentScalingStatusOutput) } -type WorkspaceCreatedBy struct { - ApiTokenName *string `pulumi:"apiTokenName"` - AvatarUrl *string `pulumi:"avatarUrl"` - FullName *string `pulumi:"fullName"` - Id *string `pulumi:"id"` - SubjectType *string `pulumi:"subjectType"` - Username *string `pulumi:"username"` +func (o DeploymentScalingStatusPtrOutput) HibernationStatus() DeploymentScalingStatusHibernationStatusPtrOutput { + return o.ApplyT(func(v *DeploymentScalingStatus) *DeploymentScalingStatusHibernationStatus { + if v == nil { + return nil + } + return v.HibernationStatus + }).(DeploymentScalingStatusHibernationStatusPtrOutput) } -// WorkspaceCreatedByInput is an input type that accepts WorkspaceCreatedByArgs and WorkspaceCreatedByOutput values. -// You can construct a concrete instance of `WorkspaceCreatedByInput` via: +type DeploymentScalingStatusHibernationStatus struct { + IsHibernating *bool `pulumi:"isHibernating"` + NextEventAt *string `pulumi:"nextEventAt"` + NextEventType *string `pulumi:"nextEventType"` + Reason *string `pulumi:"reason"` +} + +// DeploymentScalingStatusHibernationStatusInput is an input type that accepts DeploymentScalingStatusHibernationStatusArgs and DeploymentScalingStatusHibernationStatusOutput values. +// You can construct a concrete instance of `DeploymentScalingStatusHibernationStatusInput` via: // -// WorkspaceCreatedByArgs{...} -type WorkspaceCreatedByInput interface { +// DeploymentScalingStatusHibernationStatusArgs{...} +type DeploymentScalingStatusHibernationStatusInput interface { pulumi.Input - ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput - ToWorkspaceCreatedByOutputWithContext(context.Context) WorkspaceCreatedByOutput + ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput + ToDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) DeploymentScalingStatusHibernationStatusOutput } -type WorkspaceCreatedByArgs struct { - ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` - FullName pulumi.StringPtrInput `pulumi:"fullName"` - Id pulumi.StringPtrInput `pulumi:"id"` - SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` - Username pulumi.StringPtrInput `pulumi:"username"` +type DeploymentScalingStatusHibernationStatusArgs struct { + IsHibernating pulumi.BoolPtrInput `pulumi:"isHibernating"` + NextEventAt pulumi.StringPtrInput `pulumi:"nextEventAt"` + NextEventType pulumi.StringPtrInput `pulumi:"nextEventType"` + Reason pulumi.StringPtrInput `pulumi:"reason"` } -func (WorkspaceCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*WorkspaceCreatedBy)(nil)).Elem() +func (DeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput { - return i.ToWorkspaceCreatedByOutputWithContext(context.Background()) +func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput { + return i.ToDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) } -func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByOutputWithContext(ctx context.Context) WorkspaceCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByOutput) +func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusOutput) } -func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { - return i.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) +func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { + return i.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) } -func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByOutput).ToWorkspaceCreatedByPtrOutputWithContext(ctx) +func (i DeploymentScalingStatusHibernationStatusArgs) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusOutput).ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx) } -// WorkspaceCreatedByPtrInput is an input type that accepts WorkspaceCreatedByArgs, WorkspaceCreatedByPtr and WorkspaceCreatedByPtrOutput values. -// You can construct a concrete instance of `WorkspaceCreatedByPtrInput` via: +// DeploymentScalingStatusHibernationStatusPtrInput is an input type that accepts DeploymentScalingStatusHibernationStatusArgs, DeploymentScalingStatusHibernationStatusPtr and DeploymentScalingStatusHibernationStatusPtrOutput values. +// You can construct a concrete instance of `DeploymentScalingStatusHibernationStatusPtrInput` via: // -// WorkspaceCreatedByArgs{...} +// DeploymentScalingStatusHibernationStatusArgs{...} // // or: // // nil -type WorkspaceCreatedByPtrInput interface { +type DeploymentScalingStatusHibernationStatusPtrInput interface { pulumi.Input - ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput - ToWorkspaceCreatedByPtrOutputWithContext(context.Context) WorkspaceCreatedByPtrOutput + ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput + ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Context) DeploymentScalingStatusHibernationStatusPtrOutput } -type workspaceCreatedByPtrType WorkspaceCreatedByArgs +type deploymentScalingStatusHibernationStatusPtrType DeploymentScalingStatusHibernationStatusArgs -func WorkspaceCreatedByPtr(v *WorkspaceCreatedByArgs) WorkspaceCreatedByPtrInput { - return (*workspaceCreatedByPtrType)(v) +func DeploymentScalingStatusHibernationStatusPtr(v *DeploymentScalingStatusHibernationStatusArgs) DeploymentScalingStatusHibernationStatusPtrInput { + return (*deploymentScalingStatusHibernationStatusPtrType)(v) } -func (*workspaceCreatedByPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**WorkspaceCreatedBy)(nil)).Elem() +func (*deploymentScalingStatusHibernationStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (i *workspaceCreatedByPtrType) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { - return i.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) +func (i *deploymentScalingStatusHibernationStatusPtrType) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { + return i.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) } -func (i *workspaceCreatedByPtrType) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByPtrOutput) +func (i *deploymentScalingStatusHibernationStatusPtrType) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentScalingStatusHibernationStatusPtrOutput) } -type WorkspaceCreatedByOutput struct{ *pulumi.OutputState } +type DeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } -func (WorkspaceCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WorkspaceCreatedBy)(nil)).Elem() +func (DeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput { +func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusOutput() DeploymentScalingStatusHibernationStatusOutput { return o } -func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByOutputWithContext(ctx context.Context) WorkspaceCreatedByOutput { +func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusOutput { return o } -func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { - return o.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) +func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { + return o.ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(context.Background()) } -func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v WorkspaceCreatedBy) *WorkspaceCreatedBy { +func (o DeploymentScalingStatusHibernationStatusOutput) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentScalingStatusHibernationStatus) *DeploymentScalingStatusHibernationStatus { return &v - }).(WorkspaceCreatedByPtrOutput) -} - -func (o WorkspaceCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) -} - -func (o WorkspaceCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) + }).(DeploymentScalingStatusHibernationStatusPtrOutput) } -func (o WorkspaceCreatedByOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) +func (o DeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *bool { return v.IsHibernating }).(pulumi.BoolPtrOutput) } -func (o WorkspaceCreatedByOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o DeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.NextEventAt }).(pulumi.StringPtrOutput) } -func (o WorkspaceCreatedByOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) +func (o DeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.NextEventType }).(pulumi.StringPtrOutput) } -func (o WorkspaceCreatedByOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o DeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentScalingStatusHibernationStatus) *string { return v.Reason }).(pulumi.StringPtrOutput) } -type WorkspaceCreatedByPtrOutput struct{ *pulumi.OutputState } +type DeploymentScalingStatusHibernationStatusPtrOutput struct{ *pulumi.OutputState } -func (WorkspaceCreatedByPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WorkspaceCreatedBy)(nil)).Elem() +func (DeploymentScalingStatusHibernationStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (o WorkspaceCreatedByPtrOutput) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) ToDeploymentScalingStatusHibernationStatusPtrOutput() DeploymentScalingStatusHibernationStatusPtrOutput { return o } -func (o WorkspaceCreatedByPtrOutput) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) ToDeploymentScalingStatusHibernationStatusPtrOutputWithContext(ctx context.Context) DeploymentScalingStatusHibernationStatusPtrOutput { return o } -func (o WorkspaceCreatedByPtrOutput) Elem() WorkspaceCreatedByOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) WorkspaceCreatedBy { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) Elem() DeploymentScalingStatusHibernationStatusOutput { + return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) DeploymentScalingStatusHibernationStatus { if v != nil { return *v } - var ret WorkspaceCreatedBy + var ret DeploymentScalingStatusHibernationStatus return ret - }).(WorkspaceCreatedByOutput) -} - -func (o WorkspaceCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { - if v == nil { - return nil - } - return v.ApiTokenName - }).(pulumi.StringPtrOutput) -} - -func (o WorkspaceCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { - if v == nil { - return nil - } - return v.AvatarUrl - }).(pulumi.StringPtrOutput) + }).(DeploymentScalingStatusHibernationStatusOutput) } -func (o WorkspaceCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) IsHibernating() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *bool { if v == nil { return nil } - return v.FullName - }).(pulumi.StringPtrOutput) + return v.IsHibernating + }).(pulumi.BoolPtrOutput) } -func (o WorkspaceCreatedByPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) NextEventAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { if v == nil { return nil } - return v.Id + return v.NextEventAt }).(pulumi.StringPtrOutput) } -func (o WorkspaceCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) NextEventType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { if v == nil { return nil } - return v.SubjectType + return v.NextEventType }).(pulumi.StringPtrOutput) } -func (o WorkspaceCreatedByPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceCreatedBy) *string { +func (o DeploymentScalingStatusHibernationStatusPtrOutput) Reason() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentScalingStatusHibernationStatus) *string { if v == nil { return nil } - return v.Username + return v.Reason }).(pulumi.StringPtrOutput) } -type WorkspaceUpdatedBy struct { +type DeploymentUpdatedBy struct { ApiTokenName *string `pulumi:"apiTokenName"` AvatarUrl *string `pulumi:"avatarUrl"` FullName *string `pulumi:"fullName"` @@ -2543,18 +2567,18 @@ type WorkspaceUpdatedBy struct { Username *string `pulumi:"username"` } -// WorkspaceUpdatedByInput is an input type that accepts WorkspaceUpdatedByArgs and WorkspaceUpdatedByOutput values. -// You can construct a concrete instance of `WorkspaceUpdatedByInput` via: +// DeploymentUpdatedByInput is an input type that accepts DeploymentUpdatedByArgs and DeploymentUpdatedByOutput values. +// You can construct a concrete instance of `DeploymentUpdatedByInput` via: // -// WorkspaceUpdatedByArgs{...} -type WorkspaceUpdatedByInput interface { +// DeploymentUpdatedByArgs{...} +type DeploymentUpdatedByInput interface { pulumi.Input - ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput - ToWorkspaceUpdatedByOutputWithContext(context.Context) WorkspaceUpdatedByOutput + ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput + ToDeploymentUpdatedByOutputWithContext(context.Context) DeploymentUpdatedByOutput } -type WorkspaceUpdatedByArgs struct { +type DeploymentUpdatedByArgs struct { ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` FullName pulumi.StringPtrInput `pulumi:"fullName"` @@ -2563,133 +2587,133 @@ type WorkspaceUpdatedByArgs struct { Username pulumi.StringPtrInput `pulumi:"username"` } -func (WorkspaceUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*WorkspaceUpdatedBy)(nil)).Elem() +func (DeploymentUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentUpdatedBy)(nil)).Elem() } -func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput { - return i.ToWorkspaceUpdatedByOutputWithContext(context.Background()) +func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput { + return i.ToDeploymentUpdatedByOutputWithContext(context.Background()) } -func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByOutputWithContext(ctx context.Context) WorkspaceUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByOutput) +func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByOutputWithContext(ctx context.Context) DeploymentUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByOutput) } -func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { - return i.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) +func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { + return i.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) } -func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByOutput).ToWorkspaceUpdatedByPtrOutputWithContext(ctx) +func (i DeploymentUpdatedByArgs) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByOutput).ToDeploymentUpdatedByPtrOutputWithContext(ctx) } -// WorkspaceUpdatedByPtrInput is an input type that accepts WorkspaceUpdatedByArgs, WorkspaceUpdatedByPtr and WorkspaceUpdatedByPtrOutput values. -// You can construct a concrete instance of `WorkspaceUpdatedByPtrInput` via: +// DeploymentUpdatedByPtrInput is an input type that accepts DeploymentUpdatedByArgs, DeploymentUpdatedByPtr and DeploymentUpdatedByPtrOutput values. +// You can construct a concrete instance of `DeploymentUpdatedByPtrInput` via: // -// WorkspaceUpdatedByArgs{...} +// DeploymentUpdatedByArgs{...} // // or: // // nil -type WorkspaceUpdatedByPtrInput interface { +type DeploymentUpdatedByPtrInput interface { pulumi.Input - ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput - ToWorkspaceUpdatedByPtrOutputWithContext(context.Context) WorkspaceUpdatedByPtrOutput + ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput + ToDeploymentUpdatedByPtrOutputWithContext(context.Context) DeploymentUpdatedByPtrOutput } -type workspaceUpdatedByPtrType WorkspaceUpdatedByArgs +type deploymentUpdatedByPtrType DeploymentUpdatedByArgs -func WorkspaceUpdatedByPtr(v *WorkspaceUpdatedByArgs) WorkspaceUpdatedByPtrInput { - return (*workspaceUpdatedByPtrType)(v) +func DeploymentUpdatedByPtr(v *DeploymentUpdatedByArgs) DeploymentUpdatedByPtrInput { + return (*deploymentUpdatedByPtrType)(v) } -func (*workspaceUpdatedByPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**WorkspaceUpdatedBy)(nil)).Elem() +func (*deploymentUpdatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentUpdatedBy)(nil)).Elem() } -func (i *workspaceUpdatedByPtrType) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { - return i.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) +func (i *deploymentUpdatedByPtrType) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { + return i.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) } -func (i *workspaceUpdatedByPtrType) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByPtrOutput) +func (i *deploymentUpdatedByPtrType) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentUpdatedByPtrOutput) } -type WorkspaceUpdatedByOutput struct{ *pulumi.OutputState } +type DeploymentUpdatedByOutput struct{ *pulumi.OutputState } -func (WorkspaceUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*WorkspaceUpdatedBy)(nil)).Elem() +func (DeploymentUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentUpdatedBy)(nil)).Elem() } -func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput { +func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByOutput() DeploymentUpdatedByOutput { return o } -func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByOutputWithContext(ctx context.Context) WorkspaceUpdatedByOutput { +func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByOutputWithContext(ctx context.Context) DeploymentUpdatedByOutput { return o } -func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { - return o.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) +func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { + return o.ToDeploymentUpdatedByPtrOutputWithContext(context.Background()) } -func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v WorkspaceUpdatedBy) *WorkspaceUpdatedBy { +func (o DeploymentUpdatedByOutput) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentUpdatedBy) *DeploymentUpdatedBy { return &v - }).(WorkspaceUpdatedByPtrOutput) + }).(DeploymentUpdatedByPtrOutput) } -func (o WorkspaceUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o DeploymentUpdatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -type WorkspaceUpdatedByPtrOutput struct{ *pulumi.OutputState } +type DeploymentUpdatedByPtrOutput struct{ *pulumi.OutputState } -func (WorkspaceUpdatedByPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**WorkspaceUpdatedBy)(nil)).Elem() +func (DeploymentUpdatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentUpdatedBy)(nil)).Elem() } -func (o WorkspaceUpdatedByPtrOutput) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { +func (o DeploymentUpdatedByPtrOutput) ToDeploymentUpdatedByPtrOutput() DeploymentUpdatedByPtrOutput { return o } -func (o WorkspaceUpdatedByPtrOutput) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { +func (o DeploymentUpdatedByPtrOutput) ToDeploymentUpdatedByPtrOutputWithContext(ctx context.Context) DeploymentUpdatedByPtrOutput { return o } -func (o WorkspaceUpdatedByPtrOutput) Elem() WorkspaceUpdatedByOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) WorkspaceUpdatedBy { +func (o DeploymentUpdatedByPtrOutput) Elem() DeploymentUpdatedByOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) DeploymentUpdatedBy { if v != nil { return *v } - var ret WorkspaceUpdatedBy + var ret DeploymentUpdatedBy return ret - }).(WorkspaceUpdatedByOutput) + }).(DeploymentUpdatedByOutput) } -func (o WorkspaceUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2697,8 +2721,8 @@ func (o WorkspaceUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2706,8 +2730,8 @@ func (o WorkspaceUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2715,8 +2739,8 @@ func (o WorkspaceUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2724,8 +2748,8 @@ func (o WorkspaceUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2733,8 +2757,8 @@ func (o WorkspaceUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o WorkspaceUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { +func (o DeploymentUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentUpdatedBy) *string { if v == nil { return nil } @@ -2742,5183 +2766,8975 @@ func (o WorkspaceUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type GetClusterMetadata struct { - // Cluster external IPs - ExternalIps []string `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` +type DeploymentWorkerQueue struct { + // Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments + AstroMachine *string `pulumi:"astroMachine"` + // Worker queue default + IsDefault bool `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount int `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount int `pulumi:"minWorkerCount"` + // Worker queue name + Name string `pulumi:"name"` + // Worker queue Node pool identifier - required for 'HYBRID' deployments + NodePoolId *string `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu *string `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory *string `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency int `pulumi:"workerConcurrency"` } -// GetClusterMetadataInput is an input type that accepts GetClusterMetadataArgs and GetClusterMetadataOutput values. -// You can construct a concrete instance of `GetClusterMetadataInput` via: +// DeploymentWorkerQueueInput is an input type that accepts DeploymentWorkerQueueArgs and DeploymentWorkerQueueOutput values. +// You can construct a concrete instance of `DeploymentWorkerQueueInput` via: // -// GetClusterMetadataArgs{...} -type GetClusterMetadataInput interface { +// DeploymentWorkerQueueArgs{...} +type DeploymentWorkerQueueInput interface { pulumi.Input - ToGetClusterMetadataOutput() GetClusterMetadataOutput - ToGetClusterMetadataOutputWithContext(context.Context) GetClusterMetadataOutput + ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput + ToDeploymentWorkerQueueOutputWithContext(context.Context) DeploymentWorkerQueueOutput } -type GetClusterMetadataArgs struct { - // Cluster external IPs - ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` +type DeploymentWorkerQueueArgs struct { + // Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments + AstroMachine pulumi.StringPtrInput `pulumi:"astroMachine"` + // Worker queue default + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` + // Worker queue name + Name pulumi.StringInput `pulumi:"name"` + // Worker queue Node pool identifier - required for 'HYBRID' deployments + NodePoolId pulumi.StringPtrInput `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu pulumi.StringPtrInput `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory pulumi.StringPtrInput `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` } -func (GetClusterMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterMetadata)(nil)).Elem() +func (DeploymentWorkerQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentWorkerQueue)(nil)).Elem() } -func (i GetClusterMetadataArgs) ToGetClusterMetadataOutput() GetClusterMetadataOutput { - return i.ToGetClusterMetadataOutputWithContext(context.Background()) +func (i DeploymentWorkerQueueArgs) ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput { + return i.ToDeploymentWorkerQueueOutputWithContext(context.Background()) } -func (i GetClusterMetadataArgs) ToGetClusterMetadataOutputWithContext(ctx context.Context) GetClusterMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterMetadataOutput) +func (i DeploymentWorkerQueueArgs) ToDeploymentWorkerQueueOutputWithContext(ctx context.Context) DeploymentWorkerQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentWorkerQueueOutput) } -type GetClusterMetadataOutput struct{ *pulumi.OutputState } +// DeploymentWorkerQueueArrayInput is an input type that accepts DeploymentWorkerQueueArray and DeploymentWorkerQueueArrayOutput values. +// You can construct a concrete instance of `DeploymentWorkerQueueArrayInput` via: +// +// DeploymentWorkerQueueArray{ DeploymentWorkerQueueArgs{...} } +type DeploymentWorkerQueueArrayInput interface { + pulumi.Input -func (GetClusterMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterMetadata)(nil)).Elem() + ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput + ToDeploymentWorkerQueueArrayOutputWithContext(context.Context) DeploymentWorkerQueueArrayOutput } -func (o GetClusterMetadataOutput) ToGetClusterMetadataOutput() GetClusterMetadataOutput { - return o +type DeploymentWorkerQueueArray []DeploymentWorkerQueueInput + +func (DeploymentWorkerQueueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentWorkerQueue)(nil)).Elem() } -func (o GetClusterMetadataOutput) ToGetClusterMetadataOutputWithContext(ctx context.Context) GetClusterMetadataOutput { - return o +func (i DeploymentWorkerQueueArray) ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput { + return i.ToDeploymentWorkerQueueArrayOutputWithContext(context.Background()) } -// Cluster external IPs -func (o GetClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +func (i DeploymentWorkerQueueArray) ToDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) DeploymentWorkerQueueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentWorkerQueueArrayOutput) } -// Cluster OIDC issuer URL -func (o GetClusterMetadataOutput) OidcIssuerUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterMetadata) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) +type DeploymentWorkerQueueOutput struct{ *pulumi.OutputState } + +func (DeploymentWorkerQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentWorkerQueue)(nil)).Elem() } -type GetClusterNodePool struct { - // Node pool cloud provider - CloudProvider string `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId string `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt string `pulumi:"createdAt"` - // Node pool identifier - Id string `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault bool `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount int `pulumi:"maxNodeCount"` - // Node pool name - Name string `pulumi:"name"` - // Node pool node instance type - NodeInstanceType string `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` +func (o DeploymentWorkerQueueOutput) ToDeploymentWorkerQueueOutput() DeploymentWorkerQueueOutput { + return o } -// GetClusterNodePoolInput is an input type that accepts GetClusterNodePoolArgs and GetClusterNodePoolOutput values. -// You can construct a concrete instance of `GetClusterNodePoolInput` via: -// -// GetClusterNodePoolArgs{...} -type GetClusterNodePoolInput interface { - pulumi.Input - - ToGetClusterNodePoolOutput() GetClusterNodePoolOutput - ToGetClusterNodePoolOutputWithContext(context.Context) GetClusterNodePoolOutput +func (o DeploymentWorkerQueueOutput) ToDeploymentWorkerQueueOutputWithContext(ctx context.Context) DeploymentWorkerQueueOutput { + return o } -type GetClusterNodePoolArgs struct { - // Node pool cloud provider - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId pulumi.StringInput `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Node pool identifier - Id pulumi.StringInput `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` - // Node pool name - Name pulumi.StringInput `pulumi:"name"` - // Node pool node instance type - NodeInstanceType pulumi.StringInput `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` +// Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments +func (o DeploymentWorkerQueueOutput) AstroMachine() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.AstroMachine }).(pulumi.StringPtrOutput) } -func (GetClusterNodePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterNodePool)(nil)).Elem() +// Worker queue default +func (o DeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) } -func (i GetClusterNodePoolArgs) ToGetClusterNodePoolOutput() GetClusterNodePoolOutput { - return i.ToGetClusterNodePoolOutputWithContext(context.Background()) +// Worker queue max worker count +func (o DeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) } -func (i GetClusterNodePoolArgs) ToGetClusterNodePoolOutputWithContext(ctx context.Context) GetClusterNodePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterNodePoolOutput) +// Worker queue min worker count +func (o DeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) } -// GetClusterNodePoolArrayInput is an input type that accepts GetClusterNodePoolArray and GetClusterNodePoolArrayOutput values. -// You can construct a concrete instance of `GetClusterNodePoolArrayInput` via: -// -// GetClusterNodePoolArray{ GetClusterNodePoolArgs{...} } -type GetClusterNodePoolArrayInput interface { - pulumi.Input - - ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput - ToGetClusterNodePoolArrayOutputWithContext(context.Context) GetClusterNodePoolArrayOutput +// Worker queue name +func (o DeploymentWorkerQueueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) } -type GetClusterNodePoolArray []GetClusterNodePoolInput +// Worker queue Node pool identifier - required for 'HYBRID' deployments +func (o DeploymentWorkerQueueOutput) NodePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.NodePoolId }).(pulumi.StringPtrOutput) +} -func (GetClusterNodePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterNodePool)(nil)).Elem() +// Worker queue pod CPU +func (o DeploymentWorkerQueueOutput) PodCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.PodCpu }).(pulumi.StringPtrOutput) } -func (i GetClusterNodePoolArray) ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput { - return i.ToGetClusterNodePoolArrayOutputWithContext(context.Background()) +// Worker queue pod memory +func (o DeploymentWorkerQueueOutput) PodMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) *string { return v.PodMemory }).(pulumi.StringPtrOutput) } -func (i GetClusterNodePoolArray) ToGetClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClusterNodePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterNodePoolArrayOutput) +// Worker queue worker concurrency +func (o DeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { + return o.ApplyT(func(v DeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) } -type GetClusterNodePoolOutput struct{ *pulumi.OutputState } +type DeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } -func (GetClusterNodePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterNodePool)(nil)).Elem() +func (DeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeploymentWorkerQueue)(nil)).Elem() } -func (o GetClusterNodePoolOutput) ToGetClusterNodePoolOutput() GetClusterNodePoolOutput { +func (o DeploymentWorkerQueueArrayOutput) ToDeploymentWorkerQueueArrayOutput() DeploymentWorkerQueueArrayOutput { return o } -func (o GetClusterNodePoolOutput) ToGetClusterNodePoolOutputWithContext(ctx context.Context) GetClusterNodePoolOutput { +func (o DeploymentWorkerQueueArrayOutput) ToDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) DeploymentWorkerQueueArrayOutput { return o } -// Node pool cloud provider -func (o GetClusterNodePoolOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.CloudProvider }).(pulumi.StringOutput) +func (o DeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) DeploymentWorkerQueueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentWorkerQueue { + return vs[0].([]DeploymentWorkerQueue)[vs[1].(int)] + }).(DeploymentWorkerQueueOutput) } -// Node pool cluster identifier -func (o GetClusterNodePoolOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.ClusterId }).(pulumi.StringOutput) +type TeamCreatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// Node pool creation timestamp -func (o GetClusterNodePoolOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.CreatedAt }).(pulumi.StringOutput) +// TeamCreatedByInput is an input type that accepts TeamCreatedByArgs and TeamCreatedByOutput values. +// You can construct a concrete instance of `TeamCreatedByInput` via: +// +// TeamCreatedByArgs{...} +type TeamCreatedByInput interface { + pulumi.Input + + ToTeamCreatedByOutput() TeamCreatedByOutput + ToTeamCreatedByOutputWithContext(context.Context) TeamCreatedByOutput } -// Node pool identifier -func (o GetClusterNodePoolOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.Id }).(pulumi.StringOutput) +type TeamCreatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -// Whether the node pool is the default node pool of the cluster -func (o GetClusterNodePoolOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterNodePool) bool { return v.IsDefault }).(pulumi.BoolOutput) +func (TeamCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamCreatedBy)(nil)).Elem() } -// Node pool maximum node count -func (o GetClusterNodePoolOutput) MaxNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterNodePool) int { return v.MaxNodeCount }).(pulumi.IntOutput) +func (i TeamCreatedByArgs) ToTeamCreatedByOutput() TeamCreatedByOutput { + return i.ToTeamCreatedByOutputWithContext(context.Background()) } -// Node pool name -func (o GetClusterNodePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.Name }).(pulumi.StringOutput) +func (i TeamCreatedByArgs) ToTeamCreatedByOutputWithContext(ctx context.Context) TeamCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamCreatedByOutput) } -// Node pool node instance type -func (o GetClusterNodePoolOutput) NodeInstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.NodeInstanceType }).(pulumi.StringOutput) +func (i TeamCreatedByArgs) ToTeamCreatedByPtrOutput() TeamCreatedByPtrOutput { + return i.ToTeamCreatedByPtrOutputWithContext(context.Background()) } -// Node pool supported Astro machines -func (o GetClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) +func (i TeamCreatedByArgs) ToTeamCreatedByPtrOutputWithContext(ctx context.Context) TeamCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamCreatedByOutput).ToTeamCreatedByPtrOutputWithContext(ctx) } -// Node pool last updated timestamp -func (o GetClusterNodePoolOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterNodePool) string { return v.UpdatedAt }).(pulumi.StringOutput) +// TeamCreatedByPtrInput is an input type that accepts TeamCreatedByArgs, TeamCreatedByPtr and TeamCreatedByPtrOutput values. +// You can construct a concrete instance of `TeamCreatedByPtrInput` via: +// +// TeamCreatedByArgs{...} +// +// or: +// +// nil +type TeamCreatedByPtrInput interface { + pulumi.Input + + ToTeamCreatedByPtrOutput() TeamCreatedByPtrOutput + ToTeamCreatedByPtrOutputWithContext(context.Context) TeamCreatedByPtrOutput } -type GetClusterNodePoolArrayOutput struct{ *pulumi.OutputState } +type teamCreatedByPtrType TeamCreatedByArgs -func (GetClusterNodePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterNodePool)(nil)).Elem() +func TeamCreatedByPtr(v *TeamCreatedByArgs) TeamCreatedByPtrInput { + return (*teamCreatedByPtrType)(v) } -func (o GetClusterNodePoolArrayOutput) ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput { - return o +func (*teamCreatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TeamCreatedBy)(nil)).Elem() } -func (o GetClusterNodePoolArrayOutput) ToGetClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClusterNodePoolArrayOutput { - return o +func (i *teamCreatedByPtrType) ToTeamCreatedByPtrOutput() TeamCreatedByPtrOutput { + return i.ToTeamCreatedByPtrOutputWithContext(context.Background()) } -func (o GetClusterNodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterNodePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterNodePool { - return vs[0].([]GetClusterNodePool)[vs[1].(int)] - }).(GetClusterNodePoolOutput) +func (i *teamCreatedByPtrType) ToTeamCreatedByPtrOutputWithContext(ctx context.Context) TeamCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamCreatedByPtrOutput) } -type GetClusterOptionsClusterOption struct { - // ClusterOption database instances - DatabaseInstances []GetClusterOptionsClusterOptionDatabaseInstance `pulumi:"databaseInstances"` - // ClusterOption default database instance - DefaultDatabaseInstance GetClusterOptionsClusterOptionDefaultDatabaseInstance `pulumi:"defaultDatabaseInstance"` - // ClusterOption default node instance - DefaultNodeInstance GetClusterOptionsClusterOptionDefaultNodeInstance `pulumi:"defaultNodeInstance"` - // ClusterOption default pod subnet range - DefaultPodSubnetRange string `pulumi:"defaultPodSubnetRange"` - // ClusterOption default region - DefaultRegion GetClusterOptionsClusterOptionDefaultRegion `pulumi:"defaultRegion"` - // ClusterOption default service peering range - DefaultServicePeeringRange string `pulumi:"defaultServicePeeringRange"` - // ClusterOption default service subnet range - DefaultServiceSubnetRange string `pulumi:"defaultServiceSubnetRange"` - // ClusterOption default vps subnet range - DefaultVpcSubnetRange string `pulumi:"defaultVpcSubnetRange"` - // ClusterOption node count default - NodeCountDefault int `pulumi:"nodeCountDefault"` - // ClusterOption node count max - NodeCountMax int `pulumi:"nodeCountMax"` - // ClusterOption node count min - NodeCountMin int `pulumi:"nodeCountMin"` - // ClusterOption node instances - NodeInstances []GetClusterOptionsClusterOptionNodeInstance `pulumi:"nodeInstances"` - // ClusterOption provider - Provider string `pulumi:"provider"` - // ClusterOption regions - Regions []GetClusterOptionsClusterOptionRegion `pulumi:"regions"` +type TeamCreatedByOutput struct{ *pulumi.OutputState } + +func (TeamCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamCreatedBy)(nil)).Elem() } -// GetClusterOptionsClusterOptionInput is an input type that accepts GetClusterOptionsClusterOptionArgs and GetClusterOptionsClusterOptionOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionInput` via: -// -// GetClusterOptionsClusterOptionArgs{...} -type GetClusterOptionsClusterOptionInput interface { - pulumi.Input +func (o TeamCreatedByOutput) ToTeamCreatedByOutput() TeamCreatedByOutput { + return o +} - ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput - ToGetClusterOptionsClusterOptionOutputWithContext(context.Context) GetClusterOptionsClusterOptionOutput +func (o TeamCreatedByOutput) ToTeamCreatedByOutputWithContext(ctx context.Context) TeamCreatedByOutput { + return o } -type GetClusterOptionsClusterOptionArgs struct { - // ClusterOption database instances - DatabaseInstances GetClusterOptionsClusterOptionDatabaseInstanceArrayInput `pulumi:"databaseInstances"` - // ClusterOption default database instance - DefaultDatabaseInstance GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput `pulumi:"defaultDatabaseInstance"` - // ClusterOption default node instance - DefaultNodeInstance GetClusterOptionsClusterOptionDefaultNodeInstanceInput `pulumi:"defaultNodeInstance"` - // ClusterOption default pod subnet range - DefaultPodSubnetRange pulumi.StringInput `pulumi:"defaultPodSubnetRange"` - // ClusterOption default region - DefaultRegion GetClusterOptionsClusterOptionDefaultRegionInput `pulumi:"defaultRegion"` - // ClusterOption default service peering range - DefaultServicePeeringRange pulumi.StringInput `pulumi:"defaultServicePeeringRange"` - // ClusterOption default service subnet range - DefaultServiceSubnetRange pulumi.StringInput `pulumi:"defaultServiceSubnetRange"` - // ClusterOption default vps subnet range - DefaultVpcSubnetRange pulumi.StringInput `pulumi:"defaultVpcSubnetRange"` - // ClusterOption node count default - NodeCountDefault pulumi.IntInput `pulumi:"nodeCountDefault"` - // ClusterOption node count max - NodeCountMax pulumi.IntInput `pulumi:"nodeCountMax"` - // ClusterOption node count min - NodeCountMin pulumi.IntInput `pulumi:"nodeCountMin"` - // ClusterOption node instances - NodeInstances GetClusterOptionsClusterOptionNodeInstanceArrayInput `pulumi:"nodeInstances"` - // ClusterOption provider - Provider pulumi.StringInput `pulumi:"provider"` - // ClusterOption regions - Regions GetClusterOptionsClusterOptionRegionArrayInput `pulumi:"regions"` +func (o TeamCreatedByOutput) ToTeamCreatedByPtrOutput() TeamCreatedByPtrOutput { + return o.ToTeamCreatedByPtrOutputWithContext(context.Background()) } -func (GetClusterOptionsClusterOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOption)(nil)).Elem() +func (o TeamCreatedByOutput) ToTeamCreatedByPtrOutputWithContext(ctx context.Context) TeamCreatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TeamCreatedBy) *TeamCreatedBy { + return &v + }).(TeamCreatedByPtrOutput) } -func (i GetClusterOptionsClusterOptionArgs) ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput { - return i.ToGetClusterOptionsClusterOptionOutputWithContext(context.Background()) +func (o TeamCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -func (i GetClusterOptionsClusterOptionArgs) ToGetClusterOptionsClusterOptionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionOutput) +func (o TeamCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -// GetClusterOptionsClusterOptionArrayInput is an input type that accepts GetClusterOptionsClusterOptionArray and GetClusterOptionsClusterOptionArrayOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionArrayInput` via: -// -// GetClusterOptionsClusterOptionArray{ GetClusterOptionsClusterOptionArgs{...} } -type GetClusterOptionsClusterOptionArrayInput interface { - pulumi.Input - - ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput - ToGetClusterOptionsClusterOptionArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionArrayOutput +func (o TeamCreatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -type GetClusterOptionsClusterOptionArray []GetClusterOptionsClusterOptionInput - -func (GetClusterOptionsClusterOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOption)(nil)).Elem() +func (o TeamCreatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (i GetClusterOptionsClusterOptionArray) ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput { - return i.ToGetClusterOptionsClusterOptionArrayOutputWithContext(context.Background()) +func (o TeamCreatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (i GetClusterOptionsClusterOptionArray) ToGetClusterOptionsClusterOptionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionArrayOutput) +func (o TeamCreatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetClusterOptionsClusterOptionOutput struct{ *pulumi.OutputState } +type TeamCreatedByPtrOutput struct{ *pulumi.OutputState } -func (GetClusterOptionsClusterOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOption)(nil)).Elem() +func (TeamCreatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TeamCreatedBy)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionOutput) ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput { +func (o TeamCreatedByPtrOutput) ToTeamCreatedByPtrOutput() TeamCreatedByPtrOutput { return o } -func (o GetClusterOptionsClusterOptionOutput) ToGetClusterOptionsClusterOptionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionOutput { +func (o TeamCreatedByPtrOutput) ToTeamCreatedByPtrOutputWithContext(ctx context.Context) TeamCreatedByPtrOutput { return o } -// ClusterOption database instances -func (o GetClusterOptionsClusterOptionOutput) DatabaseInstances() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionDatabaseInstance { - return v.DatabaseInstances - }).(GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) +func (o TeamCreatedByPtrOutput) Elem() TeamCreatedByOutput { + return o.ApplyT(func(v *TeamCreatedBy) TeamCreatedBy { + if v != nil { + return *v + } + var ret TeamCreatedBy + return ret + }).(TeamCreatedByOutput) } -// ClusterOption default database instance -func (o GetClusterOptionsClusterOptionOutput) DefaultDatabaseInstance() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultDatabaseInstance { - return v.DefaultDatabaseInstance - }).(GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) +func (o TeamCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -// ClusterOption default node instance -func (o GetClusterOptionsClusterOptionOutput) DefaultNodeInstance() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultNodeInstance { - return v.DefaultNodeInstance - }).(GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) +func (o TeamCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -// ClusterOption default pod subnet range -func (o GetClusterOptionsClusterOptionOutput) DefaultPodSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultPodSubnetRange }).(pulumi.StringOutput) +func (o TeamCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -// ClusterOption default region -func (o GetClusterOptionsClusterOptionOutput) DefaultRegion() GetClusterOptionsClusterOptionDefaultRegionOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultRegion { - return v.DefaultRegion - }).(GetClusterOptionsClusterOptionDefaultRegionOutput) +func (o TeamCreatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -// ClusterOption default service peering range -func (o GetClusterOptionsClusterOptionOutput) DefaultServicePeeringRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultServicePeeringRange }).(pulumi.StringOutput) +func (o TeamCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -// ClusterOption default service subnet range -func (o GetClusterOptionsClusterOptionOutput) DefaultServiceSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultServiceSubnetRange }).(pulumi.StringOutput) +func (o TeamCreatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamCreatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -// ClusterOption default vps subnet range -func (o GetClusterOptionsClusterOptionOutput) DefaultVpcSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultVpcSubnetRange }).(pulumi.StringOutput) +type TeamDeploymentRole struct { + // The ID of the deployment to assign the role to + DeploymentId string `pulumi:"deploymentId"` + // The role to assign to the deployment + Role string `pulumi:"role"` } -// ClusterOption node count default -func (o GetClusterOptionsClusterOptionOutput) NodeCountDefault() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountDefault }).(pulumi.IntOutput) +// TeamDeploymentRoleInput is an input type that accepts TeamDeploymentRoleArgs and TeamDeploymentRoleOutput values. +// You can construct a concrete instance of `TeamDeploymentRoleInput` via: +// +// TeamDeploymentRoleArgs{...} +type TeamDeploymentRoleInput interface { + pulumi.Input + + ToTeamDeploymentRoleOutput() TeamDeploymentRoleOutput + ToTeamDeploymentRoleOutputWithContext(context.Context) TeamDeploymentRoleOutput } -// ClusterOption node count max -func (o GetClusterOptionsClusterOptionOutput) NodeCountMax() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountMax }).(pulumi.IntOutput) +type TeamDeploymentRoleArgs struct { + // The ID of the deployment to assign the role to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role to assign to the deployment + Role pulumi.StringInput `pulumi:"role"` } -// ClusterOption node count min -func (o GetClusterOptionsClusterOptionOutput) NodeCountMin() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountMin }).(pulumi.IntOutput) +func (TeamDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamDeploymentRole)(nil)).Elem() } -// ClusterOption node instances -func (o GetClusterOptionsClusterOptionOutput) NodeInstances() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionNodeInstance { - return v.NodeInstances - }).(GetClusterOptionsClusterOptionNodeInstanceArrayOutput) +func (i TeamDeploymentRoleArgs) ToTeamDeploymentRoleOutput() TeamDeploymentRoleOutput { + return i.ToTeamDeploymentRoleOutputWithContext(context.Background()) } -// ClusterOption provider -func (o GetClusterOptionsClusterOptionOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.Provider }).(pulumi.StringOutput) +func (i TeamDeploymentRoleArgs) ToTeamDeploymentRoleOutputWithContext(ctx context.Context) TeamDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamDeploymentRoleOutput) } -// ClusterOption regions -func (o GetClusterOptionsClusterOptionOutput) Regions() GetClusterOptionsClusterOptionRegionArrayOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionRegion { return v.Regions }).(GetClusterOptionsClusterOptionRegionArrayOutput) +// TeamDeploymentRoleArrayInput is an input type that accepts TeamDeploymentRoleArray and TeamDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `TeamDeploymentRoleArrayInput` via: +// +// TeamDeploymentRoleArray{ TeamDeploymentRoleArgs{...} } +type TeamDeploymentRoleArrayInput interface { + pulumi.Input + + ToTeamDeploymentRoleArrayOutput() TeamDeploymentRoleArrayOutput + ToTeamDeploymentRoleArrayOutputWithContext(context.Context) TeamDeploymentRoleArrayOutput } -type GetClusterOptionsClusterOptionArrayOutput struct{ *pulumi.OutputState } +type TeamDeploymentRoleArray []TeamDeploymentRoleInput -func (GetClusterOptionsClusterOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOption)(nil)).Elem() +func (TeamDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamDeploymentRole)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionArrayOutput) ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput { +func (i TeamDeploymentRoleArray) ToTeamDeploymentRoleArrayOutput() TeamDeploymentRoleArrayOutput { + return i.ToTeamDeploymentRoleArrayOutputWithContext(context.Background()) +} + +func (i TeamDeploymentRoleArray) ToTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamDeploymentRoleArrayOutput) +} + +type TeamDeploymentRoleOutput struct{ *pulumi.OutputState } + +func (TeamDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamDeploymentRole)(nil)).Elem() +} + +func (o TeamDeploymentRoleOutput) ToTeamDeploymentRoleOutput() TeamDeploymentRoleOutput { return o } -func (o GetClusterOptionsClusterOptionArrayOutput) ToGetClusterOptionsClusterOptionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionArrayOutput { +func (o TeamDeploymentRoleOutput) ToTeamDeploymentRoleOutputWithContext(ctx context.Context) TeamDeploymentRoleOutput { return o } -func (o GetClusterOptionsClusterOptionArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOption { - return vs[0].([]GetClusterOptionsClusterOption)[vs[1].(int)] - }).(GetClusterOptionsClusterOptionOutput) +// The ID of the deployment to assign the role to +func (o TeamDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v TeamDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -type GetClusterOptionsClusterOptionDatabaseInstance struct { - // Provider instance cpu - Cpu int `pulumi:"cpu"` - // Provider instance memory - Memory string `pulumi:"memory"` - // Provider instance name - Name string `pulumi:"name"` +// The role to assign to the deployment +func (o TeamDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v TeamDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -// GetClusterOptionsClusterOptionDatabaseInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDatabaseInstanceArgs and GetClusterOptionsClusterOptionDatabaseInstanceOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionDatabaseInstanceInput` via: -// -// GetClusterOptionsClusterOptionDatabaseInstanceArgs{...} -type GetClusterOptionsClusterOptionDatabaseInstanceInput interface { - pulumi.Input +type TeamDeploymentRoleArrayOutput struct{ *pulumi.OutputState } - ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput - ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput +func (TeamDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamDeploymentRole)(nil)).Elem() } -type GetClusterOptionsClusterOptionDatabaseInstanceArgs struct { - // Provider instance cpu - Cpu pulumi.IntInput `pulumi:"cpu"` - // Provider instance memory - Memory pulumi.StringInput `pulumi:"memory"` - // Provider instance name - Name pulumi.StringInput `pulumi:"name"` +func (o TeamDeploymentRoleArrayOutput) ToTeamDeploymentRoleArrayOutput() TeamDeploymentRoleArrayOutput { + return o } -func (GetClusterOptionsClusterOptionDatabaseInstanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() +func (o TeamDeploymentRoleArrayOutput) ToTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamDeploymentRoleArrayOutput { + return o } -func (i GetClusterOptionsClusterOptionDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput { - return i.ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(context.Background()) +func (o TeamDeploymentRoleArrayOutput) Index(i pulumi.IntInput) TeamDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamDeploymentRole { + return vs[0].([]TeamDeploymentRole)[vs[1].(int)] + }).(TeamDeploymentRoleOutput) } -func (i GetClusterOptionsClusterOptionDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDatabaseInstanceOutput) +type TeamRolesDeploymentRole struct { + // The ID of the deployment to assign the role to + DeploymentId string `pulumi:"deploymentId"` + // The role to assign to the deployment + Role string `pulumi:"role"` } -// GetClusterOptionsClusterOptionDatabaseInstanceArrayInput is an input type that accepts GetClusterOptionsClusterOptionDatabaseInstanceArray and GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionDatabaseInstanceArrayInput` via: +// TeamRolesDeploymentRoleInput is an input type that accepts TeamRolesDeploymentRoleArgs and TeamRolesDeploymentRoleOutput values. +// You can construct a concrete instance of `TeamRolesDeploymentRoleInput` via: // -// GetClusterOptionsClusterOptionDatabaseInstanceArray{ GetClusterOptionsClusterOptionDatabaseInstanceArgs{...} } -type GetClusterOptionsClusterOptionDatabaseInstanceArrayInput interface { +// TeamRolesDeploymentRoleArgs{...} +type TeamRolesDeploymentRoleInput interface { pulumi.Input - ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput - ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput + ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput + ToTeamRolesDeploymentRoleOutputWithContext(context.Context) TeamRolesDeploymentRoleOutput } -type GetClusterOptionsClusterOptionDatabaseInstanceArray []GetClusterOptionsClusterOptionDatabaseInstanceInput - -func (GetClusterOptionsClusterOptionDatabaseInstanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() +type TeamRolesDeploymentRoleArgs struct { + // The ID of the deployment to assign the role to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role to assign to the deployment + Role pulumi.StringInput `pulumi:"role"` } -func (i GetClusterOptionsClusterOptionDatabaseInstanceArray) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { - return i.ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(context.Background()) +func (TeamRolesDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamRolesDeploymentRole)(nil)).Elem() } -func (i GetClusterOptionsClusterOptionDatabaseInstanceArray) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) +func (i TeamRolesDeploymentRoleArgs) ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput { + return i.ToTeamRolesDeploymentRoleOutputWithContext(context.Background()) } -type GetClusterOptionsClusterOptionDatabaseInstanceOutput struct{ *pulumi.OutputState } - -func (GetClusterOptionsClusterOptionDatabaseInstanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() +func (i TeamRolesDeploymentRoleArgs) ToTeamRolesDeploymentRoleOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamRolesDeploymentRoleOutput) } -func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput { - return o -} +// TeamRolesDeploymentRoleArrayInput is an input type that accepts TeamRolesDeploymentRoleArray and TeamRolesDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `TeamRolesDeploymentRoleArrayInput` via: +// +// TeamRolesDeploymentRoleArray{ TeamRolesDeploymentRoleArgs{...} } +type TeamRolesDeploymentRoleArrayInput interface { + pulumi.Input -func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput { - return o + ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput + ToTeamRolesDeploymentRoleArrayOutputWithContext(context.Context) TeamRolesDeploymentRoleArrayOutput } -// Provider instance cpu -func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) int { return v.Cpu }).(pulumi.IntOutput) +type TeamRolesDeploymentRoleArray []TeamRolesDeploymentRoleInput + +func (TeamRolesDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamRolesDeploymentRole)(nil)).Elem() } -// Provider instance memory -func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) string { return v.Memory }).(pulumi.StringOutput) +func (i TeamRolesDeploymentRoleArray) ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput { + return i.ToTeamRolesDeploymentRoleArrayOutputWithContext(context.Background()) } -// Provider instance name -func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) string { return v.Name }).(pulumi.StringOutput) +func (i TeamRolesDeploymentRoleArray) ToTeamRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamRolesDeploymentRoleArrayOutput) } -type GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput struct{ *pulumi.OutputState } +type TeamRolesDeploymentRoleOutput struct{ *pulumi.OutputState } -func (GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() +func (TeamRolesDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamRolesDeploymentRole)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { +func (o TeamRolesDeploymentRoleOutput) ToTeamRolesDeploymentRoleOutput() TeamRolesDeploymentRoleOutput { return o } -func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { +func (o TeamRolesDeploymentRoleOutput) ToTeamRolesDeploymentRoleOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleOutput { return o } -func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionDatabaseInstanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionDatabaseInstance { - return vs[0].([]GetClusterOptionsClusterOptionDatabaseInstance)[vs[1].(int)] - }).(GetClusterOptionsClusterOptionDatabaseInstanceOutput) +// The ID of the deployment to assign the role to +func (o TeamRolesDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v TeamRolesDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -type GetClusterOptionsClusterOptionDefaultDatabaseInstance struct { - // Provider instance cpu - Cpu int `pulumi:"cpu"` - // Provider instance memory - Memory string `pulumi:"memory"` - // Provider instance name - Name string `pulumi:"name"` +// The role to assign to the deployment +func (o TeamRolesDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v TeamRolesDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -// GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs and GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput` via: -// -// GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs{...} -type GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput interface { - pulumi.Input +type TeamRolesDeploymentRoleArrayOutput struct{ *pulumi.OutputState } - ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput - ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput +func (TeamRolesDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamRolesDeploymentRole)(nil)).Elem() } -type GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs struct { - // Provider instance cpu - Cpu pulumi.IntInput `pulumi:"cpu"` - // Provider instance memory - Memory pulumi.StringInput `pulumi:"memory"` - // Provider instance name - Name pulumi.StringInput `pulumi:"name"` +func (o TeamRolesDeploymentRoleArrayOutput) ToTeamRolesDeploymentRoleArrayOutput() TeamRolesDeploymentRoleArrayOutput { + return o } -func (GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultDatabaseInstance)(nil)).Elem() +func (o TeamRolesDeploymentRoleArrayOutput) ToTeamRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) TeamRolesDeploymentRoleArrayOutput { + return o } -func (i GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { - return i.ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(context.Background()) +func (o TeamRolesDeploymentRoleArrayOutput) Index(i pulumi.IntInput) TeamRolesDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamRolesDeploymentRole { + return vs[0].([]TeamRolesDeploymentRole)[vs[1].(int)] + }).(TeamRolesDeploymentRoleOutput) } -func (i GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) +type TeamRolesWorkspaceRole struct { + // The role to assign to the workspace + Role string `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId string `pulumi:"workspaceId"` } -type GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput struct{ *pulumi.OutputState } +// TeamRolesWorkspaceRoleInput is an input type that accepts TeamRolesWorkspaceRoleArgs and TeamRolesWorkspaceRoleOutput values. +// You can construct a concrete instance of `TeamRolesWorkspaceRoleInput` via: +// +// TeamRolesWorkspaceRoleArgs{...} +type TeamRolesWorkspaceRoleInput interface { + pulumi.Input -func (GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultDatabaseInstance)(nil)).Elem() + ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput + ToTeamRolesWorkspaceRoleOutputWithContext(context.Context) TeamRolesWorkspaceRoleOutput } -func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { - return o +type TeamRolesWorkspaceRoleArgs struct { + // The role to assign to the workspace + Role pulumi.StringInput `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { - return o +func (TeamRolesWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamRolesWorkspaceRole)(nil)).Elem() } -// Provider instance cpu -func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) int { return v.Cpu }).(pulumi.IntOutput) +func (i TeamRolesWorkspaceRoleArgs) ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput { + return i.ToTeamRolesWorkspaceRoleOutputWithContext(context.Background()) } -// Provider instance memory -func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) string { return v.Memory }).(pulumi.StringOutput) +func (i TeamRolesWorkspaceRoleArgs) ToTeamRolesWorkspaceRoleOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamRolesWorkspaceRoleOutput) } -// Provider instance name -func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) string { return v.Name }).(pulumi.StringOutput) +// TeamRolesWorkspaceRoleArrayInput is an input type that accepts TeamRolesWorkspaceRoleArray and TeamRolesWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `TeamRolesWorkspaceRoleArrayInput` via: +// +// TeamRolesWorkspaceRoleArray{ TeamRolesWorkspaceRoleArgs{...} } +type TeamRolesWorkspaceRoleArrayInput interface { + pulumi.Input + + ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput + ToTeamRolesWorkspaceRoleArrayOutputWithContext(context.Context) TeamRolesWorkspaceRoleArrayOutput } -type GetClusterOptionsClusterOptionDefaultNodeInstance struct { - // Provider instance cpu - Cpu int `pulumi:"cpu"` - // Provider instance memory - Memory string `pulumi:"memory"` - // Provider instance name - Name string `pulumi:"name"` +type TeamRolesWorkspaceRoleArray []TeamRolesWorkspaceRoleInput + +func (TeamRolesWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamRolesWorkspaceRole)(nil)).Elem() } -// GetClusterOptionsClusterOptionDefaultNodeInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDefaultNodeInstanceArgs and GetClusterOptionsClusterOptionDefaultNodeInstanceOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultNodeInstanceInput` via: -// -// GetClusterOptionsClusterOptionDefaultNodeInstanceArgs{...} -type GetClusterOptionsClusterOptionDefaultNodeInstanceInput interface { - pulumi.Input +func (i TeamRolesWorkspaceRoleArray) ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput { + return i.ToTeamRolesWorkspaceRoleArrayOutputWithContext(context.Background()) +} - ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput - ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput +func (i TeamRolesWorkspaceRoleArray) ToTeamRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamRolesWorkspaceRoleArrayOutput) } -type GetClusterOptionsClusterOptionDefaultNodeInstanceArgs struct { - // Provider instance cpu - Cpu pulumi.IntInput `pulumi:"cpu"` - // Provider instance memory - Memory pulumi.StringInput `pulumi:"memory"` - // Provider instance name - Name pulumi.StringInput `pulumi:"name"` +type TeamRolesWorkspaceRoleOutput struct{ *pulumi.OutputState } + +func (TeamRolesWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamRolesWorkspaceRole)(nil)).Elem() } -func (GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultNodeInstance)(nil)).Elem() +func (o TeamRolesWorkspaceRoleOutput) ToTeamRolesWorkspaceRoleOutput() TeamRolesWorkspaceRoleOutput { + return o } -func (i GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { - return i.ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(context.Background()) +func (o TeamRolesWorkspaceRoleOutput) ToTeamRolesWorkspaceRoleOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleOutput { + return o } -func (i GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) +// The role to assign to the workspace +func (o TeamRolesWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v TeamRolesWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } -type GetClusterOptionsClusterOptionDefaultNodeInstanceOutput struct{ *pulumi.OutputState } +// The ID of the workspace to assign the role to +func (o TeamRolesWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v TeamRolesWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) +} -func (GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultNodeInstance)(nil)).Elem() +type TeamRolesWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } + +func (TeamRolesWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamRolesWorkspaceRole)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { +func (o TeamRolesWorkspaceRoleArrayOutput) ToTeamRolesWorkspaceRoleArrayOutput() TeamRolesWorkspaceRoleArrayOutput { return o } -func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { +func (o TeamRolesWorkspaceRoleArrayOutput) ToTeamRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamRolesWorkspaceRoleArrayOutput { return o } -// Provider instance cpu -func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) int { return v.Cpu }).(pulumi.IntOutput) +func (o TeamRolesWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) TeamRolesWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamRolesWorkspaceRole { + return vs[0].([]TeamRolesWorkspaceRole)[vs[1].(int)] + }).(TeamRolesWorkspaceRoleOutput) } -// Provider instance memory -func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) string { return v.Memory }).(pulumi.StringOutput) +type TeamUpdatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// Provider instance name -func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) string { return v.Name }).(pulumi.StringOutput) +// TeamUpdatedByInput is an input type that accepts TeamUpdatedByArgs and TeamUpdatedByOutput values. +// You can construct a concrete instance of `TeamUpdatedByInput` via: +// +// TeamUpdatedByArgs{...} +type TeamUpdatedByInput interface { + pulumi.Input + + ToTeamUpdatedByOutput() TeamUpdatedByOutput + ToTeamUpdatedByOutputWithContext(context.Context) TeamUpdatedByOutput } -type GetClusterOptionsClusterOptionDefaultRegion struct { - // Region banned instances - BannedInstances []string `pulumi:"bannedInstances"` - // Region is limited bool - Limited bool `pulumi:"limited"` - // Region is limited bool - Name string `pulumi:"name"` +type TeamUpdatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -// GetClusterOptionsClusterOptionDefaultRegionInput is an input type that accepts GetClusterOptionsClusterOptionDefaultRegionArgs and GetClusterOptionsClusterOptionDefaultRegionOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultRegionInput` via: +func (TeamUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamUpdatedBy)(nil)).Elem() +} + +func (i TeamUpdatedByArgs) ToTeamUpdatedByOutput() TeamUpdatedByOutput { + return i.ToTeamUpdatedByOutputWithContext(context.Background()) +} + +func (i TeamUpdatedByArgs) ToTeamUpdatedByOutputWithContext(ctx context.Context) TeamUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamUpdatedByOutput) +} + +func (i TeamUpdatedByArgs) ToTeamUpdatedByPtrOutput() TeamUpdatedByPtrOutput { + return i.ToTeamUpdatedByPtrOutputWithContext(context.Background()) +} + +func (i TeamUpdatedByArgs) ToTeamUpdatedByPtrOutputWithContext(ctx context.Context) TeamUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamUpdatedByOutput).ToTeamUpdatedByPtrOutputWithContext(ctx) +} + +// TeamUpdatedByPtrInput is an input type that accepts TeamUpdatedByArgs, TeamUpdatedByPtr and TeamUpdatedByPtrOutput values. +// You can construct a concrete instance of `TeamUpdatedByPtrInput` via: // -// GetClusterOptionsClusterOptionDefaultRegionArgs{...} -type GetClusterOptionsClusterOptionDefaultRegionInput interface { +// TeamUpdatedByArgs{...} +// +// or: +// +// nil +type TeamUpdatedByPtrInput interface { pulumi.Input - ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput - ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput + ToTeamUpdatedByPtrOutput() TeamUpdatedByPtrOutput + ToTeamUpdatedByPtrOutputWithContext(context.Context) TeamUpdatedByPtrOutput } -type GetClusterOptionsClusterOptionDefaultRegionArgs struct { - // Region banned instances - BannedInstances pulumi.StringArrayInput `pulumi:"bannedInstances"` - // Region is limited bool - Limited pulumi.BoolInput `pulumi:"limited"` - // Region is limited bool - Name pulumi.StringInput `pulumi:"name"` +type teamUpdatedByPtrType TeamUpdatedByArgs + +func TeamUpdatedByPtr(v *TeamUpdatedByArgs) TeamUpdatedByPtrInput { + return (*teamUpdatedByPtrType)(v) } -func (GetClusterOptionsClusterOptionDefaultRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultRegion)(nil)).Elem() +func (*teamUpdatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TeamUpdatedBy)(nil)).Elem() } -func (i GetClusterOptionsClusterOptionDefaultRegionArgs) ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput { - return i.ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(context.Background()) +func (i *teamUpdatedByPtrType) ToTeamUpdatedByPtrOutput() TeamUpdatedByPtrOutput { + return i.ToTeamUpdatedByPtrOutputWithContext(context.Background()) } -func (i GetClusterOptionsClusterOptionDefaultRegionArgs) ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultRegionOutput) +func (i *teamUpdatedByPtrType) ToTeamUpdatedByPtrOutputWithContext(ctx context.Context) TeamUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamUpdatedByPtrOutput) } -type GetClusterOptionsClusterOptionDefaultRegionOutput struct{ *pulumi.OutputState } +type TeamUpdatedByOutput struct{ *pulumi.OutputState } -func (GetClusterOptionsClusterOptionDefaultRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultRegion)(nil)).Elem() +func (TeamUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamUpdatedBy)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionDefaultRegionOutput) ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput { +func (o TeamUpdatedByOutput) ToTeamUpdatedByOutput() TeamUpdatedByOutput { return o } -func (o GetClusterOptionsClusterOptionDefaultRegionOutput) ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput { +func (o TeamUpdatedByOutput) ToTeamUpdatedByOutputWithContext(ctx context.Context) TeamUpdatedByOutput { return o } -// Region banned instances -func (o GetClusterOptionsClusterOptionDefaultRegionOutput) BannedInstances() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) []string { return v.BannedInstances }).(pulumi.StringArrayOutput) +func (o TeamUpdatedByOutput) ToTeamUpdatedByPtrOutput() TeamUpdatedByPtrOutput { + return o.ToTeamUpdatedByPtrOutputWithContext(context.Background()) } -// Region is limited bool -func (o GetClusterOptionsClusterOptionDefaultRegionOutput) Limited() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) bool { return v.Limited }).(pulumi.BoolOutput) +func (o TeamUpdatedByOutput) ToTeamUpdatedByPtrOutputWithContext(ctx context.Context) TeamUpdatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TeamUpdatedBy) *TeamUpdatedBy { + return &v + }).(TeamUpdatedByPtrOutput) } -// Region is limited bool -func (o GetClusterOptionsClusterOptionDefaultRegionOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) string { return v.Name }).(pulumi.StringOutput) +func (o TeamUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -type GetClusterOptionsClusterOptionNodeInstance struct { - // Provider instance cpu - Cpu int `pulumi:"cpu"` - // Provider instance memory - Memory string `pulumi:"memory"` - // Provider instance name - Name string `pulumi:"name"` +func (o TeamUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -// GetClusterOptionsClusterOptionNodeInstanceInput is an input type that accepts GetClusterOptionsClusterOptionNodeInstanceArgs and GetClusterOptionsClusterOptionNodeInstanceOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionNodeInstanceInput` via: -// -// GetClusterOptionsClusterOptionNodeInstanceArgs{...} -type GetClusterOptionsClusterOptionNodeInstanceInput interface { - pulumi.Input +func (o TeamUpdatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) +} - ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput - ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput +func (o TeamUpdatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -type GetClusterOptionsClusterOptionNodeInstanceArgs struct { - // Provider instance cpu - Cpu pulumi.IntInput `pulumi:"cpu"` - // Provider instance memory - Memory pulumi.StringInput `pulumi:"memory"` - // Provider instance name - Name pulumi.StringInput `pulumi:"name"` +func (o TeamUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (GetClusterOptionsClusterOptionNodeInstanceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() +func (o TeamUpdatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v TeamUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (i GetClusterOptionsClusterOptionNodeInstanceArgs) ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput { - return i.ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(context.Background()) -} +type TeamUpdatedByPtrOutput struct{ *pulumi.OutputState } -func (i GetClusterOptionsClusterOptionNodeInstanceArgs) ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionNodeInstanceOutput) +func (TeamUpdatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TeamUpdatedBy)(nil)).Elem() } -// GetClusterOptionsClusterOptionNodeInstanceArrayInput is an input type that accepts GetClusterOptionsClusterOptionNodeInstanceArray and GetClusterOptionsClusterOptionNodeInstanceArrayOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionNodeInstanceArrayInput` via: -// -// GetClusterOptionsClusterOptionNodeInstanceArray{ GetClusterOptionsClusterOptionNodeInstanceArgs{...} } -type GetClusterOptionsClusterOptionNodeInstanceArrayInput interface { - pulumi.Input - - ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput - ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput +func (o TeamUpdatedByPtrOutput) ToTeamUpdatedByPtrOutput() TeamUpdatedByPtrOutput { + return o } -type GetClusterOptionsClusterOptionNodeInstanceArray []GetClusterOptionsClusterOptionNodeInstanceInput - -func (GetClusterOptionsClusterOptionNodeInstanceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() +func (o TeamUpdatedByPtrOutput) ToTeamUpdatedByPtrOutputWithContext(ctx context.Context) TeamUpdatedByPtrOutput { + return o } -func (i GetClusterOptionsClusterOptionNodeInstanceArray) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { - return i.ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(context.Background()) +func (o TeamUpdatedByPtrOutput) Elem() TeamUpdatedByOutput { + return o.ApplyT(func(v *TeamUpdatedBy) TeamUpdatedBy { + if v != nil { + return *v + } + var ret TeamUpdatedBy + return ret + }).(TeamUpdatedByOutput) } -func (i GetClusterOptionsClusterOptionNodeInstanceArray) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionNodeInstanceArrayOutput) +func (o TeamUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -type GetClusterOptionsClusterOptionNodeInstanceOutput struct{ *pulumi.OutputState } - -func (GetClusterOptionsClusterOptionNodeInstanceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() +func (o TeamUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -func (o GetClusterOptionsClusterOptionNodeInstanceOutput) ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput { - return o +func (o TeamUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (o GetClusterOptionsClusterOptionNodeInstanceOutput) ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput { - return o +func (o TeamUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -// Provider instance cpu -func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) int { return v.Cpu }).(pulumi.IntOutput) +func (o TeamUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -// Provider instance memory -func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) string { return v.Memory }).(pulumi.StringOutput) +func (o TeamUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TeamUpdatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -// Provider instance name -func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) string { return v.Name }).(pulumi.StringOutput) +type TeamWorkspaceRole struct { + // The role to assign to the workspace + Role string `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId string `pulumi:"workspaceId"` } -type GetClusterOptionsClusterOptionNodeInstanceArrayOutput struct{ *pulumi.OutputState } +// TeamWorkspaceRoleInput is an input type that accepts TeamWorkspaceRoleArgs and TeamWorkspaceRoleOutput values. +// You can construct a concrete instance of `TeamWorkspaceRoleInput` via: +// +// TeamWorkspaceRoleArgs{...} +type TeamWorkspaceRoleInput interface { + pulumi.Input -func (GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() + ToTeamWorkspaceRoleOutput() TeamWorkspaceRoleOutput + ToTeamWorkspaceRoleOutputWithContext(context.Context) TeamWorkspaceRoleOutput } -func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { - return o +type TeamWorkspaceRoleArgs struct { + // The role to assign to the workspace + Role pulumi.StringInput `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput { - return o +func (TeamWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TeamWorkspaceRole)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionNodeInstanceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionNodeInstance { - return vs[0].([]GetClusterOptionsClusterOptionNodeInstance)[vs[1].(int)] - }).(GetClusterOptionsClusterOptionNodeInstanceOutput) +func (i TeamWorkspaceRoleArgs) ToTeamWorkspaceRoleOutput() TeamWorkspaceRoleOutput { + return i.ToTeamWorkspaceRoleOutputWithContext(context.Background()) } -type GetClusterOptionsClusterOptionRegion struct { - // Region banned instances - BannedInstances []string `pulumi:"bannedInstances"` - // Region is limited bool - Limited bool `pulumi:"limited"` - // Region is limited bool - Name string `pulumi:"name"` +func (i TeamWorkspaceRoleArgs) ToTeamWorkspaceRoleOutputWithContext(ctx context.Context) TeamWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamWorkspaceRoleOutput) } -// GetClusterOptionsClusterOptionRegionInput is an input type that accepts GetClusterOptionsClusterOptionRegionArgs and GetClusterOptionsClusterOptionRegionOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionRegionInput` via: +// TeamWorkspaceRoleArrayInput is an input type that accepts TeamWorkspaceRoleArray and TeamWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `TeamWorkspaceRoleArrayInput` via: // -// GetClusterOptionsClusterOptionRegionArgs{...} -type GetClusterOptionsClusterOptionRegionInput interface { +// TeamWorkspaceRoleArray{ TeamWorkspaceRoleArgs{...} } +type TeamWorkspaceRoleArrayInput interface { pulumi.Input - ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput - ToGetClusterOptionsClusterOptionRegionOutputWithContext(context.Context) GetClusterOptionsClusterOptionRegionOutput + ToTeamWorkspaceRoleArrayOutput() TeamWorkspaceRoleArrayOutput + ToTeamWorkspaceRoleArrayOutputWithContext(context.Context) TeamWorkspaceRoleArrayOutput } -type GetClusterOptionsClusterOptionRegionArgs struct { - // Region banned instances - BannedInstances pulumi.StringArrayInput `pulumi:"bannedInstances"` - // Region is limited bool - Limited pulumi.BoolInput `pulumi:"limited"` - // Region is limited bool - Name pulumi.StringInput `pulumi:"name"` -} +type TeamWorkspaceRoleArray []TeamWorkspaceRoleInput -func (GetClusterOptionsClusterOptionRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionRegion)(nil)).Elem() +func (TeamWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamWorkspaceRole)(nil)).Elem() } -func (i GetClusterOptionsClusterOptionRegionArgs) ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput { - return i.ToGetClusterOptionsClusterOptionRegionOutputWithContext(context.Background()) +func (i TeamWorkspaceRoleArray) ToTeamWorkspaceRoleArrayOutput() TeamWorkspaceRoleArrayOutput { + return i.ToTeamWorkspaceRoleArrayOutputWithContext(context.Background()) } -func (i GetClusterOptionsClusterOptionRegionArgs) ToGetClusterOptionsClusterOptionRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionRegionOutput) +func (i TeamWorkspaceRoleArray) ToTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamWorkspaceRoleArrayOutput) } -// GetClusterOptionsClusterOptionRegionArrayInput is an input type that accepts GetClusterOptionsClusterOptionRegionArray and GetClusterOptionsClusterOptionRegionArrayOutput values. -// You can construct a concrete instance of `GetClusterOptionsClusterOptionRegionArrayInput` via: -// -// GetClusterOptionsClusterOptionRegionArray{ GetClusterOptionsClusterOptionRegionArgs{...} } -type GetClusterOptionsClusterOptionRegionArrayInput interface { - pulumi.Input +type TeamWorkspaceRoleOutput struct{ *pulumi.OutputState } - ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput - ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionRegionArrayOutput +func (TeamWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TeamWorkspaceRole)(nil)).Elem() } -type GetClusterOptionsClusterOptionRegionArray []GetClusterOptionsClusterOptionRegionInput +func (o TeamWorkspaceRoleOutput) ToTeamWorkspaceRoleOutput() TeamWorkspaceRoleOutput { + return o +} -func (GetClusterOptionsClusterOptionRegionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionRegion)(nil)).Elem() +func (o TeamWorkspaceRoleOutput) ToTeamWorkspaceRoleOutputWithContext(ctx context.Context) TeamWorkspaceRoleOutput { + return o } -func (i GetClusterOptionsClusterOptionRegionArray) ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput { - return i.ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(context.Background()) +// The role to assign to the workspace +func (o TeamWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v TeamWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } -func (i GetClusterOptionsClusterOptionRegionArray) ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionRegionArrayOutput) +// The ID of the workspace to assign the role to +func (o TeamWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v TeamWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -type GetClusterOptionsClusterOptionRegionOutput struct{ *pulumi.OutputState } +type TeamWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } -func (GetClusterOptionsClusterOptionRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOptionsClusterOptionRegion)(nil)).Elem() +func (TeamWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TeamWorkspaceRole)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionRegionOutput) ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput { +func (o TeamWorkspaceRoleArrayOutput) ToTeamWorkspaceRoleArrayOutput() TeamWorkspaceRoleArrayOutput { return o } -func (o GetClusterOptionsClusterOptionRegionOutput) ToGetClusterOptionsClusterOptionRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionOutput { +func (o TeamWorkspaceRoleArrayOutput) ToTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) TeamWorkspaceRoleArrayOutput { return o } -// Region banned instances -func (o GetClusterOptionsClusterOptionRegionOutput) BannedInstances() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) []string { return v.BannedInstances }).(pulumi.StringArrayOutput) +func (o TeamWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) TeamWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TeamWorkspaceRole { + return vs[0].([]TeamWorkspaceRole)[vs[1].(int)] + }).(TeamWorkspaceRoleOutput) } -// Region is limited bool -func (o GetClusterOptionsClusterOptionRegionOutput) Limited() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) bool { return v.Limited }).(pulumi.BoolOutput) +type UserInviteInvitee struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// Region is limited bool -func (o GetClusterOptionsClusterOptionRegionOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) string { return v.Name }).(pulumi.StringOutput) +// UserInviteInviteeInput is an input type that accepts UserInviteInviteeArgs and UserInviteInviteeOutput values. +// You can construct a concrete instance of `UserInviteInviteeInput` via: +// +// UserInviteInviteeArgs{...} +type UserInviteInviteeInput interface { + pulumi.Input + + ToUserInviteInviteeOutput() UserInviteInviteeOutput + ToUserInviteInviteeOutputWithContext(context.Context) UserInviteInviteeOutput } -type GetClusterOptionsClusterOptionRegionArrayOutput struct{ *pulumi.OutputState } +type UserInviteInviteeArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` +} -func (GetClusterOptionsClusterOptionRegionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterOptionsClusterOptionRegion)(nil)).Elem() +func (UserInviteInviteeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserInviteInvitee)(nil)).Elem() } -func (o GetClusterOptionsClusterOptionRegionArrayOutput) ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput { - return o +func (i UserInviteInviteeArgs) ToUserInviteInviteeOutput() UserInviteInviteeOutput { + return i.ToUserInviteInviteeOutputWithContext(context.Background()) } -func (o GetClusterOptionsClusterOptionRegionArrayOutput) ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionArrayOutput { - return o +func (i UserInviteInviteeArgs) ToUserInviteInviteeOutputWithContext(ctx context.Context) UserInviteInviteeOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviteeOutput) } -func (o GetClusterOptionsClusterOptionRegionArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionRegionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionRegion { - return vs[0].([]GetClusterOptionsClusterOptionRegion)[vs[1].(int)] - }).(GetClusterOptionsClusterOptionRegionOutput) +func (i UserInviteInviteeArgs) ToUserInviteInviteePtrOutput() UserInviteInviteePtrOutput { + return i.ToUserInviteInviteePtrOutputWithContext(context.Background()) } -type GetClusterTag struct { - // Cluster tag key - Key string `pulumi:"key"` - // Cluster tag value - Value string `pulumi:"value"` +func (i UserInviteInviteeArgs) ToUserInviteInviteePtrOutputWithContext(ctx context.Context) UserInviteInviteePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviteeOutput).ToUserInviteInviteePtrOutputWithContext(ctx) } -// GetClusterTagInput is an input type that accepts GetClusterTagArgs and GetClusterTagOutput values. -// You can construct a concrete instance of `GetClusterTagInput` via: +// UserInviteInviteePtrInput is an input type that accepts UserInviteInviteeArgs, UserInviteInviteePtr and UserInviteInviteePtrOutput values. +// You can construct a concrete instance of `UserInviteInviteePtrInput` via: // -// GetClusterTagArgs{...} -type GetClusterTagInput interface { +// UserInviteInviteeArgs{...} +// +// or: +// +// nil +type UserInviteInviteePtrInput interface { pulumi.Input - ToGetClusterTagOutput() GetClusterTagOutput - ToGetClusterTagOutputWithContext(context.Context) GetClusterTagOutput + ToUserInviteInviteePtrOutput() UserInviteInviteePtrOutput + ToUserInviteInviteePtrOutputWithContext(context.Context) UserInviteInviteePtrOutput } -type GetClusterTagArgs struct { - // Cluster tag key - Key pulumi.StringInput `pulumi:"key"` - // Cluster tag value - Value pulumi.StringInput `pulumi:"value"` +type userInviteInviteePtrType UserInviteInviteeArgs + +func UserInviteInviteePtr(v *UserInviteInviteeArgs) UserInviteInviteePtrInput { + return (*userInviteInviteePtrType)(v) } -func (GetClusterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTag)(nil)).Elem() +func (*userInviteInviteePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**UserInviteInvitee)(nil)).Elem() } -func (i GetClusterTagArgs) ToGetClusterTagOutput() GetClusterTagOutput { - return i.ToGetClusterTagOutputWithContext(context.Background()) +func (i *userInviteInviteePtrType) ToUserInviteInviteePtrOutput() UserInviteInviteePtrOutput { + return i.ToUserInviteInviteePtrOutputWithContext(context.Background()) } -func (i GetClusterTagArgs) ToGetClusterTagOutputWithContext(ctx context.Context) GetClusterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTagOutput) +func (i *userInviteInviteePtrType) ToUserInviteInviteePtrOutputWithContext(ctx context.Context) UserInviteInviteePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviteePtrOutput) } -// GetClusterTagArrayInput is an input type that accepts GetClusterTagArray and GetClusterTagArrayOutput values. -// You can construct a concrete instance of `GetClusterTagArrayInput` via: -// -// GetClusterTagArray{ GetClusterTagArgs{...} } -type GetClusterTagArrayInput interface { - pulumi.Input +type UserInviteInviteeOutput struct{ *pulumi.OutputState } - ToGetClusterTagArrayOutput() GetClusterTagArrayOutput - ToGetClusterTagArrayOutputWithContext(context.Context) GetClusterTagArrayOutput +func (UserInviteInviteeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserInviteInvitee)(nil)).Elem() } -type GetClusterTagArray []GetClusterTagInput +func (o UserInviteInviteeOutput) ToUserInviteInviteeOutput() UserInviteInviteeOutput { + return o +} -func (GetClusterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTag)(nil)).Elem() +func (o UserInviteInviteeOutput) ToUserInviteInviteeOutputWithContext(ctx context.Context) UserInviteInviteeOutput { + return o } -func (i GetClusterTagArray) ToGetClusterTagArrayOutput() GetClusterTagArrayOutput { - return i.ToGetClusterTagArrayOutputWithContext(context.Background()) +func (o UserInviteInviteeOutput) ToUserInviteInviteePtrOutput() UserInviteInviteePtrOutput { + return o.ToUserInviteInviteePtrOutputWithContext(context.Background()) } -func (i GetClusterTagArray) ToGetClusterTagArrayOutputWithContext(ctx context.Context) GetClusterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTagArrayOutput) +func (o UserInviteInviteeOutput) ToUserInviteInviteePtrOutputWithContext(ctx context.Context) UserInviteInviteePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v UserInviteInvitee) *UserInviteInvitee { + return &v + }).(UserInviteInviteePtrOutput) } -type GetClusterTagOutput struct{ *pulumi.OutputState } +func (o UserInviteInviteeOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) +} -func (GetClusterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTag)(nil)).Elem() +func (o UserInviteInviteeOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -func (o GetClusterTagOutput) ToGetClusterTagOutput() GetClusterTagOutput { - return o +func (o UserInviteInviteeOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o GetClusterTagOutput) ToGetClusterTagOutputWithContext(ctx context.Context) GetClusterTagOutput { - return o +func (o UserInviteInviteeOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.Id }).(pulumi.StringPtrOutput) } -// Cluster tag key -func (o GetClusterTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTag) string { return v.Key }).(pulumi.StringOutput) +func (o UserInviteInviteeOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -// Cluster tag value -func (o GetClusterTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTag) string { return v.Value }).(pulumi.StringOutput) +func (o UserInviteInviteeOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInvitee) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetClusterTagArrayOutput struct{ *pulumi.OutputState } +type UserInviteInviteePtrOutput struct{ *pulumi.OutputState } -func (GetClusterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTag)(nil)).Elem() +func (UserInviteInviteePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UserInviteInvitee)(nil)).Elem() } -func (o GetClusterTagArrayOutput) ToGetClusterTagArrayOutput() GetClusterTagArrayOutput { +func (o UserInviteInviteePtrOutput) ToUserInviteInviteePtrOutput() UserInviteInviteePtrOutput { return o } -func (o GetClusterTagArrayOutput) ToGetClusterTagArrayOutputWithContext(ctx context.Context) GetClusterTagArrayOutput { +func (o UserInviteInviteePtrOutput) ToUserInviteInviteePtrOutputWithContext(ctx context.Context) UserInviteInviteePtrOutput { return o } -func (o GetClusterTagArrayOutput) Index(i pulumi.IntInput) GetClusterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTag { - return vs[0].([]GetClusterTag)[vs[1].(int)] - }).(GetClusterTagOutput) +func (o UserInviteInviteePtrOutput) Elem() UserInviteInviteeOutput { + return o.ApplyT(func(v *UserInviteInvitee) UserInviteInvitee { + if v != nil { + return *v + } + var ret UserInviteInvitee + return ret + }).(UserInviteInviteeOutput) } -type GetClustersCluster struct { - // Cluster cloud provider - CloudProvider string `pulumi:"cloudProvider"` - // Cluster creation timestamp - CreatedAt string `pulumi:"createdAt"` - // Cluster database instance type - DbInstanceType string `pulumi:"dbInstanceType"` - // Cluster identifier - Id string `pulumi:"id"` - // Whether the cluster is limited - IsLimited bool `pulumi:"isLimited"` - // Cluster metadata - Metadata GetClustersClusterMetadata `pulumi:"metadata"` - // Cluster name - Name string `pulumi:"name"` - // Cluster node pools - NodePools []GetClustersClusterNodePool `pulumi:"nodePools"` - // Cluster pod subnet range - PodSubnetRange string `pulumi:"podSubnetRange"` - // Cluster provider account - ProviderAccount string `pulumi:"providerAccount"` - // Cluster region - Region string `pulumi:"region"` - // Cluster service peering range - ServicePeeringRange string `pulumi:"servicePeeringRange"` - // Cluster service subnet range - ServiceSubnetRange string `pulumi:"serviceSubnetRange"` - // Cluster status - Status string `pulumi:"status"` - // Cluster tags - Tags []GetClustersClusterTag `pulumi:"tags"` - // Cluster tenant ID - TenantId string `pulumi:"tenantId"` - // Cluster type - Type string `pulumi:"type"` - // Cluster last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` - // Cluster VPC subnet range - VpcSubnetRange string `pulumi:"vpcSubnetRange"` - // Cluster workspace IDs - WorkspaceIds []string `pulumi:"workspaceIds"` +func (o UserInviteInviteePtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -// GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. -// You can construct a concrete instance of `GetClustersClusterInput` via: -// -// GetClustersClusterArgs{...} -type GetClustersClusterInput interface { - pulumi.Input +func (o UserInviteInviteePtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) +} - ToGetClustersClusterOutput() GetClustersClusterOutput - ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput +func (o UserInviteInviteePtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -type GetClustersClusterArgs struct { - // Cluster cloud provider - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` - // Cluster creation timestamp - CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Cluster database instance type - DbInstanceType pulumi.StringInput `pulumi:"dbInstanceType"` - // Cluster identifier - Id pulumi.StringInput `pulumi:"id"` - // Whether the cluster is limited - IsLimited pulumi.BoolInput `pulumi:"isLimited"` - // Cluster metadata - Metadata GetClustersClusterMetadataInput `pulumi:"metadata"` - // Cluster name - Name pulumi.StringInput `pulumi:"name"` - // Cluster node pools - NodePools GetClustersClusterNodePoolArrayInput `pulumi:"nodePools"` - // Cluster pod subnet range - PodSubnetRange pulumi.StringInput `pulumi:"podSubnetRange"` - // Cluster provider account - ProviderAccount pulumi.StringInput `pulumi:"providerAccount"` - // Cluster region - Region pulumi.StringInput `pulumi:"region"` - // Cluster service peering range - ServicePeeringRange pulumi.StringInput `pulumi:"servicePeeringRange"` - // Cluster service subnet range - ServiceSubnetRange pulumi.StringInput `pulumi:"serviceSubnetRange"` - // Cluster status - Status pulumi.StringInput `pulumi:"status"` - // Cluster tags - Tags GetClustersClusterTagArrayInput `pulumi:"tags"` - // Cluster tenant ID - TenantId pulumi.StringInput `pulumi:"tenantId"` - // Cluster type - Type pulumi.StringInput `pulumi:"type"` - // Cluster last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // Cluster VPC subnet range - VpcSubnetRange pulumi.StringInput `pulumi:"vpcSubnetRange"` - // Cluster workspace IDs - WorkspaceIds pulumi.StringArrayInput `pulumi:"workspaceIds"` +func (o UserInviteInviteePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (GetClustersClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersCluster)(nil)).Elem() +func (o UserInviteInviteePtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput { - return i.ToGetClustersClusterOutputWithContext(context.Background()) +func (o UserInviteInviteePtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInvitee) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterOutput) +type UserInviteInviter struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. -// You can construct a concrete instance of `GetClustersClusterArrayInput` via: +// UserInviteInviterInput is an input type that accepts UserInviteInviterArgs and UserInviteInviterOutput values. +// You can construct a concrete instance of `UserInviteInviterInput` via: // -// GetClustersClusterArray{ GetClustersClusterArgs{...} } -type GetClustersClusterArrayInput interface { +// UserInviteInviterArgs{...} +type UserInviteInviterInput interface { pulumi.Input - ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput - ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput -} - -type GetClustersClusterArray []GetClustersClusterInput - -func (GetClustersClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem() + ToUserInviteInviterOutput() UserInviteInviterOutput + ToUserInviteInviterOutputWithContext(context.Context) UserInviteInviterOutput } -func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput { - return i.ToGetClustersClusterArrayOutputWithContext(context.Background()) +type UserInviteInviterArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterArrayOutput) +func (UserInviteInviterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserInviteInviter)(nil)).Elem() } -type GetClustersClusterOutput struct{ *pulumi.OutputState } - -func (GetClustersClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersCluster)(nil)).Elem() +func (i UserInviteInviterArgs) ToUserInviteInviterOutput() UserInviteInviterOutput { + return i.ToUserInviteInviterOutputWithContext(context.Background()) } -func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput { - return o +func (i UserInviteInviterArgs) ToUserInviteInviterOutputWithContext(ctx context.Context) UserInviteInviterOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviterOutput) } -func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput { - return o +func (i UserInviteInviterArgs) ToUserInviteInviterPtrOutput() UserInviteInviterPtrOutput { + return i.ToUserInviteInviterPtrOutputWithContext(context.Background()) } -// Cluster cloud provider -func (o GetClustersClusterOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.CloudProvider }).(pulumi.StringOutput) +func (i UserInviteInviterArgs) ToUserInviteInviterPtrOutputWithContext(ctx context.Context) UserInviteInviterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviterOutput).ToUserInviteInviterPtrOutputWithContext(ctx) } -// Cluster creation timestamp -func (o GetClustersClusterOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.CreatedAt }).(pulumi.StringOutput) -} +// UserInviteInviterPtrInput is an input type that accepts UserInviteInviterArgs, UserInviteInviterPtr and UserInviteInviterPtrOutput values. +// You can construct a concrete instance of `UserInviteInviterPtrInput` via: +// +// UserInviteInviterArgs{...} +// +// or: +// +// nil +type UserInviteInviterPtrInput interface { + pulumi.Input -// Cluster database instance type -func (o GetClustersClusterOutput) DbInstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.DbInstanceType }).(pulumi.StringOutput) + ToUserInviteInviterPtrOutput() UserInviteInviterPtrOutput + ToUserInviteInviterPtrOutputWithContext(context.Context) UserInviteInviterPtrOutput } -// Cluster identifier -func (o GetClustersClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.Id }).(pulumi.StringOutput) -} +type userInviteInviterPtrType UserInviteInviterArgs -// Whether the cluster is limited -func (o GetClustersClusterOutput) IsLimited() pulumi.BoolOutput { - return o.ApplyT(func(v GetClustersCluster) bool { return v.IsLimited }).(pulumi.BoolOutput) +func UserInviteInviterPtr(v *UserInviteInviterArgs) UserInviteInviterPtrInput { + return (*userInviteInviterPtrType)(v) } -// Cluster metadata -func (o GetClustersClusterOutput) Metadata() GetClustersClusterMetadataOutput { - return o.ApplyT(func(v GetClustersCluster) GetClustersClusterMetadata { return v.Metadata }).(GetClustersClusterMetadataOutput) +func (*userInviteInviterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**UserInviteInviter)(nil)).Elem() } -// Cluster name -func (o GetClustersClusterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.Name }).(pulumi.StringOutput) +func (i *userInviteInviterPtrType) ToUserInviteInviterPtrOutput() UserInviteInviterPtrOutput { + return i.ToUserInviteInviterPtrOutputWithContext(context.Background()) } -// Cluster node pools -func (o GetClustersClusterOutput) NodePools() GetClustersClusterNodePoolArrayOutput { - return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterNodePool { return v.NodePools }).(GetClustersClusterNodePoolArrayOutput) +func (i *userInviteInviterPtrType) ToUserInviteInviterPtrOutputWithContext(ctx context.Context) UserInviteInviterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteInviterPtrOutput) } -// Cluster pod subnet range -func (o GetClustersClusterOutput) PodSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.PodSubnetRange }).(pulumi.StringOutput) -} +type UserInviteInviterOutput struct{ *pulumi.OutputState } -// Cluster provider account -func (o GetClustersClusterOutput) ProviderAccount() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.ProviderAccount }).(pulumi.StringOutput) +func (UserInviteInviterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserInviteInviter)(nil)).Elem() } -// Cluster region -func (o GetClustersClusterOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.Region }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) ToUserInviteInviterOutput() UserInviteInviterOutput { + return o } -// Cluster service peering range -func (o GetClustersClusterOutput) ServicePeeringRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.ServicePeeringRange }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) ToUserInviteInviterOutputWithContext(ctx context.Context) UserInviteInviterOutput { + return o } -// Cluster service subnet range -func (o GetClustersClusterOutput) ServiceSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.ServiceSubnetRange }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) ToUserInviteInviterPtrOutput() UserInviteInviterPtrOutput { + return o.ToUserInviteInviterPtrOutputWithContext(context.Background()) } -// Cluster status -func (o GetClustersClusterOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.Status }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) ToUserInviteInviterPtrOutputWithContext(ctx context.Context) UserInviteInviterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v UserInviteInviter) *UserInviteInviter { + return &v + }).(UserInviteInviterPtrOutput) } -// Cluster tags -func (o GetClustersClusterOutput) Tags() GetClustersClusterTagArrayOutput { - return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterTag { return v.Tags }).(GetClustersClusterTagArrayOutput) +func (o UserInviteInviterOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -// Cluster tenant ID -func (o GetClustersClusterOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.TenantId }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -// Cluster type -func (o GetClustersClusterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.Type }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.FullName }).(pulumi.StringPtrOutput) } -// Cluster last updated timestamp -func (o GetClustersClusterOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.Id }).(pulumi.StringPtrOutput) } -// Cluster VPC subnet range -func (o GetClustersClusterOutput) VpcSubnetRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersCluster) string { return v.VpcSubnetRange }).(pulumi.StringOutput) +func (o UserInviteInviterOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -// Cluster workspace IDs -func (o GetClustersClusterOutput) WorkspaceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClustersCluster) []string { return v.WorkspaceIds }).(pulumi.StringArrayOutput) +func (o UserInviteInviterOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserInviteInviter) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetClustersClusterArrayOutput struct{ *pulumi.OutputState } +type UserInviteInviterPtrOutput struct{ *pulumi.OutputState } -func (GetClustersClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem() +func (UserInviteInviterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UserInviteInviter)(nil)).Elem() } -func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput { +func (o UserInviteInviterPtrOutput) ToUserInviteInviterPtrOutput() UserInviteInviterPtrOutput { return o } -func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput { +func (o UserInviteInviterPtrOutput) ToUserInviteInviterPtrOutputWithContext(ctx context.Context) UserInviteInviterPtrOutput { return o } -func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersCluster { - return vs[0].([]GetClustersCluster)[vs[1].(int)] - }).(GetClustersClusterOutput) +func (o UserInviteInviterPtrOutput) Elem() UserInviteInviterOutput { + return o.ApplyT(func(v *UserInviteInviter) UserInviteInviter { + if v != nil { + return *v + } + var ret UserInviteInviter + return ret + }).(UserInviteInviterOutput) } -type GetClustersClusterMetadata struct { - // Cluster external IPs - ExternalIps []string `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` +func (o UserInviteInviterPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -// GetClustersClusterMetadataInput is an input type that accepts GetClustersClusterMetadataArgs and GetClustersClusterMetadataOutput values. -// You can construct a concrete instance of `GetClustersClusterMetadataInput` via: -// -// GetClustersClusterMetadataArgs{...} -type GetClustersClusterMetadataInput interface { - pulumi.Input - - ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput - ToGetClustersClusterMetadataOutputWithContext(context.Context) GetClustersClusterMetadataOutput +func (o UserInviteInviterPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -type GetClustersClusterMetadataArgs struct { - // Cluster external IPs - ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` - // Cluster OIDC issuer URL - OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` +func (o UserInviteInviterPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (GetClustersClusterMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterMetadata)(nil)).Elem() +func (o UserInviteInviterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (i GetClustersClusterMetadataArgs) ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput { - return i.ToGetClustersClusterMetadataOutputWithContext(context.Background()) +func (o UserInviteInviterPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -func (i GetClustersClusterMetadataArgs) ToGetClustersClusterMetadataOutputWithContext(ctx context.Context) GetClustersClusterMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterMetadataOutput) +func (o UserInviteInviterPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UserInviteInviter) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type GetClustersClusterMetadataOutput struct{ *pulumi.OutputState } - -func (GetClustersClusterMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterMetadata)(nil)).Elem() +type UserRolesDeploymentRole struct { + // The ID of the deployment to assign the role to + DeploymentId string `pulumi:"deploymentId"` + // The role to assign to the deployment + Role string `pulumi:"role"` } -func (o GetClustersClusterMetadataOutput) ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput { - return o +// UserRolesDeploymentRoleInput is an input type that accepts UserRolesDeploymentRoleArgs and UserRolesDeploymentRoleOutput values. +// You can construct a concrete instance of `UserRolesDeploymentRoleInput` via: +// +// UserRolesDeploymentRoleArgs{...} +type UserRolesDeploymentRoleInput interface { + pulumi.Input + + ToUserRolesDeploymentRoleOutput() UserRolesDeploymentRoleOutput + ToUserRolesDeploymentRoleOutputWithContext(context.Context) UserRolesDeploymentRoleOutput } -func (o GetClustersClusterMetadataOutput) ToGetClustersClusterMetadataOutputWithContext(ctx context.Context) GetClustersClusterMetadataOutput { - return o +type UserRolesDeploymentRoleArgs struct { + // The ID of the deployment to assign the role to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role to assign to the deployment + Role pulumi.StringInput `pulumi:"role"` } -// Cluster external IPs -func (o GetClustersClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClustersClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +func (UserRolesDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserRolesDeploymentRole)(nil)).Elem() } -// Cluster OIDC issuer URL -func (o GetClustersClusterMetadataOutput) OidcIssuerUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterMetadata) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) +func (i UserRolesDeploymentRoleArgs) ToUserRolesDeploymentRoleOutput() UserRolesDeploymentRoleOutput { + return i.ToUserRolesDeploymentRoleOutputWithContext(context.Background()) } -type GetClustersClusterNodePool struct { - // Node pool cloud provider - CloudProvider string `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId string `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt string `pulumi:"createdAt"` - // Node pool identifier - Id string `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault bool `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount int `pulumi:"maxNodeCount"` - // Node pool name - Name string `pulumi:"name"` - // Node pool node instance type - NodeInstanceType string `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` +func (i UserRolesDeploymentRoleArgs) ToUserRolesDeploymentRoleOutputWithContext(ctx context.Context) UserRolesDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesDeploymentRoleOutput) } -// GetClustersClusterNodePoolInput is an input type that accepts GetClustersClusterNodePoolArgs and GetClustersClusterNodePoolOutput values. -// You can construct a concrete instance of `GetClustersClusterNodePoolInput` via: +// UserRolesDeploymentRoleArrayInput is an input type that accepts UserRolesDeploymentRoleArray and UserRolesDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `UserRolesDeploymentRoleArrayInput` via: // -// GetClustersClusterNodePoolArgs{...} -type GetClustersClusterNodePoolInput interface { +// UserRolesDeploymentRoleArray{ UserRolesDeploymentRoleArgs{...} } +type UserRolesDeploymentRoleArrayInput interface { pulumi.Input - ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput - ToGetClustersClusterNodePoolOutputWithContext(context.Context) GetClustersClusterNodePoolOutput + ToUserRolesDeploymentRoleArrayOutput() UserRolesDeploymentRoleArrayOutput + ToUserRolesDeploymentRoleArrayOutputWithContext(context.Context) UserRolesDeploymentRoleArrayOutput } -type GetClustersClusterNodePoolArgs struct { - // Node pool cloud provider - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` - // Node pool cluster identifier - ClusterId pulumi.StringInput `pulumi:"clusterId"` - // Node pool creation timestamp - CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Node pool identifier - Id pulumi.StringInput `pulumi:"id"` - // Whether the node pool is the default node pool of the cluster - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // Node pool maximum node count - MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` - // Node pool name - Name pulumi.StringInput `pulumi:"name"` - // Node pool node instance type - NodeInstanceType pulumi.StringInput `pulumi:"nodeInstanceType"` - // Node pool supported Astro machines - SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` - // Node pool last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` -} +type UserRolesDeploymentRoleArray []UserRolesDeploymentRoleInput -func (GetClustersClusterNodePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterNodePool)(nil)).Elem() +func (UserRolesDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserRolesDeploymentRole)(nil)).Elem() } -func (i GetClustersClusterNodePoolArgs) ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput { - return i.ToGetClustersClusterNodePoolOutputWithContext(context.Background()) +func (i UserRolesDeploymentRoleArray) ToUserRolesDeploymentRoleArrayOutput() UserRolesDeploymentRoleArrayOutput { + return i.ToUserRolesDeploymentRoleArrayOutputWithContext(context.Background()) } -func (i GetClustersClusterNodePoolArgs) ToGetClustersClusterNodePoolOutputWithContext(ctx context.Context) GetClustersClusterNodePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterNodePoolOutput) +func (i UserRolesDeploymentRoleArray) ToUserRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) UserRolesDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesDeploymentRoleArrayOutput) } -// GetClustersClusterNodePoolArrayInput is an input type that accepts GetClustersClusterNodePoolArray and GetClustersClusterNodePoolArrayOutput values. -// You can construct a concrete instance of `GetClustersClusterNodePoolArrayInput` via: -// -// GetClustersClusterNodePoolArray{ GetClustersClusterNodePoolArgs{...} } -type GetClustersClusterNodePoolArrayInput interface { - pulumi.Input +type UserRolesDeploymentRoleOutput struct{ *pulumi.OutputState } - ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput - ToGetClustersClusterNodePoolArrayOutputWithContext(context.Context) GetClustersClusterNodePoolArrayOutput +func (UserRolesDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserRolesDeploymentRole)(nil)).Elem() } -type GetClustersClusterNodePoolArray []GetClustersClusterNodePoolInput +func (o UserRolesDeploymentRoleOutput) ToUserRolesDeploymentRoleOutput() UserRolesDeploymentRoleOutput { + return o +} -func (GetClustersClusterNodePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersClusterNodePool)(nil)).Elem() +func (o UserRolesDeploymentRoleOutput) ToUserRolesDeploymentRoleOutputWithContext(ctx context.Context) UserRolesDeploymentRoleOutput { + return o } -func (i GetClustersClusterNodePoolArray) ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput { - return i.ToGetClustersClusterNodePoolArrayOutputWithContext(context.Background()) +// The ID of the deployment to assign the role to +func (o UserRolesDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v UserRolesDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -func (i GetClustersClusterNodePoolArray) ToGetClustersClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClustersClusterNodePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterNodePoolArrayOutput) +// The role to assign to the deployment +func (o UserRolesDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v UserRolesDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -type GetClustersClusterNodePoolOutput struct{ *pulumi.OutputState } +type UserRolesDeploymentRoleArrayOutput struct{ *pulumi.OutputState } -func (GetClustersClusterNodePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterNodePool)(nil)).Elem() +func (UserRolesDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserRolesDeploymentRole)(nil)).Elem() } -func (o GetClustersClusterNodePoolOutput) ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput { +func (o UserRolesDeploymentRoleArrayOutput) ToUserRolesDeploymentRoleArrayOutput() UserRolesDeploymentRoleArrayOutput { return o } -func (o GetClustersClusterNodePoolOutput) ToGetClustersClusterNodePoolOutputWithContext(ctx context.Context) GetClustersClusterNodePoolOutput { +func (o UserRolesDeploymentRoleArrayOutput) ToUserRolesDeploymentRoleArrayOutputWithContext(ctx context.Context) UserRolesDeploymentRoleArrayOutput { return o } -// Node pool cloud provider -func (o GetClustersClusterNodePoolOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.CloudProvider }).(pulumi.StringOutput) +func (o UserRolesDeploymentRoleArrayOutput) Index(i pulumi.IntInput) UserRolesDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserRolesDeploymentRole { + return vs[0].([]UserRolesDeploymentRole)[vs[1].(int)] + }).(UserRolesDeploymentRoleOutput) } -// Node pool cluster identifier -func (o GetClustersClusterNodePoolOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.ClusterId }).(pulumi.StringOutput) +type UserRolesWorkspaceRole struct { + // The role to assign to the workspace + Role string `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId string `pulumi:"workspaceId"` } -// Node pool creation timestamp -func (o GetClustersClusterNodePoolOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.CreatedAt }).(pulumi.StringOutput) +// UserRolesWorkspaceRoleInput is an input type that accepts UserRolesWorkspaceRoleArgs and UserRolesWorkspaceRoleOutput values. +// You can construct a concrete instance of `UserRolesWorkspaceRoleInput` via: +// +// UserRolesWorkspaceRoleArgs{...} +type UserRolesWorkspaceRoleInput interface { + pulumi.Input + + ToUserRolesWorkspaceRoleOutput() UserRolesWorkspaceRoleOutput + ToUserRolesWorkspaceRoleOutputWithContext(context.Context) UserRolesWorkspaceRoleOutput } -// Node pool identifier -func (o GetClustersClusterNodePoolOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.Id }).(pulumi.StringOutput) +type UserRolesWorkspaceRoleArgs struct { + // The role to assign to the workspace + Role pulumi.StringInput `pulumi:"role"` + // The ID of the workspace to assign the role to + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -// Whether the node pool is the default node pool of the cluster -func (o GetClustersClusterNodePoolOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) bool { return v.IsDefault }).(pulumi.BoolOutput) +func (UserRolesWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserRolesWorkspaceRole)(nil)).Elem() } -// Node pool maximum node count -func (o GetClustersClusterNodePoolOutput) MaxNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) int { return v.MaxNodeCount }).(pulumi.IntOutput) +func (i UserRolesWorkspaceRoleArgs) ToUserRolesWorkspaceRoleOutput() UserRolesWorkspaceRoleOutput { + return i.ToUserRolesWorkspaceRoleOutputWithContext(context.Background()) } -// Node pool name -func (o GetClustersClusterNodePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.Name }).(pulumi.StringOutput) +func (i UserRolesWorkspaceRoleArgs) ToUserRolesWorkspaceRoleOutputWithContext(ctx context.Context) UserRolesWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesWorkspaceRoleOutput) } -// Node pool node instance type -func (o GetClustersClusterNodePoolOutput) NodeInstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.NodeInstanceType }).(pulumi.StringOutput) +// UserRolesWorkspaceRoleArrayInput is an input type that accepts UserRolesWorkspaceRoleArray and UserRolesWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `UserRolesWorkspaceRoleArrayInput` via: +// +// UserRolesWorkspaceRoleArray{ UserRolesWorkspaceRoleArgs{...} } +type UserRolesWorkspaceRoleArrayInput interface { + pulumi.Input + + ToUserRolesWorkspaceRoleArrayOutput() UserRolesWorkspaceRoleArrayOutput + ToUserRolesWorkspaceRoleArrayOutputWithContext(context.Context) UserRolesWorkspaceRoleArrayOutput } -// Node pool supported Astro machines -func (o GetClustersClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) +type UserRolesWorkspaceRoleArray []UserRolesWorkspaceRoleInput + +func (UserRolesWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserRolesWorkspaceRole)(nil)).Elem() } -// Node pool last updated timestamp -func (o GetClustersClusterNodePoolOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (i UserRolesWorkspaceRoleArray) ToUserRolesWorkspaceRoleArrayOutput() UserRolesWorkspaceRoleArrayOutput { + return i.ToUserRolesWorkspaceRoleArrayOutputWithContext(context.Background()) } -type GetClustersClusterNodePoolArrayOutput struct{ *pulumi.OutputState } +func (i UserRolesWorkspaceRoleArray) ToUserRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) UserRolesWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesWorkspaceRoleArrayOutput) +} -func (GetClustersClusterNodePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersClusterNodePool)(nil)).Elem() +type UserRolesWorkspaceRoleOutput struct{ *pulumi.OutputState } + +func (UserRolesWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserRolesWorkspaceRole)(nil)).Elem() } -func (o GetClustersClusterNodePoolArrayOutput) ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput { +func (o UserRolesWorkspaceRoleOutput) ToUserRolesWorkspaceRoleOutput() UserRolesWorkspaceRoleOutput { return o } -func (o GetClustersClusterNodePoolArrayOutput) ToGetClustersClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClustersClusterNodePoolArrayOutput { +func (o UserRolesWorkspaceRoleOutput) ToUserRolesWorkspaceRoleOutputWithContext(ctx context.Context) UserRolesWorkspaceRoleOutput { return o } -func (o GetClustersClusterNodePoolArrayOutput) Index(i pulumi.IntInput) GetClustersClusterNodePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterNodePool { - return vs[0].([]GetClustersClusterNodePool)[vs[1].(int)] - }).(GetClustersClusterNodePoolOutput) +// The role to assign to the workspace +func (o UserRolesWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v UserRolesWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } -type GetClustersClusterTag struct { - // Cluster tag key - Key string `pulumi:"key"` - // Cluster tag value - Value string `pulumi:"value"` +// The ID of the workspace to assign the role to +func (o UserRolesWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v UserRolesWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -// GetClustersClusterTagInput is an input type that accepts GetClustersClusterTagArgs and GetClustersClusterTagOutput values. -// You can construct a concrete instance of `GetClustersClusterTagInput` via: -// -// GetClustersClusterTagArgs{...} -type GetClustersClusterTagInput interface { - pulumi.Input +type UserRolesWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } - ToGetClustersClusterTagOutput() GetClustersClusterTagOutput - ToGetClustersClusterTagOutputWithContext(context.Context) GetClustersClusterTagOutput +func (UserRolesWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserRolesWorkspaceRole)(nil)).Elem() } -type GetClustersClusterTagArgs struct { - // Cluster tag key - Key pulumi.StringInput `pulumi:"key"` - // Cluster tag value - Value pulumi.StringInput `pulumi:"value"` +func (o UserRolesWorkspaceRoleArrayOutput) ToUserRolesWorkspaceRoleArrayOutput() UserRolesWorkspaceRoleArrayOutput { + return o } -func (GetClustersClusterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterTag)(nil)).Elem() +func (o UserRolesWorkspaceRoleArrayOutput) ToUserRolesWorkspaceRoleArrayOutputWithContext(ctx context.Context) UserRolesWorkspaceRoleArrayOutput { + return o } -func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput { - return i.ToGetClustersClusterTagOutputWithContext(context.Background()) +func (o UserRolesWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) UserRolesWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserRolesWorkspaceRole { + return vs[0].([]UserRolesWorkspaceRole)[vs[1].(int)] + }).(UserRolesWorkspaceRoleOutput) } -func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterTagOutput) +type WorkspaceCreatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` } -// GetClustersClusterTagArrayInput is an input type that accepts GetClustersClusterTagArray and GetClustersClusterTagArrayOutput values. -// You can construct a concrete instance of `GetClustersClusterTagArrayInput` via: +// WorkspaceCreatedByInput is an input type that accepts WorkspaceCreatedByArgs and WorkspaceCreatedByOutput values. +// You can construct a concrete instance of `WorkspaceCreatedByInput` via: // -// GetClustersClusterTagArray{ GetClustersClusterTagArgs{...} } -type GetClustersClusterTagArrayInput interface { - pulumi.Input +// WorkspaceCreatedByArgs{...} +type WorkspaceCreatedByInput interface { + pulumi.Input - ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput - ToGetClustersClusterTagArrayOutputWithContext(context.Context) GetClustersClusterTagArrayOutput + ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput + ToWorkspaceCreatedByOutputWithContext(context.Context) WorkspaceCreatedByOutput } -type GetClustersClusterTagArray []GetClustersClusterTagInput +type WorkspaceCreatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` +} -func (GetClustersClusterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersClusterTag)(nil)).Elem() +func (WorkspaceCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*WorkspaceCreatedBy)(nil)).Elem() } -func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput { - return i.ToGetClustersClusterTagArrayOutputWithContext(context.Background()) +func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput { + return i.ToWorkspaceCreatedByOutputWithContext(context.Background()) } -func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterTagArrayOutput) +func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByOutputWithContext(ctx context.Context) WorkspaceCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByOutput) } -type GetClustersClusterTagOutput struct{ *pulumi.OutputState } +func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { + return i.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) +} -func (GetClustersClusterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersClusterTag)(nil)).Elem() +func (i WorkspaceCreatedByArgs) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByOutput).ToWorkspaceCreatedByPtrOutputWithContext(ctx) } -func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput { - return o +// WorkspaceCreatedByPtrInput is an input type that accepts WorkspaceCreatedByArgs, WorkspaceCreatedByPtr and WorkspaceCreatedByPtrOutput values. +// You can construct a concrete instance of `WorkspaceCreatedByPtrInput` via: +// +// WorkspaceCreatedByArgs{...} +// +// or: +// +// nil +type WorkspaceCreatedByPtrInput interface { + pulumi.Input + + ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput + ToWorkspaceCreatedByPtrOutputWithContext(context.Context) WorkspaceCreatedByPtrOutput } -func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput { - return o +type workspaceCreatedByPtrType WorkspaceCreatedByArgs + +func WorkspaceCreatedByPtr(v *WorkspaceCreatedByArgs) WorkspaceCreatedByPtrInput { + return (*workspaceCreatedByPtrType)(v) } -// Cluster tag key -func (o GetClustersClusterTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterTag) string { return v.Key }).(pulumi.StringOutput) +func (*workspaceCreatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceCreatedBy)(nil)).Elem() } -// Cluster tag value -func (o GetClustersClusterTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClustersClusterTag) string { return v.Value }).(pulumi.StringOutput) +func (i *workspaceCreatedByPtrType) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { + return i.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) } -type GetClustersClusterTagArrayOutput struct{ *pulumi.OutputState } +func (i *workspaceCreatedByPtrType) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCreatedByPtrOutput) +} -func (GetClustersClusterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClustersClusterTag)(nil)).Elem() +type WorkspaceCreatedByOutput struct{ *pulumi.OutputState } + +func (WorkspaceCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*WorkspaceCreatedBy)(nil)).Elem() } -func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput { +func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByOutput() WorkspaceCreatedByOutput { return o } -func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput { +func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByOutputWithContext(ctx context.Context) WorkspaceCreatedByOutput { return o } -func (o GetClustersClusterTagArrayOutput) Index(i pulumi.IntInput) GetClustersClusterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterTag { - return vs[0].([]GetClustersClusterTag)[vs[1].(int)] - }).(GetClustersClusterTagOutput) +func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { + return o.ToWorkspaceCreatedByPtrOutputWithContext(context.Background()) } -type GetDeploymentCreatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +func (o WorkspaceCreatedByOutput) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v WorkspaceCreatedBy) *WorkspaceCreatedBy { + return &v + }).(WorkspaceCreatedByPtrOutput) } -// GetDeploymentCreatedByInput is an input type that accepts GetDeploymentCreatedByArgs and GetDeploymentCreatedByOutput values. -// You can construct a concrete instance of `GetDeploymentCreatedByInput` via: -// -// GetDeploymentCreatedByArgs{...} -type GetDeploymentCreatedByInput interface { - pulumi.Input +func (o WorkspaceCreatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) +} - ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput - ToGetDeploymentCreatedByOutputWithContext(context.Context) GetDeploymentCreatedByOutput +func (o WorkspaceCreatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -type GetDeploymentCreatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` +func (o WorkspaceCreatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (GetDeploymentCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentCreatedBy)(nil)).Elem() +func (o WorkspaceCreatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (i GetDeploymentCreatedByArgs) ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput { - return i.ToGetDeploymentCreatedByOutputWithContext(context.Background()) +func (o WorkspaceCreatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -func (i GetDeploymentCreatedByArgs) ToGetDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentCreatedByOutput) +func (o WorkspaceCreatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceCreatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetDeploymentCreatedByOutput struct{ *pulumi.OutputState } +type WorkspaceCreatedByPtrOutput struct{ *pulumi.OutputState } -func (GetDeploymentCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentCreatedBy)(nil)).Elem() +func (WorkspaceCreatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceCreatedBy)(nil)).Elem() } -func (o GetDeploymentCreatedByOutput) ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput { +func (o WorkspaceCreatedByPtrOutput) ToWorkspaceCreatedByPtrOutput() WorkspaceCreatedByPtrOutput { return o } -func (o GetDeploymentCreatedByOutput) ToGetDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentCreatedByOutput { +func (o WorkspaceCreatedByPtrOutput) ToWorkspaceCreatedByPtrOutputWithContext(ctx context.Context) WorkspaceCreatedByPtrOutput { return o } -func (o GetDeploymentCreatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) Elem() WorkspaceCreatedByOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) WorkspaceCreatedBy { + if v != nil { + return *v + } + var ret WorkspaceCreatedBy + return ret + }).(WorkspaceCreatedByOutput) } -func (o GetDeploymentCreatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentCreatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentCreatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentCreatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o WorkspaceCreatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -type GetDeploymentEnvironmentVariable struct { - // Whether Environment variable is a secret - IsSecret bool `pulumi:"isSecret"` - // Environment variable key - Key string `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` - // Environment variable value - Value string `pulumi:"value"` +func (o WorkspaceCreatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceCreatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -// GetDeploymentEnvironmentVariableInput is an input type that accepts GetDeploymentEnvironmentVariableArgs and GetDeploymentEnvironmentVariableOutput values. -// You can construct a concrete instance of `GetDeploymentEnvironmentVariableInput` via: +type WorkspaceUpdatedBy struct { + ApiTokenName *string `pulumi:"apiTokenName"` + AvatarUrl *string `pulumi:"avatarUrl"` + FullName *string `pulumi:"fullName"` + Id *string `pulumi:"id"` + SubjectType *string `pulumi:"subjectType"` + Username *string `pulumi:"username"` +} + +// WorkspaceUpdatedByInput is an input type that accepts WorkspaceUpdatedByArgs and WorkspaceUpdatedByOutput values. +// You can construct a concrete instance of `WorkspaceUpdatedByInput` via: // -// GetDeploymentEnvironmentVariableArgs{...} -type GetDeploymentEnvironmentVariableInput interface { +// WorkspaceUpdatedByArgs{...} +type WorkspaceUpdatedByInput interface { pulumi.Input - ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput - ToGetDeploymentEnvironmentVariableOutputWithContext(context.Context) GetDeploymentEnvironmentVariableOutput + ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput + ToWorkspaceUpdatedByOutputWithContext(context.Context) WorkspaceUpdatedByOutput } -type GetDeploymentEnvironmentVariableArgs struct { - // Whether Environment variable is a secret - IsSecret pulumi.BoolInput `pulumi:"isSecret"` - // Environment variable key - Key pulumi.StringInput `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // Environment variable value - Value pulumi.StringInput `pulumi:"value"` +type WorkspaceUpdatedByArgs struct { + ApiTokenName pulumi.StringPtrInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringPtrInput `pulumi:"avatarUrl"` + FullName pulumi.StringPtrInput `pulumi:"fullName"` + Id pulumi.StringPtrInput `pulumi:"id"` + SubjectType pulumi.StringPtrInput `pulumi:"subjectType"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (GetDeploymentEnvironmentVariableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentEnvironmentVariable)(nil)).Elem() +func (WorkspaceUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*WorkspaceUpdatedBy)(nil)).Elem() } -func (i GetDeploymentEnvironmentVariableArgs) ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput { - return i.ToGetDeploymentEnvironmentVariableOutputWithContext(context.Background()) +func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput { + return i.ToWorkspaceUpdatedByOutputWithContext(context.Background()) } -func (i GetDeploymentEnvironmentVariableArgs) ToGetDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentEnvironmentVariableOutput) +func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByOutputWithContext(ctx context.Context) WorkspaceUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByOutput) } -// GetDeploymentEnvironmentVariableArrayInput is an input type that accepts GetDeploymentEnvironmentVariableArray and GetDeploymentEnvironmentVariableArrayOutput values. -// You can construct a concrete instance of `GetDeploymentEnvironmentVariableArrayInput` via: +func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { + return i.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) +} + +func (i WorkspaceUpdatedByArgs) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByOutput).ToWorkspaceUpdatedByPtrOutputWithContext(ctx) +} + +// WorkspaceUpdatedByPtrInput is an input type that accepts WorkspaceUpdatedByArgs, WorkspaceUpdatedByPtr and WorkspaceUpdatedByPtrOutput values. +// You can construct a concrete instance of `WorkspaceUpdatedByPtrInput` via: // -// GetDeploymentEnvironmentVariableArray{ GetDeploymentEnvironmentVariableArgs{...} } -type GetDeploymentEnvironmentVariableArrayInput interface { +// WorkspaceUpdatedByArgs{...} +// +// or: +// +// nil +type WorkspaceUpdatedByPtrInput interface { pulumi.Input - ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput - ToGetDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) GetDeploymentEnvironmentVariableArrayOutput + ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput + ToWorkspaceUpdatedByPtrOutputWithContext(context.Context) WorkspaceUpdatedByPtrOutput } -type GetDeploymentEnvironmentVariableArray []GetDeploymentEnvironmentVariableInput +type workspaceUpdatedByPtrType WorkspaceUpdatedByArgs -func (GetDeploymentEnvironmentVariableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentEnvironmentVariable)(nil)).Elem() +func WorkspaceUpdatedByPtr(v *WorkspaceUpdatedByArgs) WorkspaceUpdatedByPtrInput { + return (*workspaceUpdatedByPtrType)(v) } -func (i GetDeploymentEnvironmentVariableArray) ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput { - return i.ToGetDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) +func (*workspaceUpdatedByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceUpdatedBy)(nil)).Elem() } -func (i GetDeploymentEnvironmentVariableArray) ToGetDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentEnvironmentVariableArrayOutput) +func (i *workspaceUpdatedByPtrType) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { + return i.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) } -type GetDeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } - -func (GetDeploymentEnvironmentVariableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentEnvironmentVariable)(nil)).Elem() +func (i *workspaceUpdatedByPtrType) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceUpdatedByPtrOutput) } -func (o GetDeploymentEnvironmentVariableOutput) ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput { - return o +type WorkspaceUpdatedByOutput struct{ *pulumi.OutputState } + +func (WorkspaceUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*WorkspaceUpdatedBy)(nil)).Elem() } -func (o GetDeploymentEnvironmentVariableOutput) ToGetDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableOutput { +func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByOutput() WorkspaceUpdatedByOutput { return o } -// Whether Environment variable is a secret -func (o GetDeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) +func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByOutputWithContext(ctx context.Context) WorkspaceUpdatedByOutput { + return o } -// Environment variable key -func (o GetDeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) +func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { + return o.ToWorkspaceUpdatedByPtrOutputWithContext(context.Background()) } -// Environment variable last updated timestamp -func (o GetDeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o WorkspaceUpdatedByOutput) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v WorkspaceUpdatedBy) *WorkspaceUpdatedBy { + return &v + }).(WorkspaceUpdatedByPtrOutput) } -// Environment variable value -func (o GetDeploymentEnvironmentVariableOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.Value }).(pulumi.StringOutput) +func (o WorkspaceUpdatedByOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.ApiTokenName }).(pulumi.StringPtrOutput) } -type GetDeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } - -func (GetDeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentEnvironmentVariable)(nil)).Elem() +func (o WorkspaceUpdatedByOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.AvatarUrl }).(pulumi.StringPtrOutput) } -func (o GetDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput { - return o +func (o WorkspaceUpdatedByOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o GetDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableArrayOutput { - return o +func (o WorkspaceUpdatedByOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o GetDeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) GetDeploymentEnvironmentVariableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentEnvironmentVariable { - return vs[0].([]GetDeploymentEnvironmentVariable)[vs[1].(int)] - }).(GetDeploymentEnvironmentVariableOutput) +func (o WorkspaceUpdatedByOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.SubjectType }).(pulumi.StringPtrOutput) } -type GetDeploymentOptionsResourceQuotas struct { - // Default pod size options - DefaultPodSize GetDeploymentOptionsResourceQuotasDefaultPodSize `pulumi:"defaultPodSize"` - // Resource quota options - ResourceQuota GetDeploymentOptionsResourceQuotasResourceQuota `pulumi:"resourceQuota"` +func (o WorkspaceUpdatedByOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v WorkspaceUpdatedBy) *string { return v.Username }).(pulumi.StringPtrOutput) } -// GetDeploymentOptionsResourceQuotasInput is an input type that accepts GetDeploymentOptionsResourceQuotasArgs and GetDeploymentOptionsResourceQuotasOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasInput` via: -// -// GetDeploymentOptionsResourceQuotasArgs{...} -type GetDeploymentOptionsResourceQuotasInput interface { - pulumi.Input +type WorkspaceUpdatedByPtrOutput struct{ *pulumi.OutputState } - ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput - ToGetDeploymentOptionsResourceQuotasOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasOutput +func (WorkspaceUpdatedByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceUpdatedBy)(nil)).Elem() } -type GetDeploymentOptionsResourceQuotasArgs struct { - // Default pod size options - DefaultPodSize GetDeploymentOptionsResourceQuotasDefaultPodSizeInput `pulumi:"defaultPodSize"` - // Resource quota options - ResourceQuota GetDeploymentOptionsResourceQuotasResourceQuotaInput `pulumi:"resourceQuota"` +func (o WorkspaceUpdatedByPtrOutput) ToWorkspaceUpdatedByPtrOutput() WorkspaceUpdatedByPtrOutput { + return o } -func (GetDeploymentOptionsResourceQuotasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotas)(nil)).Elem() +func (o WorkspaceUpdatedByPtrOutput) ToWorkspaceUpdatedByPtrOutputWithContext(ctx context.Context) WorkspaceUpdatedByPtrOutput { + return o } -func (i GetDeploymentOptionsResourceQuotasArgs) ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput { - return i.ToGetDeploymentOptionsResourceQuotasOutputWithContext(context.Background()) +func (o WorkspaceUpdatedByPtrOutput) Elem() WorkspaceUpdatedByOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) WorkspaceUpdatedBy { + if v != nil { + return *v + } + var ret WorkspaceUpdatedBy + return ret + }).(WorkspaceUpdatedByOutput) } -func (i GetDeploymentOptionsResourceQuotasArgs) ToGetDeploymentOptionsResourceQuotasOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasOutput) +func (o WorkspaceUpdatedByPtrOutput) ApiTokenName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.ApiTokenName + }).(pulumi.StringPtrOutput) } -type GetDeploymentOptionsResourceQuotasOutput struct{ *pulumi.OutputState } - -func (GetDeploymentOptionsResourceQuotasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotas)(nil)).Elem() +func (o WorkspaceUpdatedByPtrOutput) AvatarUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.AvatarUrl + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentOptionsResourceQuotasOutput) ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput { - return o +func (o WorkspaceUpdatedByPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (o GetDeploymentOptionsResourceQuotasOutput) ToGetDeploymentOptionsResourceQuotasOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasOutput { - return o +func (o WorkspaceUpdatedByPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -// Default pod size options -func (o GetDeploymentOptionsResourceQuotasOutput) DefaultPodSize() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotas) GetDeploymentOptionsResourceQuotasDefaultPodSize { - return v.DefaultPodSize - }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) +func (o WorkspaceUpdatedByPtrOutput) SubjectType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.SubjectType + }).(pulumi.StringPtrOutput) } -// Resource quota options -func (o GetDeploymentOptionsResourceQuotasOutput) ResourceQuota() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotas) GetDeploymentOptionsResourceQuotasResourceQuota { - return v.ResourceQuota - }).(GetDeploymentOptionsResourceQuotasResourceQuotaOutput) +func (o WorkspaceUpdatedByPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WorkspaceUpdatedBy) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -type GetDeploymentOptionsResourceQuotasDefaultPodSize struct { - // CPU resource range - Cpu GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu `pulumi:"cpu"` - // Memory resource range - Memory GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory `pulumi:"memory"` +type GetApiTokenCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -// GetDeploymentOptionsResourceQuotasDefaultPodSizeInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeInput` via: +// GetApiTokenCreatedByInput is an input type that accepts GetApiTokenCreatedByArgs and GetApiTokenCreatedByOutput values. +// You can construct a concrete instance of `GetApiTokenCreatedByInput` via: // -// GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs{...} -type GetDeploymentOptionsResourceQuotasDefaultPodSizeInput interface { +// GetApiTokenCreatedByArgs{...} +type GetApiTokenCreatedByInput interface { pulumi.Input - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput + ToGetApiTokenCreatedByOutput() GetApiTokenCreatedByOutput + ToGetApiTokenCreatedByOutputWithContext(context.Context) GetApiTokenCreatedByOutput } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs struct { - // CPU resource range - Cpu GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput `pulumi:"cpu"` - // Memory resource range - Memory GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput `pulumi:"memory"` +type GetApiTokenCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSize)(nil)).Elem() +func (GetApiTokenCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenCreatedBy)(nil)).Elem() } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { - return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(context.Background()) +func (i GetApiTokenCreatedByArgs) ToGetApiTokenCreatedByOutput() GetApiTokenCreatedByOutput { + return i.ToGetApiTokenCreatedByOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) +func (i GetApiTokenCreatedByArgs) ToGetApiTokenCreatedByOutputWithContext(ctx context.Context) GetApiTokenCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenCreatedByOutput) } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput struct{ *pulumi.OutputState } +type GetApiTokenCreatedByOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSize)(nil)).Elem() +func (GetApiTokenCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenCreatedBy)(nil)).Elem() } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { +func (o GetApiTokenCreatedByOutput) ToGetApiTokenCreatedByOutput() GetApiTokenCreatedByOutput { return o } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { +func (o GetApiTokenCreatedByOutput) ToGetApiTokenCreatedByOutputWithContext(ctx context.Context) GetApiTokenCreatedByOutput { return o } -// CPU resource range -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) Cpu() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSize) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu { - return v.Cpu - }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) +func (o GetApiTokenCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -// Memory resource range -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) Memory() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSize) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory { - return v.Memory - }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) +func (o GetApiTokenCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +func (o GetApiTokenCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.FullName }).(pulumi.StringOutput) } -// GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput` via: +func (o GetApiTokenCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetApiTokenCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +} + +func (o GetApiTokenCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenCreatedBy) string { return v.Username }).(pulumi.StringOutput) +} + +type GetApiTokenRole struct { + // The ID of the entity to assign the role to + EntityId string `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType string `pulumi:"entityType"` + // The role to assign to the entity + Role string `pulumi:"role"` +} + +// GetApiTokenRoleInput is an input type that accepts GetApiTokenRoleArgs and GetApiTokenRoleOutput values. +// You can construct a concrete instance of `GetApiTokenRoleInput` via: // -// GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs{...} -type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput interface { +// GetApiTokenRoleArgs{...} +type GetApiTokenRoleInput interface { pulumi.Input - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput + ToGetApiTokenRoleOutput() GetApiTokenRoleOutput + ToGetApiTokenRoleOutputWithContext(context.Context) GetApiTokenRoleOutput } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` +type GetApiTokenRoleArgs struct { + // The ID of the entity to assign the role to + EntityId pulumi.StringInput `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType pulumi.StringInput `pulumi:"entityType"` + // The role to assign to the entity + Role pulumi.StringInput `pulumi:"role"` } -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu)(nil)).Elem() +func (GetApiTokenRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenRole)(nil)).Elem() } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { - return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(context.Background()) +func (i GetApiTokenRoleArgs) ToGetApiTokenRoleOutput() GetApiTokenRoleOutput { + return i.ToGetApiTokenRoleOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) +func (i GetApiTokenRoleArgs) ToGetApiTokenRoleOutputWithContext(ctx context.Context) GetApiTokenRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenRoleOutput) } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput struct{ *pulumi.OutputState } +// GetApiTokenRoleArrayInput is an input type that accepts GetApiTokenRoleArray and GetApiTokenRoleArrayOutput values. +// You can construct a concrete instance of `GetApiTokenRoleArrayInput` via: +// +// GetApiTokenRoleArray{ GetApiTokenRoleArgs{...} } +type GetApiTokenRoleArrayInput interface { + pulumi.Input -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu)(nil)).Elem() + ToGetApiTokenRoleArrayOutput() GetApiTokenRoleArrayOutput + ToGetApiTokenRoleArrayOutputWithContext(context.Context) GetApiTokenRoleArrayOutput } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { - return o +type GetApiTokenRoleArray []GetApiTokenRoleInput + +func (GetApiTokenRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokenRole)(nil)).Elem() } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { +func (i GetApiTokenRoleArray) ToGetApiTokenRoleArrayOutput() GetApiTokenRoleArrayOutput { + return i.ToGetApiTokenRoleArrayOutputWithContext(context.Background()) +} + +func (i GetApiTokenRoleArray) ToGetApiTokenRoleArrayOutputWithContext(ctx context.Context) GetApiTokenRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenRoleArrayOutput) +} + +type GetApiTokenRoleOutput struct{ *pulumi.OutputState } + +func (GetApiTokenRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenRole)(nil)).Elem() +} + +func (o GetApiTokenRoleOutput) ToGetApiTokenRoleOutput() GetApiTokenRoleOutput { return o } -// Resource range ceiling -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Ceiling }).(pulumi.StringOutput) +func (o GetApiTokenRoleOutput) ToGetApiTokenRoleOutputWithContext(ctx context.Context) GetApiTokenRoleOutput { + return o } -// Resource range default -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Default }).(pulumi.StringOutput) +// The ID of the entity to assign the role to +func (o GetApiTokenRoleOutput) EntityId() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenRole) string { return v.EntityId }).(pulumi.StringOutput) } -// Resource range floor -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Floor }).(pulumi.StringOutput) +// The type of entity to assign the role to +func (o GetApiTokenRoleOutput) EntityType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenRole) string { return v.EntityType }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +// The role to assign to the entity +func (o GetApiTokenRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenRole) string { return v.Role }).(pulumi.StringOutput) } -// GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput` via: -// -// GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs{...} -type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput interface { - pulumi.Input +type GetApiTokenRoleArrayOutput struct{ *pulumi.OutputState } - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput - ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput +func (GetApiTokenRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokenRole)(nil)).Elem() } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` +func (o GetApiTokenRoleArrayOutput) ToGetApiTokenRoleArrayOutput() GetApiTokenRoleArrayOutput { + return o } -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory)(nil)).Elem() +func (o GetApiTokenRoleArrayOutput) ToGetApiTokenRoleArrayOutputWithContext(ctx context.Context) GetApiTokenRoleArrayOutput { + return o } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { - return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(context.Background()) +func (o GetApiTokenRoleArrayOutput) Index(i pulumi.IntInput) GetApiTokenRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiTokenRole { + return vs[0].([]GetApiTokenRole)[vs[1].(int)] + }).(GetApiTokenRoleOutput) } -func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) +type GetApiTokenUpdatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput struct{ *pulumi.OutputState } +// GetApiTokenUpdatedByInput is an input type that accepts GetApiTokenUpdatedByArgs and GetApiTokenUpdatedByOutput values. +// You can construct a concrete instance of `GetApiTokenUpdatedByInput` via: +// +// GetApiTokenUpdatedByArgs{...} +type GetApiTokenUpdatedByInput interface { + pulumi.Input -func (GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory)(nil)).Elem() + ToGetApiTokenUpdatedByOutput() GetApiTokenUpdatedByOutput + ToGetApiTokenUpdatedByOutputWithContext(context.Context) GetApiTokenUpdatedByOutput } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { - return o +type GetApiTokenUpdatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { - return o +func (GetApiTokenUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenUpdatedBy)(nil)).Elem() } -// Resource range ceiling -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Ceiling }).(pulumi.StringOutput) +func (i GetApiTokenUpdatedByArgs) ToGetApiTokenUpdatedByOutput() GetApiTokenUpdatedByOutput { + return i.ToGetApiTokenUpdatedByOutputWithContext(context.Background()) } -// Resource range default -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Default }).(pulumi.StringOutput) +func (i GetApiTokenUpdatedByArgs) ToGetApiTokenUpdatedByOutputWithContext(ctx context.Context) GetApiTokenUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenUpdatedByOutput) } -// Resource range floor -func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Floor }).(pulumi.StringOutput) +type GetApiTokenUpdatedByOutput struct{ *pulumi.OutputState } + +func (GetApiTokenUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenUpdatedBy)(nil)).Elem() } -type GetDeploymentOptionsResourceQuotasResourceQuota struct { - // CPU resource range - Cpu GetDeploymentOptionsResourceQuotasResourceQuotaCpu `pulumi:"cpu"` - // Memory resource range - Memory GetDeploymentOptionsResourceQuotasResourceQuotaMemory `pulumi:"memory"` +func (o GetApiTokenUpdatedByOutput) ToGetApiTokenUpdatedByOutput() GetApiTokenUpdatedByOutput { + return o } -// GetDeploymentOptionsResourceQuotasResourceQuotaInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaArgs and GetDeploymentOptionsResourceQuotasResourceQuotaOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaInput` via: -// -// GetDeploymentOptionsResourceQuotasResourceQuotaArgs{...} -type GetDeploymentOptionsResourceQuotasResourceQuotaInput interface { - pulumi.Input +func (o GetApiTokenUpdatedByOutput) ToGetApiTokenUpdatedByOutputWithContext(ctx context.Context) GetApiTokenUpdatedByOutput { + return o +} - ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput - ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput +func (o GetApiTokenUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaArgs struct { - // CPU resource range - Cpu GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput `pulumi:"cpu"` - // Memory resource range - Memory GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput `pulumi:"memory"` +func (o GetApiTokenUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -func (GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuota)(nil)).Elem() +func (o GetApiTokenUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { - return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(context.Background()) +func (o GetApiTokenUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaOutput) +func (o GetApiTokenUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaOutput struct{ *pulumi.OutputState } +func (o GetApiTokenUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +} -func (GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuota)(nil)).Elem() +type GetApiTokensApiToken struct { + // API Token creation timestamp + CreatedAt string `pulumi:"createdAt"` + // API Token creator + CreatedBy GetApiTokensApiTokenCreatedBy `pulumi:"createdBy"` + // API Token description + Description string `pulumi:"description"` + // time when the API token will expire in UTC + EndAt string `pulumi:"endAt"` + // API Token expiry period in days + ExpiryPeriodInDays int `pulumi:"expiryPeriodInDays"` + // API Token identifier + Id string `pulumi:"id"` + // API Token last used timestamp + LastUsedAt string `pulumi:"lastUsedAt"` + // API Token name + Name string `pulumi:"name"` + // The roles assigned to the API Token + Roles []GetApiTokensApiTokenRole `pulumi:"roles"` + // API Token short token + ShortToken string `pulumi:"shortToken"` + // time when the API token will become valid in UTC + StartAt string `pulumi:"startAt"` + // API Token type + Type string `pulumi:"type"` + // API Token last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // API Token updater + UpdatedBy GetApiTokensApiTokenUpdatedBy `pulumi:"updatedBy"` } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { - return o +// GetApiTokensApiTokenInput is an input type that accepts GetApiTokensApiTokenArgs and GetApiTokensApiTokenOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenInput` via: +// +// GetApiTokensApiTokenArgs{...} +type GetApiTokensApiTokenInput interface { + pulumi.Input + + ToGetApiTokensApiTokenOutput() GetApiTokensApiTokenOutput + ToGetApiTokensApiTokenOutputWithContext(context.Context) GetApiTokensApiTokenOutput } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput { - return o +type GetApiTokensApiTokenArgs struct { + // API Token creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // API Token creator + CreatedBy GetApiTokensApiTokenCreatedByInput `pulumi:"createdBy"` + // API Token description + Description pulumi.StringInput `pulumi:"description"` + // time when the API token will expire in UTC + EndAt pulumi.StringInput `pulumi:"endAt"` + // API Token expiry period in days + ExpiryPeriodInDays pulumi.IntInput `pulumi:"expiryPeriodInDays"` + // API Token identifier + Id pulumi.StringInput `pulumi:"id"` + // API Token last used timestamp + LastUsedAt pulumi.StringInput `pulumi:"lastUsedAt"` + // API Token name + Name pulumi.StringInput `pulumi:"name"` + // The roles assigned to the API Token + Roles GetApiTokensApiTokenRoleArrayInput `pulumi:"roles"` + // API Token short token + ShortToken pulumi.StringInput `pulumi:"shortToken"` + // time when the API token will become valid in UTC + StartAt pulumi.StringInput `pulumi:"startAt"` + // API Token type + Type pulumi.StringInput `pulumi:"type"` + // API Token last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // API Token updater + UpdatedBy GetApiTokensApiTokenUpdatedByInput `pulumi:"updatedBy"` } -// CPU resource range -func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) Cpu() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuota) GetDeploymentOptionsResourceQuotasResourceQuotaCpu { - return v.Cpu - }).(GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) +func (GetApiTokensApiTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiToken)(nil)).Elem() } -// Memory resource range -func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) Memory() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuota) GetDeploymentOptionsResourceQuotasResourceQuotaMemory { - return v.Memory - }).(GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) +func (i GetApiTokensApiTokenArgs) ToGetApiTokensApiTokenOutput() GetApiTokensApiTokenOutput { + return i.ToGetApiTokensApiTokenOutputWithContext(context.Background()) } -type GetDeploymentOptionsResourceQuotasResourceQuotaCpu struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +func (i GetApiTokensApiTokenArgs) ToGetApiTokensApiTokenOutputWithContext(ctx context.Context) GetApiTokensApiTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenOutput) } -// GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs and GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput` via: +// GetApiTokensApiTokenArrayInput is an input type that accepts GetApiTokensApiTokenArray and GetApiTokensApiTokenArrayOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenArrayInput` via: // -// GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs{...} -type GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput interface { +// GetApiTokensApiTokenArray{ GetApiTokensApiTokenArgs{...} } +type GetApiTokensApiTokenArrayInput interface { pulumi.Input - ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput - ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput + ToGetApiTokensApiTokenArrayOutput() GetApiTokensApiTokenArrayOutput + ToGetApiTokensApiTokenArrayOutputWithContext(context.Context) GetApiTokensApiTokenArrayOutput } -type GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` -} +type GetApiTokensApiTokenArray []GetApiTokensApiTokenInput -func (GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaCpu)(nil)).Elem() +func (GetApiTokensApiTokenArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokensApiToken)(nil)).Elem() } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { - return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(context.Background()) +func (i GetApiTokensApiTokenArray) ToGetApiTokensApiTokenArrayOutput() GetApiTokensApiTokenArrayOutput { + return i.ToGetApiTokensApiTokenArrayOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) +func (i GetApiTokensApiTokenArray) ToGetApiTokensApiTokenArrayOutputWithContext(ctx context.Context) GetApiTokensApiTokenArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenArrayOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput struct{ *pulumi.OutputState } +type GetApiTokensApiTokenOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaCpu)(nil)).Elem() +func (GetApiTokensApiTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiToken)(nil)).Elem() } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { +func (o GetApiTokensApiTokenOutput) ToGetApiTokensApiTokenOutput() GetApiTokensApiTokenOutput { return o } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { +func (o GetApiTokensApiTokenOutput) ToGetApiTokensApiTokenOutputWithContext(ctx context.Context) GetApiTokensApiTokenOutput { return o } -// Resource range ceiling -func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Ceiling }).(pulumi.StringOutput) +// API Token creation timestamp +func (o GetApiTokensApiTokenOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.CreatedAt }).(pulumi.StringOutput) } -// Resource range default -func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Default }).(pulumi.StringOutput) +// API Token creator +func (o GetApiTokensApiTokenOutput) CreatedBy() GetApiTokensApiTokenCreatedByOutput { + return o.ApplyT(func(v GetApiTokensApiToken) GetApiTokensApiTokenCreatedBy { return v.CreatedBy }).(GetApiTokensApiTokenCreatedByOutput) } -// Resource range floor -func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Floor }).(pulumi.StringOutput) +// API Token description +func (o GetApiTokensApiTokenOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.Description }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaMemory struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +// time when the API token will expire in UTC +func (o GetApiTokensApiTokenOutput) EndAt() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.EndAt }).(pulumi.StringOutput) } -// GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs and GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput` via: -// -// GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs{...} -type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput interface { - pulumi.Input +// API Token expiry period in days +func (o GetApiTokensApiTokenOutput) ExpiryPeriodInDays() pulumi.IntOutput { + return o.ApplyT(func(v GetApiTokensApiToken) int { return v.ExpiryPeriodInDays }).(pulumi.IntOutput) +} - ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput - ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput +// API Token identifier +func (o GetApiTokensApiTokenOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.Id }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` +// API Token last used timestamp +func (o GetApiTokensApiTokenOutput) LastUsedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.LastUsedAt }).(pulumi.StringOutput) } -func (GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaMemory)(nil)).Elem() +// API Token name +func (o GetApiTokensApiTokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.Name }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { - return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(context.Background()) +// The roles assigned to the API Token +func (o GetApiTokensApiTokenOutput) Roles() GetApiTokensApiTokenRoleArrayOutput { + return o.ApplyT(func(v GetApiTokensApiToken) []GetApiTokensApiTokenRole { return v.Roles }).(GetApiTokensApiTokenRoleArrayOutput) } -func (i GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) +// API Token short token +func (o GetApiTokensApiTokenOutput) ShortToken() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.ShortToken }).(pulumi.StringOutput) } -type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput struct{ *pulumi.OutputState } +// time when the API token will become valid in UTC +func (o GetApiTokensApiTokenOutput) StartAt() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.StartAt }).(pulumi.StringOutput) +} -func (GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaMemory)(nil)).Elem() +// API Token type +func (o GetApiTokensApiTokenOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.Type }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { - return o +// API Token last updated timestamp +func (o GetApiTokensApiTokenOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiToken) string { return v.UpdatedAt }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { - return o +// API Token updater +func (o GetApiTokensApiTokenOutput) UpdatedBy() GetApiTokensApiTokenUpdatedByOutput { + return o.ApplyT(func(v GetApiTokensApiToken) GetApiTokensApiTokenUpdatedBy { return v.UpdatedBy }).(GetApiTokensApiTokenUpdatedByOutput) } -// Resource range ceiling -func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Ceiling }).(pulumi.StringOutput) +type GetApiTokensApiTokenArrayOutput struct{ *pulumi.OutputState } + +func (GetApiTokensApiTokenArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokensApiToken)(nil)).Elem() } -// Resource range default -func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Default }).(pulumi.StringOutput) +func (o GetApiTokensApiTokenArrayOutput) ToGetApiTokensApiTokenArrayOutput() GetApiTokensApiTokenArrayOutput { + return o } -// Resource range floor -func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Floor }).(pulumi.StringOutput) +func (o GetApiTokensApiTokenArrayOutput) ToGetApiTokensApiTokenArrayOutputWithContext(ctx context.Context) GetApiTokensApiTokenArrayOutput { + return o } -type GetDeploymentOptionsRuntimeRelease struct { - AirflowDatabaseMigration bool `pulumi:"airflowDatabaseMigration"` - AirflowVersion string `pulumi:"airflowVersion"` - Channel string `pulumi:"channel"` - ReleaseDate string `pulumi:"releaseDate"` - StellarDatabaseMigration bool `pulumi:"stellarDatabaseMigration"` - Version string `pulumi:"version"` +func (o GetApiTokensApiTokenArrayOutput) Index(i pulumi.IntInput) GetApiTokensApiTokenOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiTokensApiToken { + return vs[0].([]GetApiTokensApiToken)[vs[1].(int)] + }).(GetApiTokensApiTokenOutput) } -// GetDeploymentOptionsRuntimeReleaseInput is an input type that accepts GetDeploymentOptionsRuntimeReleaseArgs and GetDeploymentOptionsRuntimeReleaseOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsRuntimeReleaseInput` via: +type GetApiTokensApiTokenCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` +} + +// GetApiTokensApiTokenCreatedByInput is an input type that accepts GetApiTokensApiTokenCreatedByArgs and GetApiTokensApiTokenCreatedByOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenCreatedByInput` via: // -// GetDeploymentOptionsRuntimeReleaseArgs{...} -type GetDeploymentOptionsRuntimeReleaseInput interface { +// GetApiTokensApiTokenCreatedByArgs{...} +type GetApiTokensApiTokenCreatedByInput interface { pulumi.Input - ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput - ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(context.Context) GetDeploymentOptionsRuntimeReleaseOutput + ToGetApiTokensApiTokenCreatedByOutput() GetApiTokensApiTokenCreatedByOutput + ToGetApiTokensApiTokenCreatedByOutputWithContext(context.Context) GetApiTokensApiTokenCreatedByOutput } -type GetDeploymentOptionsRuntimeReleaseArgs struct { - AirflowDatabaseMigration pulumi.BoolInput `pulumi:"airflowDatabaseMigration"` - AirflowVersion pulumi.StringInput `pulumi:"airflowVersion"` - Channel pulumi.StringInput `pulumi:"channel"` - ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` - StellarDatabaseMigration pulumi.BoolInput `pulumi:"stellarDatabaseMigration"` - Version pulumi.StringInput `pulumi:"version"` +type GetApiTokensApiTokenCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetDeploymentOptionsRuntimeReleaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +func (GetApiTokensApiTokenCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenCreatedBy)(nil)).Elem() } -func (i GetDeploymentOptionsRuntimeReleaseArgs) ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput { - return i.ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(context.Background()) +func (i GetApiTokensApiTokenCreatedByArgs) ToGetApiTokensApiTokenCreatedByOutput() GetApiTokensApiTokenCreatedByOutput { + return i.ToGetApiTokensApiTokenCreatedByOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsRuntimeReleaseArgs) ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsRuntimeReleaseOutput) +func (i GetApiTokensApiTokenCreatedByArgs) ToGetApiTokensApiTokenCreatedByOutputWithContext(ctx context.Context) GetApiTokensApiTokenCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenCreatedByOutput) } -// GetDeploymentOptionsRuntimeReleaseArrayInput is an input type that accepts GetDeploymentOptionsRuntimeReleaseArray and GetDeploymentOptionsRuntimeReleaseArrayOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsRuntimeReleaseArrayInput` via: -// -// GetDeploymentOptionsRuntimeReleaseArray{ GetDeploymentOptionsRuntimeReleaseArgs{...} } -type GetDeploymentOptionsRuntimeReleaseArrayInput interface { - pulumi.Input +type GetApiTokensApiTokenCreatedByOutput struct{ *pulumi.OutputState } - ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput - ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput +func (GetApiTokensApiTokenCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenCreatedBy)(nil)).Elem() } -type GetDeploymentOptionsRuntimeReleaseArray []GetDeploymentOptionsRuntimeReleaseInput +func (o GetApiTokensApiTokenCreatedByOutput) ToGetApiTokensApiTokenCreatedByOutput() GetApiTokensApiTokenCreatedByOutput { + return o +} -func (GetDeploymentOptionsRuntimeReleaseArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +func (o GetApiTokensApiTokenCreatedByOutput) ToGetApiTokensApiTokenCreatedByOutputWithContext(ctx context.Context) GetApiTokensApiTokenCreatedByOutput { + return o } -func (i GetDeploymentOptionsRuntimeReleaseArray) ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput { - return i.ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(context.Background()) +func (o GetApiTokensApiTokenCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsRuntimeReleaseArray) ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsRuntimeReleaseArrayOutput) +func (o GetApiTokensApiTokenCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -type GetDeploymentOptionsRuntimeReleaseOutput struct{ *pulumi.OutputState } +func (o GetApiTokensApiTokenCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +} -func (GetDeploymentOptionsRuntimeReleaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +func (o GetApiTokensApiTokenCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsRuntimeReleaseOutput) ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput { - return o +func (o GetApiTokensApiTokenCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsRuntimeReleaseOutput) ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseOutput { - return o +func (o GetApiTokensApiTokenCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenCreatedBy) string { return v.Username }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsRuntimeReleaseOutput) AirflowDatabaseMigration() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) bool { return v.AirflowDatabaseMigration }).(pulumi.BoolOutput) +type GetApiTokensApiTokenRole struct { + // The ID of the entity to assign the role to + EntityId string `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType string `pulumi:"entityType"` + // The role to assign to the entity + Role string `pulumi:"role"` } -func (o GetDeploymentOptionsRuntimeReleaseOutput) AirflowVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.AirflowVersion }).(pulumi.StringOutput) +// GetApiTokensApiTokenRoleInput is an input type that accepts GetApiTokensApiTokenRoleArgs and GetApiTokensApiTokenRoleOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenRoleInput` via: +// +// GetApiTokensApiTokenRoleArgs{...} +type GetApiTokensApiTokenRoleInput interface { + pulumi.Input + + ToGetApiTokensApiTokenRoleOutput() GetApiTokensApiTokenRoleOutput + ToGetApiTokensApiTokenRoleOutputWithContext(context.Context) GetApiTokensApiTokenRoleOutput } -func (o GetDeploymentOptionsRuntimeReleaseOutput) Channel() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.Channel }).(pulumi.StringOutput) +type GetApiTokensApiTokenRoleArgs struct { + // The ID of the entity to assign the role to + EntityId pulumi.StringInput `pulumi:"entityId"` + // The type of entity to assign the role to + EntityType pulumi.StringInput `pulumi:"entityType"` + // The role to assign to the entity + Role pulumi.StringInput `pulumi:"role"` } -func (o GetDeploymentOptionsRuntimeReleaseOutput) ReleaseDate() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.ReleaseDate }).(pulumi.StringOutput) +func (GetApiTokensApiTokenRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenRole)(nil)).Elem() } -func (o GetDeploymentOptionsRuntimeReleaseOutput) StellarDatabaseMigration() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) bool { return v.StellarDatabaseMigration }).(pulumi.BoolOutput) +func (i GetApiTokensApiTokenRoleArgs) ToGetApiTokensApiTokenRoleOutput() GetApiTokensApiTokenRoleOutput { + return i.ToGetApiTokensApiTokenRoleOutputWithContext(context.Background()) } -func (o GetDeploymentOptionsRuntimeReleaseOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.Version }).(pulumi.StringOutput) +func (i GetApiTokensApiTokenRoleArgs) ToGetApiTokensApiTokenRoleOutputWithContext(ctx context.Context) GetApiTokensApiTokenRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenRoleOutput) } -type GetDeploymentOptionsRuntimeReleaseArrayOutput struct{ *pulumi.OutputState } +// GetApiTokensApiTokenRoleArrayInput is an input type that accepts GetApiTokensApiTokenRoleArray and GetApiTokensApiTokenRoleArrayOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenRoleArrayInput` via: +// +// GetApiTokensApiTokenRoleArray{ GetApiTokensApiTokenRoleArgs{...} } +type GetApiTokensApiTokenRoleArrayInput interface { + pulumi.Input -func (GetDeploymentOptionsRuntimeReleaseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsRuntimeRelease)(nil)).Elem() + ToGetApiTokensApiTokenRoleArrayOutput() GetApiTokensApiTokenRoleArrayOutput + ToGetApiTokensApiTokenRoleArrayOutputWithContext(context.Context) GetApiTokensApiTokenRoleArrayOutput } -func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput { +type GetApiTokensApiTokenRoleArray []GetApiTokensApiTokenRoleInput + +func (GetApiTokensApiTokenRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokensApiTokenRole)(nil)).Elem() +} + +func (i GetApiTokensApiTokenRoleArray) ToGetApiTokensApiTokenRoleArrayOutput() GetApiTokensApiTokenRoleArrayOutput { + return i.ToGetApiTokensApiTokenRoleArrayOutputWithContext(context.Background()) +} + +func (i GetApiTokensApiTokenRoleArray) ToGetApiTokensApiTokenRoleArrayOutputWithContext(ctx context.Context) GetApiTokensApiTokenRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenRoleArrayOutput) +} + +type GetApiTokensApiTokenRoleOutput struct{ *pulumi.OutputState } + +func (GetApiTokensApiTokenRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenRole)(nil)).Elem() +} + +func (o GetApiTokensApiTokenRoleOutput) ToGetApiTokensApiTokenRoleOutput() GetApiTokensApiTokenRoleOutput { return o } -func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput { +func (o GetApiTokensApiTokenRoleOutput) ToGetApiTokensApiTokenRoleOutputWithContext(ctx context.Context) GetApiTokensApiTokenRoleOutput { return o } -func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsRuntimeReleaseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsRuntimeRelease { - return vs[0].([]GetDeploymentOptionsRuntimeRelease)[vs[1].(int)] - }).(GetDeploymentOptionsRuntimeReleaseOutput) +// The ID of the entity to assign the role to +func (o GetApiTokensApiTokenRoleOutput) EntityId() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenRole) string { return v.EntityId }).(pulumi.StringOutput) } -type GetDeploymentOptionsSchedulerMachine struct { - Name string `pulumi:"name"` - Spec GetDeploymentOptionsSchedulerMachineSpec `pulumi:"spec"` +// The type of entity to assign the role to +func (o GetApiTokensApiTokenRoleOutput) EntityType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenRole) string { return v.EntityType }).(pulumi.StringOutput) } -// GetDeploymentOptionsSchedulerMachineInput is an input type that accepts GetDeploymentOptionsSchedulerMachineArgs and GetDeploymentOptionsSchedulerMachineOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineInput` via: -// -// GetDeploymentOptionsSchedulerMachineArgs{...} -type GetDeploymentOptionsSchedulerMachineInput interface { - pulumi.Input +// The role to assign to the entity +func (o GetApiTokensApiTokenRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenRole) string { return v.Role }).(pulumi.StringOutput) +} - ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput - ToGetDeploymentOptionsSchedulerMachineOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineOutput +type GetApiTokensApiTokenRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetApiTokensApiTokenRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiTokensApiTokenRole)(nil)).Elem() } -type GetDeploymentOptionsSchedulerMachineArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Spec GetDeploymentOptionsSchedulerMachineSpecInput `pulumi:"spec"` +func (o GetApiTokensApiTokenRoleArrayOutput) ToGetApiTokensApiTokenRoleArrayOutput() GetApiTokensApiTokenRoleArrayOutput { + return o } -func (GetDeploymentOptionsSchedulerMachineArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +func (o GetApiTokensApiTokenRoleArrayOutput) ToGetApiTokensApiTokenRoleArrayOutputWithContext(ctx context.Context) GetApiTokensApiTokenRoleArrayOutput { + return o } -func (i GetDeploymentOptionsSchedulerMachineArgs) ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput { - return i.ToGetDeploymentOptionsSchedulerMachineOutputWithContext(context.Background()) +func (o GetApiTokensApiTokenRoleArrayOutput) Index(i pulumi.IntInput) GetApiTokensApiTokenRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiTokensApiTokenRole { + return vs[0].([]GetApiTokensApiTokenRole)[vs[1].(int)] + }).(GetApiTokensApiTokenRoleOutput) } -func (i GetDeploymentOptionsSchedulerMachineArgs) ToGetDeploymentOptionsSchedulerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineOutput) +type GetApiTokensApiTokenUpdatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -// GetDeploymentOptionsSchedulerMachineArrayInput is an input type that accepts GetDeploymentOptionsSchedulerMachineArray and GetDeploymentOptionsSchedulerMachineArrayOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineArrayInput` via: +// GetApiTokensApiTokenUpdatedByInput is an input type that accepts GetApiTokensApiTokenUpdatedByArgs and GetApiTokensApiTokenUpdatedByOutput values. +// You can construct a concrete instance of `GetApiTokensApiTokenUpdatedByInput` via: // -// GetDeploymentOptionsSchedulerMachineArray{ GetDeploymentOptionsSchedulerMachineArgs{...} } -type GetDeploymentOptionsSchedulerMachineArrayInput interface { +// GetApiTokensApiTokenUpdatedByArgs{...} +type GetApiTokensApiTokenUpdatedByInput interface { pulumi.Input - ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput - ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput + ToGetApiTokensApiTokenUpdatedByOutput() GetApiTokensApiTokenUpdatedByOutput + ToGetApiTokensApiTokenUpdatedByOutputWithContext(context.Context) GetApiTokensApiTokenUpdatedByOutput } -type GetDeploymentOptionsSchedulerMachineArray []GetDeploymentOptionsSchedulerMachineInput +type GetApiTokensApiTokenUpdatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` +} -func (GetDeploymentOptionsSchedulerMachineArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +func (GetApiTokensApiTokenUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenUpdatedBy)(nil)).Elem() } -func (i GetDeploymentOptionsSchedulerMachineArray) ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput { - return i.ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(context.Background()) +func (i GetApiTokensApiTokenUpdatedByArgs) ToGetApiTokensApiTokenUpdatedByOutput() GetApiTokensApiTokenUpdatedByOutput { + return i.ToGetApiTokensApiTokenUpdatedByOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsSchedulerMachineArray) ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineArrayOutput) +func (i GetApiTokensApiTokenUpdatedByArgs) ToGetApiTokensApiTokenUpdatedByOutputWithContext(ctx context.Context) GetApiTokensApiTokenUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokensApiTokenUpdatedByOutput) } -type GetDeploymentOptionsSchedulerMachineOutput struct{ *pulumi.OutputState } +type GetApiTokensApiTokenUpdatedByOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsSchedulerMachineOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +func (GetApiTokensApiTokenUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokensApiTokenUpdatedBy)(nil)).Elem() } -func (o GetDeploymentOptionsSchedulerMachineOutput) ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput { +func (o GetApiTokensApiTokenUpdatedByOutput) ToGetApiTokensApiTokenUpdatedByOutput() GetApiTokensApiTokenUpdatedByOutput { return o } -func (o GetDeploymentOptionsSchedulerMachineOutput) ToGetDeploymentOptionsSchedulerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineOutput { +func (o GetApiTokensApiTokenUpdatedByOutput) ToGetApiTokensApiTokenUpdatedByOutputWithContext(ctx context.Context) GetApiTokensApiTokenUpdatedByOutput { return o } -func (o GetDeploymentOptionsSchedulerMachineOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachine) string { return v.Name }).(pulumi.StringOutput) +func (o GetApiTokensApiTokenUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsSchedulerMachineOutput) Spec() GetDeploymentOptionsSchedulerMachineSpecOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachine) GetDeploymentOptionsSchedulerMachineSpec { return v.Spec }).(GetDeploymentOptionsSchedulerMachineSpecOutput) +func (o GetApiTokensApiTokenUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -type GetDeploymentOptionsSchedulerMachineArrayOutput struct{ *pulumi.OutputState } - -func (GetDeploymentOptionsSchedulerMachineArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +func (o GetApiTokensApiTokenUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsSchedulerMachineArrayOutput) ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput { - return o +func (o GetApiTokensApiTokenUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsSchedulerMachineArrayOutput) ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput { - return o +func (o GetApiTokensApiTokenUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsSchedulerMachineArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsSchedulerMachineOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsSchedulerMachine { - return vs[0].([]GetDeploymentOptionsSchedulerMachine)[vs[1].(int)] - }).(GetDeploymentOptionsSchedulerMachineOutput) +func (o GetApiTokensApiTokenUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokensApiTokenUpdatedBy) string { return v.Username }).(pulumi.StringOutput) } -type GetDeploymentOptionsSchedulerMachineSpec struct { - Concurrency string `pulumi:"concurrency"` - Cpu string `pulumi:"cpu"` - EphemeralStorage string `pulumi:"ephemeralStorage"` - Memory string `pulumi:"memory"` +type GetClusterHealthStatus struct { + // Cluster health status details + Details []GetClusterHealthStatusDetail `pulumi:"details"` + // Cluster health status value + Value string `pulumi:"value"` } -// GetDeploymentOptionsSchedulerMachineSpecInput is an input type that accepts GetDeploymentOptionsSchedulerMachineSpecArgs and GetDeploymentOptionsSchedulerMachineSpecOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineSpecInput` via: +// GetClusterHealthStatusInput is an input type that accepts GetClusterHealthStatusArgs and GetClusterHealthStatusOutput values. +// You can construct a concrete instance of `GetClusterHealthStatusInput` via: // -// GetDeploymentOptionsSchedulerMachineSpecArgs{...} -type GetDeploymentOptionsSchedulerMachineSpecInput interface { +// GetClusterHealthStatusArgs{...} +type GetClusterHealthStatusInput interface { pulumi.Input - ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput - ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput + ToGetClusterHealthStatusOutput() GetClusterHealthStatusOutput + ToGetClusterHealthStatusOutputWithContext(context.Context) GetClusterHealthStatusOutput } -type GetDeploymentOptionsSchedulerMachineSpecArgs struct { - Concurrency pulumi.StringInput `pulumi:"concurrency"` - Cpu pulumi.StringInput `pulumi:"cpu"` - EphemeralStorage pulumi.StringInput `pulumi:"ephemeralStorage"` - Memory pulumi.StringInput `pulumi:"memory"` +type GetClusterHealthStatusArgs struct { + // Cluster health status details + Details GetClusterHealthStatusDetailArrayInput `pulumi:"details"` + // Cluster health status value + Value pulumi.StringInput `pulumi:"value"` } -func (GetDeploymentOptionsSchedulerMachineSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachineSpec)(nil)).Elem() +func (GetClusterHealthStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterHealthStatus)(nil)).Elem() } -func (i GetDeploymentOptionsSchedulerMachineSpecArgs) ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput { - return i.ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(context.Background()) +func (i GetClusterHealthStatusArgs) ToGetClusterHealthStatusOutput() GetClusterHealthStatusOutput { + return i.ToGetClusterHealthStatusOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsSchedulerMachineSpecArgs) ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineSpecOutput) +func (i GetClusterHealthStatusArgs) ToGetClusterHealthStatusOutputWithContext(ctx context.Context) GetClusterHealthStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterHealthStatusOutput) } -type GetDeploymentOptionsSchedulerMachineSpecOutput struct{ *pulumi.OutputState } +type GetClusterHealthStatusOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsSchedulerMachineSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachineSpec)(nil)).Elem() +func (GetClusterHealthStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterHealthStatus)(nil)).Elem() } -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput { +func (o GetClusterHealthStatusOutput) ToGetClusterHealthStatusOutput() GetClusterHealthStatusOutput { return o } -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput { +func (o GetClusterHealthStatusOutput) ToGetClusterHealthStatusOutputWithContext(ctx context.Context) GetClusterHealthStatusOutput { return o } -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Concurrency() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Concurrency }).(pulumi.StringOutput) -} - -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Cpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Cpu }).(pulumi.StringOutput) -} - -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) EphemeralStorage() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.EphemeralStorage }).(pulumi.StringOutput) +// Cluster health status details +func (o GetClusterHealthStatusOutput) Details() GetClusterHealthStatusDetailArrayOutput { + return o.ApplyT(func(v GetClusterHealthStatus) []GetClusterHealthStatusDetail { return v.Details }).(GetClusterHealthStatusDetailArrayOutput) } -func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Memory }).(pulumi.StringOutput) +// Cluster health status value +func (o GetClusterHealthStatusOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterHealthStatus) string { return v.Value }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkerMachine struct { - Concurrency GetDeploymentOptionsWorkerMachineConcurrency `pulumi:"concurrency"` - Name string `pulumi:"name"` - Spec GetDeploymentOptionsWorkerMachineSpec `pulumi:"spec"` +type GetClusterHealthStatusDetail struct { + // Cluster health status detail code + Code string `pulumi:"code"` + // Cluster health status detail description + Description string `pulumi:"description"` + // Cluster health status detail severity + Severity string `pulumi:"severity"` } -// GetDeploymentOptionsWorkerMachineInput is an input type that accepts GetDeploymentOptionsWorkerMachineArgs and GetDeploymentOptionsWorkerMachineOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineInput` via: +// GetClusterHealthStatusDetailInput is an input type that accepts GetClusterHealthStatusDetailArgs and GetClusterHealthStatusDetailOutput values. +// You can construct a concrete instance of `GetClusterHealthStatusDetailInput` via: // -// GetDeploymentOptionsWorkerMachineArgs{...} -type GetDeploymentOptionsWorkerMachineInput interface { +// GetClusterHealthStatusDetailArgs{...} +type GetClusterHealthStatusDetailInput interface { pulumi.Input - ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput - ToGetDeploymentOptionsWorkerMachineOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineOutput + ToGetClusterHealthStatusDetailOutput() GetClusterHealthStatusDetailOutput + ToGetClusterHealthStatusDetailOutputWithContext(context.Context) GetClusterHealthStatusDetailOutput } -type GetDeploymentOptionsWorkerMachineArgs struct { - Concurrency GetDeploymentOptionsWorkerMachineConcurrencyInput `pulumi:"concurrency"` - Name pulumi.StringInput `pulumi:"name"` - Spec GetDeploymentOptionsWorkerMachineSpecInput `pulumi:"spec"` +type GetClusterHealthStatusDetailArgs struct { + // Cluster health status detail code + Code pulumi.StringInput `pulumi:"code"` + // Cluster health status detail description + Description pulumi.StringInput `pulumi:"description"` + // Cluster health status detail severity + Severity pulumi.StringInput `pulumi:"severity"` } -func (GetDeploymentOptionsWorkerMachineArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachine)(nil)).Elem() +func (GetClusterHealthStatusDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterHealthStatusDetail)(nil)).Elem() } -func (i GetDeploymentOptionsWorkerMachineArgs) ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput { - return i.ToGetDeploymentOptionsWorkerMachineOutputWithContext(context.Background()) +func (i GetClusterHealthStatusDetailArgs) ToGetClusterHealthStatusDetailOutput() GetClusterHealthStatusDetailOutput { + return i.ToGetClusterHealthStatusDetailOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkerMachineArgs) ToGetDeploymentOptionsWorkerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineOutput) +func (i GetClusterHealthStatusDetailArgs) ToGetClusterHealthStatusDetailOutputWithContext(ctx context.Context) GetClusterHealthStatusDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterHealthStatusDetailOutput) } -// GetDeploymentOptionsWorkerMachineArrayInput is an input type that accepts GetDeploymentOptionsWorkerMachineArray and GetDeploymentOptionsWorkerMachineArrayOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineArrayInput` via: +// GetClusterHealthStatusDetailArrayInput is an input type that accepts GetClusterHealthStatusDetailArray and GetClusterHealthStatusDetailArrayOutput values. +// You can construct a concrete instance of `GetClusterHealthStatusDetailArrayInput` via: // -// GetDeploymentOptionsWorkerMachineArray{ GetDeploymentOptionsWorkerMachineArgs{...} } -type GetDeploymentOptionsWorkerMachineArrayInput interface { +// GetClusterHealthStatusDetailArray{ GetClusterHealthStatusDetailArgs{...} } +type GetClusterHealthStatusDetailArrayInput interface { pulumi.Input - ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput - ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineArrayOutput + ToGetClusterHealthStatusDetailArrayOutput() GetClusterHealthStatusDetailArrayOutput + ToGetClusterHealthStatusDetailArrayOutputWithContext(context.Context) GetClusterHealthStatusDetailArrayOutput } -type GetDeploymentOptionsWorkerMachineArray []GetDeploymentOptionsWorkerMachineInput +type GetClusterHealthStatusDetailArray []GetClusterHealthStatusDetailInput -func (GetDeploymentOptionsWorkerMachineArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsWorkerMachine)(nil)).Elem() +func (GetClusterHealthStatusDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterHealthStatusDetail)(nil)).Elem() } -func (i GetDeploymentOptionsWorkerMachineArray) ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput { - return i.ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(context.Background()) +func (i GetClusterHealthStatusDetailArray) ToGetClusterHealthStatusDetailArrayOutput() GetClusterHealthStatusDetailArrayOutput { + return i.ToGetClusterHealthStatusDetailArrayOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkerMachineArray) ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineArrayOutput) +func (i GetClusterHealthStatusDetailArray) ToGetClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) GetClusterHealthStatusDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterHealthStatusDetailArrayOutput) } -type GetDeploymentOptionsWorkerMachineOutput struct{ *pulumi.OutputState } +type GetClusterHealthStatusDetailOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsWorkerMachineOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachine)(nil)).Elem() +func (GetClusterHealthStatusDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterHealthStatusDetail)(nil)).Elem() } -func (o GetDeploymentOptionsWorkerMachineOutput) ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput { +func (o GetClusterHealthStatusDetailOutput) ToGetClusterHealthStatusDetailOutput() GetClusterHealthStatusDetailOutput { return o } -func (o GetDeploymentOptionsWorkerMachineOutput) ToGetDeploymentOptionsWorkerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineOutput { +func (o GetClusterHealthStatusDetailOutput) ToGetClusterHealthStatusDetailOutputWithContext(ctx context.Context) GetClusterHealthStatusDetailOutput { return o } -func (o GetDeploymentOptionsWorkerMachineOutput) Concurrency() GetDeploymentOptionsWorkerMachineConcurrencyOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) GetDeploymentOptionsWorkerMachineConcurrency { - return v.Concurrency - }).(GetDeploymentOptionsWorkerMachineConcurrencyOutput) +// Cluster health status detail code +func (o GetClusterHealthStatusDetailOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterHealthStatusDetail) string { return v.Code }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsWorkerMachineOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) string { return v.Name }).(pulumi.StringOutput) +// Cluster health status detail description +func (o GetClusterHealthStatusDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterHealthStatusDetail) string { return v.Description }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsWorkerMachineOutput) Spec() GetDeploymentOptionsWorkerMachineSpecOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) GetDeploymentOptionsWorkerMachineSpec { return v.Spec }).(GetDeploymentOptionsWorkerMachineSpecOutput) +// Cluster health status detail severity +func (o GetClusterHealthStatusDetailOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterHealthStatusDetail) string { return v.Severity }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkerMachineArrayOutput struct{ *pulumi.OutputState } +type GetClusterHealthStatusDetailArrayOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsWorkerMachineArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsWorkerMachine)(nil)).Elem() +func (GetClusterHealthStatusDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterHealthStatusDetail)(nil)).Elem() } -func (o GetDeploymentOptionsWorkerMachineArrayOutput) ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput { +func (o GetClusterHealthStatusDetailArrayOutput) ToGetClusterHealthStatusDetailArrayOutput() GetClusterHealthStatusDetailArrayOutput { return o } -func (o GetDeploymentOptionsWorkerMachineArrayOutput) ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineArrayOutput { +func (o GetClusterHealthStatusDetailArrayOutput) ToGetClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) GetClusterHealthStatusDetailArrayOutput { return o } -func (o GetDeploymentOptionsWorkerMachineArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsWorkerMachineOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsWorkerMachine { - return vs[0].([]GetDeploymentOptionsWorkerMachine)[vs[1].(int)] - }).(GetDeploymentOptionsWorkerMachineOutput) +func (o GetClusterHealthStatusDetailArrayOutput) Index(i pulumi.IntInput) GetClusterHealthStatusDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterHealthStatusDetail { + return vs[0].([]GetClusterHealthStatusDetail)[vs[1].(int)] + }).(GetClusterHealthStatusDetailOutput) } -type GetDeploymentOptionsWorkerMachineConcurrency struct { - Ceiling string `pulumi:"ceiling"` - Default string `pulumi:"default"` - Floor string `pulumi:"floor"` +type GetClusterMetadata struct { + // Cluster external IPs + ExternalIps []string `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp string `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` } -// GetDeploymentOptionsWorkerMachineConcurrencyInput is an input type that accepts GetDeploymentOptionsWorkerMachineConcurrencyArgs and GetDeploymentOptionsWorkerMachineConcurrencyOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineConcurrencyInput` via: +// GetClusterMetadataInput is an input type that accepts GetClusterMetadataArgs and GetClusterMetadataOutput values. +// You can construct a concrete instance of `GetClusterMetadataInput` via: // -// GetDeploymentOptionsWorkerMachineConcurrencyArgs{...} -type GetDeploymentOptionsWorkerMachineConcurrencyInput interface { +// GetClusterMetadataArgs{...} +type GetClusterMetadataInput interface { pulumi.Input - ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput - ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput + ToGetClusterMetadataOutput() GetClusterMetadataOutput + ToGetClusterMetadataOutputWithContext(context.Context) GetClusterMetadataOutput } -type GetDeploymentOptionsWorkerMachineConcurrencyArgs struct { - Ceiling pulumi.StringInput `pulumi:"ceiling"` - Default pulumi.StringInput `pulumi:"default"` - Floor pulumi.StringInput `pulumi:"floor"` +type GetClusterMetadataArgs struct { + // Cluster external IPs + ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp pulumi.StringInput `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` } -func (GetDeploymentOptionsWorkerMachineConcurrencyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineConcurrency)(nil)).Elem() +func (GetClusterMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterMetadata)(nil)).Elem() } -func (i GetDeploymentOptionsWorkerMachineConcurrencyArgs) ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput { - return i.ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(context.Background()) +func (i GetClusterMetadataArgs) ToGetClusterMetadataOutput() GetClusterMetadataOutput { + return i.ToGetClusterMetadataOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkerMachineConcurrencyArgs) ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineConcurrencyOutput) +func (i GetClusterMetadataArgs) ToGetClusterMetadataOutputWithContext(ctx context.Context) GetClusterMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterMetadataOutput) } -type GetDeploymentOptionsWorkerMachineConcurrencyOutput struct{ *pulumi.OutputState } +type GetClusterMetadataOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsWorkerMachineConcurrencyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineConcurrency)(nil)).Elem() +func (GetClusterMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterMetadata)(nil)).Elem() } -func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput { +func (o GetClusterMetadataOutput) ToGetClusterMetadataOutput() GetClusterMetadataOutput { return o } -func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput { +func (o GetClusterMetadataOutput) ToGetClusterMetadataOutputWithContext(ctx context.Context) GetClusterMetadataOutput { return o } -func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Ceiling }).(pulumi.StringOutput) +// Cluster external IPs +func (o GetClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) } -func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Default }).(pulumi.StringOutput) +// Cluster kube DNS IP +func (o GetClusterMetadataOutput) KubeDnsIp() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterMetadata) string { return v.KubeDnsIp }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Floor }).(pulumi.StringOutput) +// Cluster OIDC issuer URL +func (o GetClusterMetadataOutput) OidcIssuerUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterMetadata) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkerMachineSpec struct { - Concurrency string `pulumi:"concurrency"` - Cpu string `pulumi:"cpu"` - EphemeralStorage string `pulumi:"ephemeralStorage"` - Memory string `pulumi:"memory"` +type GetClusterNodePool struct { + // Node pool cloud provider + CloudProvider string `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId string `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt string `pulumi:"createdAt"` + // Node pool identifier + Id string `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault bool `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount int `pulumi:"maxNodeCount"` + // Node pool name + Name string `pulumi:"name"` + // Node pool node instance type + NodeInstanceType string `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` } -// GetDeploymentOptionsWorkerMachineSpecInput is an input type that accepts GetDeploymentOptionsWorkerMachineSpecArgs and GetDeploymentOptionsWorkerMachineSpecOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineSpecInput` via: +// GetClusterNodePoolInput is an input type that accepts GetClusterNodePoolArgs and GetClusterNodePoolOutput values. +// You can construct a concrete instance of `GetClusterNodePoolInput` via: // -// GetDeploymentOptionsWorkerMachineSpecArgs{...} -type GetDeploymentOptionsWorkerMachineSpecInput interface { +// GetClusterNodePoolArgs{...} +type GetClusterNodePoolInput interface { pulumi.Input - ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput - ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineSpecOutput + ToGetClusterNodePoolOutput() GetClusterNodePoolOutput + ToGetClusterNodePoolOutputWithContext(context.Context) GetClusterNodePoolOutput } -type GetDeploymentOptionsWorkerMachineSpecArgs struct { - Concurrency pulumi.StringInput `pulumi:"concurrency"` - Cpu pulumi.StringInput `pulumi:"cpu"` - EphemeralStorage pulumi.StringInput `pulumi:"ephemeralStorage"` - Memory pulumi.StringInput `pulumi:"memory"` +type GetClusterNodePoolArgs struct { + // Node pool cloud provider + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId pulumi.StringInput `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Node pool identifier + Id pulumi.StringInput `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` + // Node pool name + Name pulumi.StringInput `pulumi:"name"` + // Node pool node instance type + NodeInstanceType pulumi.StringInput `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` } -func (GetDeploymentOptionsWorkerMachineSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineSpec)(nil)).Elem() +func (GetClusterNodePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterNodePool)(nil)).Elem() } -func (i GetDeploymentOptionsWorkerMachineSpecArgs) ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput { - return i.ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(context.Background()) +func (i GetClusterNodePoolArgs) ToGetClusterNodePoolOutput() GetClusterNodePoolOutput { + return i.ToGetClusterNodePoolOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkerMachineSpecArgs) ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineSpecOutput) +func (i GetClusterNodePoolArgs) ToGetClusterNodePoolOutputWithContext(ctx context.Context) GetClusterNodePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterNodePoolOutput) } -type GetDeploymentOptionsWorkerMachineSpecOutput struct{ *pulumi.OutputState } +// GetClusterNodePoolArrayInput is an input type that accepts GetClusterNodePoolArray and GetClusterNodePoolArrayOutput values. +// You can construct a concrete instance of `GetClusterNodePoolArrayInput` via: +// +// GetClusterNodePoolArray{ GetClusterNodePoolArgs{...} } +type GetClusterNodePoolArrayInput interface { + pulumi.Input -func (GetDeploymentOptionsWorkerMachineSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineSpec)(nil)).Elem() + ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput + ToGetClusterNodePoolArrayOutputWithContext(context.Context) GetClusterNodePoolArrayOutput } -func (o GetDeploymentOptionsWorkerMachineSpecOutput) ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput { - return o -} +type GetClusterNodePoolArray []GetClusterNodePoolInput -func (o GetDeploymentOptionsWorkerMachineSpecOutput) ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineSpecOutput { - return o +func (GetClusterNodePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterNodePool)(nil)).Elem() } -func (o GetDeploymentOptionsWorkerMachineSpecOutput) Concurrency() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Concurrency }).(pulumi.StringOutput) +func (i GetClusterNodePoolArray) ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput { + return i.ToGetClusterNodePoolArrayOutputWithContext(context.Background()) } -func (o GetDeploymentOptionsWorkerMachineSpecOutput) Cpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Cpu }).(pulumi.StringOutput) +func (i GetClusterNodePoolArray) ToGetClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClusterNodePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterNodePoolArrayOutput) } -func (o GetDeploymentOptionsWorkerMachineSpecOutput) EphemeralStorage() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.EphemeralStorage }).(pulumi.StringOutput) -} +type GetClusterNodePoolOutput struct{ *pulumi.OutputState } -func (o GetDeploymentOptionsWorkerMachineSpecOutput) Memory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Memory }).(pulumi.StringOutput) +func (GetClusterNodePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterNodePool)(nil)).Elem() } -type GetDeploymentOptionsWorkerQueues struct { - // Worker queue maximum workers - MaxWorkers GetDeploymentOptionsWorkerQueuesMaxWorkers `pulumi:"maxWorkers"` - // Worker queue minimum workers - MinWorkers GetDeploymentOptionsWorkerQueuesMinWorkers `pulumi:"minWorkers"` - // Worker queue worker concurrency - WorkerConcurrency GetDeploymentOptionsWorkerQueuesWorkerConcurrency `pulumi:"workerConcurrency"` +func (o GetClusterNodePoolOutput) ToGetClusterNodePoolOutput() GetClusterNodePoolOutput { + return o } -// GetDeploymentOptionsWorkerQueuesInput is an input type that accepts GetDeploymentOptionsWorkerQueuesArgs and GetDeploymentOptionsWorkerQueuesOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesInput` via: -// -// GetDeploymentOptionsWorkerQueuesArgs{...} -type GetDeploymentOptionsWorkerQueuesInput interface { - pulumi.Input - - ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput - ToGetDeploymentOptionsWorkerQueuesOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesOutput +func (o GetClusterNodePoolOutput) ToGetClusterNodePoolOutputWithContext(ctx context.Context) GetClusterNodePoolOutput { + return o } -type GetDeploymentOptionsWorkerQueuesArgs struct { - // Worker queue maximum workers - MaxWorkers GetDeploymentOptionsWorkerQueuesMaxWorkersInput `pulumi:"maxWorkers"` - // Worker queue minimum workers - MinWorkers GetDeploymentOptionsWorkerQueuesMinWorkersInput `pulumi:"minWorkers"` - // Worker queue worker concurrency - WorkerConcurrency GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput `pulumi:"workerConcurrency"` +// Node pool cloud provider +func (o GetClusterNodePoolOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.CloudProvider }).(pulumi.StringOutput) } -func (GetDeploymentOptionsWorkerQueuesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueues)(nil)).Elem() +// Node pool cluster identifier +func (o GetClusterNodePoolOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.ClusterId }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsWorkerQueuesArgs) ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput { - return i.ToGetDeploymentOptionsWorkerQueuesOutputWithContext(context.Background()) +// Node pool creation timestamp +func (o GetClusterNodePoolOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.CreatedAt }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsWorkerQueuesArgs) ToGetDeploymentOptionsWorkerQueuesOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesOutput) +// Node pool identifier +func (o GetClusterNodePoolOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.Id }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkerQueuesOutput struct{ *pulumi.OutputState } - -func (GetDeploymentOptionsWorkerQueuesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueues)(nil)).Elem() +// Whether the node pool is the default node pool of the cluster +func (o GetClusterNodePoolOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterNodePool) bool { return v.IsDefault }).(pulumi.BoolOutput) } -func (o GetDeploymentOptionsWorkerQueuesOutput) ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput { - return o -} - -func (o GetDeploymentOptionsWorkerQueuesOutput) ToGetDeploymentOptionsWorkerQueuesOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesOutput { - return o +// Node pool maximum node count +func (o GetClusterNodePoolOutput) MaxNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterNodePool) int { return v.MaxNodeCount }).(pulumi.IntOutput) } -// Worker queue maximum workers -func (o GetDeploymentOptionsWorkerQueuesOutput) MaxWorkers() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesMaxWorkers { - return v.MaxWorkers - }).(GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) +// Node pool name +func (o GetClusterNodePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.Name }).(pulumi.StringOutput) } -// Worker queue minimum workers -func (o GetDeploymentOptionsWorkerQueuesOutput) MinWorkers() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesMinWorkers { - return v.MinWorkers - }).(GetDeploymentOptionsWorkerQueuesMinWorkersOutput) +// Node pool node instance type +func (o GetClusterNodePoolOutput) NodeInstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.NodeInstanceType }).(pulumi.StringOutput) } -// Worker queue worker concurrency -func (o GetDeploymentOptionsWorkerQueuesOutput) WorkerConcurrency() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesWorkerConcurrency { - return v.WorkerConcurrency - }).(GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) +// Node pool supported Astro machines +func (o GetClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) } -type GetDeploymentOptionsWorkerQueuesMaxWorkers struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +// Node pool last updated timestamp +func (o GetClusterNodePoolOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterNodePool) string { return v.UpdatedAt }).(pulumi.StringOutput) } -// GetDeploymentOptionsWorkerQueuesMaxWorkersInput is an input type that accepts GetDeploymentOptionsWorkerQueuesMaxWorkersArgs and GetDeploymentOptionsWorkerQueuesMaxWorkersOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesMaxWorkersInput` via: -// -// GetDeploymentOptionsWorkerQueuesMaxWorkersArgs{...} -type GetDeploymentOptionsWorkerQueuesMaxWorkersInput interface { - pulumi.Input - - ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput - ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput -} +type GetClusterNodePoolArrayOutput struct{ *pulumi.OutputState } -type GetDeploymentOptionsWorkerQueuesMaxWorkersArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` +func (GetClusterNodePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterNodePool)(nil)).Elem() } -func (GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMaxWorkers)(nil)).Elem() +func (o GetClusterNodePoolArrayOutput) ToGetClusterNodePoolArrayOutput() GetClusterNodePoolArrayOutput { + return o } -func (i GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { - return i.ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(context.Background()) +func (o GetClusterNodePoolArrayOutput) ToGetClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClusterNodePoolArrayOutput { + return o } -func (i GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) +func (o GetClusterNodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterNodePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterNodePool { + return vs[0].([]GetClusterNodePool)[vs[1].(int)] + }).(GetClusterNodePoolOutput) } -type GetDeploymentOptionsWorkerQueuesMaxWorkersOutput struct{ *pulumi.OutputState } - -func (GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMaxWorkers)(nil)).Elem() +type GetClusterOptionsClusterOption struct { + // ClusterOption database instances + DatabaseInstances []GetClusterOptionsClusterOptionDatabaseInstance `pulumi:"databaseInstances"` + // ClusterOption default database instance + DefaultDatabaseInstance GetClusterOptionsClusterOptionDefaultDatabaseInstance `pulumi:"defaultDatabaseInstance"` + // ClusterOption default node instance + DefaultNodeInstance GetClusterOptionsClusterOptionDefaultNodeInstance `pulumi:"defaultNodeInstance"` + // ClusterOption default pod subnet range + DefaultPodSubnetRange string `pulumi:"defaultPodSubnetRange"` + // ClusterOption default region + DefaultRegion GetClusterOptionsClusterOptionDefaultRegion `pulumi:"defaultRegion"` + // ClusterOption default service peering range + DefaultServicePeeringRange string `pulumi:"defaultServicePeeringRange"` + // ClusterOption default service subnet range + DefaultServiceSubnetRange string `pulumi:"defaultServiceSubnetRange"` + // ClusterOption default vps subnet range + DefaultVpcSubnetRange string `pulumi:"defaultVpcSubnetRange"` + // ClusterOption node count default + NodeCountDefault int `pulumi:"nodeCountDefault"` + // ClusterOption node count max + NodeCountMax int `pulumi:"nodeCountMax"` + // ClusterOption node count min + NodeCountMin int `pulumi:"nodeCountMin"` + // ClusterOption node instances + NodeInstances []GetClusterOptionsClusterOptionNodeInstance `pulumi:"nodeInstances"` + // ClusterOption provider + Provider string `pulumi:"provider"` + // ClusterOption regions + Regions []GetClusterOptionsClusterOptionRegion `pulumi:"regions"` } -func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { - return o -} +// GetClusterOptionsClusterOptionInput is an input type that accepts GetClusterOptionsClusterOptionArgs and GetClusterOptionsClusterOptionOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionInput` via: +// +// GetClusterOptionsClusterOptionArgs{...} +type GetClusterOptionsClusterOptionInput interface { + pulumi.Input -func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { - return o + ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput + ToGetClusterOptionsClusterOptionOutputWithContext(context.Context) GetClusterOptionsClusterOptionOutput } -// Resource range ceiling -func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Ceiling }).(pulumi.StringOutput) +type GetClusterOptionsClusterOptionArgs struct { + // ClusterOption database instances + DatabaseInstances GetClusterOptionsClusterOptionDatabaseInstanceArrayInput `pulumi:"databaseInstances"` + // ClusterOption default database instance + DefaultDatabaseInstance GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput `pulumi:"defaultDatabaseInstance"` + // ClusterOption default node instance + DefaultNodeInstance GetClusterOptionsClusterOptionDefaultNodeInstanceInput `pulumi:"defaultNodeInstance"` + // ClusterOption default pod subnet range + DefaultPodSubnetRange pulumi.StringInput `pulumi:"defaultPodSubnetRange"` + // ClusterOption default region + DefaultRegion GetClusterOptionsClusterOptionDefaultRegionInput `pulumi:"defaultRegion"` + // ClusterOption default service peering range + DefaultServicePeeringRange pulumi.StringInput `pulumi:"defaultServicePeeringRange"` + // ClusterOption default service subnet range + DefaultServiceSubnetRange pulumi.StringInput `pulumi:"defaultServiceSubnetRange"` + // ClusterOption default vps subnet range + DefaultVpcSubnetRange pulumi.StringInput `pulumi:"defaultVpcSubnetRange"` + // ClusterOption node count default + NodeCountDefault pulumi.IntInput `pulumi:"nodeCountDefault"` + // ClusterOption node count max + NodeCountMax pulumi.IntInput `pulumi:"nodeCountMax"` + // ClusterOption node count min + NodeCountMin pulumi.IntInput `pulumi:"nodeCountMin"` + // ClusterOption node instances + NodeInstances GetClusterOptionsClusterOptionNodeInstanceArrayInput `pulumi:"nodeInstances"` + // ClusterOption provider + Provider pulumi.StringInput `pulumi:"provider"` + // ClusterOption regions + Regions GetClusterOptionsClusterOptionRegionArrayInput `pulumi:"regions"` } -// Resource range default -func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Default }).(pulumi.StringOutput) +func (GetClusterOptionsClusterOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOption)(nil)).Elem() } -// Resource range floor -func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Floor }).(pulumi.StringOutput) +func (i GetClusterOptionsClusterOptionArgs) ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput { + return i.ToGetClusterOptionsClusterOptionOutputWithContext(context.Background()) } -type GetDeploymentOptionsWorkerQueuesMinWorkers struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +func (i GetClusterOptionsClusterOptionArgs) ToGetClusterOptionsClusterOptionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionOutput) } -// GetDeploymentOptionsWorkerQueuesMinWorkersInput is an input type that accepts GetDeploymentOptionsWorkerQueuesMinWorkersArgs and GetDeploymentOptionsWorkerQueuesMinWorkersOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesMinWorkersInput` via: +// GetClusterOptionsClusterOptionArrayInput is an input type that accepts GetClusterOptionsClusterOptionArray and GetClusterOptionsClusterOptionArrayOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionArrayInput` via: // -// GetDeploymentOptionsWorkerQueuesMinWorkersArgs{...} -type GetDeploymentOptionsWorkerQueuesMinWorkersInput interface { +// GetClusterOptionsClusterOptionArray{ GetClusterOptionsClusterOptionArgs{...} } +type GetClusterOptionsClusterOptionArrayInput interface { pulumi.Input - ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput - ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput + ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput + ToGetClusterOptionsClusterOptionArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionArrayOutput } -type GetDeploymentOptionsWorkerQueuesMinWorkersArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` -} +type GetClusterOptionsClusterOptionArray []GetClusterOptionsClusterOptionInput -func (GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMinWorkers)(nil)).Elem() +func (GetClusterOptionsClusterOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOption)(nil)).Elem() } -func (i GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { - return i.ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionArray) ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput { + return i.ToGetClusterOptionsClusterOptionArrayOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesMinWorkersOutput) +func (i GetClusterOptionsClusterOptionArray) ToGetClusterOptionsClusterOptionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionArrayOutput) } -type GetDeploymentOptionsWorkerQueuesMinWorkersOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMinWorkers)(nil)).Elem() +func (GetClusterOptionsClusterOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOption)(nil)).Elem() } -func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { +func (o GetClusterOptionsClusterOptionOutput) ToGetClusterOptionsClusterOptionOutput() GetClusterOptionsClusterOptionOutput { return o } -func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput { +func (o GetClusterOptionsClusterOptionOutput) ToGetClusterOptionsClusterOptionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionOutput { return o } -// Resource range ceiling -func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Ceiling }).(pulumi.StringOutput) +// ClusterOption database instances +func (o GetClusterOptionsClusterOptionOutput) DatabaseInstances() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionDatabaseInstance { + return v.DatabaseInstances + }).(GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) } -// Resource range default -func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Default }).(pulumi.StringOutput) +// ClusterOption default database instance +func (o GetClusterOptionsClusterOptionOutput) DefaultDatabaseInstance() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultDatabaseInstance { + return v.DefaultDatabaseInstance + }).(GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) } -// Resource range floor -func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Floor }).(pulumi.StringOutput) +// ClusterOption default node instance +func (o GetClusterOptionsClusterOptionOutput) DefaultNodeInstance() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultNodeInstance { + return v.DefaultNodeInstance + }).(GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) } -type GetDeploymentOptionsWorkerQueuesWorkerConcurrency struct { - // Resource range ceiling - Ceiling string `pulumi:"ceiling"` - // Resource range default - Default string `pulumi:"default"` - // Resource range floor - Floor string `pulumi:"floor"` +// ClusterOption default pod subnet range +func (o GetClusterOptionsClusterOptionOutput) DefaultPodSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultPodSubnetRange }).(pulumi.StringOutput) } -// GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput is an input type that accepts GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs and GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput` via: -// -// GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs{...} -type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput interface { - pulumi.Input +// ClusterOption default region +func (o GetClusterOptionsClusterOptionOutput) DefaultRegion() GetClusterOptionsClusterOptionDefaultRegionOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) GetClusterOptionsClusterOptionDefaultRegion { + return v.DefaultRegion + }).(GetClusterOptionsClusterOptionDefaultRegionOutput) +} - ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput - ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput +// ClusterOption default service peering range +func (o GetClusterOptionsClusterOptionOutput) DefaultServicePeeringRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultServicePeeringRange }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs struct { - // Resource range ceiling - Ceiling pulumi.StringInput `pulumi:"ceiling"` - // Resource range default - Default pulumi.StringInput `pulumi:"default"` - // Resource range floor - Floor pulumi.StringInput `pulumi:"floor"` +// ClusterOption default service subnet range +func (o GetClusterOptionsClusterOptionOutput) DefaultServiceSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultServiceSubnetRange }).(pulumi.StringOutput) } -func (GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesWorkerConcurrency)(nil)).Elem() +// ClusterOption default vps subnet range +func (o GetClusterOptionsClusterOptionOutput) DefaultVpcSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.DefaultVpcSubnetRange }).(pulumi.StringOutput) } -func (i GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { - return i.ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(context.Background()) +// ClusterOption node count default +func (o GetClusterOptionsClusterOptionOutput) NodeCountDefault() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountDefault }).(pulumi.IntOutput) } -func (i GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) +// ClusterOption node count max +func (o GetClusterOptionsClusterOptionOutput) NodeCountMax() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountMax }).(pulumi.IntOutput) } -type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput struct{ *pulumi.OutputState } +// ClusterOption node count min +func (o GetClusterOptionsClusterOptionOutput) NodeCountMin() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) int { return v.NodeCountMin }).(pulumi.IntOutput) +} -func (GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesWorkerConcurrency)(nil)).Elem() +// ClusterOption node instances +func (o GetClusterOptionsClusterOptionOutput) NodeInstances() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionNodeInstance { + return v.NodeInstances + }).(GetClusterOptionsClusterOptionNodeInstanceArrayOutput) } -func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { - return o +// ClusterOption provider +func (o GetClusterOptionsClusterOptionOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) string { return v.Provider }).(pulumi.StringOutput) } -func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { - return o +// ClusterOption regions +func (o GetClusterOptionsClusterOptionOutput) Regions() GetClusterOptionsClusterOptionRegionArrayOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOption) []GetClusterOptionsClusterOptionRegion { return v.Regions }).(GetClusterOptionsClusterOptionRegionArrayOutput) } -// Resource range ceiling -func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Ceiling() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Ceiling }).(pulumi.StringOutput) +type GetClusterOptionsClusterOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterOptionsClusterOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOption)(nil)).Elem() } -// Resource range default -func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Default }).(pulumi.StringOutput) +func (o GetClusterOptionsClusterOptionArrayOutput) ToGetClusterOptionsClusterOptionArrayOutput() GetClusterOptionsClusterOptionArrayOutput { + return o } -// Resource range floor -func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Floor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Floor }).(pulumi.StringOutput) +func (o GetClusterOptionsClusterOptionArrayOutput) ToGetClusterOptionsClusterOptionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionArrayOutput { + return o } -type GetDeploymentOptionsWorkloadIdentityOption struct { - Label string `pulumi:"label"` - Role string `pulumi:"role"` +func (o GetClusterOptionsClusterOptionArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOption { + return vs[0].([]GetClusterOptionsClusterOption)[vs[1].(int)] + }).(GetClusterOptionsClusterOptionOutput) } -// GetDeploymentOptionsWorkloadIdentityOptionInput is an input type that accepts GetDeploymentOptionsWorkloadIdentityOptionArgs and GetDeploymentOptionsWorkloadIdentityOptionOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkloadIdentityOptionInput` via: +type GetClusterOptionsClusterOptionDatabaseInstance struct { + // Provider instance cpu + Cpu int `pulumi:"cpu"` + // Provider instance memory + Memory string `pulumi:"memory"` + // Provider instance name + Name string `pulumi:"name"` +} + +// GetClusterOptionsClusterOptionDatabaseInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDatabaseInstanceArgs and GetClusterOptionsClusterOptionDatabaseInstanceOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionDatabaseInstanceInput` via: // -// GetDeploymentOptionsWorkloadIdentityOptionArgs{...} -type GetDeploymentOptionsWorkloadIdentityOptionInput interface { +// GetClusterOptionsClusterOptionDatabaseInstanceArgs{...} +type GetClusterOptionsClusterOptionDatabaseInstanceInput interface { pulumi.Input - ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput - ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput + ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput + ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput } -type GetDeploymentOptionsWorkloadIdentityOptionArgs struct { - Label pulumi.StringInput `pulumi:"label"` - Role pulumi.StringInput `pulumi:"role"` +type GetClusterOptionsClusterOptionDatabaseInstanceArgs struct { + // Provider instance cpu + Cpu pulumi.IntInput `pulumi:"cpu"` + // Provider instance memory + Memory pulumi.StringInput `pulumi:"memory"` + // Provider instance name + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentOptionsWorkloadIdentityOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +func (GetClusterOptionsClusterOptionDatabaseInstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() } -func (i GetDeploymentOptionsWorkloadIdentityOptionArgs) ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput { - return i.ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput { + return i.ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkloadIdentityOptionArgs) ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkloadIdentityOptionOutput) +func (i GetClusterOptionsClusterOptionDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDatabaseInstanceOutput) } -// GetDeploymentOptionsWorkloadIdentityOptionArrayInput is an input type that accepts GetDeploymentOptionsWorkloadIdentityOptionArray and GetDeploymentOptionsWorkloadIdentityOptionArrayOutput values. -// You can construct a concrete instance of `GetDeploymentOptionsWorkloadIdentityOptionArrayInput` via: +// GetClusterOptionsClusterOptionDatabaseInstanceArrayInput is an input type that accepts GetClusterOptionsClusterOptionDatabaseInstanceArray and GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionDatabaseInstanceArrayInput` via: // -// GetDeploymentOptionsWorkloadIdentityOptionArray{ GetDeploymentOptionsWorkloadIdentityOptionArgs{...} } -type GetDeploymentOptionsWorkloadIdentityOptionArrayInput interface { +// GetClusterOptionsClusterOptionDatabaseInstanceArray{ GetClusterOptionsClusterOptionDatabaseInstanceArgs{...} } +type GetClusterOptionsClusterOptionDatabaseInstanceArrayInput interface { pulumi.Input - ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput - ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput + ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput + ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput } -type GetDeploymentOptionsWorkloadIdentityOptionArray []GetDeploymentOptionsWorkloadIdentityOptionInput +type GetClusterOptionsClusterOptionDatabaseInstanceArray []GetClusterOptionsClusterOptionDatabaseInstanceInput -func (GetDeploymentOptionsWorkloadIdentityOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +func (GetClusterOptionsClusterOptionDatabaseInstanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() } -func (i GetDeploymentOptionsWorkloadIdentityOptionArray) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { - return i.ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionDatabaseInstanceArray) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { + return i.ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(context.Background()) } -func (i GetDeploymentOptionsWorkloadIdentityOptionArray) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) +func (i GetClusterOptionsClusterOptionDatabaseInstanceArray) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) } -type GetDeploymentOptionsWorkloadIdentityOptionOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionDatabaseInstanceOutput struct{ *pulumi.OutputState } -func (GetDeploymentOptionsWorkloadIdentityOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +func (GetClusterOptionsClusterOptionDatabaseInstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() } -func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput { +func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceOutput() GetClusterOptionsClusterOptionDatabaseInstanceOutput { return o } -func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput { +func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceOutput { return o } -func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkloadIdentityOption) string { return v.Label }).(pulumi.StringOutput) +// Provider instance cpu +func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) int { return v.Cpu }).(pulumi.IntOutput) } -func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentOptionsWorkloadIdentityOption) string { return v.Role }).(pulumi.StringOutput) +// Provider instance memory +func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) string { return v.Memory }).(pulumi.StringOutput) } -type GetDeploymentOptionsWorkloadIdentityOptionArrayOutput struct{ *pulumi.OutputState } +// Provider instance name +func (o GetClusterOptionsClusterOptionDatabaseInstanceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDatabaseInstance) string { return v.Name }).(pulumi.StringOutput) +} -func (GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +type GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionDatabaseInstance)(nil)).Elem() } -func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { +func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutput() GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { return o } -func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { +func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) ToGetClusterOptionsClusterOptionDatabaseInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput { return o } -func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsWorkloadIdentityOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsWorkloadIdentityOption { - return vs[0].([]GetDeploymentOptionsWorkloadIdentityOption)[vs[1].(int)] - }).(GetDeploymentOptionsWorkloadIdentityOptionOutput) +func (o GetClusterOptionsClusterOptionDatabaseInstanceArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionDatabaseInstanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionDatabaseInstance { + return vs[0].([]GetClusterOptionsClusterOptionDatabaseInstance)[vs[1].(int)] + }).(GetClusterOptionsClusterOptionDatabaseInstanceOutput) } -type GetDeploymentScalingSpec struct { - HibernationSpec GetDeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` +type GetClusterOptionsClusterOptionDefaultDatabaseInstance struct { + // Provider instance cpu + Cpu int `pulumi:"cpu"` + // Provider instance memory + Memory string `pulumi:"memory"` + // Provider instance name + Name string `pulumi:"name"` } -// GetDeploymentScalingSpecInput is an input type that accepts GetDeploymentScalingSpecArgs and GetDeploymentScalingSpecOutput values. -// You can construct a concrete instance of `GetDeploymentScalingSpecInput` via: +// GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs and GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput` via: // -// GetDeploymentScalingSpecArgs{...} -type GetDeploymentScalingSpecInput interface { +// GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs{...} +type GetClusterOptionsClusterOptionDefaultDatabaseInstanceInput interface { pulumi.Input - ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput - ToGetDeploymentScalingSpecOutputWithContext(context.Context) GetDeploymentScalingSpecOutput + ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput + ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput } -type GetDeploymentScalingSpecArgs struct { - HibernationSpec GetDeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` +type GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs struct { + // Provider instance cpu + Cpu pulumi.IntInput `pulumi:"cpu"` + // Provider instance memory + Memory pulumi.StringInput `pulumi:"memory"` + // Provider instance name + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentScalingSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpec)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultDatabaseInstance)(nil)).Elem() } -func (i GetDeploymentScalingSpecArgs) ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput { - return i.ToGetDeploymentScalingSpecOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { + return i.ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(context.Background()) } -func (i GetDeploymentScalingSpecArgs) ToGetDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecOutput) +func (i GetClusterOptionsClusterOptionDefaultDatabaseInstanceArgs) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) } -type GetDeploymentScalingSpecOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput struct{ *pulumi.OutputState } -func (GetDeploymentScalingSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpec)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultDatabaseInstance)(nil)).Elem() } -func (o GetDeploymentScalingSpecOutput) ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput { +func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput() GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { return o } -func (o GetDeploymentScalingSpecOutput) ToGetDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecOutput { +func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) ToGetClusterOptionsClusterOptionDefaultDatabaseInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput { return o } -func (o GetDeploymentScalingSpecOutput) HibernationSpec() GetDeploymentScalingSpecHibernationSpecOutput { - return o.ApplyT(func(v GetDeploymentScalingSpec) GetDeploymentScalingSpecHibernationSpec { return v.HibernationSpec }).(GetDeploymentScalingSpecHibernationSpecOutput) -} - -type GetDeploymentScalingSpecHibernationSpec struct { - Override GetDeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` - Schedules []GetDeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` +// Provider instance cpu +func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) int { return v.Cpu }).(pulumi.IntOutput) } -// GetDeploymentScalingSpecHibernationSpecInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecArgs and GetDeploymentScalingSpecHibernationSpecOutput values. -// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecInput` via: +// Provider instance memory +func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) string { return v.Memory }).(pulumi.StringOutput) +} + +// Provider instance name +func (o GetClusterOptionsClusterOptionDefaultDatabaseInstanceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultDatabaseInstance) string { return v.Name }).(pulumi.StringOutput) +} + +type GetClusterOptionsClusterOptionDefaultNodeInstance struct { + // Provider instance cpu + Cpu int `pulumi:"cpu"` + // Provider instance memory + Memory string `pulumi:"memory"` + // Provider instance name + Name string `pulumi:"name"` +} + +// GetClusterOptionsClusterOptionDefaultNodeInstanceInput is an input type that accepts GetClusterOptionsClusterOptionDefaultNodeInstanceArgs and GetClusterOptionsClusterOptionDefaultNodeInstanceOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultNodeInstanceInput` via: // -// GetDeploymentScalingSpecHibernationSpecArgs{...} -type GetDeploymentScalingSpecHibernationSpecInput interface { +// GetClusterOptionsClusterOptionDefaultNodeInstanceArgs{...} +type GetClusterOptionsClusterOptionDefaultNodeInstanceInput interface { pulumi.Input - ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput - ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecOutput + ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput + ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput } -type GetDeploymentScalingSpecHibernationSpecArgs struct { - Override GetDeploymentScalingSpecHibernationSpecOverrideInput `pulumi:"override"` - Schedules GetDeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` +type GetClusterOptionsClusterOptionDefaultNodeInstanceArgs struct { + // Provider instance cpu + Cpu pulumi.IntInput `pulumi:"cpu"` + // Provider instance memory + Memory pulumi.StringInput `pulumi:"memory"` + // Provider instance name + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpec)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultNodeInstance)(nil)).Elem() } -func (i GetDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput { - return i.ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { + return i.ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(context.Background()) } -func (i GetDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecOutput) +func (i GetClusterOptionsClusterOptionDefaultNodeInstanceArgs) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) } -type GetDeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionDefaultNodeInstanceOutput struct{ *pulumi.OutputState } -func (GetDeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpec)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultNodeInstance)(nil)).Elem() } -func (o GetDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput { +func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutput() GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOutput { +func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) ToGetClusterOptionsClusterOptionDefaultNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultNodeInstanceOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecOutput) Override() GetDeploymentScalingSpecHibernationSpecOverrideOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpec) GetDeploymentScalingSpecHibernationSpecOverride { - return v.Override - }).(GetDeploymentScalingSpecHibernationSpecOverrideOutput) +// Provider instance cpu +func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) int { return v.Cpu }).(pulumi.IntOutput) } -func (o GetDeploymentScalingSpecHibernationSpecOutput) Schedules() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpec) []GetDeploymentScalingSpecHibernationSpecSchedule { - return v.Schedules - }).(GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +// Provider instance memory +func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) string { return v.Memory }).(pulumi.StringOutput) } -type GetDeploymentScalingSpecHibernationSpecOverride struct { - // Whether the override is active - IsActive bool `pulumi:"isActive"` - // Whether the override is hibernating - IsHibernating bool `pulumi:"isHibernating"` - // Time until the override is active - OverrideUntil string `pulumi:"overrideUntil"` +// Provider instance name +func (o GetClusterOptionsClusterOptionDefaultNodeInstanceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultNodeInstance) string { return v.Name }).(pulumi.StringOutput) } -// GetDeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecOverrideArgs and GetDeploymentScalingSpecHibernationSpecOverrideOutput values. -// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecOverrideInput` via: +type GetClusterOptionsClusterOptionDefaultRegion struct { + // Region banned instances + BannedInstances []string `pulumi:"bannedInstances"` + // Region is limited bool + Limited bool `pulumi:"limited"` + // Region is limited bool + Name string `pulumi:"name"` +} + +// GetClusterOptionsClusterOptionDefaultRegionInput is an input type that accepts GetClusterOptionsClusterOptionDefaultRegionArgs and GetClusterOptionsClusterOptionDefaultRegionOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionDefaultRegionInput` via: // -// GetDeploymentScalingSpecHibernationSpecOverrideArgs{...} -type GetDeploymentScalingSpecHibernationSpecOverrideInput interface { +// GetClusterOptionsClusterOptionDefaultRegionArgs{...} +type GetClusterOptionsClusterOptionDefaultRegionInput interface { pulumi.Input - ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput - ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput + ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput + ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput } -type GetDeploymentScalingSpecHibernationSpecOverrideArgs struct { - // Whether the override is active - IsActive pulumi.BoolInput `pulumi:"isActive"` - // Whether the override is hibernating - IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` - // Time until the override is active - OverrideUntil pulumi.StringInput `pulumi:"overrideUntil"` +type GetClusterOptionsClusterOptionDefaultRegionArgs struct { + // Region banned instances + BannedInstances pulumi.StringArrayInput `pulumi:"bannedInstances"` + // Region is limited bool + Limited pulumi.BoolInput `pulumi:"limited"` + // Region is limited bool + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultRegion)(nil)).Elem() } -func (i GetDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput { - return i.ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionDefaultRegionArgs) ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput { + return i.ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(context.Background()) } -func (i GetDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecOverrideOutput) +func (i GetClusterOptionsClusterOptionDefaultRegionArgs) ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionDefaultRegionOutput) } -type GetDeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionDefaultRegionOutput struct{ *pulumi.OutputState } -func (GetDeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (GetClusterOptionsClusterOptionDefaultRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionDefaultRegion)(nil)).Elem() } -func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput { +func (o GetClusterOptionsClusterOptionDefaultRegionOutput) ToGetClusterOptionsClusterOptionDefaultRegionOutput() GetClusterOptionsClusterOptionDefaultRegionOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput { +func (o GetClusterOptionsClusterOptionDefaultRegionOutput) ToGetClusterOptionsClusterOptionDefaultRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionDefaultRegionOutput { return o } -// Whether the override is active -func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsActive }).(pulumi.BoolOutput) +// Region banned instances +func (o GetClusterOptionsClusterOptionDefaultRegionOutput) BannedInstances() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) []string { return v.BannedInstances }).(pulumi.StringArrayOutput) } -// Whether the override is hibernating -func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) +// Region is limited bool +func (o GetClusterOptionsClusterOptionDefaultRegionOutput) Limited() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) bool { return v.Limited }).(pulumi.BoolOutput) } -// Time until the override is active -func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) string { return v.OverrideUntil }).(pulumi.StringOutput) +// Region is limited bool +func (o GetClusterOptionsClusterOptionDefaultRegionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionDefaultRegion) string { return v.Name }).(pulumi.StringOutput) } -type GetDeploymentScalingSpecHibernationSpecSchedule struct { - // Description of the schedule - Description string `pulumi:"description"` - // Cron expression for hibernation - HibernateAtCron string `pulumi:"hibernateAtCron"` - // Whether the schedule is enabled - IsEnabled bool `pulumi:"isEnabled"` - // Cron expression for waking - WakeAtCron string `pulumi:"wakeAtCron"` +type GetClusterOptionsClusterOptionNodeInstance struct { + // Provider instance cpu + Cpu int `pulumi:"cpu"` + // Provider instance memory + Memory string `pulumi:"memory"` + // Provider instance name + Name string `pulumi:"name"` } -// GetDeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecScheduleArgs and GetDeploymentScalingSpecHibernationSpecScheduleOutput values. -// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecScheduleInput` via: +// GetClusterOptionsClusterOptionNodeInstanceInput is an input type that accepts GetClusterOptionsClusterOptionNodeInstanceArgs and GetClusterOptionsClusterOptionNodeInstanceOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionNodeInstanceInput` via: // -// GetDeploymentScalingSpecHibernationSpecScheduleArgs{...} -type GetDeploymentScalingSpecHibernationSpecScheduleInput interface { +// GetClusterOptionsClusterOptionNodeInstanceArgs{...} +type GetClusterOptionsClusterOptionNodeInstanceInput interface { pulumi.Input - ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput - ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput + ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput + ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput } -type GetDeploymentScalingSpecHibernationSpecScheduleArgs struct { - // Description of the schedule - Description pulumi.StringInput `pulumi:"description"` - // Cron expression for hibernation - HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` - // Whether the schedule is enabled - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` - // Cron expression for waking - WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` +type GetClusterOptionsClusterOptionNodeInstanceArgs struct { + // Provider instance cpu + Cpu pulumi.IntInput `pulumi:"cpu"` + // Provider instance memory + Memory pulumi.StringInput `pulumi:"memory"` + // Provider instance name + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (GetClusterOptionsClusterOptionNodeInstanceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() } -func (i GetDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput { - return i.ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionNodeInstanceArgs) ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput { + return i.ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(context.Background()) } -func (i GetDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecScheduleOutput) +func (i GetClusterOptionsClusterOptionNodeInstanceArgs) ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionNodeInstanceOutput) } -// GetDeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecScheduleArray and GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput values. -// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecScheduleArrayInput` via: +// GetClusterOptionsClusterOptionNodeInstanceArrayInput is an input type that accepts GetClusterOptionsClusterOptionNodeInstanceArray and GetClusterOptionsClusterOptionNodeInstanceArrayOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionNodeInstanceArrayInput` via: // -// GetDeploymentScalingSpecHibernationSpecScheduleArray{ GetDeploymentScalingSpecHibernationSpecScheduleArgs{...} } -type GetDeploymentScalingSpecHibernationSpecScheduleArrayInput interface { +// GetClusterOptionsClusterOptionNodeInstanceArray{ GetClusterOptionsClusterOptionNodeInstanceArgs{...} } +type GetClusterOptionsClusterOptionNodeInstanceArrayInput interface { pulumi.Input - ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput - ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput + ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput + ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput } -type GetDeploymentScalingSpecHibernationSpecScheduleArray []GetDeploymentScalingSpecHibernationSpecScheduleInput +type GetClusterOptionsClusterOptionNodeInstanceArray []GetClusterOptionsClusterOptionNodeInstanceInput -func (GetDeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (GetClusterOptionsClusterOptionNodeInstanceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() } -func (i GetDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return i.ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionNodeInstanceArray) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { + return i.ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(context.Background()) } -func (i GetDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +func (i GetClusterOptionsClusterOptionNodeInstanceArray) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionNodeInstanceArrayOutput) } -type GetDeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionNodeInstanceOutput struct{ *pulumi.OutputState } -func (GetDeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (GetClusterOptionsClusterOptionNodeInstanceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() } -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput { +func (o GetClusterOptionsClusterOptionNodeInstanceOutput) ToGetClusterOptionsClusterOptionNodeInstanceOutput() GetClusterOptionsClusterOptionNodeInstanceOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput { +func (o GetClusterOptionsClusterOptionNodeInstanceOutput) ToGetClusterOptionsClusterOptionNodeInstanceOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceOutput { return o } -// Description of the schedule -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.Description }).(pulumi.StringOutput) -} - -// Cron expression for hibernation -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) +// Provider instance cpu +func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) int { return v.Cpu }).(pulumi.IntOutput) } -// Whether the schedule is enabled -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) +// Provider instance memory +func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) string { return v.Memory }).(pulumi.StringOutput) } -// Cron expression for waking -func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) +// Provider instance name +func (o GetClusterOptionsClusterOptionNodeInstanceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionNodeInstance) string { return v.Name }).(pulumi.StringOutput) } -type GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } +type GetClusterOptionsClusterOptionNodeInstanceArrayOutput struct{ *pulumi.OutputState } -func (GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionNodeInstance)(nil)).Elem() } -func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { +func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutput() GetClusterOptionsClusterOptionNodeInstanceArrayOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { +func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) ToGetClusterOptionsClusterOptionNodeInstanceArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionNodeInstanceArrayOutput { return o } -func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) GetDeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentScalingSpecHibernationSpecSchedule { - return vs[0].([]GetDeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] - }).(GetDeploymentScalingSpecHibernationSpecScheduleOutput) +func (o GetClusterOptionsClusterOptionNodeInstanceArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionNodeInstanceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionNodeInstance { + return vs[0].([]GetClusterOptionsClusterOptionNodeInstance)[vs[1].(int)] + }).(GetClusterOptionsClusterOptionNodeInstanceOutput) } -type GetDeploymentScalingStatus struct { - HibernationStatus GetDeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` +type GetClusterOptionsClusterOptionRegion struct { + // Region banned instances + BannedInstances []string `pulumi:"bannedInstances"` + // Region is limited bool + Limited bool `pulumi:"limited"` + // Region is limited bool + Name string `pulumi:"name"` } -// GetDeploymentScalingStatusInput is an input type that accepts GetDeploymentScalingStatusArgs and GetDeploymentScalingStatusOutput values. -// You can construct a concrete instance of `GetDeploymentScalingStatusInput` via: +// GetClusterOptionsClusterOptionRegionInput is an input type that accepts GetClusterOptionsClusterOptionRegionArgs and GetClusterOptionsClusterOptionRegionOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionRegionInput` via: // -// GetDeploymentScalingStatusArgs{...} -type GetDeploymentScalingStatusInput interface { +// GetClusterOptionsClusterOptionRegionArgs{...} +type GetClusterOptionsClusterOptionRegionInput interface { pulumi.Input - ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput - ToGetDeploymentScalingStatusOutputWithContext(context.Context) GetDeploymentScalingStatusOutput + ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput + ToGetClusterOptionsClusterOptionRegionOutputWithContext(context.Context) GetClusterOptionsClusterOptionRegionOutput } -type GetDeploymentScalingStatusArgs struct { - HibernationStatus GetDeploymentScalingStatusHibernationStatusInput `pulumi:"hibernationStatus"` +type GetClusterOptionsClusterOptionRegionArgs struct { + // Region banned instances + BannedInstances pulumi.StringArrayInput `pulumi:"bannedInstances"` + // Region is limited bool + Limited pulumi.BoolInput `pulumi:"limited"` + // Region is limited bool + Name pulumi.StringInput `pulumi:"name"` } -func (GetDeploymentScalingStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingStatus)(nil)).Elem() +func (GetClusterOptionsClusterOptionRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionRegion)(nil)).Elem() } -func (i GetDeploymentScalingStatusArgs) ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput { - return i.ToGetDeploymentScalingStatusOutputWithContext(context.Background()) +func (i GetClusterOptionsClusterOptionRegionArgs) ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput { + return i.ToGetClusterOptionsClusterOptionRegionOutputWithContext(context.Background()) } -func (i GetDeploymentScalingStatusArgs) ToGetDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingStatusOutput) +func (i GetClusterOptionsClusterOptionRegionArgs) ToGetClusterOptionsClusterOptionRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionRegionOutput) } -type GetDeploymentScalingStatusOutput struct{ *pulumi.OutputState } +// GetClusterOptionsClusterOptionRegionArrayInput is an input type that accepts GetClusterOptionsClusterOptionRegionArray and GetClusterOptionsClusterOptionRegionArrayOutput values. +// You can construct a concrete instance of `GetClusterOptionsClusterOptionRegionArrayInput` via: +// +// GetClusterOptionsClusterOptionRegionArray{ GetClusterOptionsClusterOptionRegionArgs{...} } +type GetClusterOptionsClusterOptionRegionArrayInput interface { + pulumi.Input -func (GetDeploymentScalingStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingStatus)(nil)).Elem() + ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput + ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(context.Context) GetClusterOptionsClusterOptionRegionArrayOutput } -func (o GetDeploymentScalingStatusOutput) ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput { - return o -} +type GetClusterOptionsClusterOptionRegionArray []GetClusterOptionsClusterOptionRegionInput -func (o GetDeploymentScalingStatusOutput) ToGetDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusOutput { - return o +func (GetClusterOptionsClusterOptionRegionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionRegion)(nil)).Elem() } -func (o GetDeploymentScalingStatusOutput) HibernationStatus() GetDeploymentScalingStatusHibernationStatusOutput { - return o.ApplyT(func(v GetDeploymentScalingStatus) GetDeploymentScalingStatusHibernationStatus { - return v.HibernationStatus - }).(GetDeploymentScalingStatusHibernationStatusOutput) +func (i GetClusterOptionsClusterOptionRegionArray) ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput { + return i.ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(context.Background()) } -type GetDeploymentScalingStatusHibernationStatus struct { - // Whether the deployment is hibernating - IsHibernating bool `pulumi:"isHibernating"` - // Time of the next event - NextEventAt string `pulumi:"nextEventAt"` - // Type of the next event - NextEventType string `pulumi:"nextEventType"` - // Reason for the current state - Reason string `pulumi:"reason"` +func (i GetClusterOptionsClusterOptionRegionArray) ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOptionsClusterOptionRegionArrayOutput) } -// GetDeploymentScalingStatusHibernationStatusInput is an input type that accepts GetDeploymentScalingStatusHibernationStatusArgs and GetDeploymentScalingStatusHibernationStatusOutput values. -// You can construct a concrete instance of `GetDeploymentScalingStatusHibernationStatusInput` via: -// -// GetDeploymentScalingStatusHibernationStatusArgs{...} -type GetDeploymentScalingStatusHibernationStatusInput interface { - pulumi.Input +type GetClusterOptionsClusterOptionRegionOutput struct{ *pulumi.OutputState } - ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput - ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) GetDeploymentScalingStatusHibernationStatusOutput +func (GetClusterOptionsClusterOptionRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOptionsClusterOptionRegion)(nil)).Elem() } -type GetDeploymentScalingStatusHibernationStatusArgs struct { - // Whether the deployment is hibernating - IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` - // Time of the next event - NextEventAt pulumi.StringInput `pulumi:"nextEventAt"` - // Type of the next event - NextEventType pulumi.StringInput `pulumi:"nextEventType"` - // Reason for the current state - Reason pulumi.StringInput `pulumi:"reason"` +func (o GetClusterOptionsClusterOptionRegionOutput) ToGetClusterOptionsClusterOptionRegionOutput() GetClusterOptionsClusterOptionRegionOutput { + return o } -func (GetDeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (o GetClusterOptionsClusterOptionRegionOutput) ToGetClusterOptionsClusterOptionRegionOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionOutput { + return o } -func (i GetDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput { - return i.ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) +// Region banned instances +func (o GetClusterOptionsClusterOptionRegionOutput) BannedInstances() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) []string { return v.BannedInstances }).(pulumi.StringArrayOutput) } -func (i GetDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusHibernationStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingStatusHibernationStatusOutput) +// Region is limited bool +func (o GetClusterOptionsClusterOptionRegionOutput) Limited() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) bool { return v.Limited }).(pulumi.BoolOutput) } -type GetDeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } +// Region is limited bool +func (o GetClusterOptionsClusterOptionRegionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOptionsClusterOptionRegion) string { return v.Name }).(pulumi.StringOutput) +} -func (GetDeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentScalingStatusHibernationStatus)(nil)).Elem() +type GetClusterOptionsClusterOptionRegionArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterOptionsClusterOptionRegionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterOptionsClusterOptionRegion)(nil)).Elem() } -func (o GetDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput { +func (o GetClusterOptionsClusterOptionRegionArrayOutput) ToGetClusterOptionsClusterOptionRegionArrayOutput() GetClusterOptionsClusterOptionRegionArrayOutput { return o } -func (o GetDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusHibernationStatusOutput { +func (o GetClusterOptionsClusterOptionRegionArrayOutput) ToGetClusterOptionsClusterOptionRegionArrayOutputWithContext(ctx context.Context) GetClusterOptionsClusterOptionRegionArrayOutput { return o } -// Whether the deployment is hibernating -func (o GetDeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) bool { return v.IsHibernating }).(pulumi.BoolOutput) +func (o GetClusterOptionsClusterOptionRegionArrayOutput) Index(i pulumi.IntInput) GetClusterOptionsClusterOptionRegionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterOptionsClusterOptionRegion { + return vs[0].([]GetClusterOptionsClusterOptionRegion)[vs[1].(int)] + }).(GetClusterOptionsClusterOptionRegionOutput) } -// Time of the next event -func (o GetDeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.NextEventAt }).(pulumi.StringOutput) +type GetClusterTag struct { + // Cluster tag key + Key string `pulumi:"key"` + // Cluster tag value + Value string `pulumi:"value"` } -// Type of the next event -func (o GetDeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.NextEventType }).(pulumi.StringOutput) +// GetClusterTagInput is an input type that accepts GetClusterTagArgs and GetClusterTagOutput values. +// You can construct a concrete instance of `GetClusterTagInput` via: +// +// GetClusterTagArgs{...} +type GetClusterTagInput interface { + pulumi.Input + + ToGetClusterTagOutput() GetClusterTagOutput + ToGetClusterTagOutputWithContext(context.Context) GetClusterTagOutput } -// Reason for the current state -func (o GetDeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.Reason }).(pulumi.StringOutput) +type GetClusterTagArgs struct { + // Cluster tag key + Key pulumi.StringInput `pulumi:"key"` + // Cluster tag value + Value pulumi.StringInput `pulumi:"value"` } -type GetDeploymentUpdatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +func (GetClusterTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTag)(nil)).Elem() } -// GetDeploymentUpdatedByInput is an input type that accepts GetDeploymentUpdatedByArgs and GetDeploymentUpdatedByOutput values. -// You can construct a concrete instance of `GetDeploymentUpdatedByInput` via: +func (i GetClusterTagArgs) ToGetClusterTagOutput() GetClusterTagOutput { + return i.ToGetClusterTagOutputWithContext(context.Background()) +} + +func (i GetClusterTagArgs) ToGetClusterTagOutputWithContext(ctx context.Context) GetClusterTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTagOutput) +} + +// GetClusterTagArrayInput is an input type that accepts GetClusterTagArray and GetClusterTagArrayOutput values. +// You can construct a concrete instance of `GetClusterTagArrayInput` via: // -// GetDeploymentUpdatedByArgs{...} -type GetDeploymentUpdatedByInput interface { +// GetClusterTagArray{ GetClusterTagArgs{...} } +type GetClusterTagArrayInput interface { pulumi.Input - ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput - ToGetDeploymentUpdatedByOutputWithContext(context.Context) GetDeploymentUpdatedByOutput + ToGetClusterTagArrayOutput() GetClusterTagArrayOutput + ToGetClusterTagArrayOutputWithContext(context.Context) GetClusterTagArrayOutput } -type GetDeploymentUpdatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` -} +type GetClusterTagArray []GetClusterTagInput -func (GetDeploymentUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentUpdatedBy)(nil)).Elem() +func (GetClusterTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTag)(nil)).Elem() } -func (i GetDeploymentUpdatedByArgs) ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput { - return i.ToGetDeploymentUpdatedByOutputWithContext(context.Background()) +func (i GetClusterTagArray) ToGetClusterTagArrayOutput() GetClusterTagArrayOutput { + return i.ToGetClusterTagArrayOutputWithContext(context.Background()) } -func (i GetDeploymentUpdatedByArgs) ToGetDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentUpdatedByOutput) +func (i GetClusterTagArray) ToGetClusterTagArrayOutputWithContext(ctx context.Context) GetClusterTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTagArrayOutput) } -type GetDeploymentUpdatedByOutput struct{ *pulumi.OutputState } +type GetClusterTagOutput struct{ *pulumi.OutputState } -func (GetDeploymentUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentUpdatedBy)(nil)).Elem() +func (GetClusterTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTag)(nil)).Elem() } -func (o GetDeploymentUpdatedByOutput) ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput { +func (o GetClusterTagOutput) ToGetClusterTagOutput() GetClusterTagOutput { return o } -func (o GetDeploymentUpdatedByOutput) ToGetDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentUpdatedByOutput { +func (o GetClusterTagOutput) ToGetClusterTagOutputWithContext(ctx context.Context) GetClusterTagOutput { return o } -func (o GetDeploymentUpdatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +// Cluster tag key +func (o GetClusterTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTag) string { return v.Key }).(pulumi.StringOutput) } -func (o GetDeploymentUpdatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +// Cluster tag value +func (o GetClusterTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTag) string { return v.Value }).(pulumi.StringOutput) } -func (o GetDeploymentUpdatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +type GetClusterTagArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTag)(nil)).Elem() } -func (o GetDeploymentUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetClusterTagArrayOutput) ToGetClusterTagArrayOutput() GetClusterTagArrayOutput { + return o } -func (o GetDeploymentUpdatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetClusterTagArrayOutput) ToGetClusterTagArrayOutputWithContext(ctx context.Context) GetClusterTagArrayOutput { + return o } -func (o GetDeploymentUpdatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetClusterTagArrayOutput) Index(i pulumi.IntInput) GetClusterTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTag { + return vs[0].([]GetClusterTag)[vs[1].(int)] + }).(GetClusterTagOutput) } -type GetDeploymentWorkerQueue struct { - // Worker queue Astro machine value - AstroMachine string `pulumi:"astroMachine"` - // Worker queue identifier +type GetClustersCluster struct { + // Cluster cloud provider + CloudProvider string `pulumi:"cloudProvider"` + // Cluster creation timestamp + CreatedAt string `pulumi:"createdAt"` + // Cluster database instance type + DbInstanceType string `pulumi:"dbInstanceType"` + // Cluster health status + HealthStatus GetClustersClusterHealthStatus `pulumi:"healthStatus"` + // Cluster identifier Id string `pulumi:"id"` - // Whether Worker queue is default - IsDefault bool `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount int `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount int `pulumi:"minWorkerCount"` - // Worker queue name + // Whether the cluster is limited + IsLimited bool `pulumi:"isLimited"` + // Cluster metadata + Metadata GetClustersClusterMetadata `pulumi:"metadata"` + // Cluster name Name string `pulumi:"name"` - // Worker queue node pool identifier - NodePoolId string `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu string `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory string `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency int `pulumi:"workerConcurrency"` + // Cluster node pools + NodePools []GetClustersClusterNodePool `pulumi:"nodePools"` + // Cluster pod subnet range + PodSubnetRange string `pulumi:"podSubnetRange"` + // Cluster provider account + ProviderAccount string `pulumi:"providerAccount"` + // Cluster region + Region string `pulumi:"region"` + // Cluster service peering range + ServicePeeringRange string `pulumi:"servicePeeringRange"` + // Cluster service subnet range + ServiceSubnetRange string `pulumi:"serviceSubnetRange"` + // Cluster status + Status string `pulumi:"status"` + // Cluster tags + Tags []GetClustersClusterTag `pulumi:"tags"` + // Cluster tenant ID + TenantId string `pulumi:"tenantId"` + // Cluster type + Type string `pulumi:"type"` + // Cluster last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // Cluster VPC subnet range + VpcSubnetRange string `pulumi:"vpcSubnetRange"` + // Cluster workspace IDs + WorkspaceIds []string `pulumi:"workspaceIds"` } -// GetDeploymentWorkerQueueInput is an input type that accepts GetDeploymentWorkerQueueArgs and GetDeploymentWorkerQueueOutput values. -// You can construct a concrete instance of `GetDeploymentWorkerQueueInput` via: +// GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. +// You can construct a concrete instance of `GetClustersClusterInput` via: // -// GetDeploymentWorkerQueueArgs{...} -type GetDeploymentWorkerQueueInput interface { +// GetClustersClusterArgs{...} +type GetClustersClusterInput interface { pulumi.Input - ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput - ToGetDeploymentWorkerQueueOutputWithContext(context.Context) GetDeploymentWorkerQueueOutput + ToGetClustersClusterOutput() GetClustersClusterOutput + ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput } -type GetDeploymentWorkerQueueArgs struct { - // Worker queue Astro machine value - AstroMachine pulumi.StringInput `pulumi:"astroMachine"` - // Worker queue identifier +type GetClustersClusterArgs struct { + // Cluster cloud provider + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` + // Cluster creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Cluster database instance type + DbInstanceType pulumi.StringInput `pulumi:"dbInstanceType"` + // Cluster health status + HealthStatus GetClustersClusterHealthStatusInput `pulumi:"healthStatus"` + // Cluster identifier Id pulumi.StringInput `pulumi:"id"` - // Whether Worker queue is default - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` - // Worker queue name + // Whether the cluster is limited + IsLimited pulumi.BoolInput `pulumi:"isLimited"` + // Cluster metadata + Metadata GetClustersClusterMetadataInput `pulumi:"metadata"` + // Cluster name Name pulumi.StringInput `pulumi:"name"` - // Worker queue node pool identifier - NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu pulumi.StringInput `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory pulumi.StringInput `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` + // Cluster node pools + NodePools GetClustersClusterNodePoolArrayInput `pulumi:"nodePools"` + // Cluster pod subnet range + PodSubnetRange pulumi.StringInput `pulumi:"podSubnetRange"` + // Cluster provider account + ProviderAccount pulumi.StringInput `pulumi:"providerAccount"` + // Cluster region + Region pulumi.StringInput `pulumi:"region"` + // Cluster service peering range + ServicePeeringRange pulumi.StringInput `pulumi:"servicePeeringRange"` + // Cluster service subnet range + ServiceSubnetRange pulumi.StringInput `pulumi:"serviceSubnetRange"` + // Cluster status + Status pulumi.StringInput `pulumi:"status"` + // Cluster tags + Tags GetClustersClusterTagArrayInput `pulumi:"tags"` + // Cluster tenant ID + TenantId pulumi.StringInput `pulumi:"tenantId"` + // Cluster type + Type pulumi.StringInput `pulumi:"type"` + // Cluster last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // Cluster VPC subnet range + VpcSubnetRange pulumi.StringInput `pulumi:"vpcSubnetRange"` + // Cluster workspace IDs + WorkspaceIds pulumi.StringArrayInput `pulumi:"workspaceIds"` } -func (GetDeploymentWorkerQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentWorkerQueue)(nil)).Elem() +func (GetClustersClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersCluster)(nil)).Elem() } -func (i GetDeploymentWorkerQueueArgs) ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput { - return i.ToGetDeploymentWorkerQueueOutputWithContext(context.Background()) +func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput { + return i.ToGetClustersClusterOutputWithContext(context.Background()) } -func (i GetDeploymentWorkerQueueArgs) ToGetDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentWorkerQueueOutput) +func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterOutput) } -// GetDeploymentWorkerQueueArrayInput is an input type that accepts GetDeploymentWorkerQueueArray and GetDeploymentWorkerQueueArrayOutput values. -// You can construct a concrete instance of `GetDeploymentWorkerQueueArrayInput` via: +// GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. +// You can construct a concrete instance of `GetClustersClusterArrayInput` via: // -// GetDeploymentWorkerQueueArray{ GetDeploymentWorkerQueueArgs{...} } -type GetDeploymentWorkerQueueArrayInput interface { +// GetClustersClusterArray{ GetClustersClusterArgs{...} } +type GetClustersClusterArrayInput interface { pulumi.Input - ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput - ToGetDeploymentWorkerQueueArrayOutputWithContext(context.Context) GetDeploymentWorkerQueueArrayOutput + ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput + ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput } -type GetDeploymentWorkerQueueArray []GetDeploymentWorkerQueueInput +type GetClustersClusterArray []GetClustersClusterInput -func (GetDeploymentWorkerQueueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentWorkerQueue)(nil)).Elem() +func (GetClustersClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem() } -func (i GetDeploymentWorkerQueueArray) ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput { - return i.ToGetDeploymentWorkerQueueArrayOutputWithContext(context.Background()) +func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput { + return i.ToGetClustersClusterArrayOutputWithContext(context.Background()) } -func (i GetDeploymentWorkerQueueArray) ToGetDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentWorkerQueueArrayOutput) +func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterArrayOutput) } -type GetDeploymentWorkerQueueOutput struct{ *pulumi.OutputState } +type GetClustersClusterOutput struct{ *pulumi.OutputState } -func (GetDeploymentWorkerQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentWorkerQueue)(nil)).Elem() +func (GetClustersClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersCluster)(nil)).Elem() } -func (o GetDeploymentWorkerQueueOutput) ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput { +func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput { return o } -func (o GetDeploymentWorkerQueueOutput) ToGetDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueOutput { +func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput { return o } -// Worker queue Astro machine value -func (o GetDeploymentWorkerQueueOutput) AstroMachine() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.AstroMachine }).(pulumi.StringOutput) +// Cluster cloud provider +func (o GetClustersClusterOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.CloudProvider }).(pulumi.StringOutput) } -// Worker queue identifier -func (o GetDeploymentWorkerQueueOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.Id }).(pulumi.StringOutput) +// Cluster creation timestamp +func (o GetClustersClusterOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.CreatedAt }).(pulumi.StringOutput) } -// Whether Worker queue is default -func (o GetDeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) +// Cluster database instance type +func (o GetClustersClusterOutput) DbInstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.DbInstanceType }).(pulumi.StringOutput) } -// Worker queue max worker count -func (o GetDeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) +// Cluster health status +func (o GetClustersClusterOutput) HealthStatus() GetClustersClusterHealthStatusOutput { + return o.ApplyT(func(v GetClustersCluster) GetClustersClusterHealthStatus { return v.HealthStatus }).(GetClustersClusterHealthStatusOutput) } -// Worker queue min worker count -func (o GetDeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) +// Cluster identifier +func (o GetClustersClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.Id }).(pulumi.StringOutput) } -// Worker queue name -func (o GetDeploymentWorkerQueueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) +// Whether the cluster is limited +func (o GetClustersClusterOutput) IsLimited() pulumi.BoolOutput { + return o.ApplyT(func(v GetClustersCluster) bool { return v.IsLimited }).(pulumi.BoolOutput) } -// Worker queue node pool identifier -func (o GetDeploymentWorkerQueueOutput) NodePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.NodePoolId }).(pulumi.StringOutput) +// Cluster metadata +func (o GetClustersClusterOutput) Metadata() GetClustersClusterMetadataOutput { + return o.ApplyT(func(v GetClustersCluster) GetClustersClusterMetadata { return v.Metadata }).(GetClustersClusterMetadataOutput) } -// Worker queue pod CPU -func (o GetDeploymentWorkerQueueOutput) PodCpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.PodCpu }).(pulumi.StringOutput) -} +// Cluster name +func (o GetClustersClusterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.Name }).(pulumi.StringOutput) +} + +// Cluster node pools +func (o GetClustersClusterOutput) NodePools() GetClustersClusterNodePoolArrayOutput { + return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterNodePool { return v.NodePools }).(GetClustersClusterNodePoolArrayOutput) +} + +// Cluster pod subnet range +func (o GetClustersClusterOutput) PodSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.PodSubnetRange }).(pulumi.StringOutput) +} + +// Cluster provider account +func (o GetClustersClusterOutput) ProviderAccount() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.ProviderAccount }).(pulumi.StringOutput) +} + +// Cluster region +func (o GetClustersClusterOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.Region }).(pulumi.StringOutput) +} + +// Cluster service peering range +func (o GetClustersClusterOutput) ServicePeeringRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.ServicePeeringRange }).(pulumi.StringOutput) +} + +// Cluster service subnet range +func (o GetClustersClusterOutput) ServiceSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.ServiceSubnetRange }).(pulumi.StringOutput) +} + +// Cluster status +func (o GetClustersClusterOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.Status }).(pulumi.StringOutput) +} + +// Cluster tags +func (o GetClustersClusterOutput) Tags() GetClustersClusterTagArrayOutput { + return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterTag { return v.Tags }).(GetClustersClusterTagArrayOutput) +} + +// Cluster tenant ID +func (o GetClustersClusterOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.TenantId }).(pulumi.StringOutput) +} + +// Cluster type +func (o GetClustersClusterOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.Type }).(pulumi.StringOutput) +} + +// Cluster last updated timestamp +func (o GetClustersClusterOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Cluster VPC subnet range +func (o GetClustersClusterOutput) VpcSubnetRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersCluster) string { return v.VpcSubnetRange }).(pulumi.StringOutput) +} + +// Cluster workspace IDs +func (o GetClustersClusterOutput) WorkspaceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersCluster) []string { return v.WorkspaceIds }).(pulumi.StringArrayOutput) +} + +type GetClustersClusterArrayOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem() +} + +func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput { + return o +} + +func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput { + return o +} + +func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersCluster { + return vs[0].([]GetClustersCluster)[vs[1].(int)] + }).(GetClustersClusterOutput) +} + +type GetClustersClusterHealthStatus struct { + // Cluster health status details + Details []GetClustersClusterHealthStatusDetail `pulumi:"details"` + // Cluster health status value + Value string `pulumi:"value"` +} + +// GetClustersClusterHealthStatusInput is an input type that accepts GetClustersClusterHealthStatusArgs and GetClustersClusterHealthStatusOutput values. +// You can construct a concrete instance of `GetClustersClusterHealthStatusInput` via: +// +// GetClustersClusterHealthStatusArgs{...} +type GetClustersClusterHealthStatusInput interface { + pulumi.Input + + ToGetClustersClusterHealthStatusOutput() GetClustersClusterHealthStatusOutput + ToGetClustersClusterHealthStatusOutputWithContext(context.Context) GetClustersClusterHealthStatusOutput +} + +type GetClustersClusterHealthStatusArgs struct { + // Cluster health status details + Details GetClustersClusterHealthStatusDetailArrayInput `pulumi:"details"` + // Cluster health status value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetClustersClusterHealthStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterHealthStatus)(nil)).Elem() +} + +func (i GetClustersClusterHealthStatusArgs) ToGetClustersClusterHealthStatusOutput() GetClustersClusterHealthStatusOutput { + return i.ToGetClustersClusterHealthStatusOutputWithContext(context.Background()) +} + +func (i GetClustersClusterHealthStatusArgs) ToGetClustersClusterHealthStatusOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterHealthStatusOutput) +} + +type GetClustersClusterHealthStatusOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterHealthStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterHealthStatus)(nil)).Elem() +} + +func (o GetClustersClusterHealthStatusOutput) ToGetClustersClusterHealthStatusOutput() GetClustersClusterHealthStatusOutput { + return o +} + +func (o GetClustersClusterHealthStatusOutput) ToGetClustersClusterHealthStatusOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusOutput { + return o +} + +// Cluster health status details +func (o GetClustersClusterHealthStatusOutput) Details() GetClustersClusterHealthStatusDetailArrayOutput { + return o.ApplyT(func(v GetClustersClusterHealthStatus) []GetClustersClusterHealthStatusDetail { return v.Details }).(GetClustersClusterHealthStatusDetailArrayOutput) +} + +// Cluster health status value +func (o GetClustersClusterHealthStatusOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterHealthStatus) string { return v.Value }).(pulumi.StringOutput) +} + +type GetClustersClusterHealthStatusDetail struct { + // Cluster health status detail code + Code string `pulumi:"code"` + // Cluster health status detail description + Description string `pulumi:"description"` + // Cluster health status detail severity + Severity string `pulumi:"severity"` +} + +// GetClustersClusterHealthStatusDetailInput is an input type that accepts GetClustersClusterHealthStatusDetailArgs and GetClustersClusterHealthStatusDetailOutput values. +// You can construct a concrete instance of `GetClustersClusterHealthStatusDetailInput` via: +// +// GetClustersClusterHealthStatusDetailArgs{...} +type GetClustersClusterHealthStatusDetailInput interface { + pulumi.Input + + ToGetClustersClusterHealthStatusDetailOutput() GetClustersClusterHealthStatusDetailOutput + ToGetClustersClusterHealthStatusDetailOutputWithContext(context.Context) GetClustersClusterHealthStatusDetailOutput +} + +type GetClustersClusterHealthStatusDetailArgs struct { + // Cluster health status detail code + Code pulumi.StringInput `pulumi:"code"` + // Cluster health status detail description + Description pulumi.StringInput `pulumi:"description"` + // Cluster health status detail severity + Severity pulumi.StringInput `pulumi:"severity"` +} + +func (GetClustersClusterHealthStatusDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterHealthStatusDetail)(nil)).Elem() +} + +func (i GetClustersClusterHealthStatusDetailArgs) ToGetClustersClusterHealthStatusDetailOutput() GetClustersClusterHealthStatusDetailOutput { + return i.ToGetClustersClusterHealthStatusDetailOutputWithContext(context.Background()) +} + +func (i GetClustersClusterHealthStatusDetailArgs) ToGetClustersClusterHealthStatusDetailOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterHealthStatusDetailOutput) +} + +// GetClustersClusterHealthStatusDetailArrayInput is an input type that accepts GetClustersClusterHealthStatusDetailArray and GetClustersClusterHealthStatusDetailArrayOutput values. +// You can construct a concrete instance of `GetClustersClusterHealthStatusDetailArrayInput` via: +// +// GetClustersClusterHealthStatusDetailArray{ GetClustersClusterHealthStatusDetailArgs{...} } +type GetClustersClusterHealthStatusDetailArrayInput interface { + pulumi.Input + + ToGetClustersClusterHealthStatusDetailArrayOutput() GetClustersClusterHealthStatusDetailArrayOutput + ToGetClustersClusterHealthStatusDetailArrayOutputWithContext(context.Context) GetClustersClusterHealthStatusDetailArrayOutput +} + +type GetClustersClusterHealthStatusDetailArray []GetClustersClusterHealthStatusDetailInput + +func (GetClustersClusterHealthStatusDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterHealthStatusDetail)(nil)).Elem() +} + +func (i GetClustersClusterHealthStatusDetailArray) ToGetClustersClusterHealthStatusDetailArrayOutput() GetClustersClusterHealthStatusDetailArrayOutput { + return i.ToGetClustersClusterHealthStatusDetailArrayOutputWithContext(context.Background()) +} + +func (i GetClustersClusterHealthStatusDetailArray) ToGetClustersClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterHealthStatusDetailArrayOutput) +} + +type GetClustersClusterHealthStatusDetailOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterHealthStatusDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterHealthStatusDetail)(nil)).Elem() +} + +func (o GetClustersClusterHealthStatusDetailOutput) ToGetClustersClusterHealthStatusDetailOutput() GetClustersClusterHealthStatusDetailOutput { + return o +} + +func (o GetClustersClusterHealthStatusDetailOutput) ToGetClustersClusterHealthStatusDetailOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusDetailOutput { + return o +} + +// Cluster health status detail code +func (o GetClustersClusterHealthStatusDetailOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterHealthStatusDetail) string { return v.Code }).(pulumi.StringOutput) +} + +// Cluster health status detail description +func (o GetClustersClusterHealthStatusDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterHealthStatusDetail) string { return v.Description }).(pulumi.StringOutput) +} + +// Cluster health status detail severity +func (o GetClustersClusterHealthStatusDetailOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterHealthStatusDetail) string { return v.Severity }).(pulumi.StringOutput) +} + +type GetClustersClusterHealthStatusDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterHealthStatusDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterHealthStatusDetail)(nil)).Elem() +} + +func (o GetClustersClusterHealthStatusDetailArrayOutput) ToGetClustersClusterHealthStatusDetailArrayOutput() GetClustersClusterHealthStatusDetailArrayOutput { + return o +} + +func (o GetClustersClusterHealthStatusDetailArrayOutput) ToGetClustersClusterHealthStatusDetailArrayOutputWithContext(ctx context.Context) GetClustersClusterHealthStatusDetailArrayOutput { + return o +} + +func (o GetClustersClusterHealthStatusDetailArrayOutput) Index(i pulumi.IntInput) GetClustersClusterHealthStatusDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterHealthStatusDetail { + return vs[0].([]GetClustersClusterHealthStatusDetail)[vs[1].(int)] + }).(GetClustersClusterHealthStatusDetailOutput) +} + +type GetClustersClusterMetadata struct { + // Cluster external IPs + ExternalIps []string `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp string `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` +} + +// GetClustersClusterMetadataInput is an input type that accepts GetClustersClusterMetadataArgs and GetClustersClusterMetadataOutput values. +// You can construct a concrete instance of `GetClustersClusterMetadataInput` via: +// +// GetClustersClusterMetadataArgs{...} +type GetClustersClusterMetadataInput interface { + pulumi.Input + + ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput + ToGetClustersClusterMetadataOutputWithContext(context.Context) GetClustersClusterMetadataOutput +} + +type GetClustersClusterMetadataArgs struct { + // Cluster external IPs + ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` + // Cluster kube DNS IP + KubeDnsIp pulumi.StringInput `pulumi:"kubeDnsIp"` + // Cluster OIDC issuer URL + OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` +} + +func (GetClustersClusterMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterMetadata)(nil)).Elem() +} + +func (i GetClustersClusterMetadataArgs) ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput { + return i.ToGetClustersClusterMetadataOutputWithContext(context.Background()) +} + +func (i GetClustersClusterMetadataArgs) ToGetClustersClusterMetadataOutputWithContext(ctx context.Context) GetClustersClusterMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterMetadataOutput) +} + +type GetClustersClusterMetadataOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterMetadata)(nil)).Elem() +} + +func (o GetClustersClusterMetadataOutput) ToGetClustersClusterMetadataOutput() GetClustersClusterMetadataOutput { + return o +} + +func (o GetClustersClusterMetadataOutput) ToGetClustersClusterMetadataOutputWithContext(ctx context.Context) GetClustersClusterMetadataOutput { + return o +} + +// Cluster external IPs +func (o GetClustersClusterMetadataOutput) ExternalIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersClusterMetadata) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +} + +// Cluster kube DNS IP +func (o GetClustersClusterMetadataOutput) KubeDnsIp() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterMetadata) string { return v.KubeDnsIp }).(pulumi.StringOutput) +} + +// Cluster OIDC issuer URL +func (o GetClustersClusterMetadataOutput) OidcIssuerUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterMetadata) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) +} + +type GetClustersClusterNodePool struct { + // Node pool cloud provider + CloudProvider string `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId string `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt string `pulumi:"createdAt"` + // Node pool identifier + Id string `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault bool `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount int `pulumi:"maxNodeCount"` + // Node pool name + Name string `pulumi:"name"` + // Node pool node instance type + NodeInstanceType string `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines []string `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` +} + +// GetClustersClusterNodePoolInput is an input type that accepts GetClustersClusterNodePoolArgs and GetClustersClusterNodePoolOutput values. +// You can construct a concrete instance of `GetClustersClusterNodePoolInput` via: +// +// GetClustersClusterNodePoolArgs{...} +type GetClustersClusterNodePoolInput interface { + pulumi.Input + + ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput + ToGetClustersClusterNodePoolOutputWithContext(context.Context) GetClustersClusterNodePoolOutput +} + +type GetClustersClusterNodePoolArgs struct { + // Node pool cloud provider + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` + // Node pool cluster identifier + ClusterId pulumi.StringInput `pulumi:"clusterId"` + // Node pool creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Node pool identifier + Id pulumi.StringInput `pulumi:"id"` + // Whether the node pool is the default node pool of the cluster + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Node pool maximum node count + MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` + // Node pool name + Name pulumi.StringInput `pulumi:"name"` + // Node pool node instance type + NodeInstanceType pulumi.StringInput `pulumi:"nodeInstanceType"` + // Node pool supported Astro machines + SupportedAstroMachines pulumi.StringArrayInput `pulumi:"supportedAstroMachines"` + // Node pool last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` +} + +func (GetClustersClusterNodePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterNodePool)(nil)).Elem() +} + +func (i GetClustersClusterNodePoolArgs) ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput { + return i.ToGetClustersClusterNodePoolOutputWithContext(context.Background()) +} + +func (i GetClustersClusterNodePoolArgs) ToGetClustersClusterNodePoolOutputWithContext(ctx context.Context) GetClustersClusterNodePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterNodePoolOutput) +} + +// GetClustersClusterNodePoolArrayInput is an input type that accepts GetClustersClusterNodePoolArray and GetClustersClusterNodePoolArrayOutput values. +// You can construct a concrete instance of `GetClustersClusterNodePoolArrayInput` via: +// +// GetClustersClusterNodePoolArray{ GetClustersClusterNodePoolArgs{...} } +type GetClustersClusterNodePoolArrayInput interface { + pulumi.Input + + ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput + ToGetClustersClusterNodePoolArrayOutputWithContext(context.Context) GetClustersClusterNodePoolArrayOutput +} + +type GetClustersClusterNodePoolArray []GetClustersClusterNodePoolInput + +func (GetClustersClusterNodePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterNodePool)(nil)).Elem() +} + +func (i GetClustersClusterNodePoolArray) ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput { + return i.ToGetClustersClusterNodePoolArrayOutputWithContext(context.Background()) +} + +func (i GetClustersClusterNodePoolArray) ToGetClustersClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClustersClusterNodePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterNodePoolArrayOutput) +} + +type GetClustersClusterNodePoolOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterNodePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterNodePool)(nil)).Elem() +} + +func (o GetClustersClusterNodePoolOutput) ToGetClustersClusterNodePoolOutput() GetClustersClusterNodePoolOutput { + return o +} + +func (o GetClustersClusterNodePoolOutput) ToGetClustersClusterNodePoolOutputWithContext(ctx context.Context) GetClustersClusterNodePoolOutput { + return o +} + +// Node pool cloud provider +func (o GetClustersClusterNodePoolOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.CloudProvider }).(pulumi.StringOutput) +} + +// Node pool cluster identifier +func (o GetClustersClusterNodePoolOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.ClusterId }).(pulumi.StringOutput) +} + +// Node pool creation timestamp +func (o GetClustersClusterNodePoolOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Node pool identifier +func (o GetClustersClusterNodePoolOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.Id }).(pulumi.StringOutput) +} + +// Whether the node pool is the default node pool of the cluster +func (o GetClustersClusterNodePoolOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) bool { return v.IsDefault }).(pulumi.BoolOutput) +} + +// Node pool maximum node count +func (o GetClustersClusterNodePoolOutput) MaxNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) int { return v.MaxNodeCount }).(pulumi.IntOutput) +} + +// Node pool name +func (o GetClustersClusterNodePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.Name }).(pulumi.StringOutput) +} + +// Node pool node instance type +func (o GetClustersClusterNodePoolOutput) NodeInstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.NodeInstanceType }).(pulumi.StringOutput) +} + +// Node pool supported Astro machines +func (o GetClustersClusterNodePoolOutput) SupportedAstroMachines() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) []string { return v.SupportedAstroMachines }).(pulumi.StringArrayOutput) +} + +// Node pool last updated timestamp +func (o GetClustersClusterNodePoolOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterNodePool) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type GetClustersClusterNodePoolArrayOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterNodePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterNodePool)(nil)).Elem() +} + +func (o GetClustersClusterNodePoolArrayOutput) ToGetClustersClusterNodePoolArrayOutput() GetClustersClusterNodePoolArrayOutput { + return o +} + +func (o GetClustersClusterNodePoolArrayOutput) ToGetClustersClusterNodePoolArrayOutputWithContext(ctx context.Context) GetClustersClusterNodePoolArrayOutput { + return o +} + +func (o GetClustersClusterNodePoolArrayOutput) Index(i pulumi.IntInput) GetClustersClusterNodePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterNodePool { + return vs[0].([]GetClustersClusterNodePool)[vs[1].(int)] + }).(GetClustersClusterNodePoolOutput) +} + +type GetClustersClusterTag struct { + // Cluster tag key + Key string `pulumi:"key"` + // Cluster tag value + Value string `pulumi:"value"` +} + +// GetClustersClusterTagInput is an input type that accepts GetClustersClusterTagArgs and GetClustersClusterTagOutput values. +// You can construct a concrete instance of `GetClustersClusterTagInput` via: +// +// GetClustersClusterTagArgs{...} +type GetClustersClusterTagInput interface { + pulumi.Input + + ToGetClustersClusterTagOutput() GetClustersClusterTagOutput + ToGetClustersClusterTagOutputWithContext(context.Context) GetClustersClusterTagOutput +} + +type GetClustersClusterTagArgs struct { + // Cluster tag key + Key pulumi.StringInput `pulumi:"key"` + // Cluster tag value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetClustersClusterTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterTag)(nil)).Elem() +} + +func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput { + return i.ToGetClustersClusterTagOutputWithContext(context.Background()) +} + +func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterTagOutput) +} + +// GetClustersClusterTagArrayInput is an input type that accepts GetClustersClusterTagArray and GetClustersClusterTagArrayOutput values. +// You can construct a concrete instance of `GetClustersClusterTagArrayInput` via: +// +// GetClustersClusterTagArray{ GetClustersClusterTagArgs{...} } +type GetClustersClusterTagArrayInput interface { + pulumi.Input + + ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput + ToGetClustersClusterTagArrayOutputWithContext(context.Context) GetClustersClusterTagArrayOutput +} + +type GetClustersClusterTagArray []GetClustersClusterTagInput + +func (GetClustersClusterTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterTag)(nil)).Elem() +} + +func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput { + return i.ToGetClustersClusterTagArrayOutputWithContext(context.Background()) +} + +func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterTagArrayOutput) +} + +type GetClustersClusterTagOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersClusterTag)(nil)).Elem() +} + +func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput { + return o +} + +func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput { + return o +} + +// Cluster tag key +func (o GetClustersClusterTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterTag) string { return v.Key }).(pulumi.StringOutput) +} + +// Cluster tag value +func (o GetClustersClusterTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClustersClusterTag) string { return v.Value }).(pulumi.StringOutput) +} + +type GetClustersClusterTagArrayOutput struct{ *pulumi.OutputState } + +func (GetClustersClusterTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClustersClusterTag)(nil)).Elem() +} + +func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput { + return o +} + +func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput { + return o +} + +func (o GetClustersClusterTagArrayOutput) Index(i pulumi.IntInput) GetClustersClusterTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterTag { + return vs[0].([]GetClustersClusterTag)[vs[1].(int)] + }).(GetClustersClusterTagOutput) +} + +type GetDeploymentCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` +} + +// GetDeploymentCreatedByInput is an input type that accepts GetDeploymentCreatedByArgs and GetDeploymentCreatedByOutput values. +// You can construct a concrete instance of `GetDeploymentCreatedByInput` via: +// +// GetDeploymentCreatedByArgs{...} +type GetDeploymentCreatedByInput interface { + pulumi.Input + + ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput + ToGetDeploymentCreatedByOutputWithContext(context.Context) GetDeploymentCreatedByOutput +} + +type GetDeploymentCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetDeploymentCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentCreatedBy)(nil)).Elem() +} + +func (i GetDeploymentCreatedByArgs) ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput { + return i.ToGetDeploymentCreatedByOutputWithContext(context.Background()) +} + +func (i GetDeploymentCreatedByArgs) ToGetDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentCreatedByOutput) +} + +type GetDeploymentCreatedByOutput struct{ *pulumi.OutputState } + +func (GetDeploymentCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentCreatedBy)(nil)).Elem() +} + +func (o GetDeploymentCreatedByOutput) ToGetDeploymentCreatedByOutput() GetDeploymentCreatedByOutput { + return o +} + +func (o GetDeploymentCreatedByOutput) ToGetDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentCreatedByOutput { + return o +} + +func (o GetDeploymentCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +} + +func (o GetDeploymentCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +} + +func (o GetDeploymentCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +} + +func (o GetDeploymentCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDeploymentCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +} + +func (o GetDeploymentCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentCreatedBy) string { return v.Username }).(pulumi.StringOutput) +} + +type GetDeploymentEnvironmentVariable struct { + // Whether Environment variable is a secret + IsSecret bool `pulumi:"isSecret"` + // Environment variable key + Key string `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // Environment variable value + Value string `pulumi:"value"` +} + +// GetDeploymentEnvironmentVariableInput is an input type that accepts GetDeploymentEnvironmentVariableArgs and GetDeploymentEnvironmentVariableOutput values. +// You can construct a concrete instance of `GetDeploymentEnvironmentVariableInput` via: +// +// GetDeploymentEnvironmentVariableArgs{...} +type GetDeploymentEnvironmentVariableInput interface { + pulumi.Input + + ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput + ToGetDeploymentEnvironmentVariableOutputWithContext(context.Context) GetDeploymentEnvironmentVariableOutput +} + +type GetDeploymentEnvironmentVariableArgs struct { + // Whether Environment variable is a secret + IsSecret pulumi.BoolInput `pulumi:"isSecret"` + // Environment variable key + Key pulumi.StringInput `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // Environment variable value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetDeploymentEnvironmentVariableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (i GetDeploymentEnvironmentVariableArgs) ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput { + return i.ToGetDeploymentEnvironmentVariableOutputWithContext(context.Background()) +} + +func (i GetDeploymentEnvironmentVariableArgs) ToGetDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentEnvironmentVariableOutput) +} + +// GetDeploymentEnvironmentVariableArrayInput is an input type that accepts GetDeploymentEnvironmentVariableArray and GetDeploymentEnvironmentVariableArrayOutput values. +// You can construct a concrete instance of `GetDeploymentEnvironmentVariableArrayInput` via: +// +// GetDeploymentEnvironmentVariableArray{ GetDeploymentEnvironmentVariableArgs{...} } +type GetDeploymentEnvironmentVariableArrayInput interface { + pulumi.Input + + ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput + ToGetDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) GetDeploymentEnvironmentVariableArrayOutput +} + +type GetDeploymentEnvironmentVariableArray []GetDeploymentEnvironmentVariableInput + +func (GetDeploymentEnvironmentVariableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (i GetDeploymentEnvironmentVariableArray) ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput { + return i.ToGetDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentEnvironmentVariableArray) ToGetDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentEnvironmentVariableArrayOutput) +} + +type GetDeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } + +func (GetDeploymentEnvironmentVariableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (o GetDeploymentEnvironmentVariableOutput) ToGetDeploymentEnvironmentVariableOutput() GetDeploymentEnvironmentVariableOutput { + return o +} + +func (o GetDeploymentEnvironmentVariableOutput) ToGetDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableOutput { + return o +} + +// Whether Environment variable is a secret +func (o GetDeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) +} + +// Environment variable key +func (o GetDeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) +} + +// Environment variable last updated timestamp +func (o GetDeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Environment variable value +func (o GetDeploymentEnvironmentVariableOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentEnvironmentVariable) string { return v.Value }).(pulumi.StringOutput) +} + +type GetDeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (o GetDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentEnvironmentVariableArrayOutput() GetDeploymentEnvironmentVariableArrayOutput { + return o +} + +func (o GetDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentEnvironmentVariableArrayOutput { + return o +} + +func (o GetDeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) GetDeploymentEnvironmentVariableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentEnvironmentVariable { + return vs[0].([]GetDeploymentEnvironmentVariable)[vs[1].(int)] + }).(GetDeploymentEnvironmentVariableOutput) +} + +type GetDeploymentOptionsResourceQuotas struct { + // Default pod size options + DefaultPodSize GetDeploymentOptionsResourceQuotasDefaultPodSize `pulumi:"defaultPodSize"` + // Resource quota options + ResourceQuota GetDeploymentOptionsResourceQuotasResourceQuota `pulumi:"resourceQuota"` +} + +// GetDeploymentOptionsResourceQuotasInput is an input type that accepts GetDeploymentOptionsResourceQuotasArgs and GetDeploymentOptionsResourceQuotasOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasInput` via: +// +// GetDeploymentOptionsResourceQuotasArgs{...} +type GetDeploymentOptionsResourceQuotasInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput + ToGetDeploymentOptionsResourceQuotasOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasOutput +} + +type GetDeploymentOptionsResourceQuotasArgs struct { + // Default pod size options + DefaultPodSize GetDeploymentOptionsResourceQuotasDefaultPodSizeInput `pulumi:"defaultPodSize"` + // Resource quota options + ResourceQuota GetDeploymentOptionsResourceQuotasResourceQuotaInput `pulumi:"resourceQuota"` +} + +func (GetDeploymentOptionsResourceQuotasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotas)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasArgs) ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput { + return i.ToGetDeploymentOptionsResourceQuotasOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasArgs) ToGetDeploymentOptionsResourceQuotasOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasOutput) +} + +type GetDeploymentOptionsResourceQuotasOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotas)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasOutput) ToGetDeploymentOptionsResourceQuotasOutput() GetDeploymentOptionsResourceQuotasOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasOutput) ToGetDeploymentOptionsResourceQuotasOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasOutput { + return o +} + +// Default pod size options +func (o GetDeploymentOptionsResourceQuotasOutput) DefaultPodSize() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotas) GetDeploymentOptionsResourceQuotasDefaultPodSize { + return v.DefaultPodSize + }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) +} + +// Resource quota options +func (o GetDeploymentOptionsResourceQuotasOutput) ResourceQuota() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotas) GetDeploymentOptionsResourceQuotasResourceQuota { + return v.ResourceQuota + }).(GetDeploymentOptionsResourceQuotasResourceQuotaOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSize struct { + // CPU resource range + Cpu GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu `pulumi:"cpu"` + // Memory resource range + Memory GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory `pulumi:"memory"` +} + +// GetDeploymentOptionsResourceQuotasDefaultPodSizeInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeInput` via: +// +// GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs{...} +type GetDeploymentOptionsResourceQuotasDefaultPodSizeInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs struct { + // CPU resource range + Cpu GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput `pulumi:"cpu"` + // Memory resource range + Memory GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput `pulumi:"memory"` +} + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSize)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { + return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSize)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput { + return o +} + +// CPU resource range +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) Cpu() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSize) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu { + return v.Cpu + }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) +} + +// Memory resource range +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeOutput) Memory() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSize) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory { + return v.Memory + }).(GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput` via: +// +// GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs{...} +type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { + return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeCpuOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput is an input type that accepts GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs and GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput` via: +// +// GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs{...} +type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput + ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { + return i.ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryArgs) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) +} + +type GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput() GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) ToGetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsResourceQuotasDefaultPodSizeMemoryOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuota struct { + // CPU resource range + Cpu GetDeploymentOptionsResourceQuotasResourceQuotaCpu `pulumi:"cpu"` + // Memory resource range + Memory GetDeploymentOptionsResourceQuotasResourceQuotaMemory `pulumi:"memory"` +} + +// GetDeploymentOptionsResourceQuotasResourceQuotaInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaArgs and GetDeploymentOptionsResourceQuotasResourceQuotaOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaInput` via: +// +// GetDeploymentOptionsResourceQuotasResourceQuotaArgs{...} +type GetDeploymentOptionsResourceQuotasResourceQuotaInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput + ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaArgs struct { + // CPU resource range + Cpu GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput `pulumi:"cpu"` + // Memory resource range + Memory GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput `pulumi:"memory"` +} + +func (GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuota)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { + return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuota)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutput() GetDeploymentOptionsResourceQuotasResourceQuotaOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaOutput { + return o +} + +// CPU resource range +func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) Cpu() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuota) GetDeploymentOptionsResourceQuotasResourceQuotaCpu { + return v.Cpu + }).(GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) +} + +// Memory resource range +func (o GetDeploymentOptionsResourceQuotasResourceQuotaOutput) Memory() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuota) GetDeploymentOptionsResourceQuotasResourceQuotaMemory { + return v.Memory + }).(GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaCpu struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs and GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput` via: +// +// GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs{...} +type GetDeploymentOptionsResourceQuotasResourceQuotaCpuInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput + ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaCpu)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { + return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaCpuArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaCpu)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput() GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaCpuOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsResourceQuotasResourceQuotaCpuOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaCpu) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaMemory struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput is an input type that accepts GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs and GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput` via: +// +// GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs{...} +type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryInput interface { + pulumi.Input + + ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput + ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaMemory)(nil)).Elem() +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { + return i.ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsResourceQuotasResourceQuotaMemoryArgs) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) +} + +type GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsResourceQuotasResourceQuotaMemory)(nil)).Elem() +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput() GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { + return o +} + +func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) ToGetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutputWithContext(ctx context.Context) GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsResourceQuotasResourceQuotaMemoryOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsResourceQuotasResourceQuotaMemory) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsRuntimeRelease struct { + AirflowDatabaseMigration bool `pulumi:"airflowDatabaseMigration"` + AirflowVersion string `pulumi:"airflowVersion"` + Channel string `pulumi:"channel"` + ReleaseDate string `pulumi:"releaseDate"` + StellarDatabaseMigration bool `pulumi:"stellarDatabaseMigration"` + Version string `pulumi:"version"` +} + +// GetDeploymentOptionsRuntimeReleaseInput is an input type that accepts GetDeploymentOptionsRuntimeReleaseArgs and GetDeploymentOptionsRuntimeReleaseOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsRuntimeReleaseInput` via: +// +// GetDeploymentOptionsRuntimeReleaseArgs{...} +type GetDeploymentOptionsRuntimeReleaseInput interface { + pulumi.Input + + ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput + ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(context.Context) GetDeploymentOptionsRuntimeReleaseOutput +} + +type GetDeploymentOptionsRuntimeReleaseArgs struct { + AirflowDatabaseMigration pulumi.BoolInput `pulumi:"airflowDatabaseMigration"` + AirflowVersion pulumi.StringInput `pulumi:"airflowVersion"` + Channel pulumi.StringInput `pulumi:"channel"` + ReleaseDate pulumi.StringInput `pulumi:"releaseDate"` + StellarDatabaseMigration pulumi.BoolInput `pulumi:"stellarDatabaseMigration"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetDeploymentOptionsRuntimeReleaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +} + +func (i GetDeploymentOptionsRuntimeReleaseArgs) ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput { + return i.ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsRuntimeReleaseArgs) ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsRuntimeReleaseOutput) +} + +// GetDeploymentOptionsRuntimeReleaseArrayInput is an input type that accepts GetDeploymentOptionsRuntimeReleaseArray and GetDeploymentOptionsRuntimeReleaseArrayOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsRuntimeReleaseArrayInput` via: +// +// GetDeploymentOptionsRuntimeReleaseArray{ GetDeploymentOptionsRuntimeReleaseArgs{...} } +type GetDeploymentOptionsRuntimeReleaseArrayInput interface { + pulumi.Input + + ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput + ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput +} + +type GetDeploymentOptionsRuntimeReleaseArray []GetDeploymentOptionsRuntimeReleaseInput + +func (GetDeploymentOptionsRuntimeReleaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +} + +func (i GetDeploymentOptionsRuntimeReleaseArray) ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput { + return i.ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsRuntimeReleaseArray) ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsRuntimeReleaseArrayOutput) +} + +type GetDeploymentOptionsRuntimeReleaseOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsRuntimeReleaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) ToGetDeploymentOptionsRuntimeReleaseOutput() GetDeploymentOptionsRuntimeReleaseOutput { + return o +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) ToGetDeploymentOptionsRuntimeReleaseOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseOutput { + return o +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) AirflowDatabaseMigration() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) bool { return v.AirflowDatabaseMigration }).(pulumi.BoolOutput) +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) AirflowVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.AirflowVersion }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) Channel() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.Channel }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) ReleaseDate() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.ReleaseDate }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) StellarDatabaseMigration() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) bool { return v.StellarDatabaseMigration }).(pulumi.BoolOutput) +} + +func (o GetDeploymentOptionsRuntimeReleaseOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsRuntimeRelease) string { return v.Version }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsRuntimeReleaseArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsRuntimeReleaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsRuntimeRelease)(nil)).Elem() +} + +func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) ToGetDeploymentOptionsRuntimeReleaseArrayOutput() GetDeploymentOptionsRuntimeReleaseArrayOutput { + return o +} + +func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) ToGetDeploymentOptionsRuntimeReleaseArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsRuntimeReleaseArrayOutput { + return o +} + +func (o GetDeploymentOptionsRuntimeReleaseArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsRuntimeReleaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsRuntimeRelease { + return vs[0].([]GetDeploymentOptionsRuntimeRelease)[vs[1].(int)] + }).(GetDeploymentOptionsRuntimeReleaseOutput) +} + +type GetDeploymentOptionsSchedulerMachine struct { + Name string `pulumi:"name"` + Spec GetDeploymentOptionsSchedulerMachineSpec `pulumi:"spec"` +} + +// GetDeploymentOptionsSchedulerMachineInput is an input type that accepts GetDeploymentOptionsSchedulerMachineArgs and GetDeploymentOptionsSchedulerMachineOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineInput` via: +// +// GetDeploymentOptionsSchedulerMachineArgs{...} +type GetDeploymentOptionsSchedulerMachineInput interface { + pulumi.Input + + ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput + ToGetDeploymentOptionsSchedulerMachineOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineOutput +} + +type GetDeploymentOptionsSchedulerMachineArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Spec GetDeploymentOptionsSchedulerMachineSpecInput `pulumi:"spec"` +} + +func (GetDeploymentOptionsSchedulerMachineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +} + +func (i GetDeploymentOptionsSchedulerMachineArgs) ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput { + return i.ToGetDeploymentOptionsSchedulerMachineOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsSchedulerMachineArgs) ToGetDeploymentOptionsSchedulerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineOutput) +} + +// GetDeploymentOptionsSchedulerMachineArrayInput is an input type that accepts GetDeploymentOptionsSchedulerMachineArray and GetDeploymentOptionsSchedulerMachineArrayOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineArrayInput` via: +// +// GetDeploymentOptionsSchedulerMachineArray{ GetDeploymentOptionsSchedulerMachineArgs{...} } +type GetDeploymentOptionsSchedulerMachineArrayInput interface { + pulumi.Input + + ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput + ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput +} + +type GetDeploymentOptionsSchedulerMachineArray []GetDeploymentOptionsSchedulerMachineInput + +func (GetDeploymentOptionsSchedulerMachineArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +} + +func (i GetDeploymentOptionsSchedulerMachineArray) ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput { + return i.ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsSchedulerMachineArray) ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineArrayOutput) +} + +type GetDeploymentOptionsSchedulerMachineOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsSchedulerMachineOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +} + +func (o GetDeploymentOptionsSchedulerMachineOutput) ToGetDeploymentOptionsSchedulerMachineOutput() GetDeploymentOptionsSchedulerMachineOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineOutput) ToGetDeploymentOptionsSchedulerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachine) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsSchedulerMachineOutput) Spec() GetDeploymentOptionsSchedulerMachineSpecOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachine) GetDeploymentOptionsSchedulerMachineSpec { return v.Spec }).(GetDeploymentOptionsSchedulerMachineSpecOutput) +} + +type GetDeploymentOptionsSchedulerMachineArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsSchedulerMachineArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsSchedulerMachine)(nil)).Elem() +} + +func (o GetDeploymentOptionsSchedulerMachineArrayOutput) ToGetDeploymentOptionsSchedulerMachineArrayOutput() GetDeploymentOptionsSchedulerMachineArrayOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineArrayOutput) ToGetDeploymentOptionsSchedulerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineArrayOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsSchedulerMachineOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsSchedulerMachine { + return vs[0].([]GetDeploymentOptionsSchedulerMachine)[vs[1].(int)] + }).(GetDeploymentOptionsSchedulerMachineOutput) +} + +type GetDeploymentOptionsSchedulerMachineSpec struct { + Concurrency string `pulumi:"concurrency"` + Cpu string `pulumi:"cpu"` + EphemeralStorage string `pulumi:"ephemeralStorage"` + Memory string `pulumi:"memory"` +} + +// GetDeploymentOptionsSchedulerMachineSpecInput is an input type that accepts GetDeploymentOptionsSchedulerMachineSpecArgs and GetDeploymentOptionsSchedulerMachineSpecOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsSchedulerMachineSpecInput` via: +// +// GetDeploymentOptionsSchedulerMachineSpecArgs{...} +type GetDeploymentOptionsSchedulerMachineSpecInput interface { + pulumi.Input + + ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput + ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput +} + +type GetDeploymentOptionsSchedulerMachineSpecArgs struct { + Concurrency pulumi.StringInput `pulumi:"concurrency"` + Cpu pulumi.StringInput `pulumi:"cpu"` + EphemeralStorage pulumi.StringInput `pulumi:"ephemeralStorage"` + Memory pulumi.StringInput `pulumi:"memory"` +} + +func (GetDeploymentOptionsSchedulerMachineSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachineSpec)(nil)).Elem() +} + +func (i GetDeploymentOptionsSchedulerMachineSpecArgs) ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput { + return i.ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsSchedulerMachineSpecArgs) ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsSchedulerMachineSpecOutput) +} + +type GetDeploymentOptionsSchedulerMachineSpecOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsSchedulerMachineSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsSchedulerMachineSpec)(nil)).Elem() +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) ToGetDeploymentOptionsSchedulerMachineSpecOutput() GetDeploymentOptionsSchedulerMachineSpecOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) ToGetDeploymentOptionsSchedulerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsSchedulerMachineSpecOutput { + return o +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Concurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Concurrency }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Cpu }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) EphemeralStorage() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.EphemeralStorage }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsSchedulerMachineSpecOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsSchedulerMachineSpec) string { return v.Memory }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkerMachine struct { + Concurrency GetDeploymentOptionsWorkerMachineConcurrency `pulumi:"concurrency"` + Name string `pulumi:"name"` + Spec GetDeploymentOptionsWorkerMachineSpec `pulumi:"spec"` +} + +// GetDeploymentOptionsWorkerMachineInput is an input type that accepts GetDeploymentOptionsWorkerMachineArgs and GetDeploymentOptionsWorkerMachineOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineInput` via: +// +// GetDeploymentOptionsWorkerMachineArgs{...} +type GetDeploymentOptionsWorkerMachineInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput + ToGetDeploymentOptionsWorkerMachineOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineOutput +} + +type GetDeploymentOptionsWorkerMachineArgs struct { + Concurrency GetDeploymentOptionsWorkerMachineConcurrencyInput `pulumi:"concurrency"` + Name pulumi.StringInput `pulumi:"name"` + Spec GetDeploymentOptionsWorkerMachineSpecInput `pulumi:"spec"` +} + +func (GetDeploymentOptionsWorkerMachineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachine)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerMachineArgs) ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput { + return i.ToGetDeploymentOptionsWorkerMachineOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerMachineArgs) ToGetDeploymentOptionsWorkerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineOutput) +} + +// GetDeploymentOptionsWorkerMachineArrayInput is an input type that accepts GetDeploymentOptionsWorkerMachineArray and GetDeploymentOptionsWorkerMachineArrayOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineArrayInput` via: +// +// GetDeploymentOptionsWorkerMachineArray{ GetDeploymentOptionsWorkerMachineArgs{...} } +type GetDeploymentOptionsWorkerMachineArrayInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput + ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineArrayOutput +} + +type GetDeploymentOptionsWorkerMachineArray []GetDeploymentOptionsWorkerMachineInput + +func (GetDeploymentOptionsWorkerMachineArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsWorkerMachine)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerMachineArray) ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput { + return i.ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerMachineArray) ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineArrayOutput) +} + +type GetDeploymentOptionsWorkerMachineOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerMachineOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachine)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerMachineOutput) ToGetDeploymentOptionsWorkerMachineOutput() GetDeploymentOptionsWorkerMachineOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineOutput) ToGetDeploymentOptionsWorkerMachineOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineOutput) Concurrency() GetDeploymentOptionsWorkerMachineConcurrencyOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) GetDeploymentOptionsWorkerMachineConcurrency { + return v.Concurrency + }).(GetDeploymentOptionsWorkerMachineConcurrencyOutput) +} + +func (o GetDeploymentOptionsWorkerMachineOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineOutput) Spec() GetDeploymentOptionsWorkerMachineSpecOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachine) GetDeploymentOptionsWorkerMachineSpec { return v.Spec }).(GetDeploymentOptionsWorkerMachineSpecOutput) +} + +type GetDeploymentOptionsWorkerMachineArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerMachineArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsWorkerMachine)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerMachineArrayOutput) ToGetDeploymentOptionsWorkerMachineArrayOutput() GetDeploymentOptionsWorkerMachineArrayOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineArrayOutput) ToGetDeploymentOptionsWorkerMachineArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineArrayOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsWorkerMachineOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsWorkerMachine { + return vs[0].([]GetDeploymentOptionsWorkerMachine)[vs[1].(int)] + }).(GetDeploymentOptionsWorkerMachineOutput) +} + +type GetDeploymentOptionsWorkerMachineConcurrency struct { + Ceiling string `pulumi:"ceiling"` + Default string `pulumi:"default"` + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsWorkerMachineConcurrencyInput is an input type that accepts GetDeploymentOptionsWorkerMachineConcurrencyArgs and GetDeploymentOptionsWorkerMachineConcurrencyOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineConcurrencyInput` via: +// +// GetDeploymentOptionsWorkerMachineConcurrencyArgs{...} +type GetDeploymentOptionsWorkerMachineConcurrencyInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput + ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput +} + +type GetDeploymentOptionsWorkerMachineConcurrencyArgs struct { + Ceiling pulumi.StringInput `pulumi:"ceiling"` + Default pulumi.StringInput `pulumi:"default"` + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsWorkerMachineConcurrencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineConcurrency)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerMachineConcurrencyArgs) ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput { + return i.ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerMachineConcurrencyArgs) ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineConcurrencyOutput) +} + +type GetDeploymentOptionsWorkerMachineConcurrencyOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerMachineConcurrencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineConcurrency)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) ToGetDeploymentOptionsWorkerMachineConcurrencyOutput() GetDeploymentOptionsWorkerMachineConcurrencyOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) ToGetDeploymentOptionsWorkerMachineConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineConcurrencyOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Ceiling }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Default }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineConcurrencyOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineConcurrency) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkerMachineSpec struct { + Concurrency string `pulumi:"concurrency"` + Cpu string `pulumi:"cpu"` + EphemeralStorage string `pulumi:"ephemeralStorage"` + Memory string `pulumi:"memory"` +} + +// GetDeploymentOptionsWorkerMachineSpecInput is an input type that accepts GetDeploymentOptionsWorkerMachineSpecArgs and GetDeploymentOptionsWorkerMachineSpecOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerMachineSpecInput` via: +// +// GetDeploymentOptionsWorkerMachineSpecArgs{...} +type GetDeploymentOptionsWorkerMachineSpecInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput + ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(context.Context) GetDeploymentOptionsWorkerMachineSpecOutput +} + +type GetDeploymentOptionsWorkerMachineSpecArgs struct { + Concurrency pulumi.StringInput `pulumi:"concurrency"` + Cpu pulumi.StringInput `pulumi:"cpu"` + EphemeralStorage pulumi.StringInput `pulumi:"ephemeralStorage"` + Memory pulumi.StringInput `pulumi:"memory"` +} + +func (GetDeploymentOptionsWorkerMachineSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineSpec)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerMachineSpecArgs) ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput { + return i.ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerMachineSpecArgs) ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerMachineSpecOutput) +} + +type GetDeploymentOptionsWorkerMachineSpecOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerMachineSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerMachineSpec)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) ToGetDeploymentOptionsWorkerMachineSpecOutput() GetDeploymentOptionsWorkerMachineSpecOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) ToGetDeploymentOptionsWorkerMachineSpecOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerMachineSpecOutput { + return o +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) Concurrency() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Concurrency }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) Cpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Cpu }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) EphemeralStorage() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.EphemeralStorage }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkerMachineSpecOutput) Memory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerMachineSpec) string { return v.Memory }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkerQueues struct { + // Worker queue maximum workers + MaxWorkers GetDeploymentOptionsWorkerQueuesMaxWorkers `pulumi:"maxWorkers"` + // Worker queue minimum workers + MinWorkers GetDeploymentOptionsWorkerQueuesMinWorkers `pulumi:"minWorkers"` + // Worker queue worker concurrency + WorkerConcurrency GetDeploymentOptionsWorkerQueuesWorkerConcurrency `pulumi:"workerConcurrency"` +} + +// GetDeploymentOptionsWorkerQueuesInput is an input type that accepts GetDeploymentOptionsWorkerQueuesArgs and GetDeploymentOptionsWorkerQueuesOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesInput` via: +// +// GetDeploymentOptionsWorkerQueuesArgs{...} +type GetDeploymentOptionsWorkerQueuesInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput + ToGetDeploymentOptionsWorkerQueuesOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesOutput +} + +type GetDeploymentOptionsWorkerQueuesArgs struct { + // Worker queue maximum workers + MaxWorkers GetDeploymentOptionsWorkerQueuesMaxWorkersInput `pulumi:"maxWorkers"` + // Worker queue minimum workers + MinWorkers GetDeploymentOptionsWorkerQueuesMinWorkersInput `pulumi:"minWorkers"` + // Worker queue worker concurrency + WorkerConcurrency GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput `pulumi:"workerConcurrency"` +} + +func (GetDeploymentOptionsWorkerQueuesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueues)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerQueuesArgs) ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput { + return i.ToGetDeploymentOptionsWorkerQueuesOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerQueuesArgs) ToGetDeploymentOptionsWorkerQueuesOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesOutput) +} + +type GetDeploymentOptionsWorkerQueuesOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerQueuesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueues)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerQueuesOutput) ToGetDeploymentOptionsWorkerQueuesOutput() GetDeploymentOptionsWorkerQueuesOutput { + return o +} + +func (o GetDeploymentOptionsWorkerQueuesOutput) ToGetDeploymentOptionsWorkerQueuesOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesOutput { + return o +} + +// Worker queue maximum workers +func (o GetDeploymentOptionsWorkerQueuesOutput) MaxWorkers() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesMaxWorkers { + return v.MaxWorkers + }).(GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) +} + +// Worker queue minimum workers +func (o GetDeploymentOptionsWorkerQueuesOutput) MinWorkers() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesMinWorkers { + return v.MinWorkers + }).(GetDeploymentOptionsWorkerQueuesMinWorkersOutput) +} + +// Worker queue worker concurrency +func (o GetDeploymentOptionsWorkerQueuesOutput) WorkerConcurrency() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueues) GetDeploymentOptionsWorkerQueuesWorkerConcurrency { + return v.WorkerConcurrency + }).(GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) +} + +type GetDeploymentOptionsWorkerQueuesMaxWorkers struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsWorkerQueuesMaxWorkersInput is an input type that accepts GetDeploymentOptionsWorkerQueuesMaxWorkersArgs and GetDeploymentOptionsWorkerQueuesMaxWorkersOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesMaxWorkersInput` via: +// +// GetDeploymentOptionsWorkerQueuesMaxWorkersArgs{...} +type GetDeploymentOptionsWorkerQueuesMaxWorkersInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput + ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput +} + +type GetDeploymentOptionsWorkerQueuesMaxWorkersArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMaxWorkers)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { + return i.ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerQueuesMaxWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) +} + +type GetDeploymentOptionsWorkerQueuesMaxWorkersOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMaxWorkers)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutput() GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { + return o +} + +func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMaxWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMaxWorkersOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsWorkerQueuesMaxWorkersOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMaxWorkers) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkerQueuesMinWorkers struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsWorkerQueuesMinWorkersInput is an input type that accepts GetDeploymentOptionsWorkerQueuesMinWorkersArgs and GetDeploymentOptionsWorkerQueuesMinWorkersOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesMinWorkersInput` via: +// +// GetDeploymentOptionsWorkerQueuesMinWorkersArgs{...} +type GetDeploymentOptionsWorkerQueuesMinWorkersInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput + ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput +} + +type GetDeploymentOptionsWorkerQueuesMinWorkersArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMinWorkers)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { + return i.ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerQueuesMinWorkersArgs) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesMinWorkersOutput) +} + +type GetDeploymentOptionsWorkerQueuesMinWorkersOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesMinWorkers)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutput() GetDeploymentOptionsWorkerQueuesMinWorkersOutput { + return o +} + +func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) ToGetDeploymentOptionsWorkerQueuesMinWorkersOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesMinWorkersOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsWorkerQueuesMinWorkersOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesMinWorkers) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkerQueuesWorkerConcurrency struct { + // Resource range ceiling + Ceiling string `pulumi:"ceiling"` + // Resource range default + Default string `pulumi:"default"` + // Resource range floor + Floor string `pulumi:"floor"` +} + +// GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput is an input type that accepts GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs and GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput` via: +// +// GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs{...} +type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput + ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput +} + +type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs struct { + // Resource range ceiling + Ceiling pulumi.StringInput `pulumi:"ceiling"` + // Resource range default + Default pulumi.StringInput `pulumi:"default"` + // Resource range floor + Floor pulumi.StringInput `pulumi:"floor"` +} + +func (GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesWorkerConcurrency)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { + return i.ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkerQueuesWorkerConcurrencyArgs) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) +} + +type GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkerQueuesWorkerConcurrency)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput() GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { + return o +} + +func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) ToGetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput { + return o +} + +// Resource range ceiling +func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Ceiling() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Ceiling }).(pulumi.StringOutput) +} + +// Resource range default +func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Default }).(pulumi.StringOutput) +} + +// Resource range floor +func (o GetDeploymentOptionsWorkerQueuesWorkerConcurrencyOutput) Floor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkerQueuesWorkerConcurrency) string { return v.Floor }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkloadIdentityOption struct { + Label string `pulumi:"label"` + Role string `pulumi:"role"` +} + +// GetDeploymentOptionsWorkloadIdentityOptionInput is an input type that accepts GetDeploymentOptionsWorkloadIdentityOptionArgs and GetDeploymentOptionsWorkloadIdentityOptionOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkloadIdentityOptionInput` via: +// +// GetDeploymentOptionsWorkloadIdentityOptionArgs{...} +type GetDeploymentOptionsWorkloadIdentityOptionInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput + ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput +} + +type GetDeploymentOptionsWorkloadIdentityOptionArgs struct { + Label pulumi.StringInput `pulumi:"label"` + Role pulumi.StringInput `pulumi:"role"` +} + +func (GetDeploymentOptionsWorkloadIdentityOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkloadIdentityOptionArgs) ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput { + return i.ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkloadIdentityOptionArgs) ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkloadIdentityOptionOutput) +} + +// GetDeploymentOptionsWorkloadIdentityOptionArrayInput is an input type that accepts GetDeploymentOptionsWorkloadIdentityOptionArray and GetDeploymentOptionsWorkloadIdentityOptionArrayOutput values. +// You can construct a concrete instance of `GetDeploymentOptionsWorkloadIdentityOptionArrayInput` via: +// +// GetDeploymentOptionsWorkloadIdentityOptionArray{ GetDeploymentOptionsWorkloadIdentityOptionArgs{...} } +type GetDeploymentOptionsWorkloadIdentityOptionArrayInput interface { + pulumi.Input + + ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput + ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput +} + +type GetDeploymentOptionsWorkloadIdentityOptionArray []GetDeploymentOptionsWorkloadIdentityOptionInput + +func (GetDeploymentOptionsWorkloadIdentityOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +} + +func (i GetDeploymentOptionsWorkloadIdentityOptionArray) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { + return i.ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentOptionsWorkloadIdentityOptionArray) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) +} + +type GetDeploymentOptionsWorkloadIdentityOptionOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkloadIdentityOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) ToGetDeploymentOptionsWorkloadIdentityOptionOutput() GetDeploymentOptionsWorkloadIdentityOptionOutput { + return o +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) ToGetDeploymentOptionsWorkloadIdentityOptionOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionOutput { + return o +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkloadIdentityOption) string { return v.Label }).(pulumi.StringOutput) +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentOptionsWorkloadIdentityOption) string { return v.Role }).(pulumi.StringOutput) +} + +type GetDeploymentOptionsWorkloadIdentityOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentOptionsWorkloadIdentityOption)(nil)).Elem() +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutput() GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { + return o +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) ToGetDeploymentOptionsWorkloadIdentityOptionArrayOutputWithContext(ctx context.Context) GetDeploymentOptionsWorkloadIdentityOptionArrayOutput { + return o +} + +func (o GetDeploymentOptionsWorkloadIdentityOptionArrayOutput) Index(i pulumi.IntInput) GetDeploymentOptionsWorkloadIdentityOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentOptionsWorkloadIdentityOption { + return vs[0].([]GetDeploymentOptionsWorkloadIdentityOption)[vs[1].(int)] + }).(GetDeploymentOptionsWorkloadIdentityOptionOutput) +} + +type GetDeploymentScalingSpec struct { + HibernationSpec GetDeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` +} + +// GetDeploymentScalingSpecInput is an input type that accepts GetDeploymentScalingSpecArgs and GetDeploymentScalingSpecOutput values. +// You can construct a concrete instance of `GetDeploymentScalingSpecInput` via: +// +// GetDeploymentScalingSpecArgs{...} +type GetDeploymentScalingSpecInput interface { + pulumi.Input + + ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput + ToGetDeploymentScalingSpecOutputWithContext(context.Context) GetDeploymentScalingSpecOutput +} + +type GetDeploymentScalingSpecArgs struct { + HibernationSpec GetDeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` +} + +func (GetDeploymentScalingSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpec)(nil)).Elem() +} + +func (i GetDeploymentScalingSpecArgs) ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput { + return i.ToGetDeploymentScalingSpecOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingSpecArgs) ToGetDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecOutput) +} + +type GetDeploymentScalingSpecOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpec)(nil)).Elem() +} + +func (o GetDeploymentScalingSpecOutput) ToGetDeploymentScalingSpecOutput() GetDeploymentScalingSpecOutput { + return o +} + +func (o GetDeploymentScalingSpecOutput) ToGetDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecOutput { + return o +} + +func (o GetDeploymentScalingSpecOutput) HibernationSpec() GetDeploymentScalingSpecHibernationSpecOutput { + return o.ApplyT(func(v GetDeploymentScalingSpec) GetDeploymentScalingSpecHibernationSpec { return v.HibernationSpec }).(GetDeploymentScalingSpecHibernationSpecOutput) +} + +type GetDeploymentScalingSpecHibernationSpec struct { + Override GetDeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` + Schedules []GetDeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` +} + +// GetDeploymentScalingSpecHibernationSpecInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecArgs and GetDeploymentScalingSpecHibernationSpecOutput values. +// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecInput` via: +// +// GetDeploymentScalingSpecHibernationSpecArgs{...} +type GetDeploymentScalingSpecHibernationSpecInput interface { + pulumi.Input + + ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput + ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecOutput +} + +type GetDeploymentScalingSpecHibernationSpecArgs struct { + Override GetDeploymentScalingSpecHibernationSpecOverrideInput `pulumi:"override"` + Schedules GetDeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` +} + +func (GetDeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpec)(nil)).Elem() +} + +func (i GetDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput { + return i.ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecOutput) +} + +type GetDeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpec)(nil)).Elem() +} + +func (o GetDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentScalingSpecHibernationSpecOutput() GetDeploymentScalingSpecHibernationSpecOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecOutput) Override() GetDeploymentScalingSpecHibernationSpecOverrideOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpec) GetDeploymentScalingSpecHibernationSpecOverride { + return v.Override + }).(GetDeploymentScalingSpecHibernationSpecOverrideOutput) +} + +func (o GetDeploymentScalingSpecHibernationSpecOutput) Schedules() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpec) []GetDeploymentScalingSpecHibernationSpecSchedule { + return v.Schedules + }).(GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +} + +type GetDeploymentScalingSpecHibernationSpecOverride struct { + // Whether the override is active + IsActive bool `pulumi:"isActive"` + // Whether the override is hibernating + IsHibernating bool `pulumi:"isHibernating"` + // Time until the override is active + OverrideUntil string `pulumi:"overrideUntil"` +} + +// GetDeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecOverrideArgs and GetDeploymentScalingSpecHibernationSpecOverrideOutput values. +// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecOverrideInput` via: +// +// GetDeploymentScalingSpecHibernationSpecOverrideArgs{...} +type GetDeploymentScalingSpecHibernationSpecOverrideInput interface { + pulumi.Input + + ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput + ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput +} + +type GetDeploymentScalingSpecHibernationSpecOverrideArgs struct { + // Whether the override is active + IsActive pulumi.BoolInput `pulumi:"isActive"` + // Whether the override is hibernating + IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` + // Time until the override is active + OverrideUntil pulumi.StringInput `pulumi:"overrideUntil"` +} + +func (GetDeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +} + +func (i GetDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput { + return i.ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecOverrideOutput) +} + +type GetDeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +} + +func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentScalingSpecHibernationSpecOverrideOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecOverrideOutput { + return o +} + +// Whether the override is active +func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsActive }).(pulumi.BoolOutput) +} + +// Whether the override is hibernating +func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) +} + +// Time until the override is active +func (o GetDeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecOverride) string { return v.OverrideUntil }).(pulumi.StringOutput) +} + +type GetDeploymentScalingSpecHibernationSpecSchedule struct { + // Description of the schedule + Description string `pulumi:"description"` + // Cron expression for hibernation + HibernateAtCron string `pulumi:"hibernateAtCron"` + // Whether the schedule is enabled + IsEnabled bool `pulumi:"isEnabled"` + // Cron expression for waking + WakeAtCron string `pulumi:"wakeAtCron"` +} + +// GetDeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecScheduleArgs and GetDeploymentScalingSpecHibernationSpecScheduleOutput values. +// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecScheduleInput` via: +// +// GetDeploymentScalingSpecHibernationSpecScheduleArgs{...} +type GetDeploymentScalingSpecHibernationSpecScheduleInput interface { + pulumi.Input + + ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput + ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput +} + +type GetDeploymentScalingSpecHibernationSpecScheduleArgs struct { + // Description of the schedule + Description pulumi.StringInput `pulumi:"description"` + // Cron expression for hibernation + HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` + // Whether the schedule is enabled + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // Cron expression for waking + WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` +} + +func (GetDeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +} + +func (i GetDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput { + return i.ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecScheduleOutput) +} + +// GetDeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts GetDeploymentScalingSpecHibernationSpecScheduleArray and GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput values. +// You can construct a concrete instance of `GetDeploymentScalingSpecHibernationSpecScheduleArrayInput` via: +// +// GetDeploymentScalingSpecHibernationSpecScheduleArray{ GetDeploymentScalingSpecHibernationSpecScheduleArgs{...} } +type GetDeploymentScalingSpecHibernationSpecScheduleArrayInput interface { + pulumi.Input + + ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput + ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput +} + +type GetDeploymentScalingSpecHibernationSpecScheduleArray []GetDeploymentScalingSpecHibernationSpecScheduleInput + +func (GetDeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +} + +func (i GetDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return i.ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +} + +type GetDeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +} + +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentScalingSpecHibernationSpecScheduleOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleOutput { + return o +} + +// Description of the schedule +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.Description }).(pulumi.StringOutput) +} + +// Cron expression for hibernation +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) +} + +// Whether the schedule is enabled +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) +} + +// Cron expression for waking +func (o GetDeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) +} + +type GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +} + +func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o +} + +func (o GetDeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) GetDeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentScalingSpecHibernationSpecSchedule { + return vs[0].([]GetDeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] + }).(GetDeploymentScalingSpecHibernationSpecScheduleOutput) +} + +type GetDeploymentScalingStatus struct { + HibernationStatus GetDeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` +} + +// GetDeploymentScalingStatusInput is an input type that accepts GetDeploymentScalingStatusArgs and GetDeploymentScalingStatusOutput values. +// You can construct a concrete instance of `GetDeploymentScalingStatusInput` via: +// +// GetDeploymentScalingStatusArgs{...} +type GetDeploymentScalingStatusInput interface { + pulumi.Input + + ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput + ToGetDeploymentScalingStatusOutputWithContext(context.Context) GetDeploymentScalingStatusOutput +} + +type GetDeploymentScalingStatusArgs struct { + HibernationStatus GetDeploymentScalingStatusHibernationStatusInput `pulumi:"hibernationStatus"` +} + +func (GetDeploymentScalingStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingStatus)(nil)).Elem() +} + +func (i GetDeploymentScalingStatusArgs) ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput { + return i.ToGetDeploymentScalingStatusOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingStatusArgs) ToGetDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingStatusOutput) +} + +type GetDeploymentScalingStatusOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingStatus)(nil)).Elem() +} + +func (o GetDeploymentScalingStatusOutput) ToGetDeploymentScalingStatusOutput() GetDeploymentScalingStatusOutput { + return o +} + +func (o GetDeploymentScalingStatusOutput) ToGetDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusOutput { + return o +} + +func (o GetDeploymentScalingStatusOutput) HibernationStatus() GetDeploymentScalingStatusHibernationStatusOutput { + return o.ApplyT(func(v GetDeploymentScalingStatus) GetDeploymentScalingStatusHibernationStatus { + return v.HibernationStatus + }).(GetDeploymentScalingStatusHibernationStatusOutput) +} + +type GetDeploymentScalingStatusHibernationStatus struct { + // Whether the deployment is hibernating + IsHibernating bool `pulumi:"isHibernating"` + // Time of the next event + NextEventAt string `pulumi:"nextEventAt"` + // Type of the next event + NextEventType string `pulumi:"nextEventType"` + // Reason for the current state + Reason string `pulumi:"reason"` +} + +// GetDeploymentScalingStatusHibernationStatusInput is an input type that accepts GetDeploymentScalingStatusHibernationStatusArgs and GetDeploymentScalingStatusHibernationStatusOutput values. +// You can construct a concrete instance of `GetDeploymentScalingStatusHibernationStatusInput` via: +// +// GetDeploymentScalingStatusHibernationStatusArgs{...} +type GetDeploymentScalingStatusHibernationStatusInput interface { + pulumi.Input + + ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput + ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) GetDeploymentScalingStatusHibernationStatusOutput +} + +type GetDeploymentScalingStatusHibernationStatusArgs struct { + // Whether the deployment is hibernating + IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` + // Time of the next event + NextEventAt pulumi.StringInput `pulumi:"nextEventAt"` + // Type of the next event + NextEventType pulumi.StringInput `pulumi:"nextEventType"` + // Reason for the current state + Reason pulumi.StringInput `pulumi:"reason"` +} + +func (GetDeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingStatusHibernationStatus)(nil)).Elem() +} + +func (i GetDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput { + return i.ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) +} + +func (i GetDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusHibernationStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentScalingStatusHibernationStatusOutput) +} + +type GetDeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } + +func (GetDeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentScalingStatusHibernationStatus)(nil)).Elem() +} + +func (o GetDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentScalingStatusHibernationStatusOutput() GetDeploymentScalingStatusHibernationStatusOutput { + return o +} + +func (o GetDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentScalingStatusHibernationStatusOutput { + return o +} + +// Whether the deployment is hibernating +func (o GetDeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) bool { return v.IsHibernating }).(pulumi.BoolOutput) +} + +// Time of the next event +func (o GetDeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.NextEventAt }).(pulumi.StringOutput) +} + +// Type of the next event +func (o GetDeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.NextEventType }).(pulumi.StringOutput) +} + +// Reason for the current state +func (o GetDeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentScalingStatusHibernationStatus) string { return v.Reason }).(pulumi.StringOutput) +} + +type GetDeploymentUpdatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` +} + +// GetDeploymentUpdatedByInput is an input type that accepts GetDeploymentUpdatedByArgs and GetDeploymentUpdatedByOutput values. +// You can construct a concrete instance of `GetDeploymentUpdatedByInput` via: +// +// GetDeploymentUpdatedByArgs{...} +type GetDeploymentUpdatedByInput interface { + pulumi.Input + + ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput + ToGetDeploymentUpdatedByOutputWithContext(context.Context) GetDeploymentUpdatedByOutput +} + +type GetDeploymentUpdatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetDeploymentUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentUpdatedBy)(nil)).Elem() +} + +func (i GetDeploymentUpdatedByArgs) ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput { + return i.ToGetDeploymentUpdatedByOutputWithContext(context.Background()) +} + +func (i GetDeploymentUpdatedByArgs) ToGetDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentUpdatedByOutput) +} + +type GetDeploymentUpdatedByOutput struct{ *pulumi.OutputState } + +func (GetDeploymentUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentUpdatedBy)(nil)).Elem() +} + +func (o GetDeploymentUpdatedByOutput) ToGetDeploymentUpdatedByOutput() GetDeploymentUpdatedByOutput { + return o +} + +func (o GetDeploymentUpdatedByOutput) ToGetDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentUpdatedByOutput { + return o +} + +func (o GetDeploymentUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +} + +func (o GetDeploymentUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +} + +func (o GetDeploymentUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +} + +func (o GetDeploymentUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDeploymentUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +} + +func (o GetDeploymentUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +} + +type GetDeploymentWorkerQueue struct { + // Worker queue Astro machine value + AstroMachine string `pulumi:"astroMachine"` + // Worker queue identifier + Id string `pulumi:"id"` + // Whether Worker queue is default + IsDefault bool `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount int `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount int `pulumi:"minWorkerCount"` + // Worker queue name + Name string `pulumi:"name"` + // Worker queue node pool identifier + NodePoolId string `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu string `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory string `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency int `pulumi:"workerConcurrency"` +} + +// GetDeploymentWorkerQueueInput is an input type that accepts GetDeploymentWorkerQueueArgs and GetDeploymentWorkerQueueOutput values. +// You can construct a concrete instance of `GetDeploymentWorkerQueueInput` via: +// +// GetDeploymentWorkerQueueArgs{...} +type GetDeploymentWorkerQueueInput interface { + pulumi.Input + + ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput + ToGetDeploymentWorkerQueueOutputWithContext(context.Context) GetDeploymentWorkerQueueOutput +} + +type GetDeploymentWorkerQueueArgs struct { + // Worker queue Astro machine value + AstroMachine pulumi.StringInput `pulumi:"astroMachine"` + // Worker queue identifier + Id pulumi.StringInput `pulumi:"id"` + // Whether Worker queue is default + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` + // Worker queue name + Name pulumi.StringInput `pulumi:"name"` + // Worker queue node pool identifier + NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu pulumi.StringInput `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory pulumi.StringInput `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` +} + +func (GetDeploymentWorkerQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentWorkerQueue)(nil)).Elem() +} + +func (i GetDeploymentWorkerQueueArgs) ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput { + return i.ToGetDeploymentWorkerQueueOutputWithContext(context.Background()) +} + +func (i GetDeploymentWorkerQueueArgs) ToGetDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentWorkerQueueOutput) +} + +// GetDeploymentWorkerQueueArrayInput is an input type that accepts GetDeploymentWorkerQueueArray and GetDeploymentWorkerQueueArrayOutput values. +// You can construct a concrete instance of `GetDeploymentWorkerQueueArrayInput` via: +// +// GetDeploymentWorkerQueueArray{ GetDeploymentWorkerQueueArgs{...} } +type GetDeploymentWorkerQueueArrayInput interface { + pulumi.Input + + ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput + ToGetDeploymentWorkerQueueArrayOutputWithContext(context.Context) GetDeploymentWorkerQueueArrayOutput +} + +type GetDeploymentWorkerQueueArray []GetDeploymentWorkerQueueInput + +func (GetDeploymentWorkerQueueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentWorkerQueue)(nil)).Elem() +} + +func (i GetDeploymentWorkerQueueArray) ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput { + return i.ToGetDeploymentWorkerQueueArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentWorkerQueueArray) ToGetDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentWorkerQueueArrayOutput) +} + +type GetDeploymentWorkerQueueOutput struct{ *pulumi.OutputState } + +func (GetDeploymentWorkerQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentWorkerQueue)(nil)).Elem() +} + +func (o GetDeploymentWorkerQueueOutput) ToGetDeploymentWorkerQueueOutput() GetDeploymentWorkerQueueOutput { + return o +} + +func (o GetDeploymentWorkerQueueOutput) ToGetDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueOutput { + return o +} + +// Worker queue Astro machine value +func (o GetDeploymentWorkerQueueOutput) AstroMachine() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.AstroMachine }).(pulumi.StringOutput) +} + +// Worker queue identifier +func (o GetDeploymentWorkerQueueOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.Id }).(pulumi.StringOutput) +} + +// Whether Worker queue is default +func (o GetDeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) +} + +// Worker queue max worker count +func (o GetDeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) +} + +// Worker queue min worker count +func (o GetDeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) +} + +// Worker queue name +func (o GetDeploymentWorkerQueueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) +} + +// Worker queue node pool identifier +func (o GetDeploymentWorkerQueueOutput) NodePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.NodePoolId }).(pulumi.StringOutput) +} + +// Worker queue pod CPU +func (o GetDeploymentWorkerQueueOutput) PodCpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.PodCpu }).(pulumi.StringOutput) +} + +// Worker queue pod memory +func (o GetDeploymentWorkerQueueOutput) PodMemory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.PodMemory }).(pulumi.StringOutput) +} + +// Worker queue worker concurrency +func (o GetDeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) +} + +type GetDeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentWorkerQueue)(nil)).Elem() +} + +func (o GetDeploymentWorkerQueueArrayOutput) ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput { + return o +} + +func (o GetDeploymentWorkerQueueArrayOutput) ToGetDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueArrayOutput { + return o +} + +func (o GetDeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) GetDeploymentWorkerQueueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentWorkerQueue { + return vs[0].([]GetDeploymentWorkerQueue)[vs[1].(int)] + }).(GetDeploymentWorkerQueueOutput) +} + +type GetDeploymentsDeployment struct { + // Deployment Airflow version + AirflowVersion string `pulumi:"airflowVersion"` + // Deployment Astro Runtime version + AstroRuntimeVersion string `pulumi:"astroRuntimeVersion"` + // Deployment cloud provider + CloudProvider string `pulumi:"cloudProvider"` + // Deployment cluster identifier + ClusterId string `pulumi:"clusterId"` + // Deployment contact emails + ContactEmails []string `pulumi:"contactEmails"` + // Deployment creation timestamp + CreatedAt string `pulumi:"createdAt"` + // Deployment creator + CreatedBy GetDeploymentsDeploymentCreatedBy `pulumi:"createdBy"` + // Deployment DAG tarball version + DagTarballVersion string `pulumi:"dagTarballVersion"` + // Deployment default task pod CPU + DefaultTaskPodCpu string `pulumi:"defaultTaskPodCpu"` + // Deployment default task pod memory + DefaultTaskPodMemory string `pulumi:"defaultTaskPodMemory"` + // Deployment description + Description string `pulumi:"description"` + // Deployment desired DAG tarball version + DesiredDagTarballVersion string `pulumi:"desiredDagTarballVersion"` + // Deployment environment variables + EnvironmentVariables []GetDeploymentsDeploymentEnvironmentVariable `pulumi:"environmentVariables"` + // Deployment executor + Executor string `pulumi:"executor"` + // Deployment external IPs + ExternalIps []string `pulumi:"externalIps"` + // Deployment identifier + Id string `pulumi:"id"` + // Deployment image repository + ImageRepository string `pulumi:"imageRepository"` + // Deployment image tag + ImageTag string `pulumi:"imageTag"` + // Deployment image version + ImageVersion string `pulumi:"imageVersion"` + // Whether the Deployment enforces CI/CD deploys + IsCicdEnforced bool `pulumi:"isCicdEnforced"` + // Whether DAG deploy is enabled + IsDagDeployEnabled bool `pulumi:"isDagDeployEnabled"` + // Whether Deployment is in development mode + IsDevelopmentMode bool `pulumi:"isDevelopmentMode"` + // Whether Deployment has high availability + IsHighAvailability bool `pulumi:"isHighAvailability"` + // Deployment name + Name string `pulumi:"name"` + // Deployment namespace + Namespace string `pulumi:"namespace"` + // Deployment OIDC issuer URL + OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` + // Deployment region + Region string `pulumi:"region"` + // Deployment resource quota CPU + ResourceQuotaCpu string `pulumi:"resourceQuotaCpu"` + // Deployment resource quota memory + ResourceQuotaMemory string `pulumi:"resourceQuotaMemory"` + // Deployment scaling spec + ScalingSpec GetDeploymentsDeploymentScalingSpec `pulumi:"scalingSpec"` + // Deployment scaling status + ScalingStatus GetDeploymentsDeploymentScalingStatus `pulumi:"scalingStatus"` + // Deployment scheduler AU + SchedulerAu int `pulumi:"schedulerAu"` + // Deployment scheduler CPU + SchedulerCpu string `pulumi:"schedulerCpu"` + // Deployment scheduler memory + SchedulerMemory string `pulumi:"schedulerMemory"` + // Deployment scheduler replicas + SchedulerReplicas int `pulumi:"schedulerReplicas"` + // Deployment scheduler size + SchedulerSize string `pulumi:"schedulerSize"` + // Deployment status + Status string `pulumi:"status"` + // Deployment status reason + StatusReason string `pulumi:"statusReason"` + // Deployment task pod node pool identifier + TaskPodNodePoolId string `pulumi:"taskPodNodePoolId"` + // Deployment type + Type string `pulumi:"type"` + // Deployment last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // Deployment updater + UpdatedBy GetDeploymentsDeploymentUpdatedBy `pulumi:"updatedBy"` + // Deployment webserver Airflow API URL + WebserverAirflowApiUrl string `pulumi:"webserverAirflowApiUrl"` + // Deployment webserver ingress hostname + WebserverIngressHostname string `pulumi:"webserverIngressHostname"` + // Deployment webserver URL + WebserverUrl string `pulumi:"webserverUrl"` + // Deployment worker queues + WorkerQueues []GetDeploymentsDeploymentWorkerQueue `pulumi:"workerQueues"` + // Deployment workload identity + WorkloadIdentity string `pulumi:"workloadIdentity"` + // Deployment workspace identifier + WorkspaceId string `pulumi:"workspaceId"` +} + +// GetDeploymentsDeploymentInput is an input type that accepts GetDeploymentsDeploymentArgs and GetDeploymentsDeploymentOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentInput` via: +// +// GetDeploymentsDeploymentArgs{...} +type GetDeploymentsDeploymentInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput + ToGetDeploymentsDeploymentOutputWithContext(context.Context) GetDeploymentsDeploymentOutput +} + +type GetDeploymentsDeploymentArgs struct { + // Deployment Airflow version + AirflowVersion pulumi.StringInput `pulumi:"airflowVersion"` + // Deployment Astro Runtime version + AstroRuntimeVersion pulumi.StringInput `pulumi:"astroRuntimeVersion"` + // Deployment cloud provider + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` + // Deployment cluster identifier + ClusterId pulumi.StringInput `pulumi:"clusterId"` + // Deployment contact emails + ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"` + // Deployment creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Deployment creator + CreatedBy GetDeploymentsDeploymentCreatedByInput `pulumi:"createdBy"` + // Deployment DAG tarball version + DagTarballVersion pulumi.StringInput `pulumi:"dagTarballVersion"` + // Deployment default task pod CPU + DefaultTaskPodCpu pulumi.StringInput `pulumi:"defaultTaskPodCpu"` + // Deployment default task pod memory + DefaultTaskPodMemory pulumi.StringInput `pulumi:"defaultTaskPodMemory"` + // Deployment description + Description pulumi.StringInput `pulumi:"description"` + // Deployment desired DAG tarball version + DesiredDagTarballVersion pulumi.StringInput `pulumi:"desiredDagTarballVersion"` + // Deployment environment variables + EnvironmentVariables GetDeploymentsDeploymentEnvironmentVariableArrayInput `pulumi:"environmentVariables"` + // Deployment executor + Executor pulumi.StringInput `pulumi:"executor"` + // Deployment external IPs + ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` + // Deployment identifier + Id pulumi.StringInput `pulumi:"id"` + // Deployment image repository + ImageRepository pulumi.StringInput `pulumi:"imageRepository"` + // Deployment image tag + ImageTag pulumi.StringInput `pulumi:"imageTag"` + // Deployment image version + ImageVersion pulumi.StringInput `pulumi:"imageVersion"` + // Whether the Deployment enforces CI/CD deploys + IsCicdEnforced pulumi.BoolInput `pulumi:"isCicdEnforced"` + // Whether DAG deploy is enabled + IsDagDeployEnabled pulumi.BoolInput `pulumi:"isDagDeployEnabled"` + // Whether Deployment is in development mode + IsDevelopmentMode pulumi.BoolInput `pulumi:"isDevelopmentMode"` + // Whether Deployment has high availability + IsHighAvailability pulumi.BoolInput `pulumi:"isHighAvailability"` + // Deployment name + Name pulumi.StringInput `pulumi:"name"` + // Deployment namespace + Namespace pulumi.StringInput `pulumi:"namespace"` + // Deployment OIDC issuer URL + OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` + // Deployment region + Region pulumi.StringInput `pulumi:"region"` + // Deployment resource quota CPU + ResourceQuotaCpu pulumi.StringInput `pulumi:"resourceQuotaCpu"` + // Deployment resource quota memory + ResourceQuotaMemory pulumi.StringInput `pulumi:"resourceQuotaMemory"` + // Deployment scaling spec + ScalingSpec GetDeploymentsDeploymentScalingSpecInput `pulumi:"scalingSpec"` + // Deployment scaling status + ScalingStatus GetDeploymentsDeploymentScalingStatusInput `pulumi:"scalingStatus"` + // Deployment scheduler AU + SchedulerAu pulumi.IntInput `pulumi:"schedulerAu"` + // Deployment scheduler CPU + SchedulerCpu pulumi.StringInput `pulumi:"schedulerCpu"` + // Deployment scheduler memory + SchedulerMemory pulumi.StringInput `pulumi:"schedulerMemory"` + // Deployment scheduler replicas + SchedulerReplicas pulumi.IntInput `pulumi:"schedulerReplicas"` + // Deployment scheduler size + SchedulerSize pulumi.StringInput `pulumi:"schedulerSize"` + // Deployment status + Status pulumi.StringInput `pulumi:"status"` + // Deployment status reason + StatusReason pulumi.StringInput `pulumi:"statusReason"` + // Deployment task pod node pool identifier + TaskPodNodePoolId pulumi.StringInput `pulumi:"taskPodNodePoolId"` + // Deployment type + Type pulumi.StringInput `pulumi:"type"` + // Deployment last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // Deployment updater + UpdatedBy GetDeploymentsDeploymentUpdatedByInput `pulumi:"updatedBy"` + // Deployment webserver Airflow API URL + WebserverAirflowApiUrl pulumi.StringInput `pulumi:"webserverAirflowApiUrl"` + // Deployment webserver ingress hostname + WebserverIngressHostname pulumi.StringInput `pulumi:"webserverIngressHostname"` + // Deployment webserver URL + WebserverUrl pulumi.StringInput `pulumi:"webserverUrl"` + // Deployment worker queues + WorkerQueues GetDeploymentsDeploymentWorkerQueueArrayInput `pulumi:"workerQueues"` + // Deployment workload identity + WorkloadIdentity pulumi.StringInput `pulumi:"workloadIdentity"` + // Deployment workspace identifier + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` +} + +func (GetDeploymentsDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeployment)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentArgs) ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput { + return i.ToGetDeploymentsDeploymentOutputWithContext(context.Background()) +} + +func (i GetDeploymentsDeploymentArgs) ToGetDeploymentsDeploymentOutputWithContext(ctx context.Context) GetDeploymentsDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentOutput) +} + +// GetDeploymentsDeploymentArrayInput is an input type that accepts GetDeploymentsDeploymentArray and GetDeploymentsDeploymentArrayOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentArrayInput` via: +// +// GetDeploymentsDeploymentArray{ GetDeploymentsDeploymentArgs{...} } +type GetDeploymentsDeploymentArrayInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput + ToGetDeploymentsDeploymentArrayOutputWithContext(context.Context) GetDeploymentsDeploymentArrayOutput +} + +type GetDeploymentsDeploymentArray []GetDeploymentsDeploymentInput + +func (GetDeploymentsDeploymentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeployment)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentArray) ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput { + return i.ToGetDeploymentsDeploymentArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentsDeploymentArray) ToGetDeploymentsDeploymentArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentArrayOutput) +} + +type GetDeploymentsDeploymentOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeployment)(nil)).Elem() +} + +func (o GetDeploymentsDeploymentOutput) ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput { + return o +} + +func (o GetDeploymentsDeploymentOutput) ToGetDeploymentsDeploymentOutputWithContext(ctx context.Context) GetDeploymentsDeploymentOutput { + return o +} + +// Deployment Airflow version +func (o GetDeploymentsDeploymentOutput) AirflowVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.AirflowVersion }).(pulumi.StringOutput) +} + +// Deployment Astro Runtime version +func (o GetDeploymentsDeploymentOutput) AstroRuntimeVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.AstroRuntimeVersion }).(pulumi.StringOutput) +} + +// Deployment cloud provider +func (o GetDeploymentsDeploymentOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.CloudProvider }).(pulumi.StringOutput) +} + +// Deployment cluster identifier +func (o GetDeploymentsDeploymentOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ClusterId }).(pulumi.StringOutput) +} + +// Deployment contact emails +func (o GetDeploymentsDeploymentOutput) ContactEmails() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) []string { return v.ContactEmails }).(pulumi.StringArrayOutput) +} + +// Deployment creation timestamp +func (o GetDeploymentsDeploymentOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Deployment creator +func (o GetDeploymentsDeploymentOutput) CreatedBy() GetDeploymentsDeploymentCreatedByOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentCreatedBy { return v.CreatedBy }).(GetDeploymentsDeploymentCreatedByOutput) +} + +// Deployment DAG tarball version +func (o GetDeploymentsDeploymentOutput) DagTarballVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DagTarballVersion }).(pulumi.StringOutput) +} + +// Deployment default task pod CPU +func (o GetDeploymentsDeploymentOutput) DefaultTaskPodCpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DefaultTaskPodCpu }).(pulumi.StringOutput) +} + +// Deployment default task pod memory +func (o GetDeploymentsDeploymentOutput) DefaultTaskPodMemory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DefaultTaskPodMemory }).(pulumi.StringOutput) +} + +// Deployment description +func (o GetDeploymentsDeploymentOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Description }).(pulumi.StringOutput) +} + +// Deployment desired DAG tarball version +func (o GetDeploymentsDeploymentOutput) DesiredDagTarballVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DesiredDagTarballVersion }).(pulumi.StringOutput) +} + +// Deployment environment variables +func (o GetDeploymentsDeploymentOutput) EnvironmentVariables() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) []GetDeploymentsDeploymentEnvironmentVariable { + return v.EnvironmentVariables + }).(GetDeploymentsDeploymentEnvironmentVariableArrayOutput) +} + +// Deployment executor +func (o GetDeploymentsDeploymentOutput) Executor() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Executor }).(pulumi.StringOutput) +} + +// Deployment external IPs +func (o GetDeploymentsDeploymentOutput) ExternalIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +} + +// Deployment identifier +func (o GetDeploymentsDeploymentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Id }).(pulumi.StringOutput) +} + +// Deployment image repository +func (o GetDeploymentsDeploymentOutput) ImageRepository() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageRepository }).(pulumi.StringOutput) +} + +// Deployment image tag +func (o GetDeploymentsDeploymentOutput) ImageTag() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageTag }).(pulumi.StringOutput) +} + +// Deployment image version +func (o GetDeploymentsDeploymentOutput) ImageVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageVersion }).(pulumi.StringOutput) +} + +// Whether the Deployment enforces CI/CD deploys +func (o GetDeploymentsDeploymentOutput) IsCicdEnforced() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsCicdEnforced }).(pulumi.BoolOutput) +} + +// Whether DAG deploy is enabled +func (o GetDeploymentsDeploymentOutput) IsDagDeployEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsDagDeployEnabled }).(pulumi.BoolOutput) +} + +// Whether Deployment is in development mode +func (o GetDeploymentsDeploymentOutput) IsDevelopmentMode() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsDevelopmentMode }).(pulumi.BoolOutput) +} + +// Whether Deployment has high availability +func (o GetDeploymentsDeploymentOutput) IsHighAvailability() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsHighAvailability }).(pulumi.BoolOutput) +} + +// Deployment name +func (o GetDeploymentsDeploymentOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Name }).(pulumi.StringOutput) +} + +// Deployment namespace +func (o GetDeploymentsDeploymentOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Namespace }).(pulumi.StringOutput) +} + +// Deployment OIDC issuer URL +func (o GetDeploymentsDeploymentOutput) OidcIssuerUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) +} + +// Deployment region +func (o GetDeploymentsDeploymentOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Region }).(pulumi.StringOutput) +} + +// Deployment resource quota CPU +func (o GetDeploymentsDeploymentOutput) ResourceQuotaCpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ResourceQuotaCpu }).(pulumi.StringOutput) +} + +// Deployment resource quota memory +func (o GetDeploymentsDeploymentOutput) ResourceQuotaMemory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ResourceQuotaMemory }).(pulumi.StringOutput) +} + +// Deployment scaling spec +func (o GetDeploymentsDeploymentOutput) ScalingSpec() GetDeploymentsDeploymentScalingSpecOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentScalingSpec { return v.ScalingSpec }).(GetDeploymentsDeploymentScalingSpecOutput) +} + +// Deployment scaling status +func (o GetDeploymentsDeploymentOutput) ScalingStatus() GetDeploymentsDeploymentScalingStatusOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentScalingStatus { return v.ScalingStatus }).(GetDeploymentsDeploymentScalingStatusOutput) +} + +// Deployment scheduler AU +func (o GetDeploymentsDeploymentOutput) SchedulerAu() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) int { return v.SchedulerAu }).(pulumi.IntOutput) +} + +// Deployment scheduler CPU +func (o GetDeploymentsDeploymentOutput) SchedulerCpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerCpu }).(pulumi.StringOutput) +} + +// Deployment scheduler memory +func (o GetDeploymentsDeploymentOutput) SchedulerMemory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerMemory }).(pulumi.StringOutput) +} + +// Deployment scheduler replicas +func (o GetDeploymentsDeploymentOutput) SchedulerReplicas() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) int { return v.SchedulerReplicas }).(pulumi.IntOutput) +} + +// Deployment scheduler size +func (o GetDeploymentsDeploymentOutput) SchedulerSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerSize }).(pulumi.StringOutput) +} + +// Deployment status +func (o GetDeploymentsDeploymentOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Status }).(pulumi.StringOutput) +} + +// Deployment status reason +func (o GetDeploymentsDeploymentOutput) StatusReason() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.StatusReason }).(pulumi.StringOutput) +} + +// Deployment task pod node pool identifier +func (o GetDeploymentsDeploymentOutput) TaskPodNodePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.TaskPodNodePoolId }).(pulumi.StringOutput) +} + +// Deployment type +func (o GetDeploymentsDeploymentOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Type }).(pulumi.StringOutput) +} + +// Deployment last updated timestamp +func (o GetDeploymentsDeploymentOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Deployment updater +func (o GetDeploymentsDeploymentOutput) UpdatedBy() GetDeploymentsDeploymentUpdatedByOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentUpdatedBy { return v.UpdatedBy }).(GetDeploymentsDeploymentUpdatedByOutput) +} + +// Deployment webserver Airflow API URL +func (o GetDeploymentsDeploymentOutput) WebserverAirflowApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverAirflowApiUrl }).(pulumi.StringOutput) +} + +// Deployment webserver ingress hostname +func (o GetDeploymentsDeploymentOutput) WebserverIngressHostname() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverIngressHostname }).(pulumi.StringOutput) +} + +// Deployment webserver URL +func (o GetDeploymentsDeploymentOutput) WebserverUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverUrl }).(pulumi.StringOutput) +} + +// Deployment worker queues +func (o GetDeploymentsDeploymentOutput) WorkerQueues() GetDeploymentsDeploymentWorkerQueueArrayOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) []GetDeploymentsDeploymentWorkerQueue { return v.WorkerQueues }).(GetDeploymentsDeploymentWorkerQueueArrayOutput) +} -// Worker queue pod memory -func (o GetDeploymentWorkerQueueOutput) PodMemory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) string { return v.PodMemory }).(pulumi.StringOutput) +// Deployment workload identity +func (o GetDeploymentsDeploymentOutput) WorkloadIdentity() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WorkloadIdentity }).(pulumi.StringOutput) } -// Worker queue worker concurrency -func (o GetDeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) +// Deployment workspace identifier +func (o GetDeploymentsDeploymentOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WorkspaceId }).(pulumi.StringOutput) } -type GetDeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } +type GetDeploymentsDeploymentArrayOutput struct{ *pulumi.OutputState } -func (GetDeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentWorkerQueue)(nil)).Elem() +func (GetDeploymentsDeploymentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeployment)(nil)).Elem() } -func (o GetDeploymentWorkerQueueArrayOutput) ToGetDeploymentWorkerQueueArrayOutput() GetDeploymentWorkerQueueArrayOutput { +func (o GetDeploymentsDeploymentArrayOutput) ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput { return o } -func (o GetDeploymentWorkerQueueArrayOutput) ToGetDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentWorkerQueueArrayOutput { +func (o GetDeploymentsDeploymentArrayOutput) ToGetDeploymentsDeploymentArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentArrayOutput { + return o +} + +func (o GetDeploymentsDeploymentArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeployment { + return vs[0].([]GetDeploymentsDeployment)[vs[1].(int)] + }).(GetDeploymentsDeploymentOutput) +} + +type GetDeploymentsDeploymentCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` +} + +// GetDeploymentsDeploymentCreatedByInput is an input type that accepts GetDeploymentsDeploymentCreatedByArgs and GetDeploymentsDeploymentCreatedByOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentCreatedByInput` via: +// +// GetDeploymentsDeploymentCreatedByArgs{...} +type GetDeploymentsDeploymentCreatedByInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput + ToGetDeploymentsDeploymentCreatedByOutputWithContext(context.Context) GetDeploymentsDeploymentCreatedByOutput +} + +type GetDeploymentsDeploymentCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetDeploymentsDeploymentCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentCreatedBy)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentCreatedByArgs) ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput { + return i.ToGetDeploymentsDeploymentCreatedByOutputWithContext(context.Background()) +} + +func (i GetDeploymentsDeploymentCreatedByArgs) ToGetDeploymentsDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentCreatedByOutput) +} + +type GetDeploymentsDeploymentCreatedByOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentCreatedBy)(nil)).Elem() +} + +func (o GetDeploymentsDeploymentCreatedByOutput) ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput { + return o +} + +func (o GetDeploymentsDeploymentCreatedByOutput) ToGetDeploymentsDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentCreatedByOutput { + return o +} + +func (o GetDeploymentsDeploymentCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +} + +func (o GetDeploymentsDeploymentCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +} + +func (o GetDeploymentsDeploymentCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +} + +func (o GetDeploymentsDeploymentCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDeploymentsDeploymentCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +} + +func (o GetDeploymentsDeploymentCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.Username }).(pulumi.StringOutput) +} + +type GetDeploymentsDeploymentEnvironmentVariable struct { + // Whether Environment variable is a secret + IsSecret bool `pulumi:"isSecret"` + // Environment variable key + Key string `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // Environment variable value + Value string `pulumi:"value"` +} + +// GetDeploymentsDeploymentEnvironmentVariableInput is an input type that accepts GetDeploymentsDeploymentEnvironmentVariableArgs and GetDeploymentsDeploymentEnvironmentVariableOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentEnvironmentVariableInput` via: +// +// GetDeploymentsDeploymentEnvironmentVariableArgs{...} +type GetDeploymentsDeploymentEnvironmentVariableInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput + ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput +} + +type GetDeploymentsDeploymentEnvironmentVariableArgs struct { + // Whether Environment variable is a secret + IsSecret pulumi.BoolInput `pulumi:"isSecret"` + // Environment variable key + Key pulumi.StringInput `pulumi:"key"` + // Environment variable last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // Environment variable value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetDeploymentsDeploymentEnvironmentVariableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentEnvironmentVariableArgs) ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput { + return i.ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(context.Background()) +} + +func (i GetDeploymentsDeploymentEnvironmentVariableArgs) ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentEnvironmentVariableOutput) +} + +// GetDeploymentsDeploymentEnvironmentVariableArrayInput is an input type that accepts GetDeploymentsDeploymentEnvironmentVariableArray and GetDeploymentsDeploymentEnvironmentVariableArrayOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentEnvironmentVariableArrayInput` via: +// +// GetDeploymentsDeploymentEnvironmentVariableArray{ GetDeploymentsDeploymentEnvironmentVariableArgs{...} } +type GetDeploymentsDeploymentEnvironmentVariableArrayInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput + ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput +} + +type GetDeploymentsDeploymentEnvironmentVariableArray []GetDeploymentsDeploymentEnvironmentVariableInput + +func (GetDeploymentsDeploymentEnvironmentVariableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentEnvironmentVariableArray) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { + return i.ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentsDeploymentEnvironmentVariableArray) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentEnvironmentVariableArrayOutput) +} + +type GetDeploymentsDeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentEnvironmentVariableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput { + return o +} + +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput { + return o +} + +// Whether Environment variable is a secret +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) +} + +// Environment variable key +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) +} + +// Environment variable last updated timestamp +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Environment variable value +func (o GetDeploymentsDeploymentEnvironmentVariableOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.Value }).(pulumi.StringOutput) +} + +type GetDeploymentsDeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +} + +func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { return o } -func (o GetDeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) GetDeploymentWorkerQueueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentWorkerQueue { - return vs[0].([]GetDeploymentWorkerQueue)[vs[1].(int)] - }).(GetDeploymentWorkerQueueOutput) +func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput { + return o +} + +func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentEnvironmentVariableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentEnvironmentVariable { + return vs[0].([]GetDeploymentsDeploymentEnvironmentVariable)[vs[1].(int)] + }).(GetDeploymentsDeploymentEnvironmentVariableOutput) +} + +type GetDeploymentsDeploymentScalingSpec struct { + HibernationSpec GetDeploymentsDeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` +} + +// GetDeploymentsDeploymentScalingSpecInput is an input type that accepts GetDeploymentsDeploymentScalingSpecArgs and GetDeploymentsDeploymentScalingSpecOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecInput` via: +// +// GetDeploymentsDeploymentScalingSpecArgs{...} +type GetDeploymentsDeploymentScalingSpecInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput + ToGetDeploymentsDeploymentScalingSpecOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecOutput +} + +type GetDeploymentsDeploymentScalingSpecArgs struct { + HibernationSpec GetDeploymentsDeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` +} + +func (GetDeploymentsDeploymentScalingSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpec)(nil)).Elem() +} + +func (i GetDeploymentsDeploymentScalingSpecArgs) ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput { + return i.ToGetDeploymentsDeploymentScalingSpecOutputWithContext(context.Background()) } -type GetDeploymentsDeployment struct { - // Deployment Airflow version - AirflowVersion string `pulumi:"airflowVersion"` - // Deployment Astro Runtime version - AstroRuntimeVersion string `pulumi:"astroRuntimeVersion"` - // Deployment cloud provider - CloudProvider string `pulumi:"cloudProvider"` - // Deployment cluster identifier - ClusterId string `pulumi:"clusterId"` - // Deployment contact emails - ContactEmails []string `pulumi:"contactEmails"` - // Deployment creation timestamp - CreatedAt string `pulumi:"createdAt"` - // Deployment creator - CreatedBy GetDeploymentsDeploymentCreatedBy `pulumi:"createdBy"` - // Deployment DAG tarball version - DagTarballVersion string `pulumi:"dagTarballVersion"` - // Deployment default task pod CPU - DefaultTaskPodCpu string `pulumi:"defaultTaskPodCpu"` - // Deployment default task pod memory - DefaultTaskPodMemory string `pulumi:"defaultTaskPodMemory"` - // Deployment description - Description string `pulumi:"description"` - // Deployment desired DAG tarball version - DesiredDagTarballVersion string `pulumi:"desiredDagTarballVersion"` - // Deployment environment variables - EnvironmentVariables []GetDeploymentsDeploymentEnvironmentVariable `pulumi:"environmentVariables"` - // Deployment executor - Executor string `pulumi:"executor"` - // Deployment external IPs - ExternalIps []string `pulumi:"externalIps"` - // Deployment identifier - Id string `pulumi:"id"` - // Deployment image repository - ImageRepository string `pulumi:"imageRepository"` - // Deployment image tag - ImageTag string `pulumi:"imageTag"` - // Deployment image version - ImageVersion string `pulumi:"imageVersion"` - // Whether the Deployment enforces CI/CD deploys - IsCicdEnforced bool `pulumi:"isCicdEnforced"` - // Whether DAG deploy is enabled - IsDagDeployEnabled bool `pulumi:"isDagDeployEnabled"` - // Whether Deployment is in development mode - IsDevelopmentMode bool `pulumi:"isDevelopmentMode"` - // Whether Deployment has high availability - IsHighAvailability bool `pulumi:"isHighAvailability"` - // Deployment name - Name string `pulumi:"name"` - // Deployment namespace - Namespace string `pulumi:"namespace"` - // Deployment OIDC issuer URL - OidcIssuerUrl string `pulumi:"oidcIssuerUrl"` - // Deployment region - Region string `pulumi:"region"` - // Deployment resource quota CPU - ResourceQuotaCpu string `pulumi:"resourceQuotaCpu"` - // Deployment resource quota memory - ResourceQuotaMemory string `pulumi:"resourceQuotaMemory"` - // Deployment scaling spec - ScalingSpec GetDeploymentsDeploymentScalingSpec `pulumi:"scalingSpec"` - // Deployment scaling status - ScalingStatus GetDeploymentsDeploymentScalingStatus `pulumi:"scalingStatus"` - // Deployment scheduler AU - SchedulerAu int `pulumi:"schedulerAu"` - // Deployment scheduler CPU - SchedulerCpu string `pulumi:"schedulerCpu"` - // Deployment scheduler memory - SchedulerMemory string `pulumi:"schedulerMemory"` - // Deployment scheduler replicas - SchedulerReplicas int `pulumi:"schedulerReplicas"` - // Deployment scheduler size - SchedulerSize string `pulumi:"schedulerSize"` - // Deployment status - Status string `pulumi:"status"` - // Deployment status reason - StatusReason string `pulumi:"statusReason"` - // Deployment task pod node pool identifier - TaskPodNodePoolId string `pulumi:"taskPodNodePoolId"` - // Deployment type - Type string `pulumi:"type"` - // Deployment last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` - // Deployment updater - UpdatedBy GetDeploymentsDeploymentUpdatedBy `pulumi:"updatedBy"` - // Deployment webserver Airflow API URL - WebserverAirflowApiUrl string `pulumi:"webserverAirflowApiUrl"` - // Deployment webserver ingress hostname - WebserverIngressHostname string `pulumi:"webserverIngressHostname"` - // Deployment webserver URL - WebserverUrl string `pulumi:"webserverUrl"` - // Deployment worker queues - WorkerQueues []GetDeploymentsDeploymentWorkerQueue `pulumi:"workerQueues"` - // Deployment workload identity - WorkloadIdentity string `pulumi:"workloadIdentity"` - // Deployment workspace identifier - WorkspaceId string `pulumi:"workspaceId"` +func (i GetDeploymentsDeploymentScalingSpecArgs) ToGetDeploymentsDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecOutput) } -// GetDeploymentsDeploymentInput is an input type that accepts GetDeploymentsDeploymentArgs and GetDeploymentsDeploymentOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentInput` via: -// -// GetDeploymentsDeploymentArgs{...} -type GetDeploymentsDeploymentInput interface { - pulumi.Input +type GetDeploymentsDeploymentScalingSpecOutput struct{ *pulumi.OutputState } - ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput - ToGetDeploymentsDeploymentOutputWithContext(context.Context) GetDeploymentsDeploymentOutput +func (GetDeploymentsDeploymentScalingSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpec)(nil)).Elem() } -type GetDeploymentsDeploymentArgs struct { - // Deployment Airflow version - AirflowVersion pulumi.StringInput `pulumi:"airflowVersion"` - // Deployment Astro Runtime version - AstroRuntimeVersion pulumi.StringInput `pulumi:"astroRuntimeVersion"` - // Deployment cloud provider - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` - // Deployment cluster identifier - ClusterId pulumi.StringInput `pulumi:"clusterId"` - // Deployment contact emails - ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"` - // Deployment creation timestamp - CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Deployment creator - CreatedBy GetDeploymentsDeploymentCreatedByInput `pulumi:"createdBy"` - // Deployment DAG tarball version - DagTarballVersion pulumi.StringInput `pulumi:"dagTarballVersion"` - // Deployment default task pod CPU - DefaultTaskPodCpu pulumi.StringInput `pulumi:"defaultTaskPodCpu"` - // Deployment default task pod memory - DefaultTaskPodMemory pulumi.StringInput `pulumi:"defaultTaskPodMemory"` - // Deployment description - Description pulumi.StringInput `pulumi:"description"` - // Deployment desired DAG tarball version - DesiredDagTarballVersion pulumi.StringInput `pulumi:"desiredDagTarballVersion"` - // Deployment environment variables - EnvironmentVariables GetDeploymentsDeploymentEnvironmentVariableArrayInput `pulumi:"environmentVariables"` - // Deployment executor - Executor pulumi.StringInput `pulumi:"executor"` - // Deployment external IPs - ExternalIps pulumi.StringArrayInput `pulumi:"externalIps"` - // Deployment identifier - Id pulumi.StringInput `pulumi:"id"` - // Deployment image repository - ImageRepository pulumi.StringInput `pulumi:"imageRepository"` - // Deployment image tag - ImageTag pulumi.StringInput `pulumi:"imageTag"` - // Deployment image version - ImageVersion pulumi.StringInput `pulumi:"imageVersion"` - // Whether the Deployment enforces CI/CD deploys - IsCicdEnforced pulumi.BoolInput `pulumi:"isCicdEnforced"` - // Whether DAG deploy is enabled - IsDagDeployEnabled pulumi.BoolInput `pulumi:"isDagDeployEnabled"` - // Whether Deployment is in development mode - IsDevelopmentMode pulumi.BoolInput `pulumi:"isDevelopmentMode"` - // Whether Deployment has high availability - IsHighAvailability pulumi.BoolInput `pulumi:"isHighAvailability"` - // Deployment name - Name pulumi.StringInput `pulumi:"name"` - // Deployment namespace - Namespace pulumi.StringInput `pulumi:"namespace"` - // Deployment OIDC issuer URL - OidcIssuerUrl pulumi.StringInput `pulumi:"oidcIssuerUrl"` - // Deployment region - Region pulumi.StringInput `pulumi:"region"` - // Deployment resource quota CPU - ResourceQuotaCpu pulumi.StringInput `pulumi:"resourceQuotaCpu"` - // Deployment resource quota memory - ResourceQuotaMemory pulumi.StringInput `pulumi:"resourceQuotaMemory"` - // Deployment scaling spec - ScalingSpec GetDeploymentsDeploymentScalingSpecInput `pulumi:"scalingSpec"` - // Deployment scaling status - ScalingStatus GetDeploymentsDeploymentScalingStatusInput `pulumi:"scalingStatus"` - // Deployment scheduler AU - SchedulerAu pulumi.IntInput `pulumi:"schedulerAu"` - // Deployment scheduler CPU - SchedulerCpu pulumi.StringInput `pulumi:"schedulerCpu"` - // Deployment scheduler memory - SchedulerMemory pulumi.StringInput `pulumi:"schedulerMemory"` - // Deployment scheduler replicas - SchedulerReplicas pulumi.IntInput `pulumi:"schedulerReplicas"` - // Deployment scheduler size - SchedulerSize pulumi.StringInput `pulumi:"schedulerSize"` - // Deployment status - Status pulumi.StringInput `pulumi:"status"` - // Deployment status reason - StatusReason pulumi.StringInput `pulumi:"statusReason"` - // Deployment task pod node pool identifier - TaskPodNodePoolId pulumi.StringInput `pulumi:"taskPodNodePoolId"` - // Deployment type - Type pulumi.StringInput `pulumi:"type"` - // Deployment last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // Deployment updater - UpdatedBy GetDeploymentsDeploymentUpdatedByInput `pulumi:"updatedBy"` - // Deployment webserver Airflow API URL - WebserverAirflowApiUrl pulumi.StringInput `pulumi:"webserverAirflowApiUrl"` - // Deployment webserver ingress hostname - WebserverIngressHostname pulumi.StringInput `pulumi:"webserverIngressHostname"` - // Deployment webserver URL - WebserverUrl pulumi.StringInput `pulumi:"webserverUrl"` - // Deployment worker queues - WorkerQueues GetDeploymentsDeploymentWorkerQueueArrayInput `pulumi:"workerQueues"` - // Deployment workload identity - WorkloadIdentity pulumi.StringInput `pulumi:"workloadIdentity"` - // Deployment workspace identifier - WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` +func (o GetDeploymentsDeploymentScalingSpecOutput) ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput { + return o } -func (GetDeploymentsDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeployment)(nil)).Elem() +func (o GetDeploymentsDeploymentScalingSpecOutput) ToGetDeploymentsDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecOutput { + return o } -func (i GetDeploymentsDeploymentArgs) ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput { - return i.ToGetDeploymentsDeploymentOutputWithContext(context.Background()) +func (o GetDeploymentsDeploymentScalingSpecOutput) HibernationSpec() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpec) GetDeploymentsDeploymentScalingSpecHibernationSpec { + return v.HibernationSpec + }).(GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) } -func (i GetDeploymentsDeploymentArgs) ToGetDeploymentsDeploymentOutputWithContext(ctx context.Context) GetDeploymentsDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpec struct { + Override GetDeploymentsDeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` + Schedules []GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` } -// GetDeploymentsDeploymentArrayInput is an input type that accepts GetDeploymentsDeploymentArray and GetDeploymentsDeploymentArrayOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentArrayInput` via: +// GetDeploymentsDeploymentScalingSpecHibernationSpecInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecInput` via: // -// GetDeploymentsDeploymentArray{ GetDeploymentsDeploymentArgs{...} } -type GetDeploymentsDeploymentArrayInput interface { +// GetDeploymentsDeploymentScalingSpecHibernationSpecArgs{...} +type GetDeploymentsDeploymentScalingSpecHibernationSpecInput interface { pulumi.Input - ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput - ToGetDeploymentsDeploymentArrayOutputWithContext(context.Context) GetDeploymentsDeploymentArrayOutput + ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput + ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput } -type GetDeploymentsDeploymentArray []GetDeploymentsDeploymentInput +type GetDeploymentsDeploymentScalingSpecHibernationSpecArgs struct { + Override GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput `pulumi:"override"` + Schedules GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` +} -func (GetDeploymentsDeploymentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeployment)(nil)).Elem() +func (GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (i GetDeploymentsDeploymentArray) ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput { - return i.ToGetDeploymentsDeploymentArrayOutputWithContext(context.Background()) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { + return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentArray) ToGetDeploymentsDeploymentArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentArrayOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) } -type GetDeploymentsDeploymentOutput struct{ *pulumi.OutputState } +type GetDeploymentsDeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeployment)(nil)).Elem() +func (GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpec)(nil)).Elem() } -func (o GetDeploymentsDeploymentOutput) ToGetDeploymentsDeploymentOutput() GetDeploymentsDeploymentOutput { +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { return o } -func (o GetDeploymentsDeploymentOutput) ToGetDeploymentsDeploymentOutputWithContext(ctx context.Context) GetDeploymentsDeploymentOutput { +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { return o } -// Deployment Airflow version -func (o GetDeploymentsDeploymentOutput) AirflowVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.AirflowVersion }).(pulumi.StringOutput) -} - -// Deployment Astro Runtime version -func (o GetDeploymentsDeploymentOutput) AstroRuntimeVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.AstroRuntimeVersion }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) Override() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpec) GetDeploymentsDeploymentScalingSpecHibernationSpecOverride { + return v.Override + }).(GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) } -// Deployment cloud provider -func (o GetDeploymentsDeploymentOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.CloudProvider }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) Schedules() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpec) []GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule { + return v.Schedules + }).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) } -// Deployment cluster identifier -func (o GetDeploymentsDeploymentOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ClusterId }).(pulumi.StringOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpecOverride struct { + // Whether the override is active + IsActive bool `pulumi:"isActive"` + // Whether the override is hibernating + IsHibernating bool `pulumi:"isHibernating"` + // Time until the override is active + OverrideUntil string `pulumi:"overrideUntil"` } -// Deployment contact emails -func (o GetDeploymentsDeploymentOutput) ContactEmails() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) []string { return v.ContactEmails }).(pulumi.StringArrayOutput) -} +// GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput` via: +// +// GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs{...} +type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput interface { + pulumi.Input -// Deployment creation timestamp -func (o GetDeploymentsDeploymentOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.CreatedAt }).(pulumi.StringOutput) + ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput + ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput } -// Deployment creator -func (o GetDeploymentsDeploymentOutput) CreatedBy() GetDeploymentsDeploymentCreatedByOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentCreatedBy { return v.CreatedBy }).(GetDeploymentsDeploymentCreatedByOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs struct { + // Whether the override is active + IsActive pulumi.BoolInput `pulumi:"isActive"` + // Whether the override is hibernating + IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` + // Time until the override is active + OverrideUntil pulumi.StringInput `pulumi:"overrideUntil"` } -// Deployment DAG tarball version -func (o GetDeploymentsDeploymentOutput) DagTarballVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DagTarballVersion }).(pulumi.StringOutput) +func (GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -// Deployment default task pod CPU -func (o GetDeploymentsDeploymentOutput) DefaultTaskPodCpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DefaultTaskPodCpu }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { + return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) } -// Deployment default task pod memory -func (o GetDeploymentsDeploymentOutput) DefaultTaskPodMemory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DefaultTaskPodMemory }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) } -// Deployment description -func (o GetDeploymentsDeploymentOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Description }).(pulumi.StringOutput) -} +type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } -// Deployment desired DAG tarball version -func (o GetDeploymentsDeploymentOutput) DesiredDagTarballVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.DesiredDagTarballVersion }).(pulumi.StringOutput) +func (GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() } -// Deployment environment variables -func (o GetDeploymentsDeploymentOutput) EnvironmentVariables() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) []GetDeploymentsDeploymentEnvironmentVariable { - return v.EnvironmentVariables - }).(GetDeploymentsDeploymentEnvironmentVariableArrayOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { + return o } -// Deployment executor -func (o GetDeploymentsDeploymentOutput) Executor() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Executor }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { + return o } -// Deployment external IPs -func (o GetDeploymentsDeploymentOutput) ExternalIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) []string { return v.ExternalIps }).(pulumi.StringArrayOutput) +// Whether the override is active +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsActive }).(pulumi.BoolOutput) } -// Deployment identifier -func (o GetDeploymentsDeploymentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Id }).(pulumi.StringOutput) +// Whether the override is hibernating +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) } -// Deployment image repository -func (o GetDeploymentsDeploymentOutput) ImageRepository() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageRepository }).(pulumi.StringOutput) +// Time until the override is active +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) string { return v.OverrideUntil }).(pulumi.StringOutput) } -// Deployment image tag -func (o GetDeploymentsDeploymentOutput) ImageTag() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageTag }).(pulumi.StringOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule struct { + // Description of the schedule + Description string `pulumi:"description"` + // Cron expression for hibernation + HibernateAtCron string `pulumi:"hibernateAtCron"` + // Whether the schedule is enabled + IsEnabled bool `pulumi:"isEnabled"` + // Cron expression for waking + WakeAtCron string `pulumi:"wakeAtCron"` } -// Deployment image version -func (o GetDeploymentsDeploymentOutput) ImageVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ImageVersion }).(pulumi.StringOutput) -} +// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput` via: +// +// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs{...} +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput interface { + pulumi.Input -// Whether the Deployment enforces CI/CD deploys -func (o GetDeploymentsDeploymentOutput) IsCicdEnforced() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsCicdEnforced }).(pulumi.BoolOutput) + ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput + ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput } -// Whether DAG deploy is enabled -func (o GetDeploymentsDeploymentOutput) IsDagDeployEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsDagDeployEnabled }).(pulumi.BoolOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs struct { + // Description of the schedule + Description pulumi.StringInput `pulumi:"description"` + // Cron expression for hibernation + HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` + // Whether the schedule is enabled + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` + // Cron expression for waking + WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` } -// Whether Deployment is in development mode -func (o GetDeploymentsDeploymentOutput) IsDevelopmentMode() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsDevelopmentMode }).(pulumi.BoolOutput) +func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -// Whether Deployment has high availability -func (o GetDeploymentsDeploymentOutput) IsHighAvailability() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) bool { return v.IsHighAvailability }).(pulumi.BoolOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { + return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) } -// Deployment name -func (o GetDeploymentsDeploymentOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Name }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) } -// Deployment namespace -func (o GetDeploymentsDeploymentOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Namespace }).(pulumi.StringOutput) -} +// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray and GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput` via: +// +// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray{ GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs{...} } +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput interface { + pulumi.Input -// Deployment OIDC issuer URL -func (o GetDeploymentsDeploymentOutput) OidcIssuerUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.OidcIssuerUrl }).(pulumi.StringOutput) + ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput + ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput } -// Deployment region -func (o GetDeploymentsDeploymentOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Region }).(pulumi.StringOutput) -} +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray []GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput -// Deployment resource quota CPU -func (o GetDeploymentsDeploymentOutput) ResourceQuotaCpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ResourceQuotaCpu }).(pulumi.StringOutput) +func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -// Deployment resource quota memory -func (o GetDeploymentsDeploymentOutput) ResourceQuotaMemory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.ResourceQuotaMemory }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) } -// Deployment scaling spec -func (o GetDeploymentsDeploymentOutput) ScalingSpec() GetDeploymentsDeploymentScalingSpecOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentScalingSpec { return v.ScalingSpec }).(GetDeploymentsDeploymentScalingSpecOutput) +func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) } -// Deployment scaling status -func (o GetDeploymentsDeploymentOutput) ScalingStatus() GetDeploymentsDeploymentScalingStatusOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentScalingStatus { return v.ScalingStatus }).(GetDeploymentsDeploymentScalingStatusOutput) -} +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } -// Deployment scheduler AU -func (o GetDeploymentsDeploymentOutput) SchedulerAu() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) int { return v.SchedulerAu }).(pulumi.IntOutput) +func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -// Deployment scheduler CPU -func (o GetDeploymentsDeploymentOutput) SchedulerCpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerCpu }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { + return o } -// Deployment scheduler memory -func (o GetDeploymentsDeploymentOutput) SchedulerMemory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerMemory }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { + return o } -// Deployment scheduler replicas -func (o GetDeploymentsDeploymentOutput) SchedulerReplicas() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) int { return v.SchedulerReplicas }).(pulumi.IntOutput) +// Description of the schedule +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.Description }).(pulumi.StringOutput) } -// Deployment scheduler size -func (o GetDeploymentsDeploymentOutput) SchedulerSize() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.SchedulerSize }).(pulumi.StringOutput) +// Cron expression for hibernation +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) } -// Deployment status -func (o GetDeploymentsDeploymentOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Status }).(pulumi.StringOutput) +// Whether the schedule is enabled +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) } -// Deployment status reason -func (o GetDeploymentsDeploymentOutput) StatusReason() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.StatusReason }).(pulumi.StringOutput) +// Cron expression for waking +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) } -// Deployment task pod node pool identifier -func (o GetDeploymentsDeploymentOutput) TaskPodNodePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.TaskPodNodePoolId }).(pulumi.StringOutput) +type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() } -// Deployment type -func (o GetDeploymentsDeploymentOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.Type }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o } -// Deployment last updated timestamp -func (o GetDeploymentsDeploymentOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { + return o } -// Deployment updater -func (o GetDeploymentsDeploymentOutput) UpdatedBy() GetDeploymentsDeploymentUpdatedByOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) GetDeploymentsDeploymentUpdatedBy { return v.UpdatedBy }).(GetDeploymentsDeploymentUpdatedByOutput) +func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule { + return vs[0].([]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] + }).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) } -// Deployment webserver Airflow API URL -func (o GetDeploymentsDeploymentOutput) WebserverAirflowApiUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverAirflowApiUrl }).(pulumi.StringOutput) +type GetDeploymentsDeploymentScalingStatus struct { + HibernationStatus GetDeploymentsDeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` } -// Deployment webserver ingress hostname -func (o GetDeploymentsDeploymentOutput) WebserverIngressHostname() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverIngressHostname }).(pulumi.StringOutput) +// GetDeploymentsDeploymentScalingStatusInput is an input type that accepts GetDeploymentsDeploymentScalingStatusArgs and GetDeploymentsDeploymentScalingStatusOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingStatusInput` via: +// +// GetDeploymentsDeploymentScalingStatusArgs{...} +type GetDeploymentsDeploymentScalingStatusInput interface { + pulumi.Input + + ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput + ToGetDeploymentsDeploymentScalingStatusOutputWithContext(context.Context) GetDeploymentsDeploymentScalingStatusOutput } -// Deployment webserver URL -func (o GetDeploymentsDeploymentOutput) WebserverUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WebserverUrl }).(pulumi.StringOutput) +type GetDeploymentsDeploymentScalingStatusArgs struct { + HibernationStatus GetDeploymentsDeploymentScalingStatusHibernationStatusInput `pulumi:"hibernationStatus"` } -// Deployment worker queues -func (o GetDeploymentsDeploymentOutput) WorkerQueues() GetDeploymentsDeploymentWorkerQueueArrayOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) []GetDeploymentsDeploymentWorkerQueue { return v.WorkerQueues }).(GetDeploymentsDeploymentWorkerQueueArrayOutput) +func (GetDeploymentsDeploymentScalingStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatus)(nil)).Elem() } -// Deployment workload identity -func (o GetDeploymentsDeploymentOutput) WorkloadIdentity() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WorkloadIdentity }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingStatusArgs) ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput { + return i.ToGetDeploymentsDeploymentScalingStatusOutputWithContext(context.Background()) } -// Deployment workspace identifier -func (o GetDeploymentsDeploymentOutput) WorkspaceId() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeployment) string { return v.WorkspaceId }).(pulumi.StringOutput) +func (i GetDeploymentsDeploymentScalingStatusArgs) ToGetDeploymentsDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingStatusOutput) } -type GetDeploymentsDeploymentArrayOutput struct{ *pulumi.OutputState } +type GetDeploymentsDeploymentScalingStatusOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeployment)(nil)).Elem() +func (GetDeploymentsDeploymentScalingStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatus)(nil)).Elem() } -func (o GetDeploymentsDeploymentArrayOutput) ToGetDeploymentsDeploymentArrayOutput() GetDeploymentsDeploymentArrayOutput { +func (o GetDeploymentsDeploymentScalingStatusOutput) ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput { return o } -func (o GetDeploymentsDeploymentArrayOutput) ToGetDeploymentsDeploymentArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentArrayOutput { +func (o GetDeploymentsDeploymentScalingStatusOutput) ToGetDeploymentsDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusOutput { return o } -func (o GetDeploymentsDeploymentArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeployment { - return vs[0].([]GetDeploymentsDeployment)[vs[1].(int)] - }).(GetDeploymentsDeploymentOutput) +func (o GetDeploymentsDeploymentScalingStatusOutput) HibernationStatus() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatus) GetDeploymentsDeploymentScalingStatusHibernationStatus { + return v.HibernationStatus + }).(GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) } -type GetDeploymentsDeploymentCreatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +type GetDeploymentsDeploymentScalingStatusHibernationStatus struct { + // Whether the deployment is hibernating + IsHibernating bool `pulumi:"isHibernating"` + // Time of the next event + NextEventAt string `pulumi:"nextEventAt"` + // Type of the next event + NextEventType string `pulumi:"nextEventType"` + // Reason for the current state + Reason string `pulumi:"reason"` } -// GetDeploymentsDeploymentCreatedByInput is an input type that accepts GetDeploymentsDeploymentCreatedByArgs and GetDeploymentsDeploymentCreatedByOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentCreatedByInput` via: +// GetDeploymentsDeploymentScalingStatusHibernationStatusInput is an input type that accepts GetDeploymentsDeploymentScalingStatusHibernationStatusArgs and GetDeploymentsDeploymentScalingStatusHibernationStatusOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentScalingStatusHibernationStatusInput` via: // -// GetDeploymentsDeploymentCreatedByArgs{...} -type GetDeploymentsDeploymentCreatedByInput interface { +// GetDeploymentsDeploymentScalingStatusHibernationStatusArgs{...} +type GetDeploymentsDeploymentScalingStatusHibernationStatusInput interface { pulumi.Input - ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput - ToGetDeploymentsDeploymentCreatedByOutputWithContext(context.Context) GetDeploymentsDeploymentCreatedByOutput + ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput + ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput } -type GetDeploymentsDeploymentCreatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` +type GetDeploymentsDeploymentScalingStatusHibernationStatusArgs struct { + // Whether the deployment is hibernating + IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` + // Time of the next event + NextEventAt pulumi.StringInput `pulumi:"nextEventAt"` + // Type of the next event + NextEventType pulumi.StringInput `pulumi:"nextEventType"` + // Reason for the current state + Reason pulumi.StringInput `pulumi:"reason"` } -func (GetDeploymentsDeploymentCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentCreatedBy)(nil)).Elem() +func (GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (i GetDeploymentsDeploymentCreatedByArgs) ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput { - return i.ToGetDeploymentsDeploymentCreatedByOutputWithContext(context.Background()) +func (i GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { + return i.ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentCreatedByArgs) ToGetDeploymentsDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentCreatedByOutput) +func (i GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) } -type GetDeploymentsDeploymentCreatedByOutput struct{ *pulumi.OutputState } +type GetDeploymentsDeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentCreatedBy)(nil)).Elem() +func (GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatusHibernationStatus)(nil)).Elem() } -func (o GetDeploymentsDeploymentCreatedByOutput) ToGetDeploymentsDeploymentCreatedByOutput() GetDeploymentsDeploymentCreatedByOutput { +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { return o } -func (o GetDeploymentsDeploymentCreatedByOutput) ToGetDeploymentsDeploymentCreatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentCreatedByOutput { +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { return o } -func (o GetDeploymentsDeploymentCreatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentCreatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentCreatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +// Whether the deployment is hibernating +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) bool { return v.IsHibernating }).(pulumi.BoolOutput) } -func (o GetDeploymentsDeploymentCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.Id }).(pulumi.StringOutput) +// Time of the next event +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.NextEventAt }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentCreatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +// Type of the next event +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.NextEventType }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentCreatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentCreatedBy) string { return v.Username }).(pulumi.StringOutput) +// Reason for the current state +func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.Reason }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentEnvironmentVariable struct { - // Whether Environment variable is a secret - IsSecret bool `pulumi:"isSecret"` - // Environment variable key - Key string `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` - // Environment variable value - Value string `pulumi:"value"` +type GetDeploymentsDeploymentUpdatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -// GetDeploymentsDeploymentEnvironmentVariableInput is an input type that accepts GetDeploymentsDeploymentEnvironmentVariableArgs and GetDeploymentsDeploymentEnvironmentVariableOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentEnvironmentVariableInput` via: +// GetDeploymentsDeploymentUpdatedByInput is an input type that accepts GetDeploymentsDeploymentUpdatedByArgs and GetDeploymentsDeploymentUpdatedByOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentUpdatedByInput` via: // -// GetDeploymentsDeploymentEnvironmentVariableArgs{...} -type GetDeploymentsDeploymentEnvironmentVariableInput interface { +// GetDeploymentsDeploymentUpdatedByArgs{...} +type GetDeploymentsDeploymentUpdatedByInput interface { pulumi.Input - ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput - ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput -} - -type GetDeploymentsDeploymentEnvironmentVariableArgs struct { - // Whether Environment variable is a secret - IsSecret pulumi.BoolInput `pulumi:"isSecret"` - // Environment variable key - Key pulumi.StringInput `pulumi:"key"` - // Environment variable last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // Environment variable value - Value pulumi.StringInput `pulumi:"value"` + ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput + ToGetDeploymentsDeploymentUpdatedByOutputWithContext(context.Context) GetDeploymentsDeploymentUpdatedByOutput } -func (GetDeploymentsDeploymentEnvironmentVariableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +type GetDeploymentsDeploymentUpdatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (i GetDeploymentsDeploymentEnvironmentVariableArgs) ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput { - return i.ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(context.Background()) +func (GetDeploymentsDeploymentUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentUpdatedBy)(nil)).Elem() } -func (i GetDeploymentsDeploymentEnvironmentVariableArgs) ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentEnvironmentVariableOutput) +func (i GetDeploymentsDeploymentUpdatedByArgs) ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput { + return i.ToGetDeploymentsDeploymentUpdatedByOutputWithContext(context.Background()) } -// GetDeploymentsDeploymentEnvironmentVariableArrayInput is an input type that accepts GetDeploymentsDeploymentEnvironmentVariableArray and GetDeploymentsDeploymentEnvironmentVariableArrayOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentEnvironmentVariableArrayInput` via: -// -// GetDeploymentsDeploymentEnvironmentVariableArray{ GetDeploymentsDeploymentEnvironmentVariableArgs{...} } -type GetDeploymentsDeploymentEnvironmentVariableArrayInput interface { - pulumi.Input - - ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput - ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput +func (i GetDeploymentsDeploymentUpdatedByArgs) ToGetDeploymentsDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentUpdatedByOutput) } -type GetDeploymentsDeploymentEnvironmentVariableArray []GetDeploymentsDeploymentEnvironmentVariableInput +type GetDeploymentsDeploymentUpdatedByOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentEnvironmentVariableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +func (GetDeploymentsDeploymentUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentUpdatedBy)(nil)).Elem() } -func (i GetDeploymentsDeploymentEnvironmentVariableArray) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { - return i.ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(context.Background()) +func (o GetDeploymentsDeploymentUpdatedByOutput) ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput { + return o } -func (i GetDeploymentsDeploymentEnvironmentVariableArray) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentEnvironmentVariableArrayOutput) +func (o GetDeploymentsDeploymentUpdatedByOutput) ToGetDeploymentsDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentUpdatedByOutput { + return o } -type GetDeploymentsDeploymentEnvironmentVariableOutput struct{ *pulumi.OutputState } - -func (GetDeploymentsDeploymentEnvironmentVariableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() +func (o GetDeploymentsDeploymentUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) ToGetDeploymentsDeploymentEnvironmentVariableOutput() GetDeploymentsDeploymentEnvironmentVariableOutput { - return o +func (o GetDeploymentsDeploymentUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) ToGetDeploymentsDeploymentEnvironmentVariableOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableOutput { - return o +func (o GetDeploymentsDeploymentUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) } -// Whether Environment variable is a secret -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) GetIsSecret() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) bool { return v.IsSecret }).(pulumi.BoolOutput) +func (o GetDeploymentsDeploymentUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -// Environment variable key -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.Key }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -// Environment variable last updated timestamp -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o GetDeploymentsDeploymentUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.Username }).(pulumi.StringOutput) } -// Environment variable value -func (o GetDeploymentsDeploymentEnvironmentVariableOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentEnvironmentVariable) string { return v.Value }).(pulumi.StringOutput) +type GetDeploymentsDeploymentWorkerQueue struct { + // Worker queue Astro machine value + AstroMachine string `pulumi:"astroMachine"` + // Worker queue identifier + Id string `pulumi:"id"` + // Whether Worker queue is default + IsDefault bool `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount int `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount int `pulumi:"minWorkerCount"` + // Worker queue name + Name string `pulumi:"name"` + // Worker queue node pool identifier + NodePoolId string `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu string `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory string `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency int `pulumi:"workerConcurrency"` } -type GetDeploymentsDeploymentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState } +// GetDeploymentsDeploymentWorkerQueueInput is an input type that accepts GetDeploymentsDeploymentWorkerQueueArgs and GetDeploymentsDeploymentWorkerQueueOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentWorkerQueueInput` via: +// +// GetDeploymentsDeploymentWorkerQueueArgs{...} +type GetDeploymentsDeploymentWorkerQueueInput interface { + pulumi.Input -func (GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentEnvironmentVariable)(nil)).Elem() + ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput + ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(context.Context) GetDeploymentsDeploymentWorkerQueueOutput } -func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutput() GetDeploymentsDeploymentEnvironmentVariableArrayOutput { - return o +type GetDeploymentsDeploymentWorkerQueueArgs struct { + // Worker queue Astro machine value + AstroMachine pulumi.StringInput `pulumi:"astroMachine"` + // Worker queue identifier + Id pulumi.StringInput `pulumi:"id"` + // Whether Worker queue is default + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Worker queue max worker count + MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` + // Worker queue min worker count + MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` + // Worker queue name + Name pulumi.StringInput `pulumi:"name"` + // Worker queue node pool identifier + NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` + // Worker queue pod CPU + PodCpu pulumi.StringInput `pulumi:"podCpu"` + // Worker queue pod memory + PodMemory pulumi.StringInput `pulumi:"podMemory"` + // Worker queue worker concurrency + WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` } -func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) ToGetDeploymentsDeploymentEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentEnvironmentVariableArrayOutput { - return o +func (GetDeploymentsDeploymentWorkerQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() } -func (o GetDeploymentsDeploymentEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentEnvironmentVariableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentEnvironmentVariable { - return vs[0].([]GetDeploymentsDeploymentEnvironmentVariable)[vs[1].(int)] - }).(GetDeploymentsDeploymentEnvironmentVariableOutput) +func (i GetDeploymentsDeploymentWorkerQueueArgs) ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput { + return i.ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(context.Background()) } -type GetDeploymentsDeploymentScalingSpec struct { - HibernationSpec GetDeploymentsDeploymentScalingSpecHibernationSpec `pulumi:"hibernationSpec"` +func (i GetDeploymentsDeploymentWorkerQueueArgs) ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentWorkerQueueOutput) } -// GetDeploymentsDeploymentScalingSpecInput is an input type that accepts GetDeploymentsDeploymentScalingSpecArgs and GetDeploymentsDeploymentScalingSpecOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecInput` via: +// GetDeploymentsDeploymentWorkerQueueArrayInput is an input type that accepts GetDeploymentsDeploymentWorkerQueueArray and GetDeploymentsDeploymentWorkerQueueArrayOutput values. +// You can construct a concrete instance of `GetDeploymentsDeploymentWorkerQueueArrayInput` via: // -// GetDeploymentsDeploymentScalingSpecArgs{...} -type GetDeploymentsDeploymentScalingSpecInput interface { +// GetDeploymentsDeploymentWorkerQueueArray{ GetDeploymentsDeploymentWorkerQueueArgs{...} } +type GetDeploymentsDeploymentWorkerQueueArrayInput interface { pulumi.Input - ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput - ToGetDeploymentsDeploymentScalingSpecOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecOutput + ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput + ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput } -type GetDeploymentsDeploymentScalingSpecArgs struct { - HibernationSpec GetDeploymentsDeploymentScalingSpecHibernationSpecInput `pulumi:"hibernationSpec"` -} +type GetDeploymentsDeploymentWorkerQueueArray []GetDeploymentsDeploymentWorkerQueueInput -func (GetDeploymentsDeploymentScalingSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpec)(nil)).Elem() +func (GetDeploymentsDeploymentWorkerQueueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() } -func (i GetDeploymentsDeploymentScalingSpecArgs) ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput { - return i.ToGetDeploymentsDeploymentScalingSpecOutputWithContext(context.Background()) +func (i GetDeploymentsDeploymentWorkerQueueArray) ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput { + return i.ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentScalingSpecArgs) ToGetDeploymentsDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecOutput) +func (i GetDeploymentsDeploymentWorkerQueueArray) ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentWorkerQueueArrayOutput) } -type GetDeploymentsDeploymentScalingSpecOutput struct{ *pulumi.OutputState } +type GetDeploymentsDeploymentWorkerQueueOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentScalingSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpec)(nil)).Elem() +func (GetDeploymentsDeploymentWorkerQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingSpecOutput) ToGetDeploymentsDeploymentScalingSpecOutput() GetDeploymentsDeploymentScalingSpecOutput { +func (o GetDeploymentsDeploymentWorkerQueueOutput) ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput { return o } -func (o GetDeploymentsDeploymentScalingSpecOutput) ToGetDeploymentsDeploymentScalingSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecOutput { +func (o GetDeploymentsDeploymentWorkerQueueOutput) ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueOutput { return o } -func (o GetDeploymentsDeploymentScalingSpecOutput) HibernationSpec() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpec) GetDeploymentsDeploymentScalingSpecHibernationSpec { - return v.HibernationSpec - }).(GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) +// Worker queue Astro machine value +func (o GetDeploymentsDeploymentWorkerQueueOutput) AstroMachine() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.AstroMachine }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpec struct { - Override GetDeploymentsDeploymentScalingSpecHibernationSpecOverride `pulumi:"override"` - Schedules []GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule `pulumi:"schedules"` +// Worker queue identifier +func (o GetDeploymentsDeploymentWorkerQueueOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.Id }).(pulumi.StringOutput) } -// GetDeploymentsDeploymentScalingSpecHibernationSpecInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecInput` via: -// -// GetDeploymentsDeploymentScalingSpecHibernationSpecArgs{...} -type GetDeploymentsDeploymentScalingSpecHibernationSpecInput interface { - pulumi.Input +// Whether Worker queue is default +func (o GetDeploymentsDeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) +} - ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput - ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput +// Worker queue max worker count +func (o GetDeploymentsDeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecArgs struct { - Override GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput `pulumi:"override"` - Schedules GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput `pulumi:"schedules"` +// Worker queue min worker count +func (o GetDeploymentsDeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) } -func (GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpec)(nil)).Elem() +// Worker queue name +func (o GetDeploymentsDeploymentWorkerQueueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { - return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(context.Background()) +// Worker queue node pool identifier +func (o GetDeploymentsDeploymentWorkerQueueOutput) NodePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.NodePoolId }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) +// Worker queue pod CPU +func (o GetDeploymentsDeploymentWorkerQueueOutput) PodCpu() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.PodCpu }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecOutput struct{ *pulumi.OutputState } +// Worker queue pod memory +func (o GetDeploymentsDeploymentWorkerQueueOutput) PodMemory() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.PodMemory }).(pulumi.StringOutput) +} -func (GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpec)(nil)).Elem() +// Worker queue worker concurrency +func (o GetDeploymentsDeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { + return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { - return o +type GetDeploymentsDeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentsDeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOutput { +func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput { return o } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) Override() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpec) GetDeploymentsDeploymentScalingSpecHibernationSpecOverride { - return v.Override - }).(GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) +func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput { + return o } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOutput) Schedules() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpec) []GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule { - return v.Schedules - }).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentWorkerQueueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentWorkerQueue { + return vs[0].([]GetDeploymentsDeploymentWorkerQueue)[vs[1].(int)] + }).(GetDeploymentsDeploymentWorkerQueueOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecOverride struct { - // Whether the override is active - IsActive bool `pulumi:"isActive"` - // Whether the override is hibernating - IsHibernating bool `pulumi:"isHibernating"` - // Time until the override is active - OverrideUntil string `pulumi:"overrideUntil"` +type GetOrganizationCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -// GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput` via: +// GetOrganizationCreatedByInput is an input type that accepts GetOrganizationCreatedByArgs and GetOrganizationCreatedByOutput values. +// You can construct a concrete instance of `GetOrganizationCreatedByInput` via: // -// GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs{...} -type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideInput interface { +// GetOrganizationCreatedByArgs{...} +type GetOrganizationCreatedByInput interface { pulumi.Input - ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput - ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput + ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput + ToGetOrganizationCreatedByOutputWithContext(context.Context) GetOrganizationCreatedByOutput } -type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs struct { - // Whether the override is active - IsActive pulumi.BoolInput `pulumi:"isActive"` - // Whether the override is hibernating - IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` - // Time until the override is active - OverrideUntil pulumi.StringInput `pulumi:"overrideUntil"` +type GetOrganizationCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (GetOrganizationCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationCreatedBy)(nil)).Elem() } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { - return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(context.Background()) +func (i GetOrganizationCreatedByArgs) ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput { + return i.ToGetOrganizationCreatedByOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) +func (i GetOrganizationCreatedByArgs) ToGetOrganizationCreatedByOutputWithContext(ctx context.Context) GetOrganizationCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationCreatedByOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput struct{ *pulumi.OutputState } +type GetOrganizationCreatedByOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecOverride)(nil)).Elem() +func (GetOrganizationCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationCreatedBy)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { +func (o GetOrganizationCreatedByOutput) ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput { return o } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput { +func (o GetOrganizationCreatedByOutput) ToGetOrganizationCreatedByOutputWithContext(ctx context.Context) GetOrganizationCreatedByOutput { return o } -// Whether the override is active -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) IsActive() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsActive }).(pulumi.BoolOutput) +func (o GetOrganizationCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -// Whether the override is hibernating -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) IsHibernating() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) bool { return v.IsHibernating }).(pulumi.BoolOutput) +func (o GetOrganizationCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -// Time until the override is active -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecOverrideOutput) OverrideUntil() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecOverride) string { return v.OverrideUntil }).(pulumi.StringOutput) +func (o GetOrganizationCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.FullName }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule struct { - // Description of the schedule - Description string `pulumi:"description"` - // Cron expression for hibernation - HibernateAtCron string `pulumi:"hibernateAtCron"` - // Whether the schedule is enabled - IsEnabled bool `pulumi:"isEnabled"` - // Cron expression for waking - WakeAtCron string `pulumi:"wakeAtCron"` +func (o GetOrganizationCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs and GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput` via: +func (o GetOrganizationCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +} + +func (o GetOrganizationCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.Username }).(pulumi.StringOutput) +} + +type GetOrganizationUpdatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` +} + +// GetOrganizationUpdatedByInput is an input type that accepts GetOrganizationUpdatedByArgs and GetOrganizationUpdatedByOutput values. +// You can construct a concrete instance of `GetOrganizationUpdatedByInput` via: // -// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs{...} -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput interface { +// GetOrganizationUpdatedByArgs{...} +type GetOrganizationUpdatedByInput interface { pulumi.Input - ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput - ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput + ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput + ToGetOrganizationUpdatedByOutputWithContext(context.Context) GetOrganizationUpdatedByOutput } -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs struct { - // Description of the schedule - Description pulumi.StringInput `pulumi:"description"` - // Cron expression for hibernation - HibernateAtCron pulumi.StringInput `pulumi:"hibernateAtCron"` - // Whether the schedule is enabled - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` - // Cron expression for waking - WakeAtCron pulumi.StringInput `pulumi:"wakeAtCron"` +type GetOrganizationUpdatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (GetOrganizationUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationUpdatedBy)(nil)).Elem() } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { - return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(context.Background()) +func (i GetOrganizationUpdatedByArgs) ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput { + return i.ToGetOrganizationUpdatedByOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) +func (i GetOrganizationUpdatedByArgs) ToGetOrganizationUpdatedByOutputWithContext(ctx context.Context) GetOrganizationUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationUpdatedByOutput) } -// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput is an input type that accepts GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray and GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput` via: -// -// GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray{ GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArgs{...} } -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayInput interface { - pulumi.Input +type GetOrganizationUpdatedByOutput struct{ *pulumi.OutputState } - ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput - ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput +func (GetOrganizationUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrganizationUpdatedBy)(nil)).Elem() } -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray []GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleInput +func (o GetOrganizationUpdatedByOutput) ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput { + return o +} -func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (o GetOrganizationUpdatedByOutput) ToGetOrganizationUpdatedByOutputWithContext(ctx context.Context) GetOrganizationUpdatedByOutput { + return o } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return i.ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(context.Background()) +func (o GetOrganizationUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArray) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) +func (o GetOrganizationUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput struct{ *pulumi.OutputState } +func (o GetOrganizationUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +} -func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (o GetOrganizationUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { - return o +func (o GetOrganizationUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { - return o +func (o GetOrganizationUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.Username }).(pulumi.StringOutput) } -// Description of the schedule -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.Description }).(pulumi.StringOutput) +type GetTeamCreatedBy struct { + ApiTokenName string `pulumi:"apiTokenName"` + AvatarUrl string `pulumi:"avatarUrl"` + FullName string `pulumi:"fullName"` + Id string `pulumi:"id"` + SubjectType string `pulumi:"subjectType"` + Username string `pulumi:"username"` } -// Cron expression for hibernation -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) HibernateAtCron() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.HibernateAtCron }).(pulumi.StringOutput) +// GetTeamCreatedByInput is an input type that accepts GetTeamCreatedByArgs and GetTeamCreatedByOutput values. +// You can construct a concrete instance of `GetTeamCreatedByInput` via: +// +// GetTeamCreatedByArgs{...} +type GetTeamCreatedByInput interface { + pulumi.Input + + ToGetTeamCreatedByOutput() GetTeamCreatedByOutput + ToGetTeamCreatedByOutputWithContext(context.Context) GetTeamCreatedByOutput } -// Whether the schedule is enabled -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) bool { return v.IsEnabled }).(pulumi.BoolOutput) +type GetTeamCreatedByArgs struct { + ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + FullName pulumi.StringInput `pulumi:"fullName"` + Id pulumi.StringInput `pulumi:"id"` + SubjectType pulumi.StringInput `pulumi:"subjectType"` + Username pulumi.StringInput `pulumi:"username"` } -// Cron expression for waking -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) WakeAtCron() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule) string { return v.WakeAtCron }).(pulumi.StringOutput) +func (GetTeamCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamCreatedBy)(nil)).Elem() } -type GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput struct{ *pulumi.OutputState } +func (i GetTeamCreatedByArgs) ToGetTeamCreatedByOutput() GetTeamCreatedByOutput { + return i.ToGetTeamCreatedByOutputWithContext(context.Background()) +} -func (GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)(nil)).Elem() +func (i GetTeamCreatedByArgs) ToGetTeamCreatedByOutputWithContext(ctx context.Context) GetTeamCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamCreatedByOutput) } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput() GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { - return o +type GetTeamCreatedByOutput struct{ *pulumi.OutputState } + +func (GetTeamCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamCreatedBy)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) ToGetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput { +func (o GetTeamCreatedByOutput) ToGetTeamCreatedByOutput() GetTeamCreatedByOutput { return o } -func (o GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule { - return vs[0].([]GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule)[vs[1].(int)] - }).(GetDeploymentsDeploymentScalingSpecHibernationSpecScheduleOutput) +func (o GetTeamCreatedByOutput) ToGetTeamCreatedByOutputWithContext(ctx context.Context) GetTeamCreatedByOutput { + return o } -type GetDeploymentsDeploymentScalingStatus struct { - HibernationStatus GetDeploymentsDeploymentScalingStatusHibernationStatus `pulumi:"hibernationStatus"` +func (o GetTeamCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -// GetDeploymentsDeploymentScalingStatusInput is an input type that accepts GetDeploymentsDeploymentScalingStatusArgs and GetDeploymentsDeploymentScalingStatusOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingStatusInput` via: -// -// GetDeploymentsDeploymentScalingStatusArgs{...} -type GetDeploymentsDeploymentScalingStatusInput interface { - pulumi.Input +func (o GetTeamCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +} - ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput - ToGetDeploymentsDeploymentScalingStatusOutputWithContext(context.Context) GetDeploymentsDeploymentScalingStatusOutput +func (o GetTeamCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.FullName }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentScalingStatusArgs struct { - HibernationStatus GetDeploymentsDeploymentScalingStatusHibernationStatusInput `pulumi:"hibernationStatus"` +func (o GetTeamCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (GetDeploymentsDeploymentScalingStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatus)(nil)).Elem() +func (o GetTeamCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentScalingStatusArgs) ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput { - return i.ToGetDeploymentsDeploymentScalingStatusOutputWithContext(context.Background()) +func (o GetTeamCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamCreatedBy) string { return v.Username }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentScalingStatusArgs) ToGetDeploymentsDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingStatusOutput) +type GetTeamDeploymentRole struct { + // The ID of the deployment the role is assigned to + DeploymentId string `pulumi:"deploymentId"` + // The role assigned to the deployment + Role string `pulumi:"role"` } -type GetDeploymentsDeploymentScalingStatusOutput struct{ *pulumi.OutputState } +// GetTeamDeploymentRoleInput is an input type that accepts GetTeamDeploymentRoleArgs and GetTeamDeploymentRoleOutput values. +// You can construct a concrete instance of `GetTeamDeploymentRoleInput` via: +// +// GetTeamDeploymentRoleArgs{...} +type GetTeamDeploymentRoleInput interface { + pulumi.Input -func (GetDeploymentsDeploymentScalingStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatus)(nil)).Elem() + ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput + ToGetTeamDeploymentRoleOutputWithContext(context.Context) GetTeamDeploymentRoleOutput } -func (o GetDeploymentsDeploymentScalingStatusOutput) ToGetDeploymentsDeploymentScalingStatusOutput() GetDeploymentsDeploymentScalingStatusOutput { - return o +type GetTeamDeploymentRoleArgs struct { + // The ID of the deployment the role is assigned to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role assigned to the deployment + Role pulumi.StringInput `pulumi:"role"` } -func (o GetDeploymentsDeploymentScalingStatusOutput) ToGetDeploymentsDeploymentScalingStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusOutput { - return o +func (GetTeamDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamDeploymentRole)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingStatusOutput) HibernationStatus() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatus) GetDeploymentsDeploymentScalingStatusHibernationStatus { - return v.HibernationStatus - }).(GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) +func (i GetTeamDeploymentRoleArgs) ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput { + return i.ToGetTeamDeploymentRoleOutputWithContext(context.Background()) } -type GetDeploymentsDeploymentScalingStatusHibernationStatus struct { - // Whether the deployment is hibernating - IsHibernating bool `pulumi:"isHibernating"` - // Time of the next event - NextEventAt string `pulumi:"nextEventAt"` - // Type of the next event - NextEventType string `pulumi:"nextEventType"` - // Reason for the current state - Reason string `pulumi:"reason"` +func (i GetTeamDeploymentRoleArgs) ToGetTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamDeploymentRoleOutput) } -// GetDeploymentsDeploymentScalingStatusHibernationStatusInput is an input type that accepts GetDeploymentsDeploymentScalingStatusHibernationStatusArgs and GetDeploymentsDeploymentScalingStatusHibernationStatusOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentScalingStatusHibernationStatusInput` via: +// GetTeamDeploymentRoleArrayInput is an input type that accepts GetTeamDeploymentRoleArray and GetTeamDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `GetTeamDeploymentRoleArrayInput` via: // -// GetDeploymentsDeploymentScalingStatusHibernationStatusArgs{...} -type GetDeploymentsDeploymentScalingStatusHibernationStatusInput interface { +// GetTeamDeploymentRoleArray{ GetTeamDeploymentRoleArgs{...} } +type GetTeamDeploymentRoleArrayInput interface { pulumi.Input - ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput - ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput + ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput + ToGetTeamDeploymentRoleArrayOutputWithContext(context.Context) GetTeamDeploymentRoleArrayOutput } -type GetDeploymentsDeploymentScalingStatusHibernationStatusArgs struct { - // Whether the deployment is hibernating - IsHibernating pulumi.BoolInput `pulumi:"isHibernating"` - // Time of the next event - NextEventAt pulumi.StringInput `pulumi:"nextEventAt"` - // Type of the next event - NextEventType pulumi.StringInput `pulumi:"nextEventType"` - // Reason for the current state - Reason pulumi.StringInput `pulumi:"reason"` -} +type GetTeamDeploymentRoleArray []GetTeamDeploymentRoleInput -func (GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (GetTeamDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamDeploymentRole)(nil)).Elem() } -func (i GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { - return i.ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(context.Background()) +func (i GetTeamDeploymentRoleArray) ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput { + return i.ToGetTeamDeploymentRoleArrayOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentScalingStatusHibernationStatusArgs) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) +func (i GetTeamDeploymentRoleArray) ToGetTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamDeploymentRoleArrayOutput) } -type GetDeploymentsDeploymentScalingStatusHibernationStatusOutput struct{ *pulumi.OutputState } +type GetTeamDeploymentRoleOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentScalingStatusHibernationStatus)(nil)).Elem() +func (GetTeamDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamDeploymentRole)(nil)).Elem() } -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutput() GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { +func (o GetTeamDeploymentRoleOutput) ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput { return o } -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) ToGetDeploymentsDeploymentScalingStatusHibernationStatusOutputWithContext(ctx context.Context) GetDeploymentsDeploymentScalingStatusHibernationStatusOutput { +func (o GetTeamDeploymentRoleOutput) ToGetTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamDeploymentRoleOutput { return o } -// Whether the deployment is hibernating -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) IsHibernating() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) bool { return v.IsHibernating }).(pulumi.BoolOutput) +// The ID of the deployment the role is assigned to +func (o GetTeamDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -// Time of the next event -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) NextEventAt() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.NextEventAt }).(pulumi.StringOutput) +// The role assigned to the deployment +func (o GetTeamDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -// Type of the next event -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) NextEventType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.NextEventType }).(pulumi.StringOutput) +type GetTeamDeploymentRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetTeamDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamDeploymentRole)(nil)).Elem() } -// Reason for the current state -func (o GetDeploymentsDeploymentScalingStatusHibernationStatusOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentScalingStatusHibernationStatus) string { return v.Reason }).(pulumi.StringOutput) +func (o GetTeamDeploymentRoleArrayOutput) ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput { + return o } -type GetDeploymentsDeploymentUpdatedBy struct { +func (o GetTeamDeploymentRoleArrayOutput) ToGetTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamDeploymentRoleArrayOutput { + return o +} + +func (o GetTeamDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetTeamDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamDeploymentRole { + return vs[0].([]GetTeamDeploymentRole)[vs[1].(int)] + }).(GetTeamDeploymentRoleOutput) +} + +type GetTeamUpdatedBy struct { ApiTokenName string `pulumi:"apiTokenName"` AvatarUrl string `pulumi:"avatarUrl"` FullName string `pulumi:"fullName"` @@ -7927,18 +11743,18 @@ type GetDeploymentsDeploymentUpdatedBy struct { Username string `pulumi:"username"` } -// GetDeploymentsDeploymentUpdatedByInput is an input type that accepts GetDeploymentsDeploymentUpdatedByArgs and GetDeploymentsDeploymentUpdatedByOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentUpdatedByInput` via: +// GetTeamUpdatedByInput is an input type that accepts GetTeamUpdatedByArgs and GetTeamUpdatedByOutput values. +// You can construct a concrete instance of `GetTeamUpdatedByInput` via: // -// GetDeploymentsDeploymentUpdatedByArgs{...} -type GetDeploymentsDeploymentUpdatedByInput interface { +// GetTeamUpdatedByArgs{...} +type GetTeamUpdatedByInput interface { pulumi.Input - ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput - ToGetDeploymentsDeploymentUpdatedByOutputWithContext(context.Context) GetDeploymentsDeploymentUpdatedByOutput + ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput + ToGetTeamUpdatedByOutputWithContext(context.Context) GetTeamUpdatedByOutput } -type GetDeploymentsDeploymentUpdatedByArgs struct { +type GetTeamUpdatedByArgs struct { ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` FullName pulumi.StringInput `pulumi:"fullName"` @@ -7947,393 +11763,359 @@ type GetDeploymentsDeploymentUpdatedByArgs struct { Username pulumi.StringInput `pulumi:"username"` } -func (GetDeploymentsDeploymentUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentUpdatedBy)(nil)).Elem() +func (GetTeamUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamUpdatedBy)(nil)).Elem() } -func (i GetDeploymentsDeploymentUpdatedByArgs) ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput { - return i.ToGetDeploymentsDeploymentUpdatedByOutputWithContext(context.Background()) +func (i GetTeamUpdatedByArgs) ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput { + return i.ToGetTeamUpdatedByOutputWithContext(context.Background()) } -func (i GetDeploymentsDeploymentUpdatedByArgs) ToGetDeploymentsDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentUpdatedByOutput) +func (i GetTeamUpdatedByArgs) ToGetTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamUpdatedByOutput) } -type GetDeploymentsDeploymentUpdatedByOutput struct{ *pulumi.OutputState } +type GetTeamUpdatedByOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentUpdatedBy)(nil)).Elem() +func (GetTeamUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamUpdatedBy)(nil)).Elem() } -func (o GetDeploymentsDeploymentUpdatedByOutput) ToGetDeploymentsDeploymentUpdatedByOutput() GetDeploymentsDeploymentUpdatedByOutput { +func (o GetTeamUpdatedByOutput) ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput { return o } -func (o GetDeploymentsDeploymentUpdatedByOutput) ToGetDeploymentsDeploymentUpdatedByOutputWithContext(ctx context.Context) GetDeploymentsDeploymentUpdatedByOutput { +func (o GetTeamUpdatedByOutput) ToGetTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamUpdatedByOutput { return o } -func (o GetDeploymentsDeploymentUpdatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentUpdatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentUpdatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentUpdatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) -} - -func (o GetDeploymentsDeploymentUpdatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetTeamUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentWorkerQueue struct { - // Worker queue Astro machine value - AstroMachine string `pulumi:"astroMachine"` - // Worker queue identifier - Id string `pulumi:"id"` - // Whether Worker queue is default - IsDefault bool `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount int `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount int `pulumi:"minWorkerCount"` - // Worker queue name - Name string `pulumi:"name"` - // Worker queue node pool identifier - NodePoolId string `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu string `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory string `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency int `pulumi:"workerConcurrency"` +func (o GetTeamUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -// GetDeploymentsDeploymentWorkerQueueInput is an input type that accepts GetDeploymentsDeploymentWorkerQueueArgs and GetDeploymentsDeploymentWorkerQueueOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentWorkerQueueInput` via: -// -// GetDeploymentsDeploymentWorkerQueueArgs{...} -type GetDeploymentsDeploymentWorkerQueueInput interface { - pulumi.Input - - ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput - ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(context.Context) GetDeploymentsDeploymentWorkerQueueOutput +func (o GetTeamUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentWorkerQueueArgs struct { - // Worker queue Astro machine value - AstroMachine pulumi.StringInput `pulumi:"astroMachine"` - // Worker queue identifier - Id pulumi.StringInput `pulumi:"id"` - // Whether Worker queue is default - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // Worker queue max worker count - MaxWorkerCount pulumi.IntInput `pulumi:"maxWorkerCount"` - // Worker queue min worker count - MinWorkerCount pulumi.IntInput `pulumi:"minWorkerCount"` - // Worker queue name - Name pulumi.StringInput `pulumi:"name"` - // Worker queue node pool identifier - NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` - // Worker queue pod CPU - PodCpu pulumi.StringInput `pulumi:"podCpu"` - // Worker queue pod memory - PodMemory pulumi.StringInput `pulumi:"podMemory"` - // Worker queue worker concurrency - WorkerConcurrency pulumi.IntInput `pulumi:"workerConcurrency"` +func (o GetTeamUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (GetDeploymentsDeploymentWorkerQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() +func (o GetTeamUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentWorkerQueueArgs) ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput { - return i.ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(context.Background()) +func (o GetTeamUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.Username }).(pulumi.StringOutput) } -func (i GetDeploymentsDeploymentWorkerQueueArgs) ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentWorkerQueueOutput) +type GetTeamWorkspaceRole struct { + // The role assigned to the workspace + Role string `pulumi:"role"` + // The ID of the workspace the role is assigned to + WorkspaceId string `pulumi:"workspaceId"` } -// GetDeploymentsDeploymentWorkerQueueArrayInput is an input type that accepts GetDeploymentsDeploymentWorkerQueueArray and GetDeploymentsDeploymentWorkerQueueArrayOutput values. -// You can construct a concrete instance of `GetDeploymentsDeploymentWorkerQueueArrayInput` via: +// GetTeamWorkspaceRoleInput is an input type that accepts GetTeamWorkspaceRoleArgs and GetTeamWorkspaceRoleOutput values. +// You can construct a concrete instance of `GetTeamWorkspaceRoleInput` via: // -// GetDeploymentsDeploymentWorkerQueueArray{ GetDeploymentsDeploymentWorkerQueueArgs{...} } -type GetDeploymentsDeploymentWorkerQueueArrayInput interface { - pulumi.Input - - ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput - ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput -} - -type GetDeploymentsDeploymentWorkerQueueArray []GetDeploymentsDeploymentWorkerQueueInput +// GetTeamWorkspaceRoleArgs{...} +type GetTeamWorkspaceRoleInput interface { + pulumi.Input -func (GetDeploymentsDeploymentWorkerQueueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() + ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput + ToGetTeamWorkspaceRoleOutputWithContext(context.Context) GetTeamWorkspaceRoleOutput } -func (i GetDeploymentsDeploymentWorkerQueueArray) ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput { - return i.ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(context.Background()) +type GetTeamWorkspaceRoleArgs struct { + // The role assigned to the workspace + Role pulumi.StringInput `pulumi:"role"` + // The ID of the workspace the role is assigned to + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (i GetDeploymentsDeploymentWorkerQueueArray) ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentsDeploymentWorkerQueueArrayOutput) +func (GetTeamWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamWorkspaceRole)(nil)).Elem() } -type GetDeploymentsDeploymentWorkerQueueOutput struct{ *pulumi.OutputState } - -func (GetDeploymentsDeploymentWorkerQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() +func (i GetTeamWorkspaceRoleArgs) ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput { + return i.ToGetTeamWorkspaceRoleOutputWithContext(context.Background()) } -func (o GetDeploymentsDeploymentWorkerQueueOutput) ToGetDeploymentsDeploymentWorkerQueueOutput() GetDeploymentsDeploymentWorkerQueueOutput { - return o +func (i GetTeamWorkspaceRoleArgs) ToGetTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamWorkspaceRoleOutput) } -func (o GetDeploymentsDeploymentWorkerQueueOutput) ToGetDeploymentsDeploymentWorkerQueueOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueOutput { - return o -} +// GetTeamWorkspaceRoleArrayInput is an input type that accepts GetTeamWorkspaceRoleArray and GetTeamWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `GetTeamWorkspaceRoleArrayInput` via: +// +// GetTeamWorkspaceRoleArray{ GetTeamWorkspaceRoleArgs{...} } +type GetTeamWorkspaceRoleArrayInput interface { + pulumi.Input -// Worker queue Astro machine value -func (o GetDeploymentsDeploymentWorkerQueueOutput) AstroMachine() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.AstroMachine }).(pulumi.StringOutput) + ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput + ToGetTeamWorkspaceRoleArrayOutputWithContext(context.Context) GetTeamWorkspaceRoleArrayOutput } -// Worker queue identifier -func (o GetDeploymentsDeploymentWorkerQueueOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.Id }).(pulumi.StringOutput) -} +type GetTeamWorkspaceRoleArray []GetTeamWorkspaceRoleInput -// Whether Worker queue is default -func (o GetDeploymentsDeploymentWorkerQueueOutput) IsDefault() pulumi.BoolOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) bool { return v.IsDefault }).(pulumi.BoolOutput) +func (GetTeamWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamWorkspaceRole)(nil)).Elem() } -// Worker queue max worker count -func (o GetDeploymentsDeploymentWorkerQueueOutput) MaxWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.MaxWorkerCount }).(pulumi.IntOutput) +func (i GetTeamWorkspaceRoleArray) ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput { + return i.ToGetTeamWorkspaceRoleArrayOutputWithContext(context.Background()) } -// Worker queue min worker count -func (o GetDeploymentsDeploymentWorkerQueueOutput) MinWorkerCount() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.MinWorkerCount }).(pulumi.IntOutput) +func (i GetTeamWorkspaceRoleArray) ToGetTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamWorkspaceRoleArrayOutput) } -// Worker queue name -func (o GetDeploymentsDeploymentWorkerQueueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.Name }).(pulumi.StringOutput) +type GetTeamWorkspaceRoleOutput struct{ *pulumi.OutputState } + +func (GetTeamWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamWorkspaceRole)(nil)).Elem() } -// Worker queue node pool identifier -func (o GetDeploymentsDeploymentWorkerQueueOutput) NodePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.NodePoolId }).(pulumi.StringOutput) +func (o GetTeamWorkspaceRoleOutput) ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput { + return o } -// Worker queue pod CPU -func (o GetDeploymentsDeploymentWorkerQueueOutput) PodCpu() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.PodCpu }).(pulumi.StringOutput) +func (o GetTeamWorkspaceRoleOutput) ToGetTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleOutput { + return o } -// Worker queue pod memory -func (o GetDeploymentsDeploymentWorkerQueueOutput) PodMemory() pulumi.StringOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) string { return v.PodMemory }).(pulumi.StringOutput) +// The role assigned to the workspace +func (o GetTeamWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } -// Worker queue worker concurrency -func (o GetDeploymentsDeploymentWorkerQueueOutput) WorkerConcurrency() pulumi.IntOutput { - return o.ApplyT(func(v GetDeploymentsDeploymentWorkerQueue) int { return v.WorkerConcurrency }).(pulumi.IntOutput) +// The ID of the workspace the role is assigned to +func (o GetTeamWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -type GetDeploymentsDeploymentWorkerQueueArrayOutput struct{ *pulumi.OutputState } +type GetTeamWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } -func (GetDeploymentsDeploymentWorkerQueueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDeploymentsDeploymentWorkerQueue)(nil)).Elem() +func (GetTeamWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamWorkspaceRole)(nil)).Elem() } -func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) ToGetDeploymentsDeploymentWorkerQueueArrayOutput() GetDeploymentsDeploymentWorkerQueueArrayOutput { +func (o GetTeamWorkspaceRoleArrayOutput) ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput { return o } -func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) ToGetDeploymentsDeploymentWorkerQueueArrayOutputWithContext(ctx context.Context) GetDeploymentsDeploymentWorkerQueueArrayOutput { +func (o GetTeamWorkspaceRoleArrayOutput) ToGetTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleArrayOutput { return o } -func (o GetDeploymentsDeploymentWorkerQueueArrayOutput) Index(i pulumi.IntInput) GetDeploymentsDeploymentWorkerQueueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentsDeploymentWorkerQueue { - return vs[0].([]GetDeploymentsDeploymentWorkerQueue)[vs[1].(int)] - }).(GetDeploymentsDeploymentWorkerQueueOutput) +func (o GetTeamWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetTeamWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamWorkspaceRole { + return vs[0].([]GetTeamWorkspaceRole)[vs[1].(int)] + }).(GetTeamWorkspaceRoleOutput) } -type GetOrganizationCreatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +type GetTeamsTeam struct { + // Team creation timestamp + CreatedAt string `pulumi:"createdAt"` + // Team creator + CreatedBy GetTeamsTeamCreatedBy `pulumi:"createdBy"` + // The roles assigned to the Deployments + DeploymentRoles []GetTeamsTeamDeploymentRole `pulumi:"deploymentRoles"` + // Team description + Description string `pulumi:"description"` + // Team ID + Id string `pulumi:"id"` + // Whether the Team is managed by an identity provider + IsIdpManaged bool `pulumi:"isIdpManaged"` + // Team name + Name string `pulumi:"name"` + // The role assigned to the Organization + OrganizationRole string `pulumi:"organizationRole"` + // Number of roles assigned to the Team + RolesCount int `pulumi:"rolesCount"` + // Team last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // Team updater + UpdatedBy GetTeamsTeamUpdatedBy `pulumi:"updatedBy"` + // The roles assigned to the Workspaces + WorkspaceRoles []GetTeamsTeamWorkspaceRole `pulumi:"workspaceRoles"` } -// GetOrganizationCreatedByInput is an input type that accepts GetOrganizationCreatedByArgs and GetOrganizationCreatedByOutput values. -// You can construct a concrete instance of `GetOrganizationCreatedByInput` via: +// GetTeamsTeamInput is an input type that accepts GetTeamsTeamArgs and GetTeamsTeamOutput values. +// You can construct a concrete instance of `GetTeamsTeamInput` via: // -// GetOrganizationCreatedByArgs{...} -type GetOrganizationCreatedByInput interface { +// GetTeamsTeamArgs{...} +type GetTeamsTeamInput interface { pulumi.Input - ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput - ToGetOrganizationCreatedByOutputWithContext(context.Context) GetOrganizationCreatedByOutput + ToGetTeamsTeamOutput() GetTeamsTeamOutput + ToGetTeamsTeamOutputWithContext(context.Context) GetTeamsTeamOutput } -type GetOrganizationCreatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` +type GetTeamsTeamArgs struct { + // Team creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Team creator + CreatedBy GetTeamsTeamCreatedByInput `pulumi:"createdBy"` + // The roles assigned to the Deployments + DeploymentRoles GetTeamsTeamDeploymentRoleArrayInput `pulumi:"deploymentRoles"` + // Team description + Description pulumi.StringInput `pulumi:"description"` + // Team ID + Id pulumi.StringInput `pulumi:"id"` + // Whether the Team is managed by an identity provider + IsIdpManaged pulumi.BoolInput `pulumi:"isIdpManaged"` + // Team name + Name pulumi.StringInput `pulumi:"name"` + // The role assigned to the Organization + OrganizationRole pulumi.StringInput `pulumi:"organizationRole"` + // Number of roles assigned to the Team + RolesCount pulumi.IntInput `pulumi:"rolesCount"` + // Team last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // Team updater + UpdatedBy GetTeamsTeamUpdatedByInput `pulumi:"updatedBy"` + // The roles assigned to the Workspaces + WorkspaceRoles GetTeamsTeamWorkspaceRoleArrayInput `pulumi:"workspaceRoles"` } -func (GetOrganizationCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetOrganizationCreatedBy)(nil)).Elem() +func (GetTeamsTeamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeam)(nil)).Elem() } -func (i GetOrganizationCreatedByArgs) ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput { - return i.ToGetOrganizationCreatedByOutputWithContext(context.Background()) +func (i GetTeamsTeamArgs) ToGetTeamsTeamOutput() GetTeamsTeamOutput { + return i.ToGetTeamsTeamOutputWithContext(context.Background()) } -func (i GetOrganizationCreatedByArgs) ToGetOrganizationCreatedByOutputWithContext(ctx context.Context) GetOrganizationCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationCreatedByOutput) +func (i GetTeamsTeamArgs) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamOutput) } -type GetOrganizationCreatedByOutput struct{ *pulumi.OutputState } +// GetTeamsTeamArrayInput is an input type that accepts GetTeamsTeamArray and GetTeamsTeamArrayOutput values. +// You can construct a concrete instance of `GetTeamsTeamArrayInput` via: +// +// GetTeamsTeamArray{ GetTeamsTeamArgs{...} } +type GetTeamsTeamArrayInput interface { + pulumi.Input -func (GetOrganizationCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetOrganizationCreatedBy)(nil)).Elem() + ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput + ToGetTeamsTeamArrayOutputWithContext(context.Context) GetTeamsTeamArrayOutput } -func (o GetOrganizationCreatedByOutput) ToGetOrganizationCreatedByOutput() GetOrganizationCreatedByOutput { - return o -} +type GetTeamsTeamArray []GetTeamsTeamInput -func (o GetOrganizationCreatedByOutput) ToGetOrganizationCreatedByOutputWithContext(ctx context.Context) GetOrganizationCreatedByOutput { - return o +func (GetTeamsTeamArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeam)(nil)).Elem() } -func (o GetOrganizationCreatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput { + return i.ToGetTeamsTeamArrayOutputWithContext(context.Background()) } -func (o GetOrganizationCreatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamArrayOutput) } -func (o GetOrganizationCreatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.FullName }).(pulumi.StringOutput) -} +type GetTeamsTeamOutput struct{ *pulumi.OutputState } -func (o GetOrganizationCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (GetTeamsTeamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeam)(nil)).Elem() } -func (o GetOrganizationCreatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetTeamsTeamOutput) ToGetTeamsTeamOutput() GetTeamsTeamOutput { + return o } -func (o GetOrganizationCreatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationCreatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetTeamsTeamOutput) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput { + return o } -type GetOrganizationUpdatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +// Team creation timestamp +func (o GetTeamsTeamOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.CreatedAt }).(pulumi.StringOutput) } -// GetOrganizationUpdatedByInput is an input type that accepts GetOrganizationUpdatedByArgs and GetOrganizationUpdatedByOutput values. -// You can construct a concrete instance of `GetOrganizationUpdatedByInput` via: -// -// GetOrganizationUpdatedByArgs{...} -type GetOrganizationUpdatedByInput interface { - pulumi.Input - - ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput - ToGetOrganizationUpdatedByOutputWithContext(context.Context) GetOrganizationUpdatedByOutput +// Team creator +func (o GetTeamsTeamOutput) CreatedBy() GetTeamsTeamCreatedByOutput { + return o.ApplyT(func(v GetTeamsTeam) GetTeamsTeamCreatedBy { return v.CreatedBy }).(GetTeamsTeamCreatedByOutput) } - -type GetOrganizationUpdatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` + +// The roles assigned to the Deployments +func (o GetTeamsTeamOutput) DeploymentRoles() GetTeamsTeamDeploymentRoleArrayOutput { + return o.ApplyT(func(v GetTeamsTeam) []GetTeamsTeamDeploymentRole { return v.DeploymentRoles }).(GetTeamsTeamDeploymentRoleArrayOutput) } -func (GetOrganizationUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetOrganizationUpdatedBy)(nil)).Elem() +// Team description +func (o GetTeamsTeamOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.Description }).(pulumi.StringOutput) } -func (i GetOrganizationUpdatedByArgs) ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput { - return i.ToGetOrganizationUpdatedByOutputWithContext(context.Background()) +// Team ID +func (o GetTeamsTeamOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.Id }).(pulumi.StringOutput) } -func (i GetOrganizationUpdatedByArgs) ToGetOrganizationUpdatedByOutputWithContext(ctx context.Context) GetOrganizationUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationUpdatedByOutput) +// Whether the Team is managed by an identity provider +func (o GetTeamsTeamOutput) IsIdpManaged() pulumi.BoolOutput { + return o.ApplyT(func(v GetTeamsTeam) bool { return v.IsIdpManaged }).(pulumi.BoolOutput) } -type GetOrganizationUpdatedByOutput struct{ *pulumi.OutputState } +// Team name +func (o GetTeamsTeamOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.Name }).(pulumi.StringOutput) +} -func (GetOrganizationUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetOrganizationUpdatedBy)(nil)).Elem() +// The role assigned to the Organization +func (o GetTeamsTeamOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.OrganizationRole }).(pulumi.StringOutput) } -func (o GetOrganizationUpdatedByOutput) ToGetOrganizationUpdatedByOutput() GetOrganizationUpdatedByOutput { - return o +// Number of roles assigned to the Team +func (o GetTeamsTeamOutput) RolesCount() pulumi.IntOutput { + return o.ApplyT(func(v GetTeamsTeam) int { return v.RolesCount }).(pulumi.IntOutput) } -func (o GetOrganizationUpdatedByOutput) ToGetOrganizationUpdatedByOutputWithContext(ctx context.Context) GetOrganizationUpdatedByOutput { - return o +// Team last updated timestamp +func (o GetTeamsTeamOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeam) string { return v.UpdatedAt }).(pulumi.StringOutput) } -func (o GetOrganizationUpdatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +// Team updater +func (o GetTeamsTeamOutput) UpdatedBy() GetTeamsTeamUpdatedByOutput { + return o.ApplyT(func(v GetTeamsTeam) GetTeamsTeamUpdatedBy { return v.UpdatedBy }).(GetTeamsTeamUpdatedByOutput) } -func (o GetOrganizationUpdatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +// The roles assigned to the Workspaces +func (o GetTeamsTeamOutput) WorkspaceRoles() GetTeamsTeamWorkspaceRoleArrayOutput { + return o.ApplyT(func(v GetTeamsTeam) []GetTeamsTeamWorkspaceRole { return v.WorkspaceRoles }).(GetTeamsTeamWorkspaceRoleArrayOutput) } -func (o GetOrganizationUpdatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +type GetTeamsTeamArrayOutput struct{ *pulumi.OutputState } + +func (GetTeamsTeamArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeam)(nil)).Elem() } -func (o GetOrganizationUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput { + return o } -func (o GetOrganizationUpdatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput { + return o } -func (o GetOrganizationUpdatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetOrganizationUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetTeamsTeamArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeam { + return vs[0].([]GetTeamsTeam)[vs[1].(int)] + }).(GetTeamsTeamOutput) } -type GetTeamCreatedBy struct { +type GetTeamsTeamCreatedBy struct { ApiTokenName string `pulumi:"apiTokenName"` AvatarUrl string `pulumi:"avatarUrl"` FullName string `pulumi:"fullName"` @@ -8342,18 +12124,18 @@ type GetTeamCreatedBy struct { Username string `pulumi:"username"` } -// GetTeamCreatedByInput is an input type that accepts GetTeamCreatedByArgs and GetTeamCreatedByOutput values. -// You can construct a concrete instance of `GetTeamCreatedByInput` via: +// GetTeamsTeamCreatedByInput is an input type that accepts GetTeamsTeamCreatedByArgs and GetTeamsTeamCreatedByOutput values. +// You can construct a concrete instance of `GetTeamsTeamCreatedByInput` via: // -// GetTeamCreatedByArgs{...} -type GetTeamCreatedByInput interface { +// GetTeamsTeamCreatedByArgs{...} +type GetTeamsTeamCreatedByInput interface { pulumi.Input - ToGetTeamCreatedByOutput() GetTeamCreatedByOutput - ToGetTeamCreatedByOutputWithContext(context.Context) GetTeamCreatedByOutput + ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput + ToGetTeamsTeamCreatedByOutputWithContext(context.Context) GetTeamsTeamCreatedByOutput } -type GetTeamCreatedByArgs struct { +type GetTeamsTeamCreatedByArgs struct { ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` FullName pulumi.StringInput `pulumi:"fullName"` @@ -8362,163 +12144,163 @@ type GetTeamCreatedByArgs struct { Username pulumi.StringInput `pulumi:"username"` } -func (GetTeamCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamCreatedBy)(nil)).Elem() +func (GetTeamsTeamCreatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamCreatedBy)(nil)).Elem() } -func (i GetTeamCreatedByArgs) ToGetTeamCreatedByOutput() GetTeamCreatedByOutput { - return i.ToGetTeamCreatedByOutputWithContext(context.Background()) +func (i GetTeamsTeamCreatedByArgs) ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput { + return i.ToGetTeamsTeamCreatedByOutputWithContext(context.Background()) } -func (i GetTeamCreatedByArgs) ToGetTeamCreatedByOutputWithContext(ctx context.Context) GetTeamCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamCreatedByOutput) +func (i GetTeamsTeamCreatedByArgs) ToGetTeamsTeamCreatedByOutputWithContext(ctx context.Context) GetTeamsTeamCreatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamCreatedByOutput) } -type GetTeamCreatedByOutput struct{ *pulumi.OutputState } +type GetTeamsTeamCreatedByOutput struct{ *pulumi.OutputState } -func (GetTeamCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamCreatedBy)(nil)).Elem() +func (GetTeamsTeamCreatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamCreatedBy)(nil)).Elem() } -func (o GetTeamCreatedByOutput) ToGetTeamCreatedByOutput() GetTeamCreatedByOutput { +func (o GetTeamsTeamCreatedByOutput) ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput { return o } -func (o GetTeamCreatedByOutput) ToGetTeamCreatedByOutputWithContext(ctx context.Context) GetTeamCreatedByOutput { +func (o GetTeamsTeamCreatedByOutput) ToGetTeamsTeamCreatedByOutputWithContext(ctx context.Context) GetTeamsTeamCreatedByOutput { return o } -func (o GetTeamCreatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (o GetTeamCreatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -func (o GetTeamCreatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.FullName }).(pulumi.StringOutput) } -func (o GetTeamCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetTeamCreatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (o GetTeamCreatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamCreatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetTeamsTeamCreatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.Username }).(pulumi.StringOutput) } -type GetTeamDeploymentRole struct { +type GetTeamsTeamDeploymentRole struct { // The ID of the deployment the role is assigned to DeploymentId string `pulumi:"deploymentId"` // The role assigned to the deployment Role string `pulumi:"role"` } -// GetTeamDeploymentRoleInput is an input type that accepts GetTeamDeploymentRoleArgs and GetTeamDeploymentRoleOutput values. -// You can construct a concrete instance of `GetTeamDeploymentRoleInput` via: +// GetTeamsTeamDeploymentRoleInput is an input type that accepts GetTeamsTeamDeploymentRoleArgs and GetTeamsTeamDeploymentRoleOutput values. +// You can construct a concrete instance of `GetTeamsTeamDeploymentRoleInput` via: // -// GetTeamDeploymentRoleArgs{...} -type GetTeamDeploymentRoleInput interface { +// GetTeamsTeamDeploymentRoleArgs{...} +type GetTeamsTeamDeploymentRoleInput interface { pulumi.Input - ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput - ToGetTeamDeploymentRoleOutputWithContext(context.Context) GetTeamDeploymentRoleOutput + ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput + ToGetTeamsTeamDeploymentRoleOutputWithContext(context.Context) GetTeamsTeamDeploymentRoleOutput } -type GetTeamDeploymentRoleArgs struct { +type GetTeamsTeamDeploymentRoleArgs struct { // The ID of the deployment the role is assigned to DeploymentId pulumi.StringInput `pulumi:"deploymentId"` // The role assigned to the deployment Role pulumi.StringInput `pulumi:"role"` } -func (GetTeamDeploymentRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamDeploymentRole)(nil)).Elem() +func (GetTeamsTeamDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamDeploymentRole)(nil)).Elem() } -func (i GetTeamDeploymentRoleArgs) ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput { - return i.ToGetTeamDeploymentRoleOutputWithContext(context.Background()) +func (i GetTeamsTeamDeploymentRoleArgs) ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput { + return i.ToGetTeamsTeamDeploymentRoleOutputWithContext(context.Background()) } -func (i GetTeamDeploymentRoleArgs) ToGetTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamDeploymentRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamDeploymentRoleOutput) +func (i GetTeamsTeamDeploymentRoleArgs) ToGetTeamsTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamDeploymentRoleOutput) } -// GetTeamDeploymentRoleArrayInput is an input type that accepts GetTeamDeploymentRoleArray and GetTeamDeploymentRoleArrayOutput values. -// You can construct a concrete instance of `GetTeamDeploymentRoleArrayInput` via: +// GetTeamsTeamDeploymentRoleArrayInput is an input type that accepts GetTeamsTeamDeploymentRoleArray and GetTeamsTeamDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `GetTeamsTeamDeploymentRoleArrayInput` via: // -// GetTeamDeploymentRoleArray{ GetTeamDeploymentRoleArgs{...} } -type GetTeamDeploymentRoleArrayInput interface { +// GetTeamsTeamDeploymentRoleArray{ GetTeamsTeamDeploymentRoleArgs{...} } +type GetTeamsTeamDeploymentRoleArrayInput interface { pulumi.Input - ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput - ToGetTeamDeploymentRoleArrayOutputWithContext(context.Context) GetTeamDeploymentRoleArrayOutput + ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput + ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(context.Context) GetTeamsTeamDeploymentRoleArrayOutput } -type GetTeamDeploymentRoleArray []GetTeamDeploymentRoleInput +type GetTeamsTeamDeploymentRoleArray []GetTeamsTeamDeploymentRoleInput -func (GetTeamDeploymentRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamDeploymentRole)(nil)).Elem() +func (GetTeamsTeamDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeamDeploymentRole)(nil)).Elem() } -func (i GetTeamDeploymentRoleArray) ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput { - return i.ToGetTeamDeploymentRoleArrayOutputWithContext(context.Background()) +func (i GetTeamsTeamDeploymentRoleArray) ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput { + return i.ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(context.Background()) } -func (i GetTeamDeploymentRoleArray) ToGetTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamDeploymentRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamDeploymentRoleArrayOutput) +func (i GetTeamsTeamDeploymentRoleArray) ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamDeploymentRoleArrayOutput) } -type GetTeamDeploymentRoleOutput struct{ *pulumi.OutputState } +type GetTeamsTeamDeploymentRoleOutput struct{ *pulumi.OutputState } -func (GetTeamDeploymentRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamDeploymentRole)(nil)).Elem() +func (GetTeamsTeamDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamDeploymentRole)(nil)).Elem() } -func (o GetTeamDeploymentRoleOutput) ToGetTeamDeploymentRoleOutput() GetTeamDeploymentRoleOutput { +func (o GetTeamsTeamDeploymentRoleOutput) ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput { return o } -func (o GetTeamDeploymentRoleOutput) ToGetTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamDeploymentRoleOutput { +func (o GetTeamsTeamDeploymentRoleOutput) ToGetTeamsTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleOutput { return o } // The ID of the deployment the role is assigned to -func (o GetTeamDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) +func (o GetTeamsTeamDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } // The role assigned to the deployment -func (o GetTeamDeploymentRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamDeploymentRole) string { return v.Role }).(pulumi.StringOutput) +func (o GetTeamsTeamDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -type GetTeamDeploymentRoleArrayOutput struct{ *pulumi.OutputState } +type GetTeamsTeamDeploymentRoleArrayOutput struct{ *pulumi.OutputState } -func (GetTeamDeploymentRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamDeploymentRole)(nil)).Elem() +func (GetTeamsTeamDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeamDeploymentRole)(nil)).Elem() } -func (o GetTeamDeploymentRoleArrayOutput) ToGetTeamDeploymentRoleArrayOutput() GetTeamDeploymentRoleArrayOutput { +func (o GetTeamsTeamDeploymentRoleArrayOutput) ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput { return o } -func (o GetTeamDeploymentRoleArrayOutput) ToGetTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamDeploymentRoleArrayOutput { +func (o GetTeamsTeamDeploymentRoleArrayOutput) ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleArrayOutput { return o } -func (o GetTeamDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetTeamDeploymentRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamDeploymentRole { - return vs[0].([]GetTeamDeploymentRole)[vs[1].(int)] - }).(GetTeamDeploymentRoleOutput) +func (o GetTeamsTeamDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeamDeploymentRole { + return vs[0].([]GetTeamsTeamDeploymentRole)[vs[1].(int)] + }).(GetTeamsTeamDeploymentRoleOutput) } -type GetTeamUpdatedBy struct { +type GetTeamsTeamUpdatedBy struct { ApiTokenName string `pulumi:"apiTokenName"` AvatarUrl string `pulumi:"avatarUrl"` FullName string `pulumi:"fullName"` @@ -8527,18 +12309,18 @@ type GetTeamUpdatedBy struct { Username string `pulumi:"username"` } -// GetTeamUpdatedByInput is an input type that accepts GetTeamUpdatedByArgs and GetTeamUpdatedByOutput values. -// You can construct a concrete instance of `GetTeamUpdatedByInput` via: +// GetTeamsTeamUpdatedByInput is an input type that accepts GetTeamsTeamUpdatedByArgs and GetTeamsTeamUpdatedByOutput values. +// You can construct a concrete instance of `GetTeamsTeamUpdatedByInput` via: // -// GetTeamUpdatedByArgs{...} -type GetTeamUpdatedByInput interface { +// GetTeamsTeamUpdatedByArgs{...} +type GetTeamsTeamUpdatedByInput interface { pulumi.Input - ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput - ToGetTeamUpdatedByOutputWithContext(context.Context) GetTeamUpdatedByOutput + ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput + ToGetTeamsTeamUpdatedByOutputWithContext(context.Context) GetTeamsTeamUpdatedByOutput } -type GetTeamUpdatedByArgs struct { +type GetTeamsTeamUpdatedByArgs struct { ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` FullName pulumi.StringInput `pulumi:"fullName"` @@ -8547,726 +12329,762 @@ type GetTeamUpdatedByArgs struct { Username pulumi.StringInput `pulumi:"username"` } -func (GetTeamUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamUpdatedBy)(nil)).Elem() +func (GetTeamsTeamUpdatedByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamUpdatedBy)(nil)).Elem() } -func (i GetTeamUpdatedByArgs) ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput { - return i.ToGetTeamUpdatedByOutputWithContext(context.Background()) +func (i GetTeamsTeamUpdatedByArgs) ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput { + return i.ToGetTeamsTeamUpdatedByOutputWithContext(context.Background()) } -func (i GetTeamUpdatedByArgs) ToGetTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamUpdatedByOutput) +func (i GetTeamsTeamUpdatedByArgs) ToGetTeamsTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamsTeamUpdatedByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamUpdatedByOutput) } -type GetTeamUpdatedByOutput struct{ *pulumi.OutputState } +type GetTeamsTeamUpdatedByOutput struct{ *pulumi.OutputState } -func (GetTeamUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamUpdatedBy)(nil)).Elem() +func (GetTeamsTeamUpdatedByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamUpdatedBy)(nil)).Elem() } -func (o GetTeamUpdatedByOutput) ToGetTeamUpdatedByOutput() GetTeamUpdatedByOutput { +func (o GetTeamsTeamUpdatedByOutput) ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput { return o } -func (o GetTeamUpdatedByOutput) ToGetTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamUpdatedByOutput { +func (o GetTeamsTeamUpdatedByOutput) ToGetTeamsTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamsTeamUpdatedByOutput { return o } -func (o GetTeamUpdatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) ApiTokenName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) } -func (o GetTeamUpdatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) } -func (o GetTeamUpdatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) } -func (o GetTeamUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.Id }).(pulumi.StringOutput) } -func (o GetTeamUpdatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) SubjectType() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) } -func (o GetTeamUpdatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetTeamsTeamUpdatedByOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.Username }).(pulumi.StringOutput) } -type GetTeamWorkspaceRole struct { +type GetTeamsTeamWorkspaceRole struct { // The role assigned to the workspace Role string `pulumi:"role"` // The ID of the workspace the role is assigned to WorkspaceId string `pulumi:"workspaceId"` } -// GetTeamWorkspaceRoleInput is an input type that accepts GetTeamWorkspaceRoleArgs and GetTeamWorkspaceRoleOutput values. -// You can construct a concrete instance of `GetTeamWorkspaceRoleInput` via: +// GetTeamsTeamWorkspaceRoleInput is an input type that accepts GetTeamsTeamWorkspaceRoleArgs and GetTeamsTeamWorkspaceRoleOutput values. +// You can construct a concrete instance of `GetTeamsTeamWorkspaceRoleInput` via: // -// GetTeamWorkspaceRoleArgs{...} -type GetTeamWorkspaceRoleInput interface { +// GetTeamsTeamWorkspaceRoleArgs{...} +type GetTeamsTeamWorkspaceRoleInput interface { pulumi.Input - ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput - ToGetTeamWorkspaceRoleOutputWithContext(context.Context) GetTeamWorkspaceRoleOutput + ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput + ToGetTeamsTeamWorkspaceRoleOutputWithContext(context.Context) GetTeamsTeamWorkspaceRoleOutput } -type GetTeamWorkspaceRoleArgs struct { +type GetTeamsTeamWorkspaceRoleArgs struct { // The role assigned to the workspace Role pulumi.StringInput `pulumi:"role"` // The ID of the workspace the role is assigned to WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (GetTeamWorkspaceRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamWorkspaceRole)(nil)).Elem() +func (GetTeamsTeamWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamWorkspaceRole)(nil)).Elem() } -func (i GetTeamWorkspaceRoleArgs) ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput { - return i.ToGetTeamWorkspaceRoleOutputWithContext(context.Background()) +func (i GetTeamsTeamWorkspaceRoleArgs) ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput { + return i.ToGetTeamsTeamWorkspaceRoleOutputWithContext(context.Background()) } -func (i GetTeamWorkspaceRoleArgs) ToGetTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamWorkspaceRoleOutput) +func (i GetTeamsTeamWorkspaceRoleArgs) ToGetTeamsTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamWorkspaceRoleOutput) } -// GetTeamWorkspaceRoleArrayInput is an input type that accepts GetTeamWorkspaceRoleArray and GetTeamWorkspaceRoleArrayOutput values. -// You can construct a concrete instance of `GetTeamWorkspaceRoleArrayInput` via: +// GetTeamsTeamWorkspaceRoleArrayInput is an input type that accepts GetTeamsTeamWorkspaceRoleArray and GetTeamsTeamWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `GetTeamsTeamWorkspaceRoleArrayInput` via: // -// GetTeamWorkspaceRoleArray{ GetTeamWorkspaceRoleArgs{...} } -type GetTeamWorkspaceRoleArrayInput interface { +// GetTeamsTeamWorkspaceRoleArray{ GetTeamsTeamWorkspaceRoleArgs{...} } +type GetTeamsTeamWorkspaceRoleArrayInput interface { pulumi.Input - ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput - ToGetTeamWorkspaceRoleArrayOutputWithContext(context.Context) GetTeamWorkspaceRoleArrayOutput + ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput + ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(context.Context) GetTeamsTeamWorkspaceRoleArrayOutput } -type GetTeamWorkspaceRoleArray []GetTeamWorkspaceRoleInput +type GetTeamsTeamWorkspaceRoleArray []GetTeamsTeamWorkspaceRoleInput -func (GetTeamWorkspaceRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamWorkspaceRole)(nil)).Elem() +func (GetTeamsTeamWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeamWorkspaceRole)(nil)).Elem() } -func (i GetTeamWorkspaceRoleArray) ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput { - return i.ToGetTeamWorkspaceRoleArrayOutputWithContext(context.Background()) +func (i GetTeamsTeamWorkspaceRoleArray) ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput { + return i.ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(context.Background()) } -func (i GetTeamWorkspaceRoleArray) ToGetTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamWorkspaceRoleArrayOutput) +func (i GetTeamsTeamWorkspaceRoleArray) ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamWorkspaceRoleArrayOutput) } -type GetTeamWorkspaceRoleOutput struct{ *pulumi.OutputState } +type GetTeamsTeamWorkspaceRoleOutput struct{ *pulumi.OutputState } -func (GetTeamWorkspaceRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamWorkspaceRole)(nil)).Elem() +func (GetTeamsTeamWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetTeamsTeamWorkspaceRole)(nil)).Elem() } -func (o GetTeamWorkspaceRoleOutput) ToGetTeamWorkspaceRoleOutput() GetTeamWorkspaceRoleOutput { +func (o GetTeamsTeamWorkspaceRoleOutput) ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput { return o } -func (o GetTeamWorkspaceRoleOutput) ToGetTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleOutput { +func (o GetTeamsTeamWorkspaceRoleOutput) ToGetTeamsTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleOutput { return o } // The role assigned to the workspace -func (o GetTeamWorkspaceRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) +func (o GetTeamsTeamWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } // The ID of the workspace the role is assigned to -func (o GetTeamWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) +func (o GetTeamsTeamWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetTeamsTeamWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -type GetTeamWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } +type GetTeamsTeamWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } -func (GetTeamWorkspaceRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamWorkspaceRole)(nil)).Elem() +func (GetTeamsTeamWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetTeamsTeamWorkspaceRole)(nil)).Elem() } -func (o GetTeamWorkspaceRoleArrayOutput) ToGetTeamWorkspaceRoleArrayOutput() GetTeamWorkspaceRoleArrayOutput { +func (o GetTeamsTeamWorkspaceRoleArrayOutput) ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput { return o } -func (o GetTeamWorkspaceRoleArrayOutput) ToGetTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamWorkspaceRoleArrayOutput { +func (o GetTeamsTeamWorkspaceRoleArrayOutput) ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleArrayOutput { return o } -func (o GetTeamWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetTeamWorkspaceRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamWorkspaceRole { - return vs[0].([]GetTeamWorkspaceRole)[vs[1].(int)] - }).(GetTeamWorkspaceRoleOutput) +func (o GetTeamsTeamWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeamWorkspaceRole { + return vs[0].([]GetTeamsTeamWorkspaceRole)[vs[1].(int)] + }).(GetTeamsTeamWorkspaceRoleOutput) } -type GetTeamsTeam struct { - // Team creation timestamp - CreatedAt string `pulumi:"createdAt"` - // Team creator - CreatedBy GetTeamsTeamCreatedBy `pulumi:"createdBy"` - // The roles assigned to the deployments - DeploymentRoles []GetTeamsTeamDeploymentRole `pulumi:"deploymentRoles"` - // Team description - Description string `pulumi:"description"` - // Team identifier - Id string `pulumi:"id"` - // Whether the team is managed by an identity provider - IsIdpManaged bool `pulumi:"isIdpManaged"` - // Team name - Name string `pulumi:"name"` - // The role assigned to the organization - OrganizationRole string `pulumi:"organizationRole"` - // Number of roles assigned to the team - RolesCount int `pulumi:"rolesCount"` - // Team last updated timestamp - UpdatedAt string `pulumi:"updatedAt"` - // Team updater - UpdatedBy GetTeamsTeamUpdatedBy `pulumi:"updatedBy"` - // The roles assigned to the workspaces - WorkspaceRoles []GetTeamsTeamWorkspaceRole `pulumi:"workspaceRoles"` +type GetUserDeploymentRole struct { + // The ID of the deployment the role is assigned to + DeploymentId string `pulumi:"deploymentId"` + // The role assigned to the deployment + Role string `pulumi:"role"` } -// GetTeamsTeamInput is an input type that accepts GetTeamsTeamArgs and GetTeamsTeamOutput values. -// You can construct a concrete instance of `GetTeamsTeamInput` via: +// GetUserDeploymentRoleInput is an input type that accepts GetUserDeploymentRoleArgs and GetUserDeploymentRoleOutput values. +// You can construct a concrete instance of `GetUserDeploymentRoleInput` via: // -// GetTeamsTeamArgs{...} -type GetTeamsTeamInput interface { +// GetUserDeploymentRoleArgs{...} +type GetUserDeploymentRoleInput interface { pulumi.Input - ToGetTeamsTeamOutput() GetTeamsTeamOutput - ToGetTeamsTeamOutputWithContext(context.Context) GetTeamsTeamOutput + ToGetUserDeploymentRoleOutput() GetUserDeploymentRoleOutput + ToGetUserDeploymentRoleOutputWithContext(context.Context) GetUserDeploymentRoleOutput } -type GetTeamsTeamArgs struct { - // Team creation timestamp - CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Team creator - CreatedBy GetTeamsTeamCreatedByInput `pulumi:"createdBy"` - // The roles assigned to the deployments - DeploymentRoles GetTeamsTeamDeploymentRoleArrayInput `pulumi:"deploymentRoles"` - // Team description - Description pulumi.StringInput `pulumi:"description"` - // Team identifier - Id pulumi.StringInput `pulumi:"id"` - // Whether the team is managed by an identity provider - IsIdpManaged pulumi.BoolInput `pulumi:"isIdpManaged"` - // Team name - Name pulumi.StringInput `pulumi:"name"` - // The role assigned to the organization - OrganizationRole pulumi.StringInput `pulumi:"organizationRole"` - // Number of roles assigned to the team - RolesCount pulumi.IntInput `pulumi:"rolesCount"` - // Team last updated timestamp - UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // Team updater - UpdatedBy GetTeamsTeamUpdatedByInput `pulumi:"updatedBy"` - // The roles assigned to the workspaces - WorkspaceRoles GetTeamsTeamWorkspaceRoleArrayInput `pulumi:"workspaceRoles"` +type GetUserDeploymentRoleArgs struct { + // The ID of the deployment the role is assigned to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role assigned to the deployment + Role pulumi.StringInput `pulumi:"role"` } -func (GetTeamsTeamArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeam)(nil)).Elem() +func (GetUserDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserDeploymentRole)(nil)).Elem() } -func (i GetTeamsTeamArgs) ToGetTeamsTeamOutput() GetTeamsTeamOutput { - return i.ToGetTeamsTeamOutputWithContext(context.Background()) +func (i GetUserDeploymentRoleArgs) ToGetUserDeploymentRoleOutput() GetUserDeploymentRoleOutput { + return i.ToGetUserDeploymentRoleOutputWithContext(context.Background()) } -func (i GetTeamsTeamArgs) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamOutput) +func (i GetUserDeploymentRoleArgs) ToGetUserDeploymentRoleOutputWithContext(ctx context.Context) GetUserDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserDeploymentRoleOutput) } -// GetTeamsTeamArrayInput is an input type that accepts GetTeamsTeamArray and GetTeamsTeamArrayOutput values. -// You can construct a concrete instance of `GetTeamsTeamArrayInput` via: +// GetUserDeploymentRoleArrayInput is an input type that accepts GetUserDeploymentRoleArray and GetUserDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `GetUserDeploymentRoleArrayInput` via: // -// GetTeamsTeamArray{ GetTeamsTeamArgs{...} } -type GetTeamsTeamArrayInput interface { +// GetUserDeploymentRoleArray{ GetUserDeploymentRoleArgs{...} } +type GetUserDeploymentRoleArrayInput interface { pulumi.Input - ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput - ToGetTeamsTeamArrayOutputWithContext(context.Context) GetTeamsTeamArrayOutput + ToGetUserDeploymentRoleArrayOutput() GetUserDeploymentRoleArrayOutput + ToGetUserDeploymentRoleArrayOutputWithContext(context.Context) GetUserDeploymentRoleArrayOutput } -type GetTeamsTeamArray []GetTeamsTeamInput +type GetUserDeploymentRoleArray []GetUserDeploymentRoleInput -func (GetTeamsTeamArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeam)(nil)).Elem() +func (GetUserDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserDeploymentRole)(nil)).Elem() } -func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput { - return i.ToGetTeamsTeamArrayOutputWithContext(context.Background()) +func (i GetUserDeploymentRoleArray) ToGetUserDeploymentRoleArrayOutput() GetUserDeploymentRoleArrayOutput { + return i.ToGetUserDeploymentRoleArrayOutputWithContext(context.Background()) } -func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamArrayOutput) +func (i GetUserDeploymentRoleArray) ToGetUserDeploymentRoleArrayOutputWithContext(ctx context.Context) GetUserDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserDeploymentRoleArrayOutput) } -type GetTeamsTeamOutput struct{ *pulumi.OutputState } +type GetUserDeploymentRoleOutput struct{ *pulumi.OutputState } -func (GetTeamsTeamOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeam)(nil)).Elem() +func (GetUserDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserDeploymentRole)(nil)).Elem() } -func (o GetTeamsTeamOutput) ToGetTeamsTeamOutput() GetTeamsTeamOutput { +func (o GetUserDeploymentRoleOutput) ToGetUserDeploymentRoleOutput() GetUserDeploymentRoleOutput { return o } -func (o GetTeamsTeamOutput) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput { +func (o GetUserDeploymentRoleOutput) ToGetUserDeploymentRoleOutputWithContext(ctx context.Context) GetUserDeploymentRoleOutput { return o } -// Team creation timestamp -func (o GetTeamsTeamOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.CreatedAt }).(pulumi.StringOutput) -} - -// Team creator -func (o GetTeamsTeamOutput) CreatedBy() GetTeamsTeamCreatedByOutput { - return o.ApplyT(func(v GetTeamsTeam) GetTeamsTeamCreatedBy { return v.CreatedBy }).(GetTeamsTeamCreatedByOutput) -} - -// The roles assigned to the deployments -func (o GetTeamsTeamOutput) DeploymentRoles() GetTeamsTeamDeploymentRoleArrayOutput { - return o.ApplyT(func(v GetTeamsTeam) []GetTeamsTeamDeploymentRole { return v.DeploymentRoles }).(GetTeamsTeamDeploymentRoleArrayOutput) -} - -// Team description -func (o GetTeamsTeamOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.Description }).(pulumi.StringOutput) -} - -// Team identifier -func (o GetTeamsTeamOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.Id }).(pulumi.StringOutput) +// The ID of the deployment the role is assigned to +func (o GetUserDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v GetUserDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -// Whether the team is managed by an identity provider -func (o GetTeamsTeamOutput) IsIdpManaged() pulumi.BoolOutput { - return o.ApplyT(func(v GetTeamsTeam) bool { return v.IsIdpManaged }).(pulumi.BoolOutput) +// The role assigned to the deployment +func (o GetUserDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetUserDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -// Team name -func (o GetTeamsTeamOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.Name }).(pulumi.StringOutput) -} +type GetUserDeploymentRoleArrayOutput struct{ *pulumi.OutputState } -// The role assigned to the organization -func (o GetTeamsTeamOutput) OrganizationRole() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.OrganizationRole }).(pulumi.StringOutput) +func (GetUserDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserDeploymentRole)(nil)).Elem() } -// Number of roles assigned to the team -func (o GetTeamsTeamOutput) RolesCount() pulumi.IntOutput { - return o.ApplyT(func(v GetTeamsTeam) int { return v.RolesCount }).(pulumi.IntOutput) +func (o GetUserDeploymentRoleArrayOutput) ToGetUserDeploymentRoleArrayOutput() GetUserDeploymentRoleArrayOutput { + return o } -// Team last updated timestamp -func (o GetTeamsTeamOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeam) string { return v.UpdatedAt }).(pulumi.StringOutput) +func (o GetUserDeploymentRoleArrayOutput) ToGetUserDeploymentRoleArrayOutputWithContext(ctx context.Context) GetUserDeploymentRoleArrayOutput { + return o } -// Team updater -func (o GetTeamsTeamOutput) UpdatedBy() GetTeamsTeamUpdatedByOutput { - return o.ApplyT(func(v GetTeamsTeam) GetTeamsTeamUpdatedBy { return v.UpdatedBy }).(GetTeamsTeamUpdatedByOutput) +func (o GetUserDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetUserDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUserDeploymentRole { + return vs[0].([]GetUserDeploymentRole)[vs[1].(int)] + }).(GetUserDeploymentRoleOutput) } -// The roles assigned to the workspaces -func (o GetTeamsTeamOutput) WorkspaceRoles() GetTeamsTeamWorkspaceRoleArrayOutput { - return o.ApplyT(func(v GetTeamsTeam) []GetTeamsTeamWorkspaceRole { return v.WorkspaceRoles }).(GetTeamsTeamWorkspaceRoleArrayOutput) +type GetUserWorkspaceRole struct { + // The role assigned to the workspace + Role string `pulumi:"role"` + // The ID of the workspace the role is assigned to + WorkspaceId string `pulumi:"workspaceId"` } -type GetTeamsTeamArrayOutput struct{ *pulumi.OutputState } +// GetUserWorkspaceRoleInput is an input type that accepts GetUserWorkspaceRoleArgs and GetUserWorkspaceRoleOutput values. +// You can construct a concrete instance of `GetUserWorkspaceRoleInput` via: +// +// GetUserWorkspaceRoleArgs{...} +type GetUserWorkspaceRoleInput interface { + pulumi.Input -func (GetTeamsTeamArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeam)(nil)).Elem() + ToGetUserWorkspaceRoleOutput() GetUserWorkspaceRoleOutput + ToGetUserWorkspaceRoleOutputWithContext(context.Context) GetUserWorkspaceRoleOutput } -func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput { - return o +type GetUserWorkspaceRoleArgs struct { + // The role assigned to the workspace + Role pulumi.StringInput `pulumi:"role"` + // The ID of the workspace the role is assigned to + WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput { - return o +func (GetUserWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserWorkspaceRole)(nil)).Elem() } -func (o GetTeamsTeamArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeam { - return vs[0].([]GetTeamsTeam)[vs[1].(int)] - }).(GetTeamsTeamOutput) +func (i GetUserWorkspaceRoleArgs) ToGetUserWorkspaceRoleOutput() GetUserWorkspaceRoleOutput { + return i.ToGetUserWorkspaceRoleOutputWithContext(context.Background()) } -type GetTeamsTeamCreatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +func (i GetUserWorkspaceRoleArgs) ToGetUserWorkspaceRoleOutputWithContext(ctx context.Context) GetUserWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserWorkspaceRoleOutput) } -// GetTeamsTeamCreatedByInput is an input type that accepts GetTeamsTeamCreatedByArgs and GetTeamsTeamCreatedByOutput values. -// You can construct a concrete instance of `GetTeamsTeamCreatedByInput` via: +// GetUserWorkspaceRoleArrayInput is an input type that accepts GetUserWorkspaceRoleArray and GetUserWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `GetUserWorkspaceRoleArrayInput` via: // -// GetTeamsTeamCreatedByArgs{...} -type GetTeamsTeamCreatedByInput interface { +// GetUserWorkspaceRoleArray{ GetUserWorkspaceRoleArgs{...} } +type GetUserWorkspaceRoleArrayInput interface { pulumi.Input - ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput - ToGetTeamsTeamCreatedByOutputWithContext(context.Context) GetTeamsTeamCreatedByOutput + ToGetUserWorkspaceRoleArrayOutput() GetUserWorkspaceRoleArrayOutput + ToGetUserWorkspaceRoleArrayOutputWithContext(context.Context) GetUserWorkspaceRoleArrayOutput } -type GetTeamsTeamCreatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` -} +type GetUserWorkspaceRoleArray []GetUserWorkspaceRoleInput -func (GetTeamsTeamCreatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamCreatedBy)(nil)).Elem() +func (GetUserWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserWorkspaceRole)(nil)).Elem() } -func (i GetTeamsTeamCreatedByArgs) ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput { - return i.ToGetTeamsTeamCreatedByOutputWithContext(context.Background()) +func (i GetUserWorkspaceRoleArray) ToGetUserWorkspaceRoleArrayOutput() GetUserWorkspaceRoleArrayOutput { + return i.ToGetUserWorkspaceRoleArrayOutputWithContext(context.Background()) } -func (i GetTeamsTeamCreatedByArgs) ToGetTeamsTeamCreatedByOutputWithContext(ctx context.Context) GetTeamsTeamCreatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamCreatedByOutput) +func (i GetUserWorkspaceRoleArray) ToGetUserWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetUserWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUserWorkspaceRoleArrayOutput) } -type GetTeamsTeamCreatedByOutput struct{ *pulumi.OutputState } +type GetUserWorkspaceRoleOutput struct{ *pulumi.OutputState } -func (GetTeamsTeamCreatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamCreatedBy)(nil)).Elem() +func (GetUserWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUserWorkspaceRole)(nil)).Elem() } -func (o GetTeamsTeamCreatedByOutput) ToGetTeamsTeamCreatedByOutput() GetTeamsTeamCreatedByOutput { +func (o GetUserWorkspaceRoleOutput) ToGetUserWorkspaceRoleOutput() GetUserWorkspaceRoleOutput { return o } -func (o GetTeamsTeamCreatedByOutput) ToGetTeamsTeamCreatedByOutputWithContext(ctx context.Context) GetTeamsTeamCreatedByOutput { +func (o GetUserWorkspaceRoleOutput) ToGetUserWorkspaceRoleOutputWithContext(ctx context.Context) GetUserWorkspaceRoleOutput { return o } -func (o GetTeamsTeamCreatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +// The role assigned to the workspace +func (o GetUserWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetUserWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } -func (o GetTeamsTeamCreatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +// The ID of the workspace the role is assigned to +func (o GetUserWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetUserWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -func (o GetTeamsTeamCreatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.FullName }).(pulumi.StringOutput) +type GetUserWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetUserWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUserWorkspaceRole)(nil)).Elem() } -func (o GetTeamsTeamCreatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetUserWorkspaceRoleArrayOutput) ToGetUserWorkspaceRoleArrayOutput() GetUserWorkspaceRoleArrayOutput { + return o } -func (o GetTeamsTeamCreatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetUserWorkspaceRoleArrayOutput) ToGetUserWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetUserWorkspaceRoleArrayOutput { + return o } -func (o GetTeamsTeamCreatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamCreatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetUserWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetUserWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUserWorkspaceRole { + return vs[0].([]GetUserWorkspaceRole)[vs[1].(int)] + }).(GetUserWorkspaceRoleOutput) } -type GetTeamsTeamDeploymentRole struct { - // The ID of the deployment the role is assigned to - DeploymentId string `pulumi:"deploymentId"` - // The role assigned to the deployment - Role string `pulumi:"role"` +type GetUsersUser struct { + // User avatar URL + AvatarUrl string `pulumi:"avatarUrl"` + // User creation timestamp + CreatedAt string `pulumi:"createdAt"` + // The roles assigned to the deployments + DeploymentRoles []GetUsersUserDeploymentRole `pulumi:"deploymentRoles"` + // User full name + FullName string `pulumi:"fullName"` + // User identifier + Id string `pulumi:"id"` + // The role assigned to the organization + OrganizationRole string `pulumi:"organizationRole"` + // User status + Status string `pulumi:"status"` + // User last updated timestamp + UpdatedAt string `pulumi:"updatedAt"` + // User username + Username string `pulumi:"username"` + // The roles assigned to the workspaces + WorkspaceRoles []GetUsersUserWorkspaceRole `pulumi:"workspaceRoles"` } -// GetTeamsTeamDeploymentRoleInput is an input type that accepts GetTeamsTeamDeploymentRoleArgs and GetTeamsTeamDeploymentRoleOutput values. -// You can construct a concrete instance of `GetTeamsTeamDeploymentRoleInput` via: +// GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. +// You can construct a concrete instance of `GetUsersUserInput` via: // -// GetTeamsTeamDeploymentRoleArgs{...} -type GetTeamsTeamDeploymentRoleInput interface { +// GetUsersUserArgs{...} +type GetUsersUserInput interface { pulumi.Input - ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput - ToGetTeamsTeamDeploymentRoleOutputWithContext(context.Context) GetTeamsTeamDeploymentRoleOutput + ToGetUsersUserOutput() GetUsersUserOutput + ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput } -type GetTeamsTeamDeploymentRoleArgs struct { - // The ID of the deployment the role is assigned to - DeploymentId pulumi.StringInput `pulumi:"deploymentId"` - // The role assigned to the deployment - Role pulumi.StringInput `pulumi:"role"` +type GetUsersUserArgs struct { + // User avatar URL + AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` + // User creation timestamp + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // The roles assigned to the deployments + DeploymentRoles GetUsersUserDeploymentRoleArrayInput `pulumi:"deploymentRoles"` + // User full name + FullName pulumi.StringInput `pulumi:"fullName"` + // User identifier + Id pulumi.StringInput `pulumi:"id"` + // The role assigned to the organization + OrganizationRole pulumi.StringInput `pulumi:"organizationRole"` + // User status + Status pulumi.StringInput `pulumi:"status"` + // User last updated timestamp + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // User username + Username pulumi.StringInput `pulumi:"username"` + // The roles assigned to the workspaces + WorkspaceRoles GetUsersUserWorkspaceRoleArrayInput `pulumi:"workspaceRoles"` } -func (GetTeamsTeamDeploymentRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamDeploymentRole)(nil)).Elem() +func (GetUsersUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUser)(nil)).Elem() } -func (i GetTeamsTeamDeploymentRoleArgs) ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput { - return i.ToGetTeamsTeamDeploymentRoleOutputWithContext(context.Background()) +func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput { + return i.ToGetUsersUserOutputWithContext(context.Background()) } -func (i GetTeamsTeamDeploymentRoleArgs) ToGetTeamsTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamDeploymentRoleOutput) +func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserOutput) } -// GetTeamsTeamDeploymentRoleArrayInput is an input type that accepts GetTeamsTeamDeploymentRoleArray and GetTeamsTeamDeploymentRoleArrayOutput values. -// You can construct a concrete instance of `GetTeamsTeamDeploymentRoleArrayInput` via: +// GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. +// You can construct a concrete instance of `GetUsersUserArrayInput` via: // -// GetTeamsTeamDeploymentRoleArray{ GetTeamsTeamDeploymentRoleArgs{...} } -type GetTeamsTeamDeploymentRoleArrayInput interface { +// GetUsersUserArray{ GetUsersUserArgs{...} } +type GetUsersUserArrayInput interface { pulumi.Input - ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput - ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(context.Context) GetTeamsTeamDeploymentRoleArrayOutput + ToGetUsersUserArrayOutput() GetUsersUserArrayOutput + ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput } -type GetTeamsTeamDeploymentRoleArray []GetTeamsTeamDeploymentRoleInput +type GetUsersUserArray []GetUsersUserInput -func (GetTeamsTeamDeploymentRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeamDeploymentRole)(nil)).Elem() +func (GetUsersUserArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUser)(nil)).Elem() } -func (i GetTeamsTeamDeploymentRoleArray) ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput { - return i.ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(context.Background()) +func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput { + return i.ToGetUsersUserArrayOutputWithContext(context.Background()) } -func (i GetTeamsTeamDeploymentRoleArray) ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamDeploymentRoleArrayOutput) +func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserArrayOutput) } -type GetTeamsTeamDeploymentRoleOutput struct{ *pulumi.OutputState } +type GetUsersUserOutput struct{ *pulumi.OutputState } -func (GetTeamsTeamDeploymentRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamDeploymentRole)(nil)).Elem() +func (GetUsersUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUser)(nil)).Elem() } -func (o GetTeamsTeamDeploymentRoleOutput) ToGetTeamsTeamDeploymentRoleOutput() GetTeamsTeamDeploymentRoleOutput { +func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput { return o } -func (o GetTeamsTeamDeploymentRoleOutput) ToGetTeamsTeamDeploymentRoleOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleOutput { +func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput { return o } -// The ID of the deployment the role is assigned to -func (o GetTeamsTeamDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) +// User avatar URL +func (o GetUsersUserOutput) AvatarUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.AvatarUrl }).(pulumi.StringOutput) } -// The role assigned to the deployment -func (o GetTeamsTeamDeploymentRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamDeploymentRole) string { return v.Role }).(pulumi.StringOutput) +// User creation timestamp +func (o GetUsersUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.CreatedAt }).(pulumi.StringOutput) } -type GetTeamsTeamDeploymentRoleArrayOutput struct{ *pulumi.OutputState } +// The roles assigned to the deployments +func (o GetUsersUserOutput) DeploymentRoles() GetUsersUserDeploymentRoleArrayOutput { + return o.ApplyT(func(v GetUsersUser) []GetUsersUserDeploymentRole { return v.DeploymentRoles }).(GetUsersUserDeploymentRoleArrayOutput) +} -func (GetTeamsTeamDeploymentRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeamDeploymentRole)(nil)).Elem() +// User full name +func (o GetUsersUserOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.FullName }).(pulumi.StringOutput) } -func (o GetTeamsTeamDeploymentRoleArrayOutput) ToGetTeamsTeamDeploymentRoleArrayOutput() GetTeamsTeamDeploymentRoleArrayOutput { +// User identifier +func (o GetUsersUserOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Id }).(pulumi.StringOutput) +} + +// The role assigned to the organization +func (o GetUsersUserOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.OrganizationRole }).(pulumi.StringOutput) +} + +// User status +func (o GetUsersUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Status }).(pulumi.StringOutput) +} + +// User last updated timestamp +func (o GetUsersUserOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// User username +func (o GetUsersUserOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Username }).(pulumi.StringOutput) +} + +// The roles assigned to the workspaces +func (o GetUsersUserOutput) WorkspaceRoles() GetUsersUserWorkspaceRoleArrayOutput { + return o.ApplyT(func(v GetUsersUser) []GetUsersUserWorkspaceRole { return v.WorkspaceRoles }).(GetUsersUserWorkspaceRoleArrayOutput) +} + +type GetUsersUserArrayOutput struct{ *pulumi.OutputState } + +func (GetUsersUserArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUser)(nil)).Elem() +} + +func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput { return o } -func (o GetTeamsTeamDeploymentRoleArrayOutput) ToGetTeamsTeamDeploymentRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamDeploymentRoleArrayOutput { +func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput { return o } -func (o GetTeamsTeamDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamDeploymentRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeamDeploymentRole { - return vs[0].([]GetTeamsTeamDeploymentRole)[vs[1].(int)] - }).(GetTeamsTeamDeploymentRoleOutput) +func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUsersUser { + return vs[0].([]GetUsersUser)[vs[1].(int)] + }).(GetUsersUserOutput) } -type GetTeamsTeamUpdatedBy struct { - ApiTokenName string `pulumi:"apiTokenName"` - AvatarUrl string `pulumi:"avatarUrl"` - FullName string `pulumi:"fullName"` - Id string `pulumi:"id"` - SubjectType string `pulumi:"subjectType"` - Username string `pulumi:"username"` +type GetUsersUserDeploymentRole struct { + // The ID of the deployment the role is assigned to + DeploymentId string `pulumi:"deploymentId"` + // The role assigned to the deployment + Role string `pulumi:"role"` } -// GetTeamsTeamUpdatedByInput is an input type that accepts GetTeamsTeamUpdatedByArgs and GetTeamsTeamUpdatedByOutput values. -// You can construct a concrete instance of `GetTeamsTeamUpdatedByInput` via: +// GetUsersUserDeploymentRoleInput is an input type that accepts GetUsersUserDeploymentRoleArgs and GetUsersUserDeploymentRoleOutput values. +// You can construct a concrete instance of `GetUsersUserDeploymentRoleInput` via: // -// GetTeamsTeamUpdatedByArgs{...} -type GetTeamsTeamUpdatedByInput interface { +// GetUsersUserDeploymentRoleArgs{...} +type GetUsersUserDeploymentRoleInput interface { pulumi.Input - ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput - ToGetTeamsTeamUpdatedByOutputWithContext(context.Context) GetTeamsTeamUpdatedByOutput + ToGetUsersUserDeploymentRoleOutput() GetUsersUserDeploymentRoleOutput + ToGetUsersUserDeploymentRoleOutputWithContext(context.Context) GetUsersUserDeploymentRoleOutput } -type GetTeamsTeamUpdatedByArgs struct { - ApiTokenName pulumi.StringInput `pulumi:"apiTokenName"` - AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"` - FullName pulumi.StringInput `pulumi:"fullName"` - Id pulumi.StringInput `pulumi:"id"` - SubjectType pulumi.StringInput `pulumi:"subjectType"` - Username pulumi.StringInput `pulumi:"username"` +type GetUsersUserDeploymentRoleArgs struct { + // The ID of the deployment the role is assigned to + DeploymentId pulumi.StringInput `pulumi:"deploymentId"` + // The role assigned to the deployment + Role pulumi.StringInput `pulumi:"role"` } -func (GetTeamsTeamUpdatedByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamUpdatedBy)(nil)).Elem() +func (GetUsersUserDeploymentRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUserDeploymentRole)(nil)).Elem() } -func (i GetTeamsTeamUpdatedByArgs) ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput { - return i.ToGetTeamsTeamUpdatedByOutputWithContext(context.Background()) +func (i GetUsersUserDeploymentRoleArgs) ToGetUsersUserDeploymentRoleOutput() GetUsersUserDeploymentRoleOutput { + return i.ToGetUsersUserDeploymentRoleOutputWithContext(context.Background()) } -func (i GetTeamsTeamUpdatedByArgs) ToGetTeamsTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamsTeamUpdatedByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamUpdatedByOutput) +func (i GetUsersUserDeploymentRoleArgs) ToGetUsersUserDeploymentRoleOutputWithContext(ctx context.Context) GetUsersUserDeploymentRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserDeploymentRoleOutput) } -type GetTeamsTeamUpdatedByOutput struct{ *pulumi.OutputState } +// GetUsersUserDeploymentRoleArrayInput is an input type that accepts GetUsersUserDeploymentRoleArray and GetUsersUserDeploymentRoleArrayOutput values. +// You can construct a concrete instance of `GetUsersUserDeploymentRoleArrayInput` via: +// +// GetUsersUserDeploymentRoleArray{ GetUsersUserDeploymentRoleArgs{...} } +type GetUsersUserDeploymentRoleArrayInput interface { + pulumi.Input -func (GetTeamsTeamUpdatedByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamUpdatedBy)(nil)).Elem() + ToGetUsersUserDeploymentRoleArrayOutput() GetUsersUserDeploymentRoleArrayOutput + ToGetUsersUserDeploymentRoleArrayOutputWithContext(context.Context) GetUsersUserDeploymentRoleArrayOutput } -func (o GetTeamsTeamUpdatedByOutput) ToGetTeamsTeamUpdatedByOutput() GetTeamsTeamUpdatedByOutput { +type GetUsersUserDeploymentRoleArray []GetUsersUserDeploymentRoleInput + +func (GetUsersUserDeploymentRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUserDeploymentRole)(nil)).Elem() +} + +func (i GetUsersUserDeploymentRoleArray) ToGetUsersUserDeploymentRoleArrayOutput() GetUsersUserDeploymentRoleArrayOutput { + return i.ToGetUsersUserDeploymentRoleArrayOutputWithContext(context.Background()) +} + +func (i GetUsersUserDeploymentRoleArray) ToGetUsersUserDeploymentRoleArrayOutputWithContext(ctx context.Context) GetUsersUserDeploymentRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserDeploymentRoleArrayOutput) +} + +type GetUsersUserDeploymentRoleOutput struct{ *pulumi.OutputState } + +func (GetUsersUserDeploymentRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUserDeploymentRole)(nil)).Elem() +} + +func (o GetUsersUserDeploymentRoleOutput) ToGetUsersUserDeploymentRoleOutput() GetUsersUserDeploymentRoleOutput { return o } -func (o GetTeamsTeamUpdatedByOutput) ToGetTeamsTeamUpdatedByOutputWithContext(ctx context.Context) GetTeamsTeamUpdatedByOutput { +func (o GetUsersUserDeploymentRoleOutput) ToGetUsersUserDeploymentRoleOutputWithContext(ctx context.Context) GetUsersUserDeploymentRoleOutput { return o } -func (o GetTeamsTeamUpdatedByOutput) ApiTokenName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.ApiTokenName }).(pulumi.StringOutput) +// The ID of the deployment the role is assigned to +func (o GetUsersUserDeploymentRoleOutput) DeploymentId() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUserDeploymentRole) string { return v.DeploymentId }).(pulumi.StringOutput) } -func (o GetTeamsTeamUpdatedByOutput) AvatarUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.AvatarUrl }).(pulumi.StringOutput) +// The role assigned to the deployment +func (o GetUsersUserDeploymentRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUserDeploymentRole) string { return v.Role }).(pulumi.StringOutput) } -func (o GetTeamsTeamUpdatedByOutput) FullName() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.FullName }).(pulumi.StringOutput) +type GetUsersUserDeploymentRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetUsersUserDeploymentRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUserDeploymentRole)(nil)).Elem() } -func (o GetTeamsTeamUpdatedByOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.Id }).(pulumi.StringOutput) +func (o GetUsersUserDeploymentRoleArrayOutput) ToGetUsersUserDeploymentRoleArrayOutput() GetUsersUserDeploymentRoleArrayOutput { + return o } -func (o GetTeamsTeamUpdatedByOutput) SubjectType() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.SubjectType }).(pulumi.StringOutput) +func (o GetUsersUserDeploymentRoleArrayOutput) ToGetUsersUserDeploymentRoleArrayOutputWithContext(ctx context.Context) GetUsersUserDeploymentRoleArrayOutput { + return o } -func (o GetTeamsTeamUpdatedByOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamUpdatedBy) string { return v.Username }).(pulumi.StringOutput) +func (o GetUsersUserDeploymentRoleArrayOutput) Index(i pulumi.IntInput) GetUsersUserDeploymentRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUsersUserDeploymentRole { + return vs[0].([]GetUsersUserDeploymentRole)[vs[1].(int)] + }).(GetUsersUserDeploymentRoleOutput) } -type GetTeamsTeamWorkspaceRole struct { +type GetUsersUserWorkspaceRole struct { // The role assigned to the workspace Role string `pulumi:"role"` // The ID of the workspace the role is assigned to WorkspaceId string `pulumi:"workspaceId"` } -// GetTeamsTeamWorkspaceRoleInput is an input type that accepts GetTeamsTeamWorkspaceRoleArgs and GetTeamsTeamWorkspaceRoleOutput values. -// You can construct a concrete instance of `GetTeamsTeamWorkspaceRoleInput` via: +// GetUsersUserWorkspaceRoleInput is an input type that accepts GetUsersUserWorkspaceRoleArgs and GetUsersUserWorkspaceRoleOutput values. +// You can construct a concrete instance of `GetUsersUserWorkspaceRoleInput` via: // -// GetTeamsTeamWorkspaceRoleArgs{...} -type GetTeamsTeamWorkspaceRoleInput interface { +// GetUsersUserWorkspaceRoleArgs{...} +type GetUsersUserWorkspaceRoleInput interface { pulumi.Input - ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput - ToGetTeamsTeamWorkspaceRoleOutputWithContext(context.Context) GetTeamsTeamWorkspaceRoleOutput + ToGetUsersUserWorkspaceRoleOutput() GetUsersUserWorkspaceRoleOutput + ToGetUsersUserWorkspaceRoleOutputWithContext(context.Context) GetUsersUserWorkspaceRoleOutput } -type GetTeamsTeamWorkspaceRoleArgs struct { +type GetUsersUserWorkspaceRoleArgs struct { // The role assigned to the workspace Role pulumi.StringInput `pulumi:"role"` // The ID of the workspace the role is assigned to WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` } -func (GetTeamsTeamWorkspaceRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamWorkspaceRole)(nil)).Elem() +func (GetUsersUserWorkspaceRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUserWorkspaceRole)(nil)).Elem() } -func (i GetTeamsTeamWorkspaceRoleArgs) ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput { - return i.ToGetTeamsTeamWorkspaceRoleOutputWithContext(context.Background()) +func (i GetUsersUserWorkspaceRoleArgs) ToGetUsersUserWorkspaceRoleOutput() GetUsersUserWorkspaceRoleOutput { + return i.ToGetUsersUserWorkspaceRoleOutputWithContext(context.Background()) } -func (i GetTeamsTeamWorkspaceRoleArgs) ToGetTeamsTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamWorkspaceRoleOutput) +func (i GetUsersUserWorkspaceRoleArgs) ToGetUsersUserWorkspaceRoleOutputWithContext(ctx context.Context) GetUsersUserWorkspaceRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserWorkspaceRoleOutput) } -// GetTeamsTeamWorkspaceRoleArrayInput is an input type that accepts GetTeamsTeamWorkspaceRoleArray and GetTeamsTeamWorkspaceRoleArrayOutput values. -// You can construct a concrete instance of `GetTeamsTeamWorkspaceRoleArrayInput` via: +// GetUsersUserWorkspaceRoleArrayInput is an input type that accepts GetUsersUserWorkspaceRoleArray and GetUsersUserWorkspaceRoleArrayOutput values. +// You can construct a concrete instance of `GetUsersUserWorkspaceRoleArrayInput` via: // -// GetTeamsTeamWorkspaceRoleArray{ GetTeamsTeamWorkspaceRoleArgs{...} } -type GetTeamsTeamWorkspaceRoleArrayInput interface { +// GetUsersUserWorkspaceRoleArray{ GetUsersUserWorkspaceRoleArgs{...} } +type GetUsersUserWorkspaceRoleArrayInput interface { pulumi.Input - ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput - ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(context.Context) GetTeamsTeamWorkspaceRoleArrayOutput + ToGetUsersUserWorkspaceRoleArrayOutput() GetUsersUserWorkspaceRoleArrayOutput + ToGetUsersUserWorkspaceRoleArrayOutputWithContext(context.Context) GetUsersUserWorkspaceRoleArrayOutput } -type GetTeamsTeamWorkspaceRoleArray []GetTeamsTeamWorkspaceRoleInput +type GetUsersUserWorkspaceRoleArray []GetUsersUserWorkspaceRoleInput -func (GetTeamsTeamWorkspaceRoleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeamWorkspaceRole)(nil)).Elem() +func (GetUsersUserWorkspaceRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUserWorkspaceRole)(nil)).Elem() } -func (i GetTeamsTeamWorkspaceRoleArray) ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput { - return i.ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(context.Background()) +func (i GetUsersUserWorkspaceRoleArray) ToGetUsersUserWorkspaceRoleArrayOutput() GetUsersUserWorkspaceRoleArrayOutput { + return i.ToGetUsersUserWorkspaceRoleArrayOutputWithContext(context.Background()) } -func (i GetTeamsTeamWorkspaceRoleArray) ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTeamsTeamWorkspaceRoleArrayOutput) +func (i GetUsersUserWorkspaceRoleArray) ToGetUsersUserWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetUsersUserWorkspaceRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetUsersUserWorkspaceRoleArrayOutput) } -type GetTeamsTeamWorkspaceRoleOutput struct{ *pulumi.OutputState } +type GetUsersUserWorkspaceRoleOutput struct{ *pulumi.OutputState } -func (GetTeamsTeamWorkspaceRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTeamsTeamWorkspaceRole)(nil)).Elem() +func (GetUsersUserWorkspaceRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetUsersUserWorkspaceRole)(nil)).Elem() } -func (o GetTeamsTeamWorkspaceRoleOutput) ToGetTeamsTeamWorkspaceRoleOutput() GetTeamsTeamWorkspaceRoleOutput { +func (o GetUsersUserWorkspaceRoleOutput) ToGetUsersUserWorkspaceRoleOutput() GetUsersUserWorkspaceRoleOutput { return o } -func (o GetTeamsTeamWorkspaceRoleOutput) ToGetTeamsTeamWorkspaceRoleOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleOutput { +func (o GetUsersUserWorkspaceRoleOutput) ToGetUsersUserWorkspaceRoleOutputWithContext(ctx context.Context) GetUsersUserWorkspaceRoleOutput { return o } // The role assigned to the workspace -func (o GetTeamsTeamWorkspaceRoleOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) +func (o GetUsersUserWorkspaceRoleOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUserWorkspaceRole) string { return v.Role }).(pulumi.StringOutput) } // The ID of the workspace the role is assigned to -func (o GetTeamsTeamWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { - return o.ApplyT(func(v GetTeamsTeamWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) +func (o GetUsersUserWorkspaceRoleOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUserWorkspaceRole) string { return v.WorkspaceId }).(pulumi.StringOutput) } -type GetTeamsTeamWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } +type GetUsersUserWorkspaceRoleArrayOutput struct{ *pulumi.OutputState } -func (GetTeamsTeamWorkspaceRoleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTeamsTeamWorkspaceRole)(nil)).Elem() +func (GetUsersUserWorkspaceRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetUsersUserWorkspaceRole)(nil)).Elem() } -func (o GetTeamsTeamWorkspaceRoleArrayOutput) ToGetTeamsTeamWorkspaceRoleArrayOutput() GetTeamsTeamWorkspaceRoleArrayOutput { +func (o GetUsersUserWorkspaceRoleArrayOutput) ToGetUsersUserWorkspaceRoleArrayOutput() GetUsersUserWorkspaceRoleArrayOutput { return o } -func (o GetTeamsTeamWorkspaceRoleArrayOutput) ToGetTeamsTeamWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetTeamsTeamWorkspaceRoleArrayOutput { +func (o GetUsersUserWorkspaceRoleArrayOutput) ToGetUsersUserWorkspaceRoleArrayOutputWithContext(ctx context.Context) GetUsersUserWorkspaceRoleArrayOutput { return o } -func (o GetTeamsTeamWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetTeamsTeamWorkspaceRoleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTeamsTeamWorkspaceRole { - return vs[0].([]GetTeamsTeamWorkspaceRole)[vs[1].(int)] - }).(GetTeamsTeamWorkspaceRoleOutput) +func (o GetUsersUserWorkspaceRoleArrayOutput) Index(i pulumi.IntInput) GetUsersUserWorkspaceRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetUsersUserWorkspaceRole { + return vs[0].([]GetUsersUserWorkspaceRole)[vs[1].(int)] + }).(GetUsersUserWorkspaceRoleOutput) } type GetWorkspaceCreatedBy struct { @@ -9746,6 +13564,16 @@ func (o GetWorkspacesWorkspaceUpdatedByOutput) Username() pulumi.StringOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenCreatedByInput)(nil)).Elem(), ApiTokenCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenCreatedByPtrInput)(nil)).Elem(), ApiTokenCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenRoleInput)(nil)).Elem(), ApiTokenRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenRoleArrayInput)(nil)).Elem(), ApiTokenRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenUpdatedByInput)(nil)).Elem(), ApiTokenUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenUpdatedByPtrInput)(nil)).Elem(), ApiTokenUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterHealthStatusInput)(nil)).Elem(), ClusterHealthStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterHealthStatusPtrInput)(nil)).Elem(), ClusterHealthStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterHealthStatusDetailInput)(nil)).Elem(), ClusterHealthStatusDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterHealthStatusDetailArrayInput)(nil)).Elem(), ClusterHealthStatusDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterMetadataInput)(nil)).Elem(), ClusterMetadataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterMetadataPtrInput)(nil)).Elem(), ClusterMetadataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterNodePoolInput)(nil)).Elem(), ClusterNodePoolArgs{}) @@ -9772,14 +13600,43 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeploymentUpdatedByPtrInput)(nil)).Elem(), DeploymentUpdatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentWorkerQueueInput)(nil)).Elem(), DeploymentWorkerQueueArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentWorkerQueueArrayInput)(nil)).Elem(), DeploymentWorkerQueueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamCreatedByInput)(nil)).Elem(), TeamCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamCreatedByPtrInput)(nil)).Elem(), TeamCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamDeploymentRoleInput)(nil)).Elem(), TeamDeploymentRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamDeploymentRoleArrayInput)(nil)).Elem(), TeamDeploymentRoleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*TeamRolesDeploymentRoleInput)(nil)).Elem(), TeamRolesDeploymentRoleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TeamRolesDeploymentRoleArrayInput)(nil)).Elem(), TeamRolesDeploymentRoleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*TeamRolesWorkspaceRoleInput)(nil)).Elem(), TeamRolesWorkspaceRoleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TeamRolesWorkspaceRoleArrayInput)(nil)).Elem(), TeamRolesWorkspaceRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamUpdatedByInput)(nil)).Elem(), TeamUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamUpdatedByPtrInput)(nil)).Elem(), TeamUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamWorkspaceRoleInput)(nil)).Elem(), TeamWorkspaceRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamWorkspaceRoleArrayInput)(nil)).Elem(), TeamWorkspaceRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteInviteeInput)(nil)).Elem(), UserInviteInviteeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteInviteePtrInput)(nil)).Elem(), UserInviteInviteeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteInviterInput)(nil)).Elem(), UserInviteInviterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteInviterPtrInput)(nil)).Elem(), UserInviteInviterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesDeploymentRoleInput)(nil)).Elem(), UserRolesDeploymentRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesDeploymentRoleArrayInput)(nil)).Elem(), UserRolesDeploymentRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesWorkspaceRoleInput)(nil)).Elem(), UserRolesWorkspaceRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesWorkspaceRoleArrayInput)(nil)).Elem(), UserRolesWorkspaceRoleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceCreatedByInput)(nil)).Elem(), WorkspaceCreatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceCreatedByPtrInput)(nil)).Elem(), WorkspaceCreatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceUpdatedByInput)(nil)).Elem(), WorkspaceUpdatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceUpdatedByPtrInput)(nil)).Elem(), WorkspaceUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokenCreatedByInput)(nil)).Elem(), GetApiTokenCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokenRoleInput)(nil)).Elem(), GetApiTokenRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokenRoleArrayInput)(nil)).Elem(), GetApiTokenRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokenUpdatedByInput)(nil)).Elem(), GetApiTokenUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenInput)(nil)).Elem(), GetApiTokensApiTokenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenArrayInput)(nil)).Elem(), GetApiTokensApiTokenArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenCreatedByInput)(nil)).Elem(), GetApiTokensApiTokenCreatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenRoleInput)(nil)).Elem(), GetApiTokensApiTokenRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenRoleArrayInput)(nil)).Elem(), GetApiTokensApiTokenRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetApiTokensApiTokenUpdatedByInput)(nil)).Elem(), GetApiTokensApiTokenUpdatedByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterHealthStatusInput)(nil)).Elem(), GetClusterHealthStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterHealthStatusDetailInput)(nil)).Elem(), GetClusterHealthStatusDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterHealthStatusDetailArrayInput)(nil)).Elem(), GetClusterHealthStatusDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterMetadataInput)(nil)).Elem(), GetClusterMetadataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterNodePoolInput)(nil)).Elem(), GetClusterNodePoolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterNodePoolArrayInput)(nil)).Elem(), GetClusterNodePoolArray{}) @@ -9798,6 +13655,9 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTagArrayInput)(nil)).Elem(), GetClusterTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterInput)(nil)).Elem(), GetClustersClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterArrayInput)(nil)).Elem(), GetClustersClusterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterHealthStatusInput)(nil)).Elem(), GetClustersClusterHealthStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterHealthStatusDetailInput)(nil)).Elem(), GetClustersClusterHealthStatusDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterHealthStatusDetailArrayInput)(nil)).Elem(), GetClustersClusterHealthStatusDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterMetadataInput)(nil)).Elem(), GetClustersClusterMetadataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterNodePoolInput)(nil)).Elem(), GetClustersClusterNodePoolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClustersClusterNodePoolArrayInput)(nil)).Elem(), GetClustersClusterNodePoolArray{}) @@ -9869,12 +13729,32 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetTeamsTeamUpdatedByInput)(nil)).Elem(), GetTeamsTeamUpdatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTeamsTeamWorkspaceRoleInput)(nil)).Elem(), GetTeamsTeamWorkspaceRoleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetTeamsTeamWorkspaceRoleArrayInput)(nil)).Elem(), GetTeamsTeamWorkspaceRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserDeploymentRoleInput)(nil)).Elem(), GetUserDeploymentRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserDeploymentRoleArrayInput)(nil)).Elem(), GetUserDeploymentRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserWorkspaceRoleInput)(nil)).Elem(), GetUserWorkspaceRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUserWorkspaceRoleArrayInput)(nil)).Elem(), GetUserWorkspaceRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserInput)(nil)).Elem(), GetUsersUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserArrayInput)(nil)).Elem(), GetUsersUserArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserDeploymentRoleInput)(nil)).Elem(), GetUsersUserDeploymentRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserDeploymentRoleArrayInput)(nil)).Elem(), GetUsersUserDeploymentRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserWorkspaceRoleInput)(nil)).Elem(), GetUsersUserWorkspaceRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetUsersUserWorkspaceRoleArrayInput)(nil)).Elem(), GetUsersUserWorkspaceRoleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspaceCreatedByInput)(nil)).Elem(), GetWorkspaceCreatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspaceUpdatedByInput)(nil)).Elem(), GetWorkspaceUpdatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspacesWorkspaceInput)(nil)).Elem(), GetWorkspacesWorkspaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspacesWorkspaceArrayInput)(nil)).Elem(), GetWorkspacesWorkspaceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspacesWorkspaceCreatedByInput)(nil)).Elem(), GetWorkspacesWorkspaceCreatedByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetWorkspacesWorkspaceUpdatedByInput)(nil)).Elem(), GetWorkspacesWorkspaceUpdatedByArgs{}) + pulumi.RegisterOutputType(ApiTokenCreatedByOutput{}) + pulumi.RegisterOutputType(ApiTokenCreatedByPtrOutput{}) + pulumi.RegisterOutputType(ApiTokenRoleOutput{}) + pulumi.RegisterOutputType(ApiTokenRoleArrayOutput{}) + pulumi.RegisterOutputType(ApiTokenUpdatedByOutput{}) + pulumi.RegisterOutputType(ApiTokenUpdatedByPtrOutput{}) + pulumi.RegisterOutputType(ClusterHealthStatusOutput{}) + pulumi.RegisterOutputType(ClusterHealthStatusPtrOutput{}) + pulumi.RegisterOutputType(ClusterHealthStatusDetailOutput{}) + pulumi.RegisterOutputType(ClusterHealthStatusDetailArrayOutput{}) pulumi.RegisterOutputType(ClusterMetadataOutput{}) pulumi.RegisterOutputType(ClusterMetadataPtrOutput{}) pulumi.RegisterOutputType(ClusterNodePoolOutput{}) @@ -9901,14 +13781,43 @@ func init() { pulumi.RegisterOutputType(DeploymentUpdatedByPtrOutput{}) pulumi.RegisterOutputType(DeploymentWorkerQueueOutput{}) pulumi.RegisterOutputType(DeploymentWorkerQueueArrayOutput{}) + pulumi.RegisterOutputType(TeamCreatedByOutput{}) + pulumi.RegisterOutputType(TeamCreatedByPtrOutput{}) + pulumi.RegisterOutputType(TeamDeploymentRoleOutput{}) + pulumi.RegisterOutputType(TeamDeploymentRoleArrayOutput{}) pulumi.RegisterOutputType(TeamRolesDeploymentRoleOutput{}) pulumi.RegisterOutputType(TeamRolesDeploymentRoleArrayOutput{}) pulumi.RegisterOutputType(TeamRolesWorkspaceRoleOutput{}) pulumi.RegisterOutputType(TeamRolesWorkspaceRoleArrayOutput{}) + pulumi.RegisterOutputType(TeamUpdatedByOutput{}) + pulumi.RegisterOutputType(TeamUpdatedByPtrOutput{}) + pulumi.RegisterOutputType(TeamWorkspaceRoleOutput{}) + pulumi.RegisterOutputType(TeamWorkspaceRoleArrayOutput{}) + pulumi.RegisterOutputType(UserInviteInviteeOutput{}) + pulumi.RegisterOutputType(UserInviteInviteePtrOutput{}) + pulumi.RegisterOutputType(UserInviteInviterOutput{}) + pulumi.RegisterOutputType(UserInviteInviterPtrOutput{}) + pulumi.RegisterOutputType(UserRolesDeploymentRoleOutput{}) + pulumi.RegisterOutputType(UserRolesDeploymentRoleArrayOutput{}) + pulumi.RegisterOutputType(UserRolesWorkspaceRoleOutput{}) + pulumi.RegisterOutputType(UserRolesWorkspaceRoleArrayOutput{}) pulumi.RegisterOutputType(WorkspaceCreatedByOutput{}) pulumi.RegisterOutputType(WorkspaceCreatedByPtrOutput{}) pulumi.RegisterOutputType(WorkspaceUpdatedByOutput{}) pulumi.RegisterOutputType(WorkspaceUpdatedByPtrOutput{}) + pulumi.RegisterOutputType(GetApiTokenCreatedByOutput{}) + pulumi.RegisterOutputType(GetApiTokenRoleOutput{}) + pulumi.RegisterOutputType(GetApiTokenRoleArrayOutput{}) + pulumi.RegisterOutputType(GetApiTokenUpdatedByOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenArrayOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenCreatedByOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenRoleOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenRoleArrayOutput{}) + pulumi.RegisterOutputType(GetApiTokensApiTokenUpdatedByOutput{}) + pulumi.RegisterOutputType(GetClusterHealthStatusOutput{}) + pulumi.RegisterOutputType(GetClusterHealthStatusDetailOutput{}) + pulumi.RegisterOutputType(GetClusterHealthStatusDetailArrayOutput{}) pulumi.RegisterOutputType(GetClusterMetadataOutput{}) pulumi.RegisterOutputType(GetClusterNodePoolOutput{}) pulumi.RegisterOutputType(GetClusterNodePoolArrayOutput{}) @@ -9927,6 +13836,9 @@ func init() { pulumi.RegisterOutputType(GetClusterTagArrayOutput{}) pulumi.RegisterOutputType(GetClustersClusterOutput{}) pulumi.RegisterOutputType(GetClustersClusterArrayOutput{}) + pulumi.RegisterOutputType(GetClustersClusterHealthStatusOutput{}) + pulumi.RegisterOutputType(GetClustersClusterHealthStatusDetailOutput{}) + pulumi.RegisterOutputType(GetClustersClusterHealthStatusDetailArrayOutput{}) pulumi.RegisterOutputType(GetClustersClusterMetadataOutput{}) pulumi.RegisterOutputType(GetClustersClusterNodePoolOutput{}) pulumi.RegisterOutputType(GetClustersClusterNodePoolArrayOutput{}) @@ -9998,6 +13910,16 @@ func init() { pulumi.RegisterOutputType(GetTeamsTeamUpdatedByOutput{}) pulumi.RegisterOutputType(GetTeamsTeamWorkspaceRoleOutput{}) pulumi.RegisterOutputType(GetTeamsTeamWorkspaceRoleArrayOutput{}) + pulumi.RegisterOutputType(GetUserDeploymentRoleOutput{}) + pulumi.RegisterOutputType(GetUserDeploymentRoleArrayOutput{}) + pulumi.RegisterOutputType(GetUserWorkspaceRoleOutput{}) + pulumi.RegisterOutputType(GetUserWorkspaceRoleArrayOutput{}) + pulumi.RegisterOutputType(GetUsersUserOutput{}) + pulumi.RegisterOutputType(GetUsersUserArrayOutput{}) + pulumi.RegisterOutputType(GetUsersUserDeploymentRoleOutput{}) + pulumi.RegisterOutputType(GetUsersUserDeploymentRoleArrayOutput{}) + pulumi.RegisterOutputType(GetUsersUserWorkspaceRoleOutput{}) + pulumi.RegisterOutputType(GetUsersUserWorkspaceRoleArrayOutput{}) pulumi.RegisterOutputType(GetWorkspaceCreatedByOutput{}) pulumi.RegisterOutputType(GetWorkspaceUpdatedByOutput{}) pulumi.RegisterOutputType(GetWorkspacesWorkspaceOutput{}) diff --git a/sdk/go/astronomer/team.go b/sdk/go/astronomer/team.go new file mode 100644 index 0000000..8e2b99e --- /dev/null +++ b/sdk/go/astronomer/team.go @@ -0,0 +1,360 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// Team resource +type Team struct { + pulumi.CustomResourceState + + // Team creation timestamp + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Team creator + CreatedBy TeamCreatedByOutput `pulumi:"createdBy"` + // The roles to assign to the Deployments + DeploymentRoles TeamDeploymentRoleArrayOutput `pulumi:"deploymentRoles"` + // Team description + Description pulumi.StringPtrOutput `pulumi:"description"` + // Whether the Team is managed by an identity provider + IsIdpManaged pulumi.BoolOutput `pulumi:"isIdpManaged"` + // The IDs of the users to add to the Team + MemberIds pulumi.StringArrayOutput `pulumi:"memberIds"` + // Team name + Name pulumi.StringOutput `pulumi:"name"` + // The role to assign to the Organization + OrganizationRole pulumi.StringOutput `pulumi:"organizationRole"` + // Number of roles assigned to the Team + RolesCount pulumi.IntOutput `pulumi:"rolesCount"` + // Team last updated timestamp + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // Team updater + UpdatedBy TeamUpdatedByOutput `pulumi:"updatedBy"` + // The roles to assign to the Workspaces + WorkspaceRoles TeamWorkspaceRoleArrayOutput `pulumi:"workspaceRoles"` +} + +// NewTeam registers a new resource with the given unique name, arguments, and options. +func NewTeam(ctx *pulumi.Context, + name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OrganizationRole == nil { + return nil, errors.New("invalid value for required argument 'OrganizationRole'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Team + err := ctx.RegisterResource("astronomer:index/team:Team", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetTeam gets an existing Team resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetTeam(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error) { + var resource Team + err := ctx.ReadResource("astronomer:index/team:Team", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Team resources. +type teamState struct { + // Team creation timestamp + CreatedAt *string `pulumi:"createdAt"` + // Team creator + CreatedBy *TeamCreatedBy `pulumi:"createdBy"` + // The roles to assign to the Deployments + DeploymentRoles []TeamDeploymentRole `pulumi:"deploymentRoles"` + // Team description + Description *string `pulumi:"description"` + // Whether the Team is managed by an identity provider + IsIdpManaged *bool `pulumi:"isIdpManaged"` + // The IDs of the users to add to the Team + MemberIds []string `pulumi:"memberIds"` + // Team name + Name *string `pulumi:"name"` + // The role to assign to the Organization + OrganizationRole *string `pulumi:"organizationRole"` + // Number of roles assigned to the Team + RolesCount *int `pulumi:"rolesCount"` + // Team last updated timestamp + UpdatedAt *string `pulumi:"updatedAt"` + // Team updater + UpdatedBy *TeamUpdatedBy `pulumi:"updatedBy"` + // The roles to assign to the Workspaces + WorkspaceRoles []TeamWorkspaceRole `pulumi:"workspaceRoles"` +} + +type TeamState struct { + // Team creation timestamp + CreatedAt pulumi.StringPtrInput + // Team creator + CreatedBy TeamCreatedByPtrInput + // The roles to assign to the Deployments + DeploymentRoles TeamDeploymentRoleArrayInput + // Team description + Description pulumi.StringPtrInput + // Whether the Team is managed by an identity provider + IsIdpManaged pulumi.BoolPtrInput + // The IDs of the users to add to the Team + MemberIds pulumi.StringArrayInput + // Team name + Name pulumi.StringPtrInput + // The role to assign to the Organization + OrganizationRole pulumi.StringPtrInput + // Number of roles assigned to the Team + RolesCount pulumi.IntPtrInput + // Team last updated timestamp + UpdatedAt pulumi.StringPtrInput + // Team updater + UpdatedBy TeamUpdatedByPtrInput + // The roles to assign to the Workspaces + WorkspaceRoles TeamWorkspaceRoleArrayInput +} + +func (TeamState) ElementType() reflect.Type { + return reflect.TypeOf((*teamState)(nil)).Elem() +} + +type teamArgs struct { + // The roles to assign to the Deployments + DeploymentRoles []TeamDeploymentRole `pulumi:"deploymentRoles"` + // Team description + Description *string `pulumi:"description"` + // The IDs of the users to add to the Team + MemberIds []string `pulumi:"memberIds"` + // Team name + Name *string `pulumi:"name"` + // The role to assign to the Organization + OrganizationRole string `pulumi:"organizationRole"` + // The roles to assign to the Workspaces + WorkspaceRoles []TeamWorkspaceRole `pulumi:"workspaceRoles"` +} + +// The set of arguments for constructing a Team resource. +type TeamArgs struct { + // The roles to assign to the Deployments + DeploymentRoles TeamDeploymentRoleArrayInput + // Team description + Description pulumi.StringPtrInput + // The IDs of the users to add to the Team + MemberIds pulumi.StringArrayInput + // Team name + Name pulumi.StringPtrInput + // The role to assign to the Organization + OrganizationRole pulumi.StringInput + // The roles to assign to the Workspaces + WorkspaceRoles TeamWorkspaceRoleArrayInput +} + +func (TeamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*teamArgs)(nil)).Elem() +} + +type TeamInput interface { + pulumi.Input + + ToTeamOutput() TeamOutput + ToTeamOutputWithContext(ctx context.Context) TeamOutput +} + +func (*Team) ElementType() reflect.Type { + return reflect.TypeOf((**Team)(nil)).Elem() +} + +func (i *Team) ToTeamOutput() TeamOutput { + return i.ToTeamOutputWithContext(context.Background()) +} + +func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamOutput) +} + +// TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. +// You can construct a concrete instance of `TeamArrayInput` via: +// +// TeamArray{ TeamArgs{...} } +type TeamArrayInput interface { + pulumi.Input + + ToTeamArrayOutput() TeamArrayOutput + ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput +} + +type TeamArray []TeamInput + +func (TeamArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Team)(nil)).Elem() +} + +func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput { + return i.ToTeamArrayOutputWithContext(context.Background()) +} + +func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamArrayOutput) +} + +// TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. +// You can construct a concrete instance of `TeamMapInput` via: +// +// TeamMap{ "key": TeamArgs{...} } +type TeamMapInput interface { + pulumi.Input + + ToTeamMapOutput() TeamMapOutput + ToTeamMapOutputWithContext(context.Context) TeamMapOutput +} + +type TeamMap map[string]TeamInput + +func (TeamMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Team)(nil)).Elem() +} + +func (i TeamMap) ToTeamMapOutput() TeamMapOutput { + return i.ToTeamMapOutputWithContext(context.Background()) +} + +func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(TeamMapOutput) +} + +type TeamOutput struct{ *pulumi.OutputState } + +func (TeamOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Team)(nil)).Elem() +} + +func (o TeamOutput) ToTeamOutput() TeamOutput { + return o +} + +func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput { + return o +} + +// Team creation timestamp +func (o TeamOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Team creator +func (o TeamOutput) CreatedBy() TeamCreatedByOutput { + return o.ApplyT(func(v *Team) TeamCreatedByOutput { return v.CreatedBy }).(TeamCreatedByOutput) +} + +// The roles to assign to the Deployments +func (o TeamOutput) DeploymentRoles() TeamDeploymentRoleArrayOutput { + return o.ApplyT(func(v *Team) TeamDeploymentRoleArrayOutput { return v.DeploymentRoles }).(TeamDeploymentRoleArrayOutput) +} + +// Team description +func (o TeamOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Team) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Whether the Team is managed by an identity provider +func (o TeamOutput) IsIdpManaged() pulumi.BoolOutput { + return o.ApplyT(func(v *Team) pulumi.BoolOutput { return v.IsIdpManaged }).(pulumi.BoolOutput) +} + +// The IDs of the users to add to the Team +func (o TeamOutput) MemberIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Team) pulumi.StringArrayOutput { return v.MemberIds }).(pulumi.StringArrayOutput) +} + +// Team name +func (o TeamOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The role to assign to the Organization +func (o TeamOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.OrganizationRole }).(pulumi.StringOutput) +} + +// Number of roles assigned to the Team +func (o TeamOutput) RolesCount() pulumi.IntOutput { + return o.ApplyT(func(v *Team) pulumi.IntOutput { return v.RolesCount }).(pulumi.IntOutput) +} + +// Team last updated timestamp +func (o TeamOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *Team) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Team updater +func (o TeamOutput) UpdatedBy() TeamUpdatedByOutput { + return o.ApplyT(func(v *Team) TeamUpdatedByOutput { return v.UpdatedBy }).(TeamUpdatedByOutput) +} + +// The roles to assign to the Workspaces +func (o TeamOutput) WorkspaceRoles() TeamWorkspaceRoleArrayOutput { + return o.ApplyT(func(v *Team) TeamWorkspaceRoleArrayOutput { return v.WorkspaceRoles }).(TeamWorkspaceRoleArrayOutput) +} + +type TeamArrayOutput struct{ *pulumi.OutputState } + +func (TeamArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Team)(nil)).Elem() +} + +func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput { + return o +} + +func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput { + return o +} + +func (o TeamArrayOutput) Index(i pulumi.IntInput) TeamOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Team { + return vs[0].([]*Team)[vs[1].(int)] + }).(TeamOutput) +} + +type TeamMapOutput struct{ *pulumi.OutputState } + +func (TeamMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Team)(nil)).Elem() +} + +func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput { + return o +} + +func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput { + return o +} + +func (o TeamMapOutput) MapIndex(k pulumi.StringInput) TeamOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Team { + return vs[0].(map[string]*Team)[vs[1].(string)] + }).(TeamOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TeamInput)(nil)).Elem(), &Team{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamArrayInput)(nil)).Elem(), TeamArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TeamMapInput)(nil)).Elem(), TeamMap{}) + pulumi.RegisterOutputType(TeamOutput{}) + pulumi.RegisterOutputType(TeamArrayOutput{}) + pulumi.RegisterOutputType(TeamMapOutput{}) +} diff --git a/sdk/go/astronomer/userInvite.go b/sdk/go/astronomer/userInvite.go new file mode 100644 index 0000000..8524949 --- /dev/null +++ b/sdk/go/astronomer/userInvite.go @@ -0,0 +1,319 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// User Invite resource +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := astronomer.NewUserInvite(ctx, "userInvite", &astronomer.UserInviteArgs{ +// Email: pulumi.String("email@organization.com"), +// Role: pulumi.String("ORGANIZATION_MEMBER"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type UserInvite struct { + pulumi.CustomResourceState + + // The email address of the user being invited + Email pulumi.StringOutput `pulumi:"email"` + // The expiration date of the invite + ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"` + // The ID of the invite + InviteId pulumi.StringOutput `pulumi:"inviteId"` + // The profile of the invitee + Invitee UserInviteInviteeOutput `pulumi:"invitee"` + // The profile of the inviter + Inviter UserInviteInviterOutput `pulumi:"inviter"` + // The Organization role to assign to the user + Role pulumi.StringOutput `pulumi:"role"` + // The ID of the user + UserId pulumi.StringOutput `pulumi:"userId"` +} + +// NewUserInvite registers a new resource with the given unique name, arguments, and options. +func NewUserInvite(ctx *pulumi.Context, + name string, args *UserInviteArgs, opts ...pulumi.ResourceOption) (*UserInvite, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Email == nil { + return nil, errors.New("invalid value for required argument 'Email'") + } + if args.Role == nil { + return nil, errors.New("invalid value for required argument 'Role'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource UserInvite + err := ctx.RegisterResource("astronomer:index/userInvite:UserInvite", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetUserInvite gets an existing UserInvite resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetUserInvite(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *UserInviteState, opts ...pulumi.ResourceOption) (*UserInvite, error) { + var resource UserInvite + err := ctx.ReadResource("astronomer:index/userInvite:UserInvite", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering UserInvite resources. +type userInviteState struct { + // The email address of the user being invited + Email *string `pulumi:"email"` + // The expiration date of the invite + ExpiresAt *string `pulumi:"expiresAt"` + // The ID of the invite + InviteId *string `pulumi:"inviteId"` + // The profile of the invitee + Invitee *UserInviteInvitee `pulumi:"invitee"` + // The profile of the inviter + Inviter *UserInviteInviter `pulumi:"inviter"` + // The Organization role to assign to the user + Role *string `pulumi:"role"` + // The ID of the user + UserId *string `pulumi:"userId"` +} + +type UserInviteState struct { + // The email address of the user being invited + Email pulumi.StringPtrInput + // The expiration date of the invite + ExpiresAt pulumi.StringPtrInput + // The ID of the invite + InviteId pulumi.StringPtrInput + // The profile of the invitee + Invitee UserInviteInviteePtrInput + // The profile of the inviter + Inviter UserInviteInviterPtrInput + // The Organization role to assign to the user + Role pulumi.StringPtrInput + // The ID of the user + UserId pulumi.StringPtrInput +} + +func (UserInviteState) ElementType() reflect.Type { + return reflect.TypeOf((*userInviteState)(nil)).Elem() +} + +type userInviteArgs struct { + // The email address of the user being invited + Email string `pulumi:"email"` + // The Organization role to assign to the user + Role string `pulumi:"role"` +} + +// The set of arguments for constructing a UserInvite resource. +type UserInviteArgs struct { + // The email address of the user being invited + Email pulumi.StringInput + // The Organization role to assign to the user + Role pulumi.StringInput +} + +func (UserInviteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*userInviteArgs)(nil)).Elem() +} + +type UserInviteInput interface { + pulumi.Input + + ToUserInviteOutput() UserInviteOutput + ToUserInviteOutputWithContext(ctx context.Context) UserInviteOutput +} + +func (*UserInvite) ElementType() reflect.Type { + return reflect.TypeOf((**UserInvite)(nil)).Elem() +} + +func (i *UserInvite) ToUserInviteOutput() UserInviteOutput { + return i.ToUserInviteOutputWithContext(context.Background()) +} + +func (i *UserInvite) ToUserInviteOutputWithContext(ctx context.Context) UserInviteOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteOutput) +} + +// UserInviteArrayInput is an input type that accepts UserInviteArray and UserInviteArrayOutput values. +// You can construct a concrete instance of `UserInviteArrayInput` via: +// +// UserInviteArray{ UserInviteArgs{...} } +type UserInviteArrayInput interface { + pulumi.Input + + ToUserInviteArrayOutput() UserInviteArrayOutput + ToUserInviteArrayOutputWithContext(context.Context) UserInviteArrayOutput +} + +type UserInviteArray []UserInviteInput + +func (UserInviteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UserInvite)(nil)).Elem() +} + +func (i UserInviteArray) ToUserInviteArrayOutput() UserInviteArrayOutput { + return i.ToUserInviteArrayOutputWithContext(context.Background()) +} + +func (i UserInviteArray) ToUserInviteArrayOutputWithContext(ctx context.Context) UserInviteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteArrayOutput) +} + +// UserInviteMapInput is an input type that accepts UserInviteMap and UserInviteMapOutput values. +// You can construct a concrete instance of `UserInviteMapInput` via: +// +// UserInviteMap{ "key": UserInviteArgs{...} } +type UserInviteMapInput interface { + pulumi.Input + + ToUserInviteMapOutput() UserInviteMapOutput + ToUserInviteMapOutputWithContext(context.Context) UserInviteMapOutput +} + +type UserInviteMap map[string]UserInviteInput + +func (UserInviteMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UserInvite)(nil)).Elem() +} + +func (i UserInviteMap) ToUserInviteMapOutput() UserInviteMapOutput { + return i.ToUserInviteMapOutputWithContext(context.Background()) +} + +func (i UserInviteMap) ToUserInviteMapOutputWithContext(ctx context.Context) UserInviteMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserInviteMapOutput) +} + +type UserInviteOutput struct{ *pulumi.OutputState } + +func (UserInviteOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UserInvite)(nil)).Elem() +} + +func (o UserInviteOutput) ToUserInviteOutput() UserInviteOutput { + return o +} + +func (o UserInviteOutput) ToUserInviteOutputWithContext(ctx context.Context) UserInviteOutput { + return o +} + +// The email address of the user being invited +func (o UserInviteOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v *UserInvite) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) +} + +// The expiration date of the invite +func (o UserInviteOutput) ExpiresAt() pulumi.StringOutput { + return o.ApplyT(func(v *UserInvite) pulumi.StringOutput { return v.ExpiresAt }).(pulumi.StringOutput) +} + +// The ID of the invite +func (o UserInviteOutput) InviteId() pulumi.StringOutput { + return o.ApplyT(func(v *UserInvite) pulumi.StringOutput { return v.InviteId }).(pulumi.StringOutput) +} + +// The profile of the invitee +func (o UserInviteOutput) Invitee() UserInviteInviteeOutput { + return o.ApplyT(func(v *UserInvite) UserInviteInviteeOutput { return v.Invitee }).(UserInviteInviteeOutput) +} + +// The profile of the inviter +func (o UserInviteOutput) Inviter() UserInviteInviterOutput { + return o.ApplyT(func(v *UserInvite) UserInviteInviterOutput { return v.Inviter }).(UserInviteInviterOutput) +} + +// The Organization role to assign to the user +func (o UserInviteOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v *UserInvite) pulumi.StringOutput { return v.Role }).(pulumi.StringOutput) +} + +// The ID of the user +func (o UserInviteOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *UserInvite) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +type UserInviteArrayOutput struct{ *pulumi.OutputState } + +func (UserInviteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UserInvite)(nil)).Elem() +} + +func (o UserInviteArrayOutput) ToUserInviteArrayOutput() UserInviteArrayOutput { + return o +} + +func (o UserInviteArrayOutput) ToUserInviteArrayOutputWithContext(ctx context.Context) UserInviteArrayOutput { + return o +} + +func (o UserInviteArrayOutput) Index(i pulumi.IntInput) UserInviteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UserInvite { + return vs[0].([]*UserInvite)[vs[1].(int)] + }).(UserInviteOutput) +} + +type UserInviteMapOutput struct{ *pulumi.OutputState } + +func (UserInviteMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UserInvite)(nil)).Elem() +} + +func (o UserInviteMapOutput) ToUserInviteMapOutput() UserInviteMapOutput { + return o +} + +func (o UserInviteMapOutput) ToUserInviteMapOutputWithContext(ctx context.Context) UserInviteMapOutput { + return o +} + +func (o UserInviteMapOutput) MapIndex(k pulumi.StringInput) UserInviteOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UserInvite { + return vs[0].(map[string]*UserInvite)[vs[1].(string)] + }).(UserInviteOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteInput)(nil)).Elem(), &UserInvite{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteArrayInput)(nil)).Elem(), UserInviteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserInviteMapInput)(nil)).Elem(), UserInviteMap{}) + pulumi.RegisterOutputType(UserInviteOutput{}) + pulumi.RegisterOutputType(UserInviteArrayOutput{}) + pulumi.RegisterOutputType(UserInviteMapOutput{}) +} diff --git a/sdk/go/astronomer/userRoles.go b/sdk/go/astronomer/userRoles.go new file mode 100644 index 0000000..65e5cee --- /dev/null +++ b/sdk/go/astronomer/userRoles.go @@ -0,0 +1,267 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package astronomer + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/ryan-pip/pulumi-astronomer/sdk/go/astronomer/internal" +) + +// User Roles resource +type UserRoles struct { + pulumi.CustomResourceState + + // The roles to assign to the deployments + DeploymentRoles UserRolesDeploymentRoleArrayOutput `pulumi:"deploymentRoles"` + // The role to assign to the organization + OrganizationRole pulumi.StringOutput `pulumi:"organizationRole"` + // The ID of the user to assign the roles to + UserId pulumi.StringOutput `pulumi:"userId"` + // The roles to assign to the workspaces + WorkspaceRoles UserRolesWorkspaceRoleArrayOutput `pulumi:"workspaceRoles"` +} + +// NewUserRoles registers a new resource with the given unique name, arguments, and options. +func NewUserRoles(ctx *pulumi.Context, + name string, args *UserRolesArgs, opts ...pulumi.ResourceOption) (*UserRoles, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OrganizationRole == nil { + return nil, errors.New("invalid value for required argument 'OrganizationRole'") + } + if args.UserId == nil { + return nil, errors.New("invalid value for required argument 'UserId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource UserRoles + err := ctx.RegisterResource("astronomer:index/userRoles:UserRoles", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetUserRoles gets an existing UserRoles resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetUserRoles(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *UserRolesState, opts ...pulumi.ResourceOption) (*UserRoles, error) { + var resource UserRoles + err := ctx.ReadResource("astronomer:index/userRoles:UserRoles", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering UserRoles resources. +type userRolesState struct { + // The roles to assign to the deployments + DeploymentRoles []UserRolesDeploymentRole `pulumi:"deploymentRoles"` + // The role to assign to the organization + OrganizationRole *string `pulumi:"organizationRole"` + // The ID of the user to assign the roles to + UserId *string `pulumi:"userId"` + // The roles to assign to the workspaces + WorkspaceRoles []UserRolesWorkspaceRole `pulumi:"workspaceRoles"` +} + +type UserRolesState struct { + // The roles to assign to the deployments + DeploymentRoles UserRolesDeploymentRoleArrayInput + // The role to assign to the organization + OrganizationRole pulumi.StringPtrInput + // The ID of the user to assign the roles to + UserId pulumi.StringPtrInput + // The roles to assign to the workspaces + WorkspaceRoles UserRolesWorkspaceRoleArrayInput +} + +func (UserRolesState) ElementType() reflect.Type { + return reflect.TypeOf((*userRolesState)(nil)).Elem() +} + +type userRolesArgs struct { + // The roles to assign to the deployments + DeploymentRoles []UserRolesDeploymentRole `pulumi:"deploymentRoles"` + // The role to assign to the organization + OrganizationRole string `pulumi:"organizationRole"` + // The ID of the user to assign the roles to + UserId string `pulumi:"userId"` + // The roles to assign to the workspaces + WorkspaceRoles []UserRolesWorkspaceRole `pulumi:"workspaceRoles"` +} + +// The set of arguments for constructing a UserRoles resource. +type UserRolesArgs struct { + // The roles to assign to the deployments + DeploymentRoles UserRolesDeploymentRoleArrayInput + // The role to assign to the organization + OrganizationRole pulumi.StringInput + // The ID of the user to assign the roles to + UserId pulumi.StringInput + // The roles to assign to the workspaces + WorkspaceRoles UserRolesWorkspaceRoleArrayInput +} + +func (UserRolesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*userRolesArgs)(nil)).Elem() +} + +type UserRolesInput interface { + pulumi.Input + + ToUserRolesOutput() UserRolesOutput + ToUserRolesOutputWithContext(ctx context.Context) UserRolesOutput +} + +func (*UserRoles) ElementType() reflect.Type { + return reflect.TypeOf((**UserRoles)(nil)).Elem() +} + +func (i *UserRoles) ToUserRolesOutput() UserRolesOutput { + return i.ToUserRolesOutputWithContext(context.Background()) +} + +func (i *UserRoles) ToUserRolesOutputWithContext(ctx context.Context) UserRolesOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesOutput) +} + +// UserRolesArrayInput is an input type that accepts UserRolesArray and UserRolesArrayOutput values. +// You can construct a concrete instance of `UserRolesArrayInput` via: +// +// UserRolesArray{ UserRolesArgs{...} } +type UserRolesArrayInput interface { + pulumi.Input + + ToUserRolesArrayOutput() UserRolesArrayOutput + ToUserRolesArrayOutputWithContext(context.Context) UserRolesArrayOutput +} + +type UserRolesArray []UserRolesInput + +func (UserRolesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UserRoles)(nil)).Elem() +} + +func (i UserRolesArray) ToUserRolesArrayOutput() UserRolesArrayOutput { + return i.ToUserRolesArrayOutputWithContext(context.Background()) +} + +func (i UserRolesArray) ToUserRolesArrayOutputWithContext(ctx context.Context) UserRolesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesArrayOutput) +} + +// UserRolesMapInput is an input type that accepts UserRolesMap and UserRolesMapOutput values. +// You can construct a concrete instance of `UserRolesMapInput` via: +// +// UserRolesMap{ "key": UserRolesArgs{...} } +type UserRolesMapInput interface { + pulumi.Input + + ToUserRolesMapOutput() UserRolesMapOutput + ToUserRolesMapOutputWithContext(context.Context) UserRolesMapOutput +} + +type UserRolesMap map[string]UserRolesInput + +func (UserRolesMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UserRoles)(nil)).Elem() +} + +func (i UserRolesMap) ToUserRolesMapOutput() UserRolesMapOutput { + return i.ToUserRolesMapOutputWithContext(context.Background()) +} + +func (i UserRolesMap) ToUserRolesMapOutputWithContext(ctx context.Context) UserRolesMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserRolesMapOutput) +} + +type UserRolesOutput struct{ *pulumi.OutputState } + +func (UserRolesOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UserRoles)(nil)).Elem() +} + +func (o UserRolesOutput) ToUserRolesOutput() UserRolesOutput { + return o +} + +func (o UserRolesOutput) ToUserRolesOutputWithContext(ctx context.Context) UserRolesOutput { + return o +} + +// The roles to assign to the deployments +func (o UserRolesOutput) DeploymentRoles() UserRolesDeploymentRoleArrayOutput { + return o.ApplyT(func(v *UserRoles) UserRolesDeploymentRoleArrayOutput { return v.DeploymentRoles }).(UserRolesDeploymentRoleArrayOutput) +} + +// The role to assign to the organization +func (o UserRolesOutput) OrganizationRole() pulumi.StringOutput { + return o.ApplyT(func(v *UserRoles) pulumi.StringOutput { return v.OrganizationRole }).(pulumi.StringOutput) +} + +// The ID of the user to assign the roles to +func (o UserRolesOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *UserRoles) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +// The roles to assign to the workspaces +func (o UserRolesOutput) WorkspaceRoles() UserRolesWorkspaceRoleArrayOutput { + return o.ApplyT(func(v *UserRoles) UserRolesWorkspaceRoleArrayOutput { return v.WorkspaceRoles }).(UserRolesWorkspaceRoleArrayOutput) +} + +type UserRolesArrayOutput struct{ *pulumi.OutputState } + +func (UserRolesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UserRoles)(nil)).Elem() +} + +func (o UserRolesArrayOutput) ToUserRolesArrayOutput() UserRolesArrayOutput { + return o +} + +func (o UserRolesArrayOutput) ToUserRolesArrayOutputWithContext(ctx context.Context) UserRolesArrayOutput { + return o +} + +func (o UserRolesArrayOutput) Index(i pulumi.IntInput) UserRolesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UserRoles { + return vs[0].([]*UserRoles)[vs[1].(int)] + }).(UserRolesOutput) +} + +type UserRolesMapOutput struct{ *pulumi.OutputState } + +func (UserRolesMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UserRoles)(nil)).Elem() +} + +func (o UserRolesMapOutput) ToUserRolesMapOutput() UserRolesMapOutput { + return o +} + +func (o UserRolesMapOutput) ToUserRolesMapOutputWithContext(ctx context.Context) UserRolesMapOutput { + return o +} + +func (o UserRolesMapOutput) MapIndex(k pulumi.StringInput) UserRolesOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UserRoles { + return vs[0].(map[string]*UserRoles)[vs[1].(string)] + }).(UserRolesOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesInput)(nil)).Elem(), &UserRoles{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesArrayInput)(nil)).Elem(), UserRolesArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UserRolesMapInput)(nil)).Elem(), UserRolesMap{}) + pulumi.RegisterOutputType(UserRolesOutput{}) + pulumi.RegisterOutputType(UserRolesArrayOutput{}) + pulumi.RegisterOutputType(UserRolesMapOutput{}) +} diff --git a/sdk/nodejs/apiToken.ts b/sdk/nodejs/apiToken.ts new file mode 100644 index 0000000..1b86b22 --- /dev/null +++ b/sdk/nodejs/apiToken.ts @@ -0,0 +1,234 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * API Token resource + */ +export class ApiToken extends pulumi.CustomResource { + /** + * Get an existing ApiToken resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ApiTokenState, opts?: pulumi.CustomResourceOptions): ApiToken { + return new ApiToken(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'astronomer:index/apiToken:ApiToken'; + + /** + * Returns true if the given object is an instance of ApiToken. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ApiToken { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ApiToken.__pulumiType; + } + + /** + * API Token creation timestamp + */ + public /*out*/ readonly createdAt!: pulumi.Output; + /** + * API Token creator + */ + public /*out*/ readonly createdBy!: pulumi.Output; + /** + * API Token description + */ + public readonly description!: pulumi.Output; + /** + * time when the API token will expire in UTC + */ + public /*out*/ readonly endAt!: pulumi.Output; + /** + * API Token expiry period in days + */ + public readonly expiryPeriodInDays!: pulumi.Output; + /** + * API Token last used timestamp + */ + public /*out*/ readonly lastUsedAt!: pulumi.Output; + /** + * API Token name + */ + public readonly name!: pulumi.Output; + /** + * The roles assigned to the API Token + */ + public readonly roles!: pulumi.Output; + /** + * API Token short token + */ + public /*out*/ readonly shortToken!: pulumi.Output; + /** + * time when the API token will become valid in UTC + */ + public /*out*/ readonly startAt!: pulumi.Output; + public /*out*/ readonly token!: pulumi.Output; + /** + * API Token type - if changing this value, the API Token will be recreated with the new type + */ + public readonly type!: pulumi.Output; + /** + * API Token last updated timestamp + */ + public /*out*/ readonly updatedAt!: pulumi.Output; + /** + * API Token updater + */ + public /*out*/ readonly updatedBy!: pulumi.Output; + + /** + * Create a ApiToken resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ApiTokenArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ApiTokenArgs | ApiTokenState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ApiTokenState | undefined; + resourceInputs["createdAt"] = state ? state.createdAt : undefined; + resourceInputs["createdBy"] = state ? state.createdBy : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["endAt"] = state ? state.endAt : undefined; + resourceInputs["expiryPeriodInDays"] = state ? state.expiryPeriodInDays : undefined; + resourceInputs["lastUsedAt"] = state ? state.lastUsedAt : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["roles"] = state ? state.roles : undefined; + resourceInputs["shortToken"] = state ? state.shortToken : undefined; + resourceInputs["startAt"] = state ? state.startAt : undefined; + resourceInputs["token"] = state ? state.token : undefined; + resourceInputs["type"] = state ? state.type : undefined; + resourceInputs["updatedAt"] = state ? state.updatedAt : undefined; + resourceInputs["updatedBy"] = state ? state.updatedBy : undefined; + } else { + const args = argsOrState as ApiTokenArgs | undefined; + if ((!args || args.roles === undefined) && !opts.urn) { + throw new Error("Missing required property 'roles'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["expiryPeriodInDays"] = args ? args.expiryPeriodInDays : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["endAt"] = undefined /*out*/; + resourceInputs["lastUsedAt"] = undefined /*out*/; + resourceInputs["shortToken"] = undefined /*out*/; + resourceInputs["startAt"] = undefined /*out*/; + resourceInputs["token"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + resourceInputs["updatedBy"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(ApiToken.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ApiToken resources. + */ +export interface ApiTokenState { + /** + * API Token creation timestamp + */ + createdAt?: pulumi.Input; + /** + * API Token creator + */ + createdBy?: pulumi.Input; + /** + * API Token description + */ + description?: pulumi.Input; + /** + * time when the API token will expire in UTC + */ + endAt?: pulumi.Input; + /** + * API Token expiry period in days + */ + expiryPeriodInDays?: pulumi.Input; + /** + * API Token last used timestamp + */ + lastUsedAt?: pulumi.Input; + /** + * API Token name + */ + name?: pulumi.Input; + /** + * The roles assigned to the API Token + */ + roles?: pulumi.Input[]>; + /** + * API Token short token + */ + shortToken?: pulumi.Input; + /** + * time when the API token will become valid in UTC + */ + startAt?: pulumi.Input; + token?: pulumi.Input; + /** + * API Token type - if changing this value, the API Token will be recreated with the new type + */ + type?: pulumi.Input; + /** + * API Token last updated timestamp + */ + updatedAt?: pulumi.Input; + /** + * API Token updater + */ + updatedBy?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ApiToken resource. + */ +export interface ApiTokenArgs { + /** + * API Token description + */ + description?: pulumi.Input; + /** + * API Token expiry period in days + */ + expiryPeriodInDays?: pulumi.Input; + /** + * API Token name + */ + name?: pulumi.Input; + /** + * The roles assigned to the API Token + */ + roles: pulumi.Input[]>; + /** + * API Token type - if changing this value, the API Token will be recreated with the new type + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index 80a603d..87d3f6f 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -96,6 +96,10 @@ export class Cluster extends pulumi.CustomResource { * Cluster database instance type */ public /*out*/ readonly dbInstanceType!: pulumi.Output; + /** + * Cluster health status + */ + public /*out*/ readonly healthStatus!: pulumi.Output; /** * Whether the cluster is limited */ @@ -174,6 +178,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["cloudProvider"] = state ? state.cloudProvider : undefined; resourceInputs["createdAt"] = state ? state.createdAt : undefined; resourceInputs["dbInstanceType"] = state ? state.dbInstanceType : undefined; + resourceInputs["healthStatus"] = state ? state.healthStatus : undefined; resourceInputs["isLimited"] = state ? state.isLimited : undefined; resourceInputs["metadata"] = state ? state.metadata : undefined; resourceInputs["name"] = state ? state.name : undefined; @@ -219,6 +224,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["workspaceIds"] = args ? args.workspaceIds : undefined; resourceInputs["createdAt"] = undefined /*out*/; resourceInputs["dbInstanceType"] = undefined /*out*/; + resourceInputs["healthStatus"] = undefined /*out*/; resourceInputs["isLimited"] = undefined /*out*/; resourceInputs["metadata"] = undefined /*out*/; resourceInputs["nodePools"] = undefined /*out*/; @@ -248,6 +254,10 @@ export interface ClusterState { * Cluster database instance type */ dbInstanceType?: pulumi.Input; + /** + * Cluster health status + */ + healthStatus?: pulumi.Input; /** * Whether the cluster is limited */ diff --git a/sdk/nodejs/getApiToken.ts b/sdk/nodejs/getApiToken.ts new file mode 100644 index 0000000..b2b28bc --- /dev/null +++ b/sdk/nodejs/getApiToken.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * API Token data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleApiToken = astronomer.getApiToken({ + * id: "clxm4836f00ql01me3nigmcr6", + * }); + * export const apiToken = exampleApiToken; + * ``` + */ +export function getApiToken(args: GetApiTokenArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("astronomer:index/getApiToken:getApiToken", { + "id": args.id, + }, opts); +} + +/** + * A collection of arguments for invoking getApiToken. + */ +export interface GetApiTokenArgs { + /** + * API Token identifier + */ + id: string; +} + +/** + * A collection of values returned by getApiToken. + */ +export interface GetApiTokenResult { + /** + * API Token creation timestamp + */ + readonly createdAt: string; + /** + * API Token creator + */ + readonly createdBy: outputs.GetApiTokenCreatedBy; + /** + * API Token description + */ + readonly description: string; + /** + * time when the API token will expire in UTC + */ + readonly endAt: string; + /** + * API Token expiry period in days + */ + readonly expiryPeriodInDays: number; + /** + * API Token identifier + */ + readonly id: string; + /** + * API Token last used timestamp + */ + readonly lastUsedAt: string; + /** + * API Token name + */ + readonly name: string; + /** + * The roles assigned to the API Token + */ + readonly roles: outputs.GetApiTokenRole[]; + /** + * API Token short token + */ + readonly shortToken: string; + /** + * time when the API token will become valid in UTC + */ + readonly startAt: string; + /** + * API Token type + */ + readonly type: string; + /** + * API Token last updated timestamp + */ + readonly updatedAt: string; + /** + * API Token updater + */ + readonly updatedBy: outputs.GetApiTokenUpdatedBy; +} +/** + * API Token data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleApiToken = astronomer.getApiToken({ + * id: "clxm4836f00ql01me3nigmcr6", + * }); + * export const apiToken = exampleApiToken; + * ``` + */ +export function getApiTokenOutput(args: GetApiTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getApiToken(a, opts)) +} + +/** + * A collection of arguments for invoking getApiToken. + */ +export interface GetApiTokenOutputArgs { + /** + * API Token identifier + */ + id: pulumi.Input; +} diff --git a/sdk/nodejs/getApiTokens.ts b/sdk/nodejs/getApiTokens.ts new file mode 100644 index 0000000..37db10c --- /dev/null +++ b/sdk/nodejs/getApiTokens.ts @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * API Tokens data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleApiTokens = astronomer.getApiTokens({}); + * const organizationOnlyExample = astronomer.getApiTokens({ + * includeOnlyOrganizationTokens: true, + * }); + * const workspaceExample = astronomer.getApiTokens({ + * workspaceId: "clx42sxw501gl01o0gjenthnh", + * }); + * const deploymentExample = astronomer.getApiTokens({ + * deploymentId: "clx44jyu001m201m5dzsbexqr", + * }); + * export const apiTokens = exampleApiTokens; + * ``` + */ +export function getApiTokens(args?: GetApiTokensArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("astronomer:index/getApiTokens:getApiTokens", { + "deploymentId": args.deploymentId, + "includeOnlyOrganizationTokens": args.includeOnlyOrganizationTokens, + "workspaceId": args.workspaceId, + }, opts); +} + +/** + * A collection of arguments for invoking getApiTokens. + */ +export interface GetApiTokensArgs { + deploymentId?: string; + includeOnlyOrganizationTokens?: boolean; + workspaceId?: string; +} + +/** + * A collection of values returned by getApiTokens. + */ +export interface GetApiTokensResult { + readonly apiTokens: outputs.GetApiTokensApiToken[]; + readonly deploymentId?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly includeOnlyOrganizationTokens?: boolean; + readonly workspaceId?: string; +} +/** + * API Tokens data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleApiTokens = astronomer.getApiTokens({}); + * const organizationOnlyExample = astronomer.getApiTokens({ + * includeOnlyOrganizationTokens: true, + * }); + * const workspaceExample = astronomer.getApiTokens({ + * workspaceId: "clx42sxw501gl01o0gjenthnh", + * }); + * const deploymentExample = astronomer.getApiTokens({ + * deploymentId: "clx44jyu001m201m5dzsbexqr", + * }); + * export const apiTokens = exampleApiTokens; + * ``` + */ +export function getApiTokensOutput(args?: GetApiTokensOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getApiTokens(a, opts)) +} + +/** + * A collection of arguments for invoking getApiTokens. + */ +export interface GetApiTokensOutputArgs { + deploymentId?: pulumi.Input; + includeOnlyOrganizationTokens?: pulumi.Input; + workspaceId?: pulumi.Input; +} diff --git a/sdk/nodejs/getCluster.ts b/sdk/nodejs/getCluster.ts index 892aa3b..38ea05d 100644 --- a/sdk/nodejs/getCluster.ts +++ b/sdk/nodejs/getCluster.ts @@ -15,9 +15,10 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getCluster({ + * const exampleCluster = astronomer.getCluster({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const cluster = exampleCluster; * ``` */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { @@ -54,6 +55,10 @@ export interface GetClusterResult { * Cluster database instance type */ readonly dbInstanceType: string; + /** + * Cluster health status + */ + readonly healthStatus: outputs.GetClusterHealthStatus; /** * Cluster identifier */ @@ -132,9 +137,10 @@ export interface GetClusterResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getCluster({ + * const exampleCluster = astronomer.getCluster({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const cluster = exampleCluster; * ``` */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getClusterOptions.ts b/sdk/nodejs/getClusterOptions.ts index 53e4581..8bee770 100644 --- a/sdk/nodejs/getClusterOptions.ts +++ b/sdk/nodejs/getClusterOptions.ts @@ -19,9 +19,10 @@ import * as utilities from "./utilities"; * type: "HYBRID", * }); * const exampleClusterOptionsFilterByProvider = astronomer.getClusterOptions({ - * cloudProvider: "AWS", * type: "HYBRID", + * cloudProvider: "AWS", * }); + * export const clusterOptions = exampleClusterOptions; * ``` */ export function getClusterOptions(args: GetClusterOptionsArgs, opts?: pulumi.InvokeOptions): Promise { @@ -66,9 +67,10 @@ export interface GetClusterOptionsResult { * type: "HYBRID", * }); * const exampleClusterOptionsFilterByProvider = astronomer.getClusterOptions({ - * cloudProvider: "AWS", * type: "HYBRID", + * cloudProvider: "AWS", * }); + * export const clusterOptions = exampleClusterOptions; * ``` */ export function getClusterOptionsOutput(args: GetClusterOptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getClusters.ts b/sdk/nodejs/getClusters.ts index a884ac6..475ac5b 100644 --- a/sdk/nodejs/getClusters.ts +++ b/sdk/nodejs/getClusters.ts @@ -22,6 +22,7 @@ import * as utilities from "./utilities"; * const exampleClustersFilterByCloudProvider = astronomer.getClusters({ * cloudProvider: "AWS", * }); + * export const clusters = exampleClusters; * ``` */ export function getClusters(args?: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise { @@ -70,6 +71,7 @@ export interface GetClustersResult { * const exampleClustersFilterByCloudProvider = astronomer.getClusters({ * cloudProvider: "AWS", * }); + * export const clusters = exampleClusters; * ``` */ export function getClustersOutput(args?: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getDeployment.ts b/sdk/nodejs/getDeployment.ts index 6fa7074..eb8d64c 100644 --- a/sdk/nodejs/getDeployment.ts +++ b/sdk/nodejs/getDeployment.ts @@ -15,9 +15,10 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getDeployment({ + * const exampleDeployment = astronomer.getDeployment({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const deployment = exampleDeployment; * ``` */ export function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise { @@ -244,9 +245,10 @@ export interface GetDeploymentResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getDeployment({ + * const exampleDeployment = astronomer.getDeployment({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const deployment = exampleDeployment; * ``` */ export function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getDeploymentOptions.ts b/sdk/nodejs/getDeploymentOptions.ts index 8c598b2..e18e262 100644 --- a/sdk/nodejs/getDeploymentOptions.ts +++ b/sdk/nodejs/getDeploymentOptions.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getDeploymentOptions({}); + * const exampleDeploymentOptions = astronomer.getDeploymentOptions({}); * const exampleWithDeploymentIdQueryParam = astronomer.getDeploymentOptions({ * deploymentId: "clozc036j01to01jrlgvueo8t", * }); @@ -28,6 +28,7 @@ import * as utilities from "./utilities"; * const exampleWithCloudProviderQueryParam = astronomer.getDeploymentOptions({ * cloudProvider: "AWS", * }); + * export const deploymentOptions = exampleDeploymentOptions; * ``` */ export function getDeploymentOptions(args?: GetDeploymentOptionsArgs, opts?: pulumi.InvokeOptions): Promise { @@ -126,7 +127,7 @@ export interface GetDeploymentOptionsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getDeploymentOptions({}); + * const exampleDeploymentOptions = astronomer.getDeploymentOptions({}); * const exampleWithDeploymentIdQueryParam = astronomer.getDeploymentOptions({ * deploymentId: "clozc036j01to01jrlgvueo8t", * }); @@ -139,6 +140,7 @@ export interface GetDeploymentOptionsResult { * const exampleWithCloudProviderQueryParam = astronomer.getDeploymentOptions({ * cloudProvider: "AWS", * }); + * export const deploymentOptions = exampleDeploymentOptions; * ``` */ export function getDeploymentOptionsOutput(args?: GetDeploymentOptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getDeployments.ts b/sdk/nodejs/getDeployments.ts index 1701fd2..bd098b6 100644 --- a/sdk/nodejs/getDeployments.ts +++ b/sdk/nodejs/getDeployments.ts @@ -25,6 +25,7 @@ import * as utilities from "./utilities"; * const exampleDeploymentsFilterByWorkspaceIds = astronomer.getDeployments({ * workspaceIds: ["clozc036j01to01jrlgvu798d"], * }); + * export const deployments = exampleDeployments; * ``` */ export function getDeployments(args?: GetDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise { @@ -79,6 +80,7 @@ export interface GetDeploymentsResult { * const exampleDeploymentsFilterByWorkspaceIds = astronomer.getDeployments({ * workspaceIds: ["clozc036j01to01jrlgvu798d"], * }); + * export const deployments = exampleDeployments; * ``` */ export function getDeploymentsOutput(args?: GetDeploymentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getOrganization.ts b/sdk/nodejs/getOrganization.ts index 3aec06e..b355da6 100644 --- a/sdk/nodejs/getOrganization.ts +++ b/sdk/nodejs/getOrganization.ts @@ -15,7 +15,8 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getOrganization({}); + * const exampleOrganization = astronomer.getOrganization({}); + * export const organization = exampleOrganization; * ``` */ export function getOrganization(opts?: pulumi.InvokeOptions): Promise { @@ -91,7 +92,8 @@ export interface GetOrganizationResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getOrganization({}); + * const exampleOrganization = astronomer.getOrganization({}); + * export const organization = exampleOrganization; * ``` */ export function getOrganizationOutput(opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getTeam.ts b/sdk/nodejs/getTeam.ts index d629e51..8b09da4 100644 --- a/sdk/nodejs/getTeam.ts +++ b/sdk/nodejs/getTeam.ts @@ -15,9 +15,10 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getTeam({ + * const exampleTeam = astronomer.getTeam({ * id: "clwbclrc100bl01ozjj5s4jmq", * }); + * export const team = exampleTeam; * ``` */ export function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise { @@ -33,7 +34,7 @@ export function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise */ export interface GetTeamArgs { /** - * Team identifier + * Team ID */ id: string; } @@ -51,7 +52,7 @@ export interface GetTeamResult { */ readonly createdBy: outputs.GetTeamCreatedBy; /** - * The roles assigned to the deployments + * The roles assigned to the Deployments */ readonly deploymentRoles: outputs.GetTeamDeploymentRole[]; /** @@ -59,11 +60,11 @@ export interface GetTeamResult { */ readonly description: string; /** - * Team identifier + * Team ID */ readonly id: string; /** - * Whether the team is managed by an identity provider + * Whether the Team is managed by an identity provider */ readonly isIdpManaged: boolean; /** @@ -71,11 +72,11 @@ export interface GetTeamResult { */ readonly name: string; /** - * The role assigned to the organization + * The role assigned to the Organization */ readonly organizationRole: string; /** - * Number of roles assigned to the team + * Number of roles assigned to the Team */ readonly rolesCount: number; /** @@ -87,7 +88,7 @@ export interface GetTeamResult { */ readonly updatedBy: outputs.GetTeamUpdatedBy; /** - * The roles assigned to the workspaces + * The roles assigned to the Workspaces */ readonly workspaceRoles: outputs.GetTeamWorkspaceRole[]; } @@ -100,9 +101,10 @@ export interface GetTeamResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getTeam({ + * const exampleTeam = astronomer.getTeam({ * id: "clwbclrc100bl01ozjj5s4jmq", * }); + * export const team = exampleTeam; * ``` */ export function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { @@ -114,7 +116,7 @@ export function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptio */ export interface GetTeamOutputArgs { /** - * Team identifier + * Team ID */ id: pulumi.Input; } diff --git a/sdk/nodejs/getTeams.ts b/sdk/nodejs/getTeams.ts index cd86836..21ebfb8 100644 --- a/sdk/nodejs/getTeams.ts +++ b/sdk/nodejs/getTeams.ts @@ -15,13 +15,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const exampleTeams = astronomer.getTeams({}); + * const exampleTeamsTeams = astronomer.getTeams({}); * const exampleTeamsFilterByNames = astronomer.getTeams({ * names: [ * "my first team", * "my second team", * ], * }); + * export const exampleTeams = exampleTeamsTeams; * ``` */ export function getTeams(args?: GetTeamsArgs, opts?: pulumi.InvokeOptions): Promise { @@ -60,13 +61,14 @@ export interface GetTeamsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const exampleTeams = astronomer.getTeams({}); + * const exampleTeamsTeams = astronomer.getTeams({}); * const exampleTeamsFilterByNames = astronomer.getTeams({ * names: [ * "my first team", * "my second team", * ], * }); + * export const exampleTeams = exampleTeamsTeams; * ``` */ export function getTeamsOutput(args?: GetTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts new file mode 100644 index 0000000..dabf3ae --- /dev/null +++ b/sdk/nodejs/getUser.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * User data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleUser = astronomer.getUser({ + * id: "clhpichn8002m01mqa4ocs7g6", + * }); + * export const user = exampleUser; + * ``` + */ +export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("astronomer:index/getUser:getUser", { + "id": args.id, + }, opts); +} + +/** + * A collection of arguments for invoking getUser. + */ +export interface GetUserArgs { + /** + * User identifier + */ + id: string; +} + +/** + * A collection of values returned by getUser. + */ +export interface GetUserResult { + /** + * User avatar URL + */ + readonly avatarUrl: string; + /** + * User creation timestamp + */ + readonly createdAt: string; + /** + * The roles assigned to the deployments + */ + readonly deploymentRoles: outputs.GetUserDeploymentRole[]; + /** + * User full name + */ + readonly fullName: string; + /** + * User identifier + */ + readonly id: string; + /** + * The role assigned to the organization + */ + readonly organizationRole: string; + /** + * User status + */ + readonly status: string; + /** + * User last updated timestamp + */ + readonly updatedAt: string; + /** + * User username + */ + readonly username: string; + /** + * The roles assigned to the workspaces + */ + readonly workspaceRoles: outputs.GetUserWorkspaceRole[]; +} +/** + * User data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleUser = astronomer.getUser({ + * id: "clhpichn8002m01mqa4ocs7g6", + * }); + * export const user = exampleUser; + * ``` + */ +export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUser(a, opts)) +} + +/** + * A collection of arguments for invoking getUser. + */ +export interface GetUserOutputArgs { + /** + * User identifier + */ + id: pulumi.Input; +} diff --git a/sdk/nodejs/getUsers.ts b/sdk/nodejs/getUsers.ts new file mode 100644 index 0000000..b3a2429 --- /dev/null +++ b/sdk/nodejs/getUsers.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Users data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleUsersUsers = astronomer.getUsers({}); + * const exampleUsersFilterByWorkspaceId = astronomer.getUsers({ + * workspaceId: "clx42sxw501gl01o0gjenthnh", + * }); + * const exampleUsersFilterByDeploymentId = astronomer.getUsers({ + * deploymentId: "clx44jyu001m201m5dzsbexqr", + * }); + * export const exampleUsers = exampleUsersUsers; + * ``` + */ +export function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("astronomer:index/getUsers:getUsers", { + "deploymentId": args.deploymentId, + "workspaceId": args.workspaceId, + }, opts); +} + +/** + * A collection of arguments for invoking getUsers. + */ +export interface GetUsersArgs { + deploymentId?: string; + workspaceId?: string; +} + +/** + * A collection of values returned by getUsers. + */ +export interface GetUsersResult { + readonly deploymentId?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly users: outputs.GetUsersUser[]; + readonly workspaceId?: string; +} +/** + * Users data source + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@pulumi/astronomer"; + * + * const exampleUsersUsers = astronomer.getUsers({}); + * const exampleUsersFilterByWorkspaceId = astronomer.getUsers({ + * workspaceId: "clx42sxw501gl01o0gjenthnh", + * }); + * const exampleUsersFilterByDeploymentId = astronomer.getUsers({ + * deploymentId: "clx44jyu001m201m5dzsbexqr", + * }); + * export const exampleUsers = exampleUsersUsers; + * ``` + */ +export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUsers(a, opts)) +} + +/** + * A collection of arguments for invoking getUsers. + */ +export interface GetUsersOutputArgs { + deploymentId?: pulumi.Input; + workspaceId?: pulumi.Input; +} diff --git a/sdk/nodejs/getWorkspace.ts b/sdk/nodejs/getWorkspace.ts index d9b0892..e77a61f 100644 --- a/sdk/nodejs/getWorkspace.ts +++ b/sdk/nodejs/getWorkspace.ts @@ -15,9 +15,10 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getWorkspace({ + * const exampleWorkspace = astronomer.getWorkspace({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const workspace = exampleWorkspace; * ``` */ export function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { @@ -84,9 +85,10 @@ export interface GetWorkspaceResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const example = astronomer.getWorkspace({ + * const exampleWorkspace = astronomer.getWorkspace({ * id: "clozc036j01to01jrlgvueo8t", * }); + * export const workspace = exampleWorkspace; * ``` */ export function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/getWorkspaces.ts b/sdk/nodejs/getWorkspaces.ts index 4dde0e7..a48e666 100644 --- a/sdk/nodejs/getWorkspaces.ts +++ b/sdk/nodejs/getWorkspaces.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const exampleWorkspaces = astronomer.getWorkspaces({}); + * const exampleWorkspacesWorkspaces = astronomer.getWorkspaces({}); * const exampleWorkspacesFilterByWorkspaceIds = astronomer.getWorkspaces({ * workspaceIds: [ * "clozc036j01to01jrlgvueo8t", @@ -28,6 +28,7 @@ import * as utilities from "./utilities"; * "my second workspace", * ], * }); + * export const exampleWorkspaces = exampleWorkspacesWorkspaces; * ``` */ export function getWorkspaces(args?: GetWorkspacesArgs, opts?: pulumi.InvokeOptions): Promise { @@ -69,7 +70,7 @@ export interface GetWorkspacesResult { * import * as pulumi from "@pulumi/pulumi"; * import * as astronomer from "@pulumi/astronomer"; * - * const exampleWorkspaces = astronomer.getWorkspaces({}); + * const exampleWorkspacesWorkspaces = astronomer.getWorkspaces({}); * const exampleWorkspacesFilterByWorkspaceIds = astronomer.getWorkspaces({ * workspaceIds: [ * "clozc036j01to01jrlgvueo8t", @@ -82,6 +83,7 @@ export interface GetWorkspacesResult { * "my second workspace", * ], * }); + * export const exampleWorkspaces = exampleWorkspacesWorkspaces; * ``` */ export function getWorkspacesOutput(args?: GetWorkspacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 38ee186..f7ea2c0 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: +export { ApiTokenArgs, ApiTokenState } from "./apiToken"; +export type ApiToken = import("./apiToken").ApiToken; +export const ApiToken: typeof import("./apiToken").ApiToken = null as any; +utilities.lazyLoad(exports, ["ApiToken"], () => require("./apiToken")); + export { ClusterArgs, ClusterState } from "./cluster"; export type Cluster = import("./cluster").Cluster; export const Cluster: typeof import("./cluster").Cluster = null as any; @@ -15,6 +20,16 @@ export type Deployment = import("./deployment").Deployment; export const Deployment: typeof import("./deployment").Deployment = null as any; utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment")); +export { GetApiTokenArgs, GetApiTokenResult, GetApiTokenOutputArgs } from "./getApiToken"; +export const getApiToken: typeof import("./getApiToken").getApiToken = null as any; +export const getApiTokenOutput: typeof import("./getApiToken").getApiTokenOutput = null as any; +utilities.lazyLoad(exports, ["getApiToken","getApiTokenOutput"], () => require("./getApiToken")); + +export { GetApiTokensArgs, GetApiTokensResult, GetApiTokensOutputArgs } from "./getApiTokens"; +export const getApiTokens: typeof import("./getApiTokens").getApiTokens = null as any; +export const getApiTokensOutput: typeof import("./getApiTokens").getApiTokensOutput = null as any; +utilities.lazyLoad(exports, ["getApiTokens","getApiTokensOutput"], () => require("./getApiTokens")); + export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster"; export const getCluster: typeof import("./getCluster").getCluster = null as any; export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any; @@ -60,6 +75,16 @@ export const getTeams: typeof import("./getTeams").getTeams = null as any; export const getTeamsOutput: typeof import("./getTeams").getTeamsOutput = null as any; utilities.lazyLoad(exports, ["getTeams","getTeamsOutput"], () => require("./getTeams")); +export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser"; +export const getUser: typeof import("./getUser").getUser = null as any; +export const getUserOutput: typeof import("./getUser").getUserOutput = null as any; +utilities.lazyLoad(exports, ["getUser","getUserOutput"], () => require("./getUser")); + +export { GetUsersArgs, GetUsersResult, GetUsersOutputArgs } from "./getUsers"; +export const getUsers: typeof import("./getUsers").getUsers = null as any; +export const getUsersOutput: typeof import("./getUsers").getUsersOutput = null as any; +utilities.lazyLoad(exports, ["getUsers","getUsersOutput"], () => require("./getUsers")); + export { GetWorkspaceArgs, GetWorkspaceResult, GetWorkspaceOutputArgs } from "./getWorkspace"; export const getWorkspace: typeof import("./getWorkspace").getWorkspace = null as any; export const getWorkspaceOutput: typeof import("./getWorkspace").getWorkspaceOutput = null as any; @@ -80,11 +105,26 @@ export type Provider = import("./provider").Provider; export const Provider: typeof import("./provider").Provider = null as any; utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); +export { TeamArgs, TeamState } from "./team"; +export type Team = import("./team").Team; +export const Team: typeof import("./team").Team = null as any; +utilities.lazyLoad(exports, ["Team"], () => require("./team")); + export { TeamRolesArgs, TeamRolesState } from "./teamRoles"; export type TeamRoles = import("./teamRoles").TeamRoles; export const TeamRoles: typeof import("./teamRoles").TeamRoles = null as any; utilities.lazyLoad(exports, ["TeamRoles"], () => require("./teamRoles")); +export { UserInviteArgs, UserInviteState } from "./userInvite"; +export type UserInvite = import("./userInvite").UserInvite; +export const UserInvite: typeof import("./userInvite").UserInvite = null as any; +utilities.lazyLoad(exports, ["UserInvite"], () => require("./userInvite")); + +export { UserRolesArgs, UserRolesState } from "./userRoles"; +export type UserRoles = import("./userRoles").UserRoles; +export const UserRoles: typeof import("./userRoles").UserRoles = null as any; +utilities.lazyLoad(exports, ["UserRoles"], () => require("./userRoles")); + export { WorkspaceArgs, WorkspaceState } from "./workspace"; export type Workspace = import("./workspace").Workspace; export const Workspace: typeof import("./workspace").Workspace = null as any; @@ -104,14 +144,22 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "astronomer:index/apiToken:ApiToken": + return new ApiToken(name, undefined, { urn }) case "astronomer:index/cluster:Cluster": return new Cluster(name, undefined, { urn }) case "astronomer:index/deployment:Deployment": return new Deployment(name, undefined, { urn }) case "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization": return new HybridClusterWorkspaceAuthorization(name, undefined, { urn }) + case "astronomer:index/team:Team": + return new Team(name, undefined, { urn }) case "astronomer:index/teamRoles:TeamRoles": return new TeamRoles(name, undefined, { urn }) + case "astronomer:index/userInvite:UserInvite": + return new UserInvite(name, undefined, { urn }) + case "astronomer:index/userRoles:UserRoles": + return new UserRoles(name, undefined, { urn }) case "astronomer:index/workspace:Workspace": return new Workspace(name, undefined, { urn }) default: @@ -119,10 +167,14 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("astronomer", "index/apiToken", _module) pulumi.runtime.registerResourceModule("astronomer", "index/cluster", _module) pulumi.runtime.registerResourceModule("astronomer", "index/deployment", _module) pulumi.runtime.registerResourceModule("astronomer", "index/hybridClusterWorkspaceAuthorization", _module) +pulumi.runtime.registerResourceModule("astronomer", "index/team", _module) pulumi.runtime.registerResourceModule("astronomer", "index/teamRoles", _module) +pulumi.runtime.registerResourceModule("astronomer", "index/userInvite", _module) +pulumi.runtime.registerResourceModule("astronomer", "index/userRoles", _module) pulumi.runtime.registerResourceModule("astronomer", "index/workspace", _module) pulumi.runtime.registerResourcePackage("astronomer", { version: utilities.getVersion(), diff --git a/sdk/nodejs/team.ts b/sdk/nodejs/team.ts new file mode 100644 index 0000000..7ba60d8 --- /dev/null +++ b/sdk/nodejs/team.ts @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Team resource + */ +export class Team extends pulumi.CustomResource { + /** + * Get an existing Team resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team { + return new Team(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'astronomer:index/team:Team'; + + /** + * Returns true if the given object is an instance of Team. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Team { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Team.__pulumiType; + } + + /** + * Team creation timestamp + */ + public /*out*/ readonly createdAt!: pulumi.Output; + /** + * Team creator + */ + public /*out*/ readonly createdBy!: pulumi.Output; + /** + * The roles to assign to the Deployments + */ + public readonly deploymentRoles!: pulumi.Output; + /** + * Team description + */ + public readonly description!: pulumi.Output; + /** + * Whether the Team is managed by an identity provider + */ + public /*out*/ readonly isIdpManaged!: pulumi.Output; + /** + * The IDs of the users to add to the Team + */ + public readonly memberIds!: pulumi.Output; + /** + * Team name + */ + public readonly name!: pulumi.Output; + /** + * The role to assign to the Organization + */ + public readonly organizationRole!: pulumi.Output; + /** + * Number of roles assigned to the Team + */ + public /*out*/ readonly rolesCount!: pulumi.Output; + /** + * Team last updated timestamp + */ + public /*out*/ readonly updatedAt!: pulumi.Output; + /** + * Team updater + */ + public /*out*/ readonly updatedBy!: pulumi.Output; + /** + * The roles to assign to the Workspaces + */ + public readonly workspaceRoles!: pulumi.Output; + + /** + * Create a Team resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: TeamArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: TeamArgs | TeamState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as TeamState | undefined; + resourceInputs["createdAt"] = state ? state.createdAt : undefined; + resourceInputs["createdBy"] = state ? state.createdBy : undefined; + resourceInputs["deploymentRoles"] = state ? state.deploymentRoles : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["isIdpManaged"] = state ? state.isIdpManaged : undefined; + resourceInputs["memberIds"] = state ? state.memberIds : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["organizationRole"] = state ? state.organizationRole : undefined; + resourceInputs["rolesCount"] = state ? state.rolesCount : undefined; + resourceInputs["updatedAt"] = state ? state.updatedAt : undefined; + resourceInputs["updatedBy"] = state ? state.updatedBy : undefined; + resourceInputs["workspaceRoles"] = state ? state.workspaceRoles : undefined; + } else { + const args = argsOrState as TeamArgs | undefined; + if ((!args || args.organizationRole === undefined) && !opts.urn) { + throw new Error("Missing required property 'organizationRole'"); + } + resourceInputs["deploymentRoles"] = args ? args.deploymentRoles : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["memberIds"] = args ? args.memberIds : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["organizationRole"] = args ? args.organizationRole : undefined; + resourceInputs["workspaceRoles"] = args ? args.workspaceRoles : undefined; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["isIdpManaged"] = undefined /*out*/; + resourceInputs["rolesCount"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + resourceInputs["updatedBy"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Team.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Team resources. + */ +export interface TeamState { + /** + * Team creation timestamp + */ + createdAt?: pulumi.Input; + /** + * Team creator + */ + createdBy?: pulumi.Input; + /** + * The roles to assign to the Deployments + */ + deploymentRoles?: pulumi.Input[]>; + /** + * Team description + */ + description?: pulumi.Input; + /** + * Whether the Team is managed by an identity provider + */ + isIdpManaged?: pulumi.Input; + /** + * The IDs of the users to add to the Team + */ + memberIds?: pulumi.Input[]>; + /** + * Team name + */ + name?: pulumi.Input; + /** + * The role to assign to the Organization + */ + organizationRole?: pulumi.Input; + /** + * Number of roles assigned to the Team + */ + rolesCount?: pulumi.Input; + /** + * Team last updated timestamp + */ + updatedAt?: pulumi.Input; + /** + * Team updater + */ + updatedBy?: pulumi.Input; + /** + * The roles to assign to the Workspaces + */ + workspaceRoles?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a Team resource. + */ +export interface TeamArgs { + /** + * The roles to assign to the Deployments + */ + deploymentRoles?: pulumi.Input[]>; + /** + * Team description + */ + description?: pulumi.Input; + /** + * The IDs of the users to add to the Team + */ + memberIds?: pulumi.Input[]>; + /** + * Team name + */ + name?: pulumi.Input; + /** + * The role to assign to the Organization + */ + organizationRole: pulumi.Input; + /** + * The roles to assign to the Workspaces + */ + workspaceRoles?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 01861ae..9eb8fef 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -13,10 +13,13 @@ "strict": true }, "files": [ + "apiToken.ts", "cluster.ts", "config/index.ts", "config/vars.ts", "deployment.ts", + "getApiToken.ts", + "getApiTokens.ts", "getCluster.ts", "getClusterOptions.ts", "getClusters.ts", @@ -26,15 +29,20 @@ "getOrganization.ts", "getTeam.ts", "getTeams.ts", + "getUser.ts", + "getUsers.ts", "getWorkspace.ts", "getWorkspaces.ts", "hybridClusterWorkspaceAuthorization.ts", "index.ts", "provider.ts", + "team.ts", "teamRoles.ts", "types/index.ts", "types/input.ts", "types/output.ts", + "userInvite.ts", + "userRoles.ts", "utilities.ts", "workspace.ts" ] diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 549ef81..6122bd8 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -5,11 +5,74 @@ import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; +export interface ApiTokenCreatedBy { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface ApiTokenRole { + /** + * The ID of the entity to assign the role to + */ + entityId: pulumi.Input; + /** + * The type of entity to assign the role to + */ + entityType: pulumi.Input; + /** + * The role to assign to the entity + */ + role: pulumi.Input; +} + +export interface ApiTokenUpdatedBy { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface ClusterHealthStatus { + /** + * Cluster health status details + */ + details?: pulumi.Input[]>; + /** + * Cluster health status value + */ + value?: pulumi.Input; +} + +export interface ClusterHealthStatusDetail { + /** + * Cluster health status detail code + */ + code?: pulumi.Input; + /** + * Cluster health status detail description + */ + description?: pulumi.Input; + /** + * Cluster health status detail severity + */ + severity?: pulumi.Input; +} + export interface ClusterMetadata { /** * Cluster external IPs */ externalIps?: pulumi.Input[]>; + /** + * Cluster kube DNS IP + */ + kubeDnsIp?: pulumi.Input; /** * Cluster OIDC issuer URL */ @@ -192,6 +255,26 @@ export interface DeploymentWorkerQueue { workerConcurrency: pulumi.Input; } +export interface TeamCreatedBy { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface TeamDeploymentRole { + /** + * The ID of the deployment to assign the role to + */ + deploymentId: pulumi.Input; + /** + * The role to assign to the deployment + */ + role: pulumi.Input; +} + export interface TeamRolesDeploymentRole { /** * The ID of the deployment to assign the role to @@ -214,6 +297,66 @@ export interface TeamRolesWorkspaceRole { workspaceId: pulumi.Input; } +export interface TeamUpdatedBy { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface TeamWorkspaceRole { + /** + * The role to assign to the workspace + */ + role: pulumi.Input; + /** + * The ID of the workspace to assign the role to + */ + workspaceId: pulumi.Input; +} + +export interface UserInviteInvitee { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface UserInviteInviter { + apiTokenName?: pulumi.Input; + avatarUrl?: pulumi.Input; + fullName?: pulumi.Input; + id?: pulumi.Input; + subjectType?: pulumi.Input; + username?: pulumi.Input; +} + +export interface UserRolesDeploymentRole { + /** + * The ID of the deployment to assign the role to + */ + deploymentId: pulumi.Input; + /** + * The role to assign to the deployment + */ + role: pulumi.Input; +} + +export interface UserRolesWorkspaceRole { + /** + * The role to assign to the workspace + */ + role: pulumi.Input; + /** + * The ID of the workspace to assign the role to + */ + workspaceId: pulumi.Input; +} + export interface WorkspaceCreatedBy { apiTokenName?: pulumi.Input; avatarUrl?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index fe3fcca..7b481cd 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -5,11 +5,74 @@ import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; +export interface ApiTokenCreatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface ApiTokenRole { + /** + * The ID of the entity to assign the role to + */ + entityId: string; + /** + * The type of entity to assign the role to + */ + entityType: string; + /** + * The role to assign to the entity + */ + role: string; +} + +export interface ApiTokenUpdatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface ClusterHealthStatus { + /** + * Cluster health status details + */ + details: outputs.ClusterHealthStatusDetail[]; + /** + * Cluster health status value + */ + value: string; +} + +export interface ClusterHealthStatusDetail { + /** + * Cluster health status detail code + */ + code: string; + /** + * Cluster health status detail description + */ + description: string; + /** + * Cluster health status detail severity + */ + severity: string; +} + export interface ClusterMetadata { /** * Cluster external IPs */ externalIps: string[]; + /** + * Cluster kube DNS IP + */ + kubeDnsIp: string; /** * Cluster OIDC issuer URL */ @@ -192,11 +255,166 @@ export interface DeploymentWorkerQueue { workerConcurrency: number; } +export interface GetApiTokenCreatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface GetApiTokenRole { + /** + * The ID of the entity to assign the role to + */ + entityId: string; + /** + * The type of entity to assign the role to + */ + entityType: string; + /** + * The role to assign to the entity + */ + role: string; +} + +export interface GetApiTokenUpdatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface GetApiTokensApiToken { + /** + * API Token creation timestamp + */ + createdAt: string; + /** + * API Token creator + */ + createdBy: outputs.GetApiTokensApiTokenCreatedBy; + /** + * API Token description + */ + description: string; + /** + * time when the API token will expire in UTC + */ + endAt: string; + /** + * API Token expiry period in days + */ + expiryPeriodInDays: number; + /** + * API Token identifier + */ + id: string; + /** + * API Token last used timestamp + */ + lastUsedAt: string; + /** + * API Token name + */ + name: string; + /** + * The roles assigned to the API Token + */ + roles: outputs.GetApiTokensApiTokenRole[]; + /** + * API Token short token + */ + shortToken: string; + /** + * time when the API token will become valid in UTC + */ + startAt: string; + /** + * API Token type + */ + type: string; + /** + * API Token last updated timestamp + */ + updatedAt: string; + /** + * API Token updater + */ + updatedBy: outputs.GetApiTokensApiTokenUpdatedBy; +} + +export interface GetApiTokensApiTokenCreatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface GetApiTokensApiTokenRole { + /** + * The ID of the entity to assign the role to + */ + entityId: string; + /** + * The type of entity to assign the role to + */ + entityType: string; + /** + * The role to assign to the entity + */ + role: string; +} + +export interface GetApiTokensApiTokenUpdatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface GetClusterHealthStatus { + /** + * Cluster health status details + */ + details: outputs.GetClusterHealthStatusDetail[]; + /** + * Cluster health status value + */ + value: string; +} + +export interface GetClusterHealthStatusDetail { + /** + * Cluster health status detail code + */ + code: string; + /** + * Cluster health status detail description + */ + description: string; + /** + * Cluster health status detail severity + */ + severity: string; +} + export interface GetClusterMetadata { /** * Cluster external IPs */ externalIps: string[]; + /** + * Cluster kube DNS IP + */ + kubeDnsIp: string; /** * Cluster OIDC issuer URL */ @@ -419,6 +637,10 @@ export interface GetClustersCluster { * Cluster database instance type */ dbInstanceType: string; + /** + * Cluster health status + */ + healthStatus: outputs.GetClustersClusterHealthStatus; /** * Cluster identifier */ @@ -489,11 +711,41 @@ export interface GetClustersCluster { workspaceIds: string[]; } +export interface GetClustersClusterHealthStatus { + /** + * Cluster health status details + */ + details: outputs.GetClustersClusterHealthStatusDetail[]; + /** + * Cluster health status value + */ + value: string; +} + +export interface GetClustersClusterHealthStatusDetail { + /** + * Cluster health status detail code + */ + code: string; + /** + * Cluster health status detail description + */ + description: string; + /** + * Cluster health status detail severity + */ + severity: string; +} + export interface GetClustersClusterMetadata { /** * Cluster external IPs */ externalIps: string[]; + /** + * Cluster kube DNS IP + */ + kubeDnsIp: string; /** * Cluster OIDC issuer URL */ @@ -1307,7 +1559,7 @@ export interface GetTeamsTeam { */ createdBy: outputs.GetTeamsTeamCreatedBy; /** - * The roles assigned to the deployments + * The roles assigned to the Deployments */ deploymentRoles: outputs.GetTeamsTeamDeploymentRole[]; /** @@ -1315,11 +1567,11 @@ export interface GetTeamsTeam { */ description: string; /** - * Team identifier + * Team ID */ id: string; /** - * Whether the team is managed by an identity provider + * Whether the Team is managed by an identity provider */ isIdpManaged: boolean; /** @@ -1327,11 +1579,11 @@ export interface GetTeamsTeam { */ name: string; /** - * The role assigned to the organization + * The role assigned to the Organization */ organizationRole: string; /** - * Number of roles assigned to the team + * Number of roles assigned to the Team */ rolesCount: number; /** @@ -1343,7 +1595,7 @@ export interface GetTeamsTeam { */ updatedBy: outputs.GetTeamsTeamUpdatedBy; /** - * The roles assigned to the workspaces + * The roles assigned to the Workspaces */ workspaceRoles: outputs.GetTeamsTeamWorkspaceRole[]; } @@ -1388,6 +1640,93 @@ export interface GetTeamsTeamWorkspaceRole { workspaceId: string; } +export interface GetUserDeploymentRole { + /** + * The ID of the deployment the role is assigned to + */ + deploymentId: string; + /** + * The role assigned to the deployment + */ + role: string; +} + +export interface GetUserWorkspaceRole { + /** + * The role assigned to the workspace + */ + role: string; + /** + * The ID of the workspace the role is assigned to + */ + workspaceId: string; +} + +export interface GetUsersUser { + /** + * User avatar URL + */ + avatarUrl: string; + /** + * User creation timestamp + */ + createdAt: string; + /** + * The roles assigned to the deployments + */ + deploymentRoles: outputs.GetUsersUserDeploymentRole[]; + /** + * User full name + */ + fullName: string; + /** + * User identifier + */ + id: string; + /** + * The role assigned to the organization + */ + organizationRole: string; + /** + * User status + */ + status: string; + /** + * User last updated timestamp + */ + updatedAt: string; + /** + * User username + */ + username: string; + /** + * The roles assigned to the workspaces + */ + workspaceRoles: outputs.GetUsersUserWorkspaceRole[]; +} + +export interface GetUsersUserDeploymentRole { + /** + * The ID of the deployment the role is assigned to + */ + deploymentId: string; + /** + * The role assigned to the deployment + */ + role: string; +} + +export interface GetUsersUserWorkspaceRole { + /** + * The role assigned to the workspace + */ + role: string; + /** + * The ID of the workspace the role is assigned to + */ + workspaceId: string; +} + export interface GetWorkspaceCreatedBy { apiTokenName: string; avatarUrl: string; @@ -1459,6 +1798,26 @@ export interface GetWorkspacesWorkspaceUpdatedBy { username: string; } +export interface TeamCreatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface TeamDeploymentRole { + /** + * The ID of the deployment to assign the role to + */ + deploymentId: string; + /** + * The role to assign to the deployment + */ + role: string; +} + export interface TeamRolesDeploymentRole { /** * The ID of the deployment to assign the role to @@ -1481,6 +1840,66 @@ export interface TeamRolesWorkspaceRole { workspaceId: string; } +export interface TeamUpdatedBy { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface TeamWorkspaceRole { + /** + * The role to assign to the workspace + */ + role: string; + /** + * The ID of the workspace to assign the role to + */ + workspaceId: string; +} + +export interface UserInviteInvitee { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface UserInviteInviter { + apiTokenName: string; + avatarUrl: string; + fullName: string; + id: string; + subjectType: string; + username: string; +} + +export interface UserRolesDeploymentRole { + /** + * The ID of the deployment to assign the role to + */ + deploymentId: string; + /** + * The role to assign to the deployment + */ + role: string; +} + +export interface UserRolesWorkspaceRole { + /** + * The role to assign to the workspace + */ + role: string; + /** + * The ID of the workspace to assign the role to + */ + workspaceId: string; +} + export interface WorkspaceCreatedBy { apiTokenName: string; avatarUrl: string; diff --git a/sdk/nodejs/userInvite.ts b/sdk/nodejs/userInvite.ts new file mode 100644 index 0000000..85ad7b2 --- /dev/null +++ b/sdk/nodejs/userInvite.ts @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * User Invite resource + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as astronomer from "@ryan-pip/pulumi_astronomer"; + * + * const userInvite = new astronomer.UserInvite("userInvite", { + * email: "email@organization.com", + * role: "ORGANIZATION_MEMBER", + * }); + * ``` + */ +export class UserInvite extends pulumi.CustomResource { + /** + * Get an existing UserInvite resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: UserInviteState, opts?: pulumi.CustomResourceOptions): UserInvite { + return new UserInvite(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'astronomer:index/userInvite:UserInvite'; + + /** + * Returns true if the given object is an instance of UserInvite. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is UserInvite { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === UserInvite.__pulumiType; + } + + /** + * The email address of the user being invited + */ + public readonly email!: pulumi.Output; + /** + * The expiration date of the invite + */ + public /*out*/ readonly expiresAt!: pulumi.Output; + /** + * The ID of the invite + */ + public /*out*/ readonly inviteId!: pulumi.Output; + /** + * The profile of the invitee + */ + public /*out*/ readonly invitee!: pulumi.Output; + /** + * The profile of the inviter + */ + public /*out*/ readonly inviter!: pulumi.Output; + /** + * The Organization role to assign to the user + */ + public readonly role!: pulumi.Output; + /** + * The ID of the user + */ + public /*out*/ readonly userId!: pulumi.Output; + + /** + * Create a UserInvite resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: UserInviteArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: UserInviteArgs | UserInviteState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as UserInviteState | undefined; + resourceInputs["email"] = state ? state.email : undefined; + resourceInputs["expiresAt"] = state ? state.expiresAt : undefined; + resourceInputs["inviteId"] = state ? state.inviteId : undefined; + resourceInputs["invitee"] = state ? state.invitee : undefined; + resourceInputs["inviter"] = state ? state.inviter : undefined; + resourceInputs["role"] = state ? state.role : undefined; + resourceInputs["userId"] = state ? state.userId : undefined; + } else { + const args = argsOrState as UserInviteArgs | undefined; + if ((!args || args.email === undefined) && !opts.urn) { + throw new Error("Missing required property 'email'"); + } + if ((!args || args.role === undefined) && !opts.urn) { + throw new Error("Missing required property 'role'"); + } + resourceInputs["email"] = args ? args.email : undefined; + resourceInputs["role"] = args ? args.role : undefined; + resourceInputs["expiresAt"] = undefined /*out*/; + resourceInputs["inviteId"] = undefined /*out*/; + resourceInputs["invitee"] = undefined /*out*/; + resourceInputs["inviter"] = undefined /*out*/; + resourceInputs["userId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(UserInvite.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering UserInvite resources. + */ +export interface UserInviteState { + /** + * The email address of the user being invited + */ + email?: pulumi.Input; + /** + * The expiration date of the invite + */ + expiresAt?: pulumi.Input; + /** + * The ID of the invite + */ + inviteId?: pulumi.Input; + /** + * The profile of the invitee + */ + invitee?: pulumi.Input; + /** + * The profile of the inviter + */ + inviter?: pulumi.Input; + /** + * The Organization role to assign to the user + */ + role?: pulumi.Input; + /** + * The ID of the user + */ + userId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a UserInvite resource. + */ +export interface UserInviteArgs { + /** + * The email address of the user being invited + */ + email: pulumi.Input; + /** + * The Organization role to assign to the user + */ + role: pulumi.Input; +} diff --git a/sdk/nodejs/userRoles.ts b/sdk/nodejs/userRoles.ts new file mode 100644 index 0000000..263a6c7 --- /dev/null +++ b/sdk/nodejs/userRoles.ts @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * User Roles resource + */ +export class UserRoles extends pulumi.CustomResource { + /** + * Get an existing UserRoles resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: UserRolesState, opts?: pulumi.CustomResourceOptions): UserRoles { + return new UserRoles(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'astronomer:index/userRoles:UserRoles'; + + /** + * Returns true if the given object is an instance of UserRoles. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is UserRoles { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === UserRoles.__pulumiType; + } + + /** + * The roles to assign to the deployments + */ + public readonly deploymentRoles!: pulumi.Output; + /** + * The role to assign to the organization + */ + public readonly organizationRole!: pulumi.Output; + /** + * The ID of the user to assign the roles to + */ + public readonly userId!: pulumi.Output; + /** + * The roles to assign to the workspaces + */ + public readonly workspaceRoles!: pulumi.Output; + + /** + * Create a UserRoles resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: UserRolesArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: UserRolesArgs | UserRolesState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as UserRolesState | undefined; + resourceInputs["deploymentRoles"] = state ? state.deploymentRoles : undefined; + resourceInputs["organizationRole"] = state ? state.organizationRole : undefined; + resourceInputs["userId"] = state ? state.userId : undefined; + resourceInputs["workspaceRoles"] = state ? state.workspaceRoles : undefined; + } else { + const args = argsOrState as UserRolesArgs | undefined; + if ((!args || args.organizationRole === undefined) && !opts.urn) { + throw new Error("Missing required property 'organizationRole'"); + } + if ((!args || args.userId === undefined) && !opts.urn) { + throw new Error("Missing required property 'userId'"); + } + resourceInputs["deploymentRoles"] = args ? args.deploymentRoles : undefined; + resourceInputs["organizationRole"] = args ? args.organizationRole : undefined; + resourceInputs["userId"] = args ? args.userId : undefined; + resourceInputs["workspaceRoles"] = args ? args.workspaceRoles : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(UserRoles.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering UserRoles resources. + */ +export interface UserRolesState { + /** + * The roles to assign to the deployments + */ + deploymentRoles?: pulumi.Input[]>; + /** + * The role to assign to the organization + */ + organizationRole?: pulumi.Input; + /** + * The ID of the user to assign the roles to + */ + userId?: pulumi.Input; + /** + * The roles to assign to the workspaces + */ + workspaceRoles?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a UserRoles resource. + */ +export interface UserRolesArgs { + /** + * The roles to assign to the deployments + */ + deploymentRoles?: pulumi.Input[]>; + /** + * The role to assign to the organization + */ + organizationRole: pulumi.Input; + /** + * The ID of the user to assign the roles to + */ + userId: pulumi.Input; + /** + * The roles to assign to the workspaces + */ + workspaceRoles?: pulumi.Input[]>; +} diff --git a/sdk/python/pulumi_astronomer/__init__.py b/sdk/python/pulumi_astronomer/__init__.py index 692d37b..c8a5f62 100644 --- a/sdk/python/pulumi_astronomer/__init__.py +++ b/sdk/python/pulumi_astronomer/__init__.py @@ -5,8 +5,11 @@ from . import _utilities import typing # Export this package's modules as members: +from .api_token import * from .cluster import * from .deployment import * +from .get_api_token import * +from .get_api_tokens import * from .get_cluster import * from .get_cluster_options import * from .get_clusters import * @@ -16,11 +19,16 @@ from .get_organization import * from .get_team import * from .get_teams import * +from .get_user import * +from .get_users import * from .get_workspace import * from .get_workspaces import * from .hybrid_cluster_workspace_authorization import * from .provider import * +from .team import * from .team_roles import * +from .user_invite import * +from .user_roles import * from .workspace import * from ._inputs import * from . import outputs @@ -35,6 +43,14 @@ _utilities.register( resource_modules=""" [ + { + "pkg": "astronomer", + "mod": "index/apiToken", + "fqn": "pulumi_astronomer", + "classes": { + "astronomer:index/apiToken:ApiToken": "ApiToken" + } + }, { "pkg": "astronomer", "mod": "index/cluster", @@ -59,6 +75,14 @@ "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization": "HybridClusterWorkspaceAuthorization" } }, + { + "pkg": "astronomer", + "mod": "index/team", + "fqn": "pulumi_astronomer", + "classes": { + "astronomer:index/team:Team": "Team" + } + }, { "pkg": "astronomer", "mod": "index/teamRoles", @@ -67,6 +91,22 @@ "astronomer:index/teamRoles:TeamRoles": "TeamRoles" } }, + { + "pkg": "astronomer", + "mod": "index/userInvite", + "fqn": "pulumi_astronomer", + "classes": { + "astronomer:index/userInvite:UserInvite": "UserInvite" + } + }, + { + "pkg": "astronomer", + "mod": "index/userRoles", + "fqn": "pulumi_astronomer", + "classes": { + "astronomer:index/userRoles:UserRoles": "UserRoles" + } + }, { "pkg": "astronomer", "mod": "index/workspace", diff --git a/sdk/python/pulumi_astronomer/_inputs.py b/sdk/python/pulumi_astronomer/_inputs.py index cca94d0..677e002 100644 --- a/sdk/python/pulumi_astronomer/_inputs.py +++ b/sdk/python/pulumi_astronomer/_inputs.py @@ -10,6 +10,11 @@ from . import _utilities __all__ = [ + 'ApiTokenCreatedByArgs', + 'ApiTokenRoleArgs', + 'ApiTokenUpdatedByArgs', + 'ClusterHealthStatusArgs', + 'ClusterHealthStatusDetailArgs', 'ClusterMetadataArgs', 'ClusterNodePoolArgs', 'ClusterTimeoutsArgs', @@ -23,23 +28,335 @@ 'DeploymentScalingStatusHibernationStatusArgs', 'DeploymentUpdatedByArgs', 'DeploymentWorkerQueueArgs', + 'TeamCreatedByArgs', + 'TeamDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgs', 'TeamRolesWorkspaceRoleArgs', + 'TeamUpdatedByArgs', + 'TeamWorkspaceRoleArgs', + 'UserInviteInviteeArgs', + 'UserInviteInviterArgs', + 'UserRolesDeploymentRoleArgs', + 'UserRolesWorkspaceRoleArgs', 'WorkspaceCreatedByArgs', 'WorkspaceUpdatedByArgs', ] +@pulumi.input_type +class ApiTokenCreatedByArgs: + def __init__(__self__, *, + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ApiTokenRoleArgs: + def __init__(__self__, *, + entity_id: pulumi.Input[str], + entity_type: pulumi.Input[str], + role: pulumi.Input[str]): + """ + :param pulumi.Input[str] entity_id: The ID of the entity to assign the role to + :param pulumi.Input[str] entity_type: The type of entity to assign the role to + :param pulumi.Input[str] role: The role to assign to the entity + """ + pulumi.set(__self__, "entity_id", entity_id) + pulumi.set(__self__, "entity_type", entity_type) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="entityId") + def entity_id(self) -> pulumi.Input[str]: + """ + The ID of the entity to assign the role to + """ + return pulumi.get(self, "entity_id") + + @entity_id.setter + def entity_id(self, value: pulumi.Input[str]): + pulumi.set(self, "entity_id", value) + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> pulumi.Input[str]: + """ + The type of entity to assign the role to + """ + return pulumi.get(self, "entity_type") + + @entity_type.setter + def entity_type(self, value: pulumi.Input[str]): + pulumi.set(self, "entity_type", value) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The role to assign to the entity + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class ApiTokenUpdatedByArgs: + def __init__(__self__, *, + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class ClusterHealthStatusArgs: + def __init__(__self__, *, + details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterHealthStatusDetailArgs']]]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['ClusterHealthStatusDetailArgs']]] details: Cluster health status details + :param pulumi.Input[str] value: Cluster health status value + """ + if details is not None: + pulumi.set(__self__, "details", details) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterHealthStatusDetailArgs']]]]: + """ + Cluster health status details + """ + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterHealthStatusDetailArgs']]]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Cluster health status value + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class ClusterHealthStatusDetailArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] code: Cluster health status detail code + :param pulumi.Input[str] description: Cluster health status detail description + :param pulumi.Input[str] severity: Cluster health status detail severity + """ + if code is not None: + pulumi.set(__self__, "code", code) + if description is not None: + pulumi.set(__self__, "description", description) + if severity is not None: + pulumi.set(__self__, "severity", severity) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + Cluster health status detail code + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Cluster health status detail description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def severity(self) -> Optional[pulumi.Input[str]]: + """ + Cluster health status detail severity + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "severity", value) + + @pulumi.input_type class ClusterMetadataArgs: def __init__(__self__, *, external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kube_dns_ip: Optional[pulumi.Input[str]] = None, oidc_issuer_url: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] external_ips: Cluster external IPs + :param pulumi.Input[str] kube_dns_ip: Cluster kube DNS IP :param pulumi.Input[str] oidc_issuer_url: Cluster OIDC issuer URL """ if external_ips is not None: pulumi.set(__self__, "external_ips", external_ips) + if kube_dns_ip is not None: + pulumi.set(__self__, "kube_dns_ip", kube_dns_ip) if oidc_issuer_url is not None: pulumi.set(__self__, "oidc_issuer_url", oidc_issuer_url) @@ -55,6 +372,18 @@ def external_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def external_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "external_ips", value) + @property + @pulumi.getter(name="kubeDnsIp") + def kube_dns_ip(self) -> Optional[pulumi.Input[str]]: + """ + Cluster kube DNS IP + """ + return pulumi.get(self, "kube_dns_ip") + + @kube_dns_ip.setter + def kube_dns_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kube_dns_ip", value) + @property @pulumi.getter(name="oidcIssuerUrl") def oidc_issuer_url(self) -> Optional[pulumi.Input[str]]: @@ -881,20 +1210,134 @@ def pod_memory(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class TeamRolesDeploymentRoleArgs: +class TeamCreatedByArgs: def __init__(__self__, *, - deployment_id: pulumi.Input[str], - role: pulumi.Input[str]): - """ - :param pulumi.Input[str] deployment_id: The ID of the deployment to assign the role to - :param pulumi.Input[str] role: The role to assign to the deployment - """ - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "role", role) - - @property - @pulumi.getter(name="deploymentId") - def deployment_id(self) -> pulumi.Input[str]: + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class TeamDeploymentRoleArgs: + def __init__(__self__, *, + deployment_id: pulumi.Input[str], + role: pulumi.Input[str]): + """ + :param pulumi.Input[str] deployment_id: The ID of the deployment to assign the role to + :param pulumi.Input[str] role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> pulumi.Input[str]: + """ + The ID of the deployment to assign the role to + """ + return pulumi.get(self, "deployment_id") + + @deployment_id.setter + def deployment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "deployment_id", value) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The role to assign to the deployment + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class TeamRolesDeploymentRoleArgs: + def __init__(__self__, *, + deployment_id: pulumi.Input[str], + role: pulumi.Input[str]): + """ + :param pulumi.Input[str] deployment_id: The ID of the deployment to assign the role to + :param pulumi.Input[str] role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> pulumi.Input[str]: """ The ID of the deployment to assign the role to """ @@ -954,6 +1397,348 @@ def workspace_id(self, value: pulumi.Input[str]): pulumi.set(self, "workspace_id", value) +@pulumi.input_type +class TeamUpdatedByArgs: + def __init__(__self__, *, + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class TeamWorkspaceRoleArgs: + def __init__(__self__, *, + role: pulumi.Input[str], + workspace_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] role: The role to assign to the workspace + :param pulumi.Input[str] workspace_id: The ID of the workspace to assign the role to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The role to assign to the workspace + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> pulumi.Input[str]: + """ + The ID of the workspace to assign the role to + """ + return pulumi.get(self, "workspace_id") + + @workspace_id.setter + def workspace_id(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_id", value) + + +@pulumi.input_type +class UserInviteInviteeArgs: + def __init__(__self__, *, + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class UserInviteInviterArgs: + def __init__(__self__, *, + api_token_name: Optional[pulumi.Input[str]] = None, + avatar_url: Optional[pulumi.Input[str]] = None, + full_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + subject_type: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "api_token_name") + + @api_token_name.setter + def api_token_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_token_name", value) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "avatar_url") + + @avatar_url.setter + def avatar_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "avatar_url", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subject_type") + + @subject_type.setter + def subject_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subject_type", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class UserRolesDeploymentRoleArgs: + def __init__(__self__, *, + deployment_id: pulumi.Input[str], + role: pulumi.Input[str]): + """ + :param pulumi.Input[str] deployment_id: The ID of the deployment to assign the role to + :param pulumi.Input[str] role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> pulumi.Input[str]: + """ + The ID of the deployment to assign the role to + """ + return pulumi.get(self, "deployment_id") + + @deployment_id.setter + def deployment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "deployment_id", value) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The role to assign to the deployment + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class UserRolesWorkspaceRoleArgs: + def __init__(__self__, *, + role: pulumi.Input[str], + workspace_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] role: The role to assign to the workspace + :param pulumi.Input[str] workspace_id: The ID of the workspace to assign the role to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The role to assign to the workspace + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> pulumi.Input[str]: + """ + The ID of the workspace to assign the role to + """ + return pulumi.get(self, "workspace_id") + + @workspace_id.setter + def workspace_id(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_id", value) + + @pulumi.input_type class WorkspaceCreatedByArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_astronomer/api_token.py b/sdk/python/pulumi_astronomer/api_token.py new file mode 100644 index 0000000..cd3f9e8 --- /dev/null +++ b/sdk/python/pulumi_astronomer/api_token.py @@ -0,0 +1,583 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ApiTokenArgs', 'ApiToken'] + +@pulumi.input_type +class ApiTokenArgs: + def __init__(__self__, *, + roles: pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]], + type: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + expiry_period_in_days: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ApiToken resource. + :param pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]] roles: The roles assigned to the API Token + :param pulumi.Input[str] type: API Token type - if changing this value, the API Token will be recreated with the new type + :param pulumi.Input[str] description: API Token description + :param pulumi.Input[int] expiry_period_in_days: API Token expiry period in days + :param pulumi.Input[str] name: API Token name + """ + pulumi.set(__self__, "roles", roles) + pulumi.set(__self__, "type", type) + if description is not None: + pulumi.set(__self__, "description", description) + if expiry_period_in_days is not None: + pulumi.set(__self__, "expiry_period_in_days", expiry_period_in_days) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def roles(self) -> pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]]: + """ + The roles assigned to the API Token + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + API Token type - if changing this value, the API Token will be recreated with the new type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + API Token description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="expiryPeriodInDays") + def expiry_period_in_days(self) -> Optional[pulumi.Input[int]]: + """ + API Token expiry period in days + """ + return pulumi.get(self, "expiry_period_in_days") + + @expiry_period_in_days.setter + def expiry_period_in_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "expiry_period_in_days", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + API Token name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _ApiTokenState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input['ApiTokenCreatedByArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + end_at: Optional[pulumi.Input[str]] = None, + expiry_period_in_days: Optional[pulumi.Input[int]] = None, + last_used_at: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]]] = None, + short_token: Optional[pulumi.Input[str]] = None, + start_at: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input['ApiTokenUpdatedByArgs']] = None): + """ + Input properties used for looking up and filtering ApiToken resources. + :param pulumi.Input[str] created_at: API Token creation timestamp + :param pulumi.Input['ApiTokenCreatedByArgs'] created_by: API Token creator + :param pulumi.Input[str] description: API Token description + :param pulumi.Input[str] end_at: time when the API token will expire in UTC + :param pulumi.Input[int] expiry_period_in_days: API Token expiry period in days + :param pulumi.Input[str] last_used_at: API Token last used timestamp + :param pulumi.Input[str] name: API Token name + :param pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]] roles: The roles assigned to the API Token + :param pulumi.Input[str] short_token: API Token short token + :param pulumi.Input[str] start_at: time when the API token will become valid in UTC + :param pulumi.Input[str] type: API Token type - if changing this value, the API Token will be recreated with the new type + :param pulumi.Input[str] updated_at: API Token last updated timestamp + :param pulumi.Input['ApiTokenUpdatedByArgs'] updated_by: API Token updater + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if description is not None: + pulumi.set(__self__, "description", description) + if end_at is not None: + pulumi.set(__self__, "end_at", end_at) + if expiry_period_in_days is not None: + pulumi.set(__self__, "expiry_period_in_days", expiry_period_in_days) + if last_used_at is not None: + pulumi.set(__self__, "last_used_at", last_used_at) + if name is not None: + pulumi.set(__self__, "name", name) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if short_token is not None: + pulumi.set(__self__, "short_token", short_token) + if start_at is not None: + pulumi.set(__self__, "start_at", start_at) + if token is not None: + pulumi.set(__self__, "token", token) + if type is not None: + pulumi.set(__self__, "type", type) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[str]]: + """ + API Token creation timestamp + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['ApiTokenCreatedByArgs']]: + """ + API Token creator + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['ApiTokenCreatedByArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + API Token description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="endAt") + def end_at(self) -> Optional[pulumi.Input[str]]: + """ + time when the API token will expire in UTC + """ + return pulumi.get(self, "end_at") + + @end_at.setter + def end_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "end_at", value) + + @property + @pulumi.getter(name="expiryPeriodInDays") + def expiry_period_in_days(self) -> Optional[pulumi.Input[int]]: + """ + API Token expiry period in days + """ + return pulumi.get(self, "expiry_period_in_days") + + @expiry_period_in_days.setter + def expiry_period_in_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "expiry_period_in_days", value) + + @property + @pulumi.getter(name="lastUsedAt") + def last_used_at(self) -> Optional[pulumi.Input[str]]: + """ + API Token last used timestamp + """ + return pulumi.get(self, "last_used_at") + + @last_used_at.setter + def last_used_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_used_at", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + API Token name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]]]: + """ + The roles assigned to the API Token + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiTokenRoleArgs']]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter(name="shortToken") + def short_token(self) -> Optional[pulumi.Input[str]]: + """ + API Token short token + """ + return pulumi.get(self, "short_token") + + @short_token.setter + def short_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "short_token", value) + + @property + @pulumi.getter(name="startAt") + def start_at(self) -> Optional[pulumi.Input[str]]: + """ + time when the API token will become valid in UTC + """ + return pulumi.get(self, "start_at") + + @start_at.setter + def start_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start_at", value) + + @property + @pulumi.getter + def token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "token") + + @token.setter + def token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + API Token type - if changing this value, the API Token will be recreated with the new type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[str]]: + """ + API Token last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input['ApiTokenUpdatedByArgs']]: + """ + API Token updater + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input['ApiTokenUpdatedByArgs']]): + pulumi.set(self, "updated_by", value) + + +class ApiToken(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + expiry_period_in_days: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiTokenRoleArgs', 'ApiTokenRoleArgsDict']]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + API Token resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: API Token description + :param pulumi.Input[int] expiry_period_in_days: API Token expiry period in days + :param pulumi.Input[str] name: API Token name + :param pulumi.Input[Sequence[pulumi.Input[Union['ApiTokenRoleArgs', 'ApiTokenRoleArgsDict']]]] roles: The roles assigned to the API Token + :param pulumi.Input[str] type: API Token type - if changing this value, the API Token will be recreated with the new type + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ApiTokenArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + API Token resource + + :param str resource_name: The name of the resource. + :param ApiTokenArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ApiTokenArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + expiry_period_in_days: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiTokenRoleArgs', 'ApiTokenRoleArgsDict']]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ApiTokenArgs.__new__(ApiTokenArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["expiry_period_in_days"] = expiry_period_in_days + __props__.__dict__["name"] = name + if roles is None and not opts.urn: + raise TypeError("Missing required property 'roles'") + __props__.__dict__["roles"] = roles + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["created_at"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["end_at"] = None + __props__.__dict__["last_used_at"] = None + __props__.__dict__["short_token"] = None + __props__.__dict__["start_at"] = None + __props__.__dict__["token"] = None + __props__.__dict__["updated_at"] = None + __props__.__dict__["updated_by"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(ApiToken, __self__).__init__( + 'astronomer:index/apiToken:ApiToken', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[Union['ApiTokenCreatedByArgs', 'ApiTokenCreatedByArgsDict']]] = None, + description: Optional[pulumi.Input[str]] = None, + end_at: Optional[pulumi.Input[str]] = None, + expiry_period_in_days: Optional[pulumi.Input[int]] = None, + last_used_at: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiTokenRoleArgs', 'ApiTokenRoleArgsDict']]]]] = None, + short_token: Optional[pulumi.Input[str]] = None, + start_at: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[Union['ApiTokenUpdatedByArgs', 'ApiTokenUpdatedByArgsDict']]] = None) -> 'ApiToken': + """ + Get an existing ApiToken resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] created_at: API Token creation timestamp + :param pulumi.Input[Union['ApiTokenCreatedByArgs', 'ApiTokenCreatedByArgsDict']] created_by: API Token creator + :param pulumi.Input[str] description: API Token description + :param pulumi.Input[str] end_at: time when the API token will expire in UTC + :param pulumi.Input[int] expiry_period_in_days: API Token expiry period in days + :param pulumi.Input[str] last_used_at: API Token last used timestamp + :param pulumi.Input[str] name: API Token name + :param pulumi.Input[Sequence[pulumi.Input[Union['ApiTokenRoleArgs', 'ApiTokenRoleArgsDict']]]] roles: The roles assigned to the API Token + :param pulumi.Input[str] short_token: API Token short token + :param pulumi.Input[str] start_at: time when the API token will become valid in UTC + :param pulumi.Input[str] type: API Token type - if changing this value, the API Token will be recreated with the new type + :param pulumi.Input[str] updated_at: API Token last updated timestamp + :param pulumi.Input[Union['ApiTokenUpdatedByArgs', 'ApiTokenUpdatedByArgsDict']] updated_by: API Token updater + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ApiTokenState.__new__(_ApiTokenState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["created_by"] = created_by + __props__.__dict__["description"] = description + __props__.__dict__["end_at"] = end_at + __props__.__dict__["expiry_period_in_days"] = expiry_period_in_days + __props__.__dict__["last_used_at"] = last_used_at + __props__.__dict__["name"] = name + __props__.__dict__["roles"] = roles + __props__.__dict__["short_token"] = short_token + __props__.__dict__["start_at"] = start_at + __props__.__dict__["token"] = token + __props__.__dict__["type"] = type + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["updated_by"] = updated_by + return ApiToken(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[str]: + """ + API Token creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output['outputs.ApiTokenCreatedBy']: + """ + API Token creator + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + API Token description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endAt") + def end_at(self) -> pulumi.Output[str]: + """ + time when the API token will expire in UTC + """ + return pulumi.get(self, "end_at") + + @property + @pulumi.getter(name="expiryPeriodInDays") + def expiry_period_in_days(self) -> pulumi.Output[Optional[int]]: + """ + API Token expiry period in days + """ + return pulumi.get(self, "expiry_period_in_days") + + @property + @pulumi.getter(name="lastUsedAt") + def last_used_at(self) -> pulumi.Output[str]: + """ + API Token last used timestamp + """ + return pulumi.get(self, "last_used_at") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + API Token name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def roles(self) -> pulumi.Output[Sequence['outputs.ApiTokenRole']]: + """ + The roles assigned to the API Token + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter(name="shortToken") + def short_token(self) -> pulumi.Output[str]: + """ + API Token short token + """ + return pulumi.get(self, "short_token") + + @property + @pulumi.getter(name="startAt") + def start_at(self) -> pulumi.Output[str]: + """ + time when the API token will become valid in UTC + """ + return pulumi.get(self, "start_at") + + @property + @pulumi.getter + def token(self) -> pulumi.Output[str]: + return pulumi.get(self, "token") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + API Token type - if changing this value, the API Token will be recreated with the new type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[str]: + """ + API Token last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output['outputs.ApiTokenUpdatedBy']: + """ + API Token updater + """ + return pulumi.get(self, "updated_by") + diff --git a/sdk/python/pulumi_astronomer/cluster.py b/sdk/python/pulumi_astronomer/cluster.py index 43c778b..606bdab 100644 --- a/sdk/python/pulumi_astronomer/cluster.py +++ b/sdk/python/pulumi_astronomer/cluster.py @@ -178,6 +178,7 @@ def __init__(__self__, *, cloud_provider: Optional[pulumi.Input[str]] = None, created_at: Optional[pulumi.Input[str]] = None, db_instance_type: Optional[pulumi.Input[str]] = None, + health_status: Optional[pulumi.Input['ClusterHealthStatusArgs']] = None, is_limited: Optional[pulumi.Input[bool]] = None, metadata: Optional[pulumi.Input['ClusterMetadataArgs']] = None, name: Optional[pulumi.Input[str]] = None, @@ -199,6 +200,7 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud_provider: Cluster cloud provider - if changed, the cluster will be recreated. :param pulumi.Input[str] created_at: Cluster creation timestamp :param pulumi.Input[str] db_instance_type: Cluster database instance type + :param pulumi.Input['ClusterHealthStatusArgs'] health_status: Cluster health status :param pulumi.Input[bool] is_limited: Whether the cluster is limited :param pulumi.Input['ClusterMetadataArgs'] metadata: Cluster metadata :param pulumi.Input[str] name: Cluster name @@ -221,6 +223,8 @@ def __init__(__self__, *, pulumi.set(__self__, "created_at", created_at) if db_instance_type is not None: pulumi.set(__self__, "db_instance_type", db_instance_type) + if health_status is not None: + pulumi.set(__self__, "health_status", health_status) if is_limited is not None: pulumi.set(__self__, "is_limited", is_limited) if metadata is not None: @@ -290,6 +294,18 @@ def db_instance_type(self) -> Optional[pulumi.Input[str]]: def db_instance_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "db_instance_type", value) + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> Optional[pulumi.Input['ClusterHealthStatusArgs']]: + """ + Cluster health status + """ + return pulumi.get(self, "health_status") + + @health_status.setter + def health_status(self, value: Optional[pulumi.Input['ClusterHealthStatusArgs']]): + pulumi.set(self, "health_status", value) + @property @pulumi.getter(name="isLimited") def is_limited(self) -> Optional[pulumi.Input[bool]]: @@ -491,7 +507,7 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, service_peering_range: Optional[pulumi.Input[str]] = None, service_subnet_range: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input[pulumi.InputType['ClusterTimeoutsArgs']]] = None, + timeouts: Optional[pulumi.Input[Union['ClusterTimeoutsArgs', 'ClusterTimeoutsArgsDict']]] = None, type: Optional[pulumi.Input[str]] = None, vpc_subnet_range: Optional[pulumi.Input[str]] = None, workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -511,11 +527,11 @@ def __init__(__self__, cloud_provider="AWS", vpc_subnet_range="172.20.0.0/20", workspace_ids=[], - timeouts=astronomer.ClusterTimeoutsArgs( - create="3h", - update="2h", - delete="1h", - )) + timeouts={ + "create": "3h", + "update": "2h", + "delete": "1h", + }) azure_example = astronomer.Cluster("azureExample", type="DEDICATED", region="westus2", @@ -575,11 +591,11 @@ def __init__(__self__, cloud_provider="AWS", vpc_subnet_range="172.20.0.0/20", workspace_ids=[], - timeouts=astronomer.ClusterTimeoutsArgs( - create="3h", - update="2h", - delete="1h", - )) + timeouts={ + "create": "3h", + "update": "2h", + "delete": "1h", + }) azure_example = astronomer.Cluster("azureExample", type="DEDICATED", region="westus2", @@ -627,7 +643,7 @@ def _internal_init(__self__, region: Optional[pulumi.Input[str]] = None, service_peering_range: Optional[pulumi.Input[str]] = None, service_subnet_range: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input[pulumi.InputType['ClusterTimeoutsArgs']]] = None, + timeouts: Optional[pulumi.Input[Union['ClusterTimeoutsArgs', 'ClusterTimeoutsArgsDict']]] = None, type: Optional[pulumi.Input[str]] = None, vpc_subnet_range: Optional[pulumi.Input[str]] = None, workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -662,6 +678,7 @@ def _internal_init(__self__, __props__.__dict__["workspace_ids"] = workspace_ids __props__.__dict__["created_at"] = None __props__.__dict__["db_instance_type"] = None + __props__.__dict__["health_status"] = None __props__.__dict__["is_limited"] = None __props__.__dict__["metadata"] = None __props__.__dict__["node_pools"] = None @@ -682,10 +699,11 @@ def get(resource_name: str, cloud_provider: Optional[pulumi.Input[str]] = None, created_at: Optional[pulumi.Input[str]] = None, db_instance_type: Optional[pulumi.Input[str]] = None, + health_status: Optional[pulumi.Input[Union['ClusterHealthStatusArgs', 'ClusterHealthStatusArgsDict']]] = None, is_limited: Optional[pulumi.Input[bool]] = None, - metadata: Optional[pulumi.Input[pulumi.InputType['ClusterMetadataArgs']]] = None, + metadata: Optional[pulumi.Input[Union['ClusterMetadataArgs', 'ClusterMetadataArgsDict']]] = None, name: Optional[pulumi.Input[str]] = None, - node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodePoolArgs']]]]] = None, + node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodePoolArgs', 'ClusterNodePoolArgsDict']]]]] = None, pod_subnet_range: Optional[pulumi.Input[str]] = None, provider_account: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, @@ -693,7 +711,7 @@ def get(resource_name: str, service_subnet_range: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, tenant_id: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input[pulumi.InputType['ClusterTimeoutsArgs']]] = None, + timeouts: Optional[pulumi.Input[Union['ClusterTimeoutsArgs', 'ClusterTimeoutsArgsDict']]] = None, type: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[str]] = None, vpc_subnet_range: Optional[pulumi.Input[str]] = None, @@ -708,10 +726,11 @@ def get(resource_name: str, :param pulumi.Input[str] cloud_provider: Cluster cloud provider - if changed, the cluster will be recreated. :param pulumi.Input[str] created_at: Cluster creation timestamp :param pulumi.Input[str] db_instance_type: Cluster database instance type + :param pulumi.Input[Union['ClusterHealthStatusArgs', 'ClusterHealthStatusArgsDict']] health_status: Cluster health status :param pulumi.Input[bool] is_limited: Whether the cluster is limited - :param pulumi.Input[pulumi.InputType['ClusterMetadataArgs']] metadata: Cluster metadata + :param pulumi.Input[Union['ClusterMetadataArgs', 'ClusterMetadataArgsDict']] metadata: Cluster metadata :param pulumi.Input[str] name: Cluster name - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodePoolArgs']]]] node_pools: Cluster node pools + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodePoolArgs', 'ClusterNodePoolArgsDict']]]] node_pools: Cluster node pools :param pulumi.Input[str] pod_subnet_range: Cluster pod subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated. :param pulumi.Input[str] provider_account: Cluster provider account :param pulumi.Input[str] region: Cluster region - if changed, the cluster will be recreated. @@ -731,6 +750,7 @@ def get(resource_name: str, __props__.__dict__["cloud_provider"] = cloud_provider __props__.__dict__["created_at"] = created_at __props__.__dict__["db_instance_type"] = db_instance_type + __props__.__dict__["health_status"] = health_status __props__.__dict__["is_limited"] = is_limited __props__.__dict__["metadata"] = metadata __props__.__dict__["name"] = name @@ -773,6 +793,14 @@ def db_instance_type(self) -> pulumi.Output[str]: """ return pulumi.get(self, "db_instance_type") + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> pulumi.Output['outputs.ClusterHealthStatus']: + """ + Cluster health status + """ + return pulumi.get(self, "health_status") + @property @pulumi.getter(name="isLimited") def is_limited(self) -> pulumi.Output[bool]: diff --git a/sdk/python/pulumi_astronomer/deployment.py b/sdk/python/pulumi_astronomer/deployment.py index 514aad5..95ee8d5 100644 --- a/sdk/python/pulumi_astronomer/deployment.py +++ b/sdk/python/pulumi_astronomer/deployment.py @@ -1192,7 +1192,7 @@ def __init__(__self__, default_task_pod_cpu: Optional[pulumi.Input[str]] = None, default_task_pod_memory: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, - environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentEnvironmentVariableArgs']]]]] = None, + environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentEnvironmentVariableArgs', 'DeploymentEnvironmentVariableArgsDict']]]]] = None, executor: Optional[pulumi.Input[str]] = None, is_cicd_enforced: Optional[pulumi.Input[bool]] = None, is_dag_deploy_enabled: Optional[pulumi.Input[bool]] = None, @@ -1203,13 +1203,13 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, resource_quota_cpu: Optional[pulumi.Input[str]] = None, resource_quota_memory: Optional[pulumi.Input[str]] = None, - scaling_spec: Optional[pulumi.Input[pulumi.InputType['DeploymentScalingSpecArgs']]] = None, + scaling_spec: Optional[pulumi.Input[Union['DeploymentScalingSpecArgs', 'DeploymentScalingSpecArgsDict']]] = None, scheduler_au: Optional[pulumi.Input[int]] = None, scheduler_replicas: Optional[pulumi.Input[int]] = None, scheduler_size: Optional[pulumi.Input[str]] = None, task_pod_node_pool_id: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentWorkerQueueArgs']]]]] = None, + worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentWorkerQueueArgs', 'DeploymentWorkerQueueArgsDict']]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -1223,7 +1223,7 @@ def __init__(__self__, :param pulumi.Input[str] default_task_pod_cpu: Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] default_task_pod_memory: Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] description: Deployment description - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentEnvironmentVariableArgs']]]] environment_variables: Deployment environment variables + :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentEnvironmentVariableArgs', 'DeploymentEnvironmentVariableArgsDict']]]] environment_variables: Deployment environment variables :param pulumi.Input[str] executor: Deployment executor :param pulumi.Input[bool] is_cicd_enforced: Deployment CI/CD enforced :param pulumi.Input[bool] is_dag_deploy_enabled: Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment @@ -1233,13 +1233,13 @@ def __init__(__self__, :param pulumi.Input[str] region: Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region :param pulumi.Input[str] resource_quota_cpu: Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] resource_quota_memory: Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments - :param pulumi.Input[pulumi.InputType['DeploymentScalingSpecArgs']] scaling_spec: Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments + :param pulumi.Input[Union['DeploymentScalingSpecArgs', 'DeploymentScalingSpecArgsDict']] scaling_spec: Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[int] scheduler_au: Deployment scheduler AU - required for 'HYBRID' deployments :param pulumi.Input[int] scheduler_replicas: Deployment scheduler replicas - required for 'HYBRID' deployments :param pulumi.Input[str] scheduler_size: Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] task_pod_node_pool_id: Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID' :param pulumi.Input[str] type: Deployment type - if changing this value, the deployment will be recreated with the new type - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentWorkerQueueArgs']]]] worker_queues: Deployment worker queues - required for deployments with 'CELERY' executor + :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentWorkerQueueArgs', 'DeploymentWorkerQueueArgsDict']]]] worker_queues: Deployment worker queues - required for deployments with 'CELERY' executor :param pulumi.Input[str] workspace_id: Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace """ ... @@ -1272,7 +1272,7 @@ def _internal_init(__self__, default_task_pod_cpu: Optional[pulumi.Input[str]] = None, default_task_pod_memory: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, - environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentEnvironmentVariableArgs']]]]] = None, + environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentEnvironmentVariableArgs', 'DeploymentEnvironmentVariableArgsDict']]]]] = None, executor: Optional[pulumi.Input[str]] = None, is_cicd_enforced: Optional[pulumi.Input[bool]] = None, is_dag_deploy_enabled: Optional[pulumi.Input[bool]] = None, @@ -1283,13 +1283,13 @@ def _internal_init(__self__, region: Optional[pulumi.Input[str]] = None, resource_quota_cpu: Optional[pulumi.Input[str]] = None, resource_quota_memory: Optional[pulumi.Input[str]] = None, - scaling_spec: Optional[pulumi.Input[pulumi.InputType['DeploymentScalingSpecArgs']]] = None, + scaling_spec: Optional[pulumi.Input[Union['DeploymentScalingSpecArgs', 'DeploymentScalingSpecArgsDict']]] = None, scheduler_au: Optional[pulumi.Input[int]] = None, scheduler_replicas: Optional[pulumi.Input[int]] = None, scheduler_size: Optional[pulumi.Input[str]] = None, task_pod_node_pool_id: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentWorkerQueueArgs']]]]] = None, + worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentWorkerQueueArgs', 'DeploymentWorkerQueueArgsDict']]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -1380,13 +1380,13 @@ def get(resource_name: str, cluster_id: Optional[pulumi.Input[str]] = None, contact_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, created_at: Optional[pulumi.Input[str]] = None, - created_by: Optional[pulumi.Input[pulumi.InputType['DeploymentCreatedByArgs']]] = None, + created_by: Optional[pulumi.Input[Union['DeploymentCreatedByArgs', 'DeploymentCreatedByArgsDict']]] = None, dag_tarball_version: Optional[pulumi.Input[str]] = None, default_task_pod_cpu: Optional[pulumi.Input[str]] = None, default_task_pod_memory: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, desired_dag_tarball_version: Optional[pulumi.Input[str]] = None, - environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentEnvironmentVariableArgs']]]]] = None, + environment_variables: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentEnvironmentVariableArgs', 'DeploymentEnvironmentVariableArgsDict']]]]] = None, executor: Optional[pulumi.Input[str]] = None, external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image_repository: Optional[pulumi.Input[str]] = None, @@ -1403,8 +1403,8 @@ def get(resource_name: str, region: Optional[pulumi.Input[str]] = None, resource_quota_cpu: Optional[pulumi.Input[str]] = None, resource_quota_memory: Optional[pulumi.Input[str]] = None, - scaling_spec: Optional[pulumi.Input[pulumi.InputType['DeploymentScalingSpecArgs']]] = None, - scaling_status: Optional[pulumi.Input[pulumi.InputType['DeploymentScalingStatusArgs']]] = None, + scaling_spec: Optional[pulumi.Input[Union['DeploymentScalingSpecArgs', 'DeploymentScalingSpecArgsDict']]] = None, + scaling_status: Optional[pulumi.Input[Union['DeploymentScalingStatusArgs', 'DeploymentScalingStatusArgsDict']]] = None, scheduler_au: Optional[pulumi.Input[int]] = None, scheduler_cpu: Optional[pulumi.Input[str]] = None, scheduler_memory: Optional[pulumi.Input[str]] = None, @@ -1415,11 +1415,11 @@ def get(resource_name: str, task_pod_node_pool_id: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[str]] = None, - updated_by: Optional[pulumi.Input[pulumi.InputType['DeploymentUpdatedByArgs']]] = None, + updated_by: Optional[pulumi.Input[Union['DeploymentUpdatedByArgs', 'DeploymentUpdatedByArgsDict']]] = None, webserver_airflow_api_url: Optional[pulumi.Input[str]] = None, webserver_ingress_hostname: Optional[pulumi.Input[str]] = None, webserver_url: Optional[pulumi.Input[str]] = None, - worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentWorkerQueueArgs']]]]] = None, + worker_queues: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentWorkerQueueArgs', 'DeploymentWorkerQueueArgsDict']]]]] = None, workload_identity: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None) -> 'Deployment': """ @@ -1435,13 +1435,13 @@ def get(resource_name: str, :param pulumi.Input[str] cluster_id: Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster :param pulumi.Input[Sequence[pulumi.Input[str]]] contact_emails: Deployment contact emails :param pulumi.Input[str] created_at: Deployment creation timestamp - :param pulumi.Input[pulumi.InputType['DeploymentCreatedByArgs']] created_by: Deployment creator + :param pulumi.Input[Union['DeploymentCreatedByArgs', 'DeploymentCreatedByArgsDict']] created_by: Deployment creator :param pulumi.Input[str] dag_tarball_version: Deployment DAG tarball version :param pulumi.Input[str] default_task_pod_cpu: Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] default_task_pod_memory: Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] description: Deployment description :param pulumi.Input[str] desired_dag_tarball_version: Deployment desired DAG tarball version - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentEnvironmentVariableArgs']]]] environment_variables: Deployment environment variables + :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentEnvironmentVariableArgs', 'DeploymentEnvironmentVariableArgsDict']]]] environment_variables: Deployment environment variables :param pulumi.Input[str] executor: Deployment executor :param pulumi.Input[Sequence[pulumi.Input[str]]] external_ips: Deployment external IPs :param pulumi.Input[str] image_repository: Deployment image repository @@ -1457,8 +1457,8 @@ def get(resource_name: str, :param pulumi.Input[str] region: Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region :param pulumi.Input[str] resource_quota_cpu: Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments :param pulumi.Input[str] resource_quota_memory: Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments - :param pulumi.Input[pulumi.InputType['DeploymentScalingSpecArgs']] scaling_spec: Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments - :param pulumi.Input[pulumi.InputType['DeploymentScalingStatusArgs']] scaling_status: Deployment scaling status + :param pulumi.Input[Union['DeploymentScalingSpecArgs', 'DeploymentScalingSpecArgsDict']] scaling_spec: Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments + :param pulumi.Input[Union['DeploymentScalingStatusArgs', 'DeploymentScalingStatusArgsDict']] scaling_status: Deployment scaling status :param pulumi.Input[int] scheduler_au: Deployment scheduler AU - required for 'HYBRID' deployments :param pulumi.Input[str] scheduler_cpu: Deployment scheduler CPU :param pulumi.Input[str] scheduler_memory: Deployment scheduler memory @@ -1469,11 +1469,11 @@ def get(resource_name: str, :param pulumi.Input[str] task_pod_node_pool_id: Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID' :param pulumi.Input[str] type: Deployment type - if changing this value, the deployment will be recreated with the new type :param pulumi.Input[str] updated_at: Deployment last updated timestamp - :param pulumi.Input[pulumi.InputType['DeploymentUpdatedByArgs']] updated_by: Deployment updater + :param pulumi.Input[Union['DeploymentUpdatedByArgs', 'DeploymentUpdatedByArgsDict']] updated_by: Deployment updater :param pulumi.Input[str] webserver_airflow_api_url: Deployment webserver Airflow API URL :param pulumi.Input[str] webserver_ingress_hostname: Deployment webserver ingress hostname :param pulumi.Input[str] webserver_url: Deployment webserver URL - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeploymentWorkerQueueArgs']]]] worker_queues: Deployment worker queues - required for deployments with 'CELERY' executor + :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentWorkerQueueArgs', 'DeploymentWorkerQueueArgsDict']]]] worker_queues: Deployment worker queues - required for deployments with 'CELERY' executor :param pulumi.Input[str] workload_identity: Deployment workload identity. This value can be changed via the Astro API if applicable. :param pulumi.Input[str] workspace_id: Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace """ diff --git a/sdk/python/pulumi_astronomer/get_api_token.py b/sdk/python/pulumi_astronomer/get_api_token.py new file mode 100644 index 0000000..8447bd3 --- /dev/null +++ b/sdk/python/pulumi_astronomer/get_api_token.py @@ -0,0 +1,263 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'GetApiTokenResult', + 'AwaitableGetApiTokenResult', + 'get_api_token', + 'get_api_token_output', +] + +@pulumi.output_type +class GetApiTokenResult: + """ + A collection of values returned by getApiToken. + """ + def __init__(__self__, created_at=None, created_by=None, description=None, end_at=None, expiry_period_in_days=None, id=None, last_used_at=None, name=None, roles=None, short_token=None, start_at=None, type=None, updated_at=None, updated_by=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if end_at and not isinstance(end_at, str): + raise TypeError("Expected argument 'end_at' to be a str") + pulumi.set(__self__, "end_at", end_at) + if expiry_period_in_days and not isinstance(expiry_period_in_days, int): + raise TypeError("Expected argument 'expiry_period_in_days' to be a int") + pulumi.set(__self__, "expiry_period_in_days", expiry_period_in_days) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_used_at and not isinstance(last_used_at, str): + raise TypeError("Expected argument 'last_used_at' to be a str") + pulumi.set(__self__, "last_used_at", last_used_at) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if roles and not isinstance(roles, list): + raise TypeError("Expected argument 'roles' to be a list") + pulumi.set(__self__, "roles", roles) + if short_token and not isinstance(short_token, str): + raise TypeError("Expected argument 'short_token' to be a str") + pulumi.set(__self__, "short_token", short_token) + if start_at and not isinstance(start_at, str): + raise TypeError("Expected argument 'start_at' to be a str") + pulumi.set(__self__, "start_at", start_at) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + if updated_by and not isinstance(updated_by, dict): + raise TypeError("Expected argument 'updated_by' to be a dict") + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> str: + """ + API Token creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> 'outputs.GetApiTokenCreatedByResult': + """ + API Token creator + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter + def description(self) -> str: + """ + API Token description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endAt") + def end_at(self) -> str: + """ + time when the API token will expire in UTC + """ + return pulumi.get(self, "end_at") + + @property + @pulumi.getter(name="expiryPeriodInDays") + def expiry_period_in_days(self) -> int: + """ + API Token expiry period in days + """ + return pulumi.get(self, "expiry_period_in_days") + + @property + @pulumi.getter + def id(self) -> str: + """ + API Token identifier + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastUsedAt") + def last_used_at(self) -> str: + """ + API Token last used timestamp + """ + return pulumi.get(self, "last_used_at") + + @property + @pulumi.getter + def name(self) -> str: + """ + API Token name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def roles(self) -> Sequence['outputs.GetApiTokenRoleResult']: + """ + The roles assigned to the API Token + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter(name="shortToken") + def short_token(self) -> str: + """ + API Token short token + """ + return pulumi.get(self, "short_token") + + @property + @pulumi.getter(name="startAt") + def start_at(self) -> str: + """ + time when the API token will become valid in UTC + """ + return pulumi.get(self, "start_at") + + @property + @pulumi.getter + def type(self) -> str: + """ + API Token type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> str: + """ + API Token last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> 'outputs.GetApiTokenUpdatedByResult': + """ + API Token updater + """ + return pulumi.get(self, "updated_by") + + +class AwaitableGetApiTokenResult(GetApiTokenResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetApiTokenResult( + created_at=self.created_at, + created_by=self.created_by, + description=self.description, + end_at=self.end_at, + expiry_period_in_days=self.expiry_period_in_days, + id=self.id, + last_used_at=self.last_used_at, + name=self.name, + roles=self.roles, + short_token=self.short_token, + start_at=self.start_at, + type=self.type, + updated_at=self.updated_at, + updated_by=self.updated_by) + + +def get_api_token(id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiTokenResult: + """ + API Token data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_api_token = astronomer.get_api_token(id="clxm4836f00ql01me3nigmcr6") + pulumi.export("apiToken", example_api_token) + ``` + + + :param str id: API Token identifier + """ + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('astronomer:index/getApiToken:getApiToken', __args__, opts=opts, typ=GetApiTokenResult).value + + return AwaitableGetApiTokenResult( + created_at=pulumi.get(__ret__, 'created_at'), + created_by=pulumi.get(__ret__, 'created_by'), + description=pulumi.get(__ret__, 'description'), + end_at=pulumi.get(__ret__, 'end_at'), + expiry_period_in_days=pulumi.get(__ret__, 'expiry_period_in_days'), + id=pulumi.get(__ret__, 'id'), + last_used_at=pulumi.get(__ret__, 'last_used_at'), + name=pulumi.get(__ret__, 'name'), + roles=pulumi.get(__ret__, 'roles'), + short_token=pulumi.get(__ret__, 'short_token'), + start_at=pulumi.get(__ret__, 'start_at'), + type=pulumi.get(__ret__, 'type'), + updated_at=pulumi.get(__ret__, 'updated_at'), + updated_by=pulumi.get(__ret__, 'updated_by')) + + +@_utilities.lift_output_func(get_api_token) +def get_api_token_output(id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiTokenResult]: + """ + API Token data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_api_token = astronomer.get_api_token(id="clxm4836f00ql01me3nigmcr6") + pulumi.export("apiToken", example_api_token) + ``` + + + :param str id: API Token identifier + """ + ... diff --git a/sdk/python/pulumi_astronomer/get_api_tokens.py b/sdk/python/pulumi_astronomer/get_api_tokens.py new file mode 100644 index 0000000..539d7d9 --- /dev/null +++ b/sdk/python/pulumi_astronomer/get_api_tokens.py @@ -0,0 +1,140 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'GetApiTokensResult', + 'AwaitableGetApiTokensResult', + 'get_api_tokens', + 'get_api_tokens_output', +] + +@pulumi.output_type +class GetApiTokensResult: + """ + A collection of values returned by getApiTokens. + """ + def __init__(__self__, api_tokens=None, deployment_id=None, id=None, include_only_organization_tokens=None, workspace_id=None): + if api_tokens and not isinstance(api_tokens, list): + raise TypeError("Expected argument 'api_tokens' to be a list") + pulumi.set(__self__, "api_tokens", api_tokens) + if deployment_id and not isinstance(deployment_id, str): + raise TypeError("Expected argument 'deployment_id' to be a str") + pulumi.set(__self__, "deployment_id", deployment_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if include_only_organization_tokens and not isinstance(include_only_organization_tokens, bool): + raise TypeError("Expected argument 'include_only_organization_tokens' to be a bool") + pulumi.set(__self__, "include_only_organization_tokens", include_only_organization_tokens) + if workspace_id and not isinstance(workspace_id, str): + raise TypeError("Expected argument 'workspace_id' to be a str") + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="apiTokens") + def api_tokens(self) -> Sequence['outputs.GetApiTokensApiTokenResult']: + return pulumi.get(self, "api_tokens") + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="includeOnlyOrganizationTokens") + def include_only_organization_tokens(self) -> Optional[bool]: + return pulumi.get(self, "include_only_organization_tokens") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[str]: + return pulumi.get(self, "workspace_id") + + +class AwaitableGetApiTokensResult(GetApiTokensResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetApiTokensResult( + api_tokens=self.api_tokens, + deployment_id=self.deployment_id, + id=self.id, + include_only_organization_tokens=self.include_only_organization_tokens, + workspace_id=self.workspace_id) + + +def get_api_tokens(deployment_id: Optional[str] = None, + include_only_organization_tokens: Optional[bool] = None, + workspace_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiTokensResult: + """ + API Tokens data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_api_tokens = astronomer.get_api_tokens() + organization_only_example = astronomer.get_api_tokens(include_only_organization_tokens=True) + workspace_example = astronomer.get_api_tokens(workspace_id="clx42sxw501gl01o0gjenthnh") + deployment_example = astronomer.get_api_tokens(deployment_id="clx44jyu001m201m5dzsbexqr") + pulumi.export("apiTokens", example_api_tokens) + ``` + """ + __args__ = dict() + __args__['deploymentId'] = deployment_id + __args__['includeOnlyOrganizationTokens'] = include_only_organization_tokens + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('astronomer:index/getApiTokens:getApiTokens', __args__, opts=opts, typ=GetApiTokensResult).value + + return AwaitableGetApiTokensResult( + api_tokens=pulumi.get(__ret__, 'api_tokens'), + deployment_id=pulumi.get(__ret__, 'deployment_id'), + id=pulumi.get(__ret__, 'id'), + include_only_organization_tokens=pulumi.get(__ret__, 'include_only_organization_tokens'), + workspace_id=pulumi.get(__ret__, 'workspace_id')) + + +@_utilities.lift_output_func(get_api_tokens) +def get_api_tokens_output(deployment_id: Optional[pulumi.Input[Optional[str]]] = None, + include_only_organization_tokens: Optional[pulumi.Input[Optional[bool]]] = None, + workspace_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiTokensResult]: + """ + API Tokens data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_api_tokens = astronomer.get_api_tokens() + organization_only_example = astronomer.get_api_tokens(include_only_organization_tokens=True) + workspace_example = astronomer.get_api_tokens(workspace_id="clx42sxw501gl01o0gjenthnh") + deployment_example = astronomer.get_api_tokens(deployment_id="clx44jyu001m201m5dzsbexqr") + pulumi.export("apiTokens", example_api_tokens) + ``` + """ + ... diff --git a/sdk/python/pulumi_astronomer/get_cluster.py b/sdk/python/pulumi_astronomer/get_cluster.py index bcd39cd..25937d9 100644 --- a/sdk/python/pulumi_astronomer/get_cluster.py +++ b/sdk/python/pulumi_astronomer/get_cluster.py @@ -22,7 +22,7 @@ class GetClusterResult: """ A collection of values returned by getCluster. """ - def __init__(__self__, cloud_provider=None, created_at=None, db_instance_type=None, id=None, is_limited=None, metadata=None, name=None, node_pools=None, pod_subnet_range=None, provider_account=None, region=None, service_peering_range=None, service_subnet_range=None, status=None, tags=None, tenant_id=None, type=None, updated_at=None, vpc_subnet_range=None, workspace_ids=None): + def __init__(__self__, cloud_provider=None, created_at=None, db_instance_type=None, health_status=None, id=None, is_limited=None, metadata=None, name=None, node_pools=None, pod_subnet_range=None, provider_account=None, region=None, service_peering_range=None, service_subnet_range=None, status=None, tags=None, tenant_id=None, type=None, updated_at=None, vpc_subnet_range=None, workspace_ids=None): if cloud_provider and not isinstance(cloud_provider, str): raise TypeError("Expected argument 'cloud_provider' to be a str") pulumi.set(__self__, "cloud_provider", cloud_provider) @@ -32,6 +32,9 @@ def __init__(__self__, cloud_provider=None, created_at=None, db_instance_type=No if db_instance_type and not isinstance(db_instance_type, str): raise TypeError("Expected argument 'db_instance_type' to be a str") pulumi.set(__self__, "db_instance_type", db_instance_type) + if health_status and not isinstance(health_status, dict): + raise TypeError("Expected argument 'health_status' to be a dict") + pulumi.set(__self__, "health_status", health_status) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -108,6 +111,14 @@ def db_instance_type(self) -> str: """ return pulumi.get(self, "db_instance_type") + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> 'outputs.GetClusterHealthStatusResult': + """ + Cluster health status + """ + return pulumi.get(self, "health_status") + @property @pulumi.getter def id(self) -> str: @@ -254,6 +265,7 @@ def __await__(self): cloud_provider=self.cloud_provider, created_at=self.created_at, db_instance_type=self.db_instance_type, + health_status=self.health_status, id=self.id, is_limited=self.is_limited, metadata=self.metadata, @@ -284,7 +296,8 @@ def get_cluster(id: Optional[str] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_cluster(id="clozc036j01to01jrlgvueo8t") + example_cluster = astronomer.get_cluster(id="clozc036j01to01jrlgvueo8t") + pulumi.export("cluster", example_cluster) ``` @@ -299,6 +312,7 @@ def get_cluster(id: Optional[str] = None, cloud_provider=pulumi.get(__ret__, 'cloud_provider'), created_at=pulumi.get(__ret__, 'created_at'), db_instance_type=pulumi.get(__ret__, 'db_instance_type'), + health_status=pulumi.get(__ret__, 'health_status'), id=pulumi.get(__ret__, 'id'), is_limited=pulumi.get(__ret__, 'is_limited'), metadata=pulumi.get(__ret__, 'metadata'), @@ -330,7 +344,8 @@ def get_cluster_output(id: Optional[pulumi.Input[str]] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_cluster(id="clozc036j01to01jrlgvueo8t") + example_cluster = astronomer.get_cluster(id="clozc036j01to01jrlgvueo8t") + pulumi.export("cluster", example_cluster) ``` diff --git a/sdk/python/pulumi_astronomer/get_cluster_options.py b/sdk/python/pulumi_astronomer/get_cluster_options.py index ce8abae..efd1186 100644 --- a/sdk/python/pulumi_astronomer/get_cluster_options.py +++ b/sdk/python/pulumi_astronomer/get_cluster_options.py @@ -85,8 +85,9 @@ def get_cluster_options(cloud_provider: Optional[str] = None, import pulumi_astronomer as astronomer example_cluster_options = astronomer.get_cluster_options(type="HYBRID") - example_cluster_options_filter_by_provider = astronomer.get_cluster_options(cloud_provider="AWS", - type="HYBRID") + example_cluster_options_filter_by_provider = astronomer.get_cluster_options(type="HYBRID", + cloud_provider="AWS") + pulumi.export("clusterOptions", example_cluster_options) ``` """ __args__ = dict() @@ -116,8 +117,9 @@ def get_cluster_options_output(cloud_provider: Optional[pulumi.Input[Optional[st import pulumi_astronomer as astronomer example_cluster_options = astronomer.get_cluster_options(type="HYBRID") - example_cluster_options_filter_by_provider = astronomer.get_cluster_options(cloud_provider="AWS", - type="HYBRID") + example_cluster_options_filter_by_provider = astronomer.get_cluster_options(type="HYBRID", + cloud_provider="AWS") + pulumi.export("clusterOptions", example_cluster_options) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/get_clusters.py b/sdk/python/pulumi_astronomer/get_clusters.py index 12f4558..7d8760f 100644 --- a/sdk/python/pulumi_astronomer/get_clusters.py +++ b/sdk/python/pulumi_astronomer/get_clusters.py @@ -87,6 +87,7 @@ def get_clusters(cloud_provider: Optional[str] = None, example_clusters = astronomer.get_clusters() example_clusters_filter_by_names = astronomer.get_clusters(names=["my cluster"]) example_clusters_filter_by_cloud_provider = astronomer.get_clusters(cloud_provider="AWS") + pulumi.export("clusters", example_clusters) ``` """ __args__ = dict() @@ -118,6 +119,7 @@ def get_clusters_output(cloud_provider: Optional[pulumi.Input[Optional[str]]] = example_clusters = astronomer.get_clusters() example_clusters_filter_by_names = astronomer.get_clusters(names=["my cluster"]) example_clusters_filter_by_cloud_provider = astronomer.get_clusters(cloud_provider="AWS") + pulumi.export("clusters", example_clusters) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/get_deployment.py b/sdk/python/pulumi_astronomer/get_deployment.py index d424dc8..91fe61a 100644 --- a/sdk/python/pulumi_astronomer/get_deployment.py +++ b/sdk/python/pulumi_astronomer/get_deployment.py @@ -620,7 +620,8 @@ def get_deployment(id: Optional[str] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_deployment(id="clozc036j01to01jrlgvueo8t") + example_deployment = astronomer.get_deployment(id="clozc036j01to01jrlgvueo8t") + pulumi.export("deployment", example_deployment) ``` @@ -694,7 +695,8 @@ def get_deployment_output(id: Optional[pulumi.Input[str]] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_deployment(id="clozc036j01to01jrlgvueo8t") + example_deployment = astronomer.get_deployment(id="clozc036j01to01jrlgvueo8t") + pulumi.export("deployment", example_deployment) ``` diff --git a/sdk/python/pulumi_astronomer/get_deployment_options.py b/sdk/python/pulumi_astronomer/get_deployment_options.py index e1b6012..0d0601e 100644 --- a/sdk/python/pulumi_astronomer/get_deployment_options.py +++ b/sdk/python/pulumi_astronomer/get_deployment_options.py @@ -191,11 +191,12 @@ def get_deployment_options(cloud_provider: Optional[str] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_deployment_options() + example_deployment_options = astronomer.get_deployment_options() example_with_deployment_id_query_param = astronomer.get_deployment_options(deployment_id="clozc036j01to01jrlgvueo8t") example_with_deployment_type_query_param = astronomer.get_deployment_options(deployment_type="DEDICATED") example_with_executor_query_param = astronomer.get_deployment_options(executor="CELERY") example_with_cloud_provider_query_param = astronomer.get_deployment_options(cloud_provider="AWS") + pulumi.export("deploymentOptions", example_deployment_options) ``` @@ -242,11 +243,12 @@ def get_deployment_options_output(cloud_provider: Optional[pulumi.Input[Optional import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_deployment_options() + example_deployment_options = astronomer.get_deployment_options() example_with_deployment_id_query_param = astronomer.get_deployment_options(deployment_id="clozc036j01to01jrlgvueo8t") example_with_deployment_type_query_param = astronomer.get_deployment_options(deployment_type="DEDICATED") example_with_executor_query_param = astronomer.get_deployment_options(executor="CELERY") example_with_cloud_provider_query_param = astronomer.get_deployment_options(cloud_provider="AWS") + pulumi.export("deploymentOptions", example_deployment_options) ``` diff --git a/sdk/python/pulumi_astronomer/get_deployments.py b/sdk/python/pulumi_astronomer/get_deployments.py index 062ba5f..9024ee3 100644 --- a/sdk/python/pulumi_astronomer/get_deployments.py +++ b/sdk/python/pulumi_astronomer/get_deployments.py @@ -98,6 +98,7 @@ def get_deployments(deployment_ids: Optional[Sequence[str]] = None, example_deployments_filter_by_names = astronomer.get_deployments(names=["my deployment"]) example_deployments_filter_by_deployment_ids = astronomer.get_deployments(deployment_ids=["clozc036j01to01jrlgvueo8t"]) example_deployments_filter_by_workspace_ids = astronomer.get_deployments(workspace_ids=["clozc036j01to01jrlgvu798d"]) + pulumi.export("deployments", example_deployments) ``` """ __args__ = dict() @@ -133,6 +134,7 @@ def get_deployments_output(deployment_ids: Optional[pulumi.Input[Optional[Sequen example_deployments_filter_by_names = astronomer.get_deployments(names=["my deployment"]) example_deployments_filter_by_deployment_ids = astronomer.get_deployments(deployment_ids=["clozc036j01to01jrlgvueo8t"]) example_deployments_filter_by_workspace_ids = astronomer.get_deployments(workspace_ids=["clozc036j01to01jrlgvu798d"]) + pulumi.export("deployments", example_deployments) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/get_organization.py b/sdk/python/pulumi_astronomer/get_organization.py index fc4aa2c..3a4df97 100644 --- a/sdk/python/pulumi_astronomer/get_organization.py +++ b/sdk/python/pulumi_astronomer/get_organization.py @@ -199,7 +199,8 @@ def get_organization(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_organization() + example_organization = astronomer.get_organization() + pulumi.export("organization", example_organization) ``` """ __args__ = dict() @@ -233,7 +234,8 @@ def get_organization_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_organization() + example_organization = astronomer.get_organization() + pulumi.export("organization", example_organization) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/get_team.py b/sdk/python/pulumi_astronomer/get_team.py index f32bc97..8a663bd 100644 --- a/sdk/python/pulumi_astronomer/get_team.py +++ b/sdk/python/pulumi_astronomer/get_team.py @@ -80,7 +80,7 @@ def created_by(self) -> 'outputs.GetTeamCreatedByResult': @pulumi.getter(name="deploymentRoles") def deployment_roles(self) -> Sequence['outputs.GetTeamDeploymentRoleResult']: """ - The roles assigned to the deployments + The roles assigned to the Deployments """ return pulumi.get(self, "deployment_roles") @@ -96,7 +96,7 @@ def description(self) -> str: @pulumi.getter def id(self) -> str: """ - Team identifier + Team ID """ return pulumi.get(self, "id") @@ -104,7 +104,7 @@ def id(self) -> str: @pulumi.getter(name="isIdpManaged") def is_idp_managed(self) -> bool: """ - Whether the team is managed by an identity provider + Whether the Team is managed by an identity provider """ return pulumi.get(self, "is_idp_managed") @@ -120,7 +120,7 @@ def name(self) -> str: @pulumi.getter(name="organizationRole") def organization_role(self) -> str: """ - The role assigned to the organization + The role assigned to the Organization """ return pulumi.get(self, "organization_role") @@ -128,7 +128,7 @@ def organization_role(self) -> str: @pulumi.getter(name="rolesCount") def roles_count(self) -> int: """ - Number of roles assigned to the team + Number of roles assigned to the Team """ return pulumi.get(self, "roles_count") @@ -152,7 +152,7 @@ def updated_by(self) -> 'outputs.GetTeamUpdatedByResult': @pulumi.getter(name="workspaceRoles") def workspace_roles(self) -> Sequence['outputs.GetTeamWorkspaceRoleResult']: """ - The roles assigned to the workspaces + The roles assigned to the Workspaces """ return pulumi.get(self, "workspace_roles") @@ -188,11 +188,12 @@ def get_team(id: Optional[str] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_team(id="clwbclrc100bl01ozjj5s4jmq") + example_team = astronomer.get_team(id="clwbclrc100bl01ozjj5s4jmq") + pulumi.export("team", example_team) ``` - :param str id: Team identifier + :param str id: Team ID """ __args__ = dict() __args__['id'] = id @@ -226,10 +227,11 @@ def get_team_output(id: Optional[pulumi.Input[str]] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_team(id="clwbclrc100bl01ozjj5s4jmq") + example_team = astronomer.get_team(id="clwbclrc100bl01ozjj5s4jmq") + pulumi.export("team", example_team) ``` - :param str id: Team identifier + :param str id: Team ID """ ... diff --git a/sdk/python/pulumi_astronomer/get_teams.py b/sdk/python/pulumi_astronomer/get_teams.py index 8a384ed..979b9b0 100644 --- a/sdk/python/pulumi_astronomer/get_teams.py +++ b/sdk/python/pulumi_astronomer/get_teams.py @@ -74,11 +74,12 @@ def get_teams(names: Optional[Sequence[str]] = None, import pulumi import pulumi_astronomer as astronomer - example_teams = astronomer.get_teams() + example_teams_teams = astronomer.get_teams() example_teams_filter_by_names = astronomer.get_teams(names=[ "my first team", "my second team", ]) + pulumi.export("exampleTeams", example_teams_teams) ``` """ __args__ = dict() @@ -104,11 +105,12 @@ def get_teams_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] = No import pulumi import pulumi_astronomer as astronomer - example_teams = astronomer.get_teams() + example_teams_teams = astronomer.get_teams() example_teams_filter_by_names = astronomer.get_teams(names=[ "my first team", "my second team", ]) + pulumi.export("exampleTeams", example_teams_teams) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/get_user.py b/sdk/python/pulumi_astronomer/get_user.py new file mode 100644 index 0000000..2e07bd3 --- /dev/null +++ b/sdk/python/pulumi_astronomer/get_user.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'GetUserResult', + 'AwaitableGetUserResult', + 'get_user', + 'get_user_output', +] + +@pulumi.output_type +class GetUserResult: + """ + A collection of values returned by getUser. + """ + def __init__(__self__, avatar_url=None, created_at=None, deployment_roles=None, full_name=None, id=None, organization_role=None, status=None, updated_at=None, username=None, workspace_roles=None): + if avatar_url and not isinstance(avatar_url, str): + raise TypeError("Expected argument 'avatar_url' to be a str") + pulumi.set(__self__, "avatar_url", avatar_url) + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if deployment_roles and not isinstance(deployment_roles, list): + raise TypeError("Expected argument 'deployment_roles' to be a list") + pulumi.set(__self__, "deployment_roles", deployment_roles) + if full_name and not isinstance(full_name, str): + raise TypeError("Expected argument 'full_name' to be a str") + pulumi.set(__self__, "full_name", full_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if organization_role and not isinstance(organization_role, str): + raise TypeError("Expected argument 'organization_role' to be a str") + pulumi.set(__self__, "organization_role", organization_role) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + if username and not isinstance(username, str): + raise TypeError("Expected argument 'username' to be a str") + pulumi.set(__self__, "username", username) + if workspace_roles and not isinstance(workspace_roles, list): + raise TypeError("Expected argument 'workspace_roles' to be a list") + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> str: + """ + User avatar URL + """ + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> str: + """ + User creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Sequence['outputs.GetUserDeploymentRoleResult']: + """ + The roles assigned to the deployments + """ + return pulumi.get(self, "deployment_roles") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> str: + """ + User full name + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + User identifier + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> str: + """ + The role assigned to the organization + """ + return pulumi.get(self, "organization_role") + + @property + @pulumi.getter + def status(self) -> str: + """ + User status + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> str: + """ + User last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter + def username(self) -> str: + """ + User username + """ + return pulumi.get(self, "username") + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Sequence['outputs.GetUserWorkspaceRoleResult']: + """ + The roles assigned to the workspaces + """ + return pulumi.get(self, "workspace_roles") + + +class AwaitableGetUserResult(GetUserResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUserResult( + avatar_url=self.avatar_url, + created_at=self.created_at, + deployment_roles=self.deployment_roles, + full_name=self.full_name, + id=self.id, + organization_role=self.organization_role, + status=self.status, + updated_at=self.updated_at, + username=self.username, + workspace_roles=self.workspace_roles) + + +def get_user(id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult: + """ + User data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_user = astronomer.get_user(id="clhpichn8002m01mqa4ocs7g6") + pulumi.export("user", example_user) + ``` + + + :param str id: User identifier + """ + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('astronomer:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult).value + + return AwaitableGetUserResult( + avatar_url=pulumi.get(__ret__, 'avatar_url'), + created_at=pulumi.get(__ret__, 'created_at'), + deployment_roles=pulumi.get(__ret__, 'deployment_roles'), + full_name=pulumi.get(__ret__, 'full_name'), + id=pulumi.get(__ret__, 'id'), + organization_role=pulumi.get(__ret__, 'organization_role'), + status=pulumi.get(__ret__, 'status'), + updated_at=pulumi.get(__ret__, 'updated_at'), + username=pulumi.get(__ret__, 'username'), + workspace_roles=pulumi.get(__ret__, 'workspace_roles')) + + +@_utilities.lift_output_func(get_user) +def get_user_output(id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: + """ + User data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_user = astronomer.get_user(id="clhpichn8002m01mqa4ocs7g6") + pulumi.export("user", example_user) + ``` + + + :param str id: User identifier + """ + ... diff --git a/sdk/python/pulumi_astronomer/get_users.py b/sdk/python/pulumi_astronomer/get_users.py new file mode 100644 index 0000000..2b62ab2 --- /dev/null +++ b/sdk/python/pulumi_astronomer/get_users.py @@ -0,0 +1,125 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'GetUsersResult', + 'AwaitableGetUsersResult', + 'get_users', + 'get_users_output', +] + +@pulumi.output_type +class GetUsersResult: + """ + A collection of values returned by getUsers. + """ + def __init__(__self__, deployment_id=None, id=None, users=None, workspace_id=None): + if deployment_id and not isinstance(deployment_id, str): + raise TypeError("Expected argument 'deployment_id' to be a str") + pulumi.set(__self__, "deployment_id", deployment_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if users and not isinstance(users, list): + raise TypeError("Expected argument 'users' to be a list") + pulumi.set(__self__, "users", users) + if workspace_id and not isinstance(workspace_id, str): + raise TypeError("Expected argument 'workspace_id' to be a str") + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def users(self) -> Sequence['outputs.GetUsersUserResult']: + return pulumi.get(self, "users") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[str]: + return pulumi.get(self, "workspace_id") + + +class AwaitableGetUsersResult(GetUsersResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUsersResult( + deployment_id=self.deployment_id, + id=self.id, + users=self.users, + workspace_id=self.workspace_id) + + +def get_users(deployment_id: Optional[str] = None, + workspace_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult: + """ + Users data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_users_users = astronomer.get_users() + example_users_filter_by_workspace_id = astronomer.get_users(workspace_id="clx42sxw501gl01o0gjenthnh") + example_users_filter_by_deployment_id = astronomer.get_users(deployment_id="clx44jyu001m201m5dzsbexqr") + pulumi.export("exampleUsers", example_users_users) + ``` + """ + __args__ = dict() + __args__['deploymentId'] = deployment_id + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('astronomer:index/getUsers:getUsers', __args__, opts=opts, typ=GetUsersResult).value + + return AwaitableGetUsersResult( + deployment_id=pulumi.get(__ret__, 'deployment_id'), + id=pulumi.get(__ret__, 'id'), + users=pulumi.get(__ret__, 'users'), + workspace_id=pulumi.get(__ret__, 'workspace_id')) + + +@_utilities.lift_output_func(get_users) +def get_users_output(deployment_id: Optional[pulumi.Input[Optional[str]]] = None, + workspace_id: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]: + """ + Users data source + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + example_users_users = astronomer.get_users() + example_users_filter_by_workspace_id = astronomer.get_users(workspace_id="clx42sxw501gl01o0gjenthnh") + example_users_filter_by_deployment_id = astronomer.get_users(deployment_id="clx44jyu001m201m5dzsbexqr") + pulumi.export("exampleUsers", example_users_users) + ``` + """ + ... diff --git a/sdk/python/pulumi_astronomer/get_workspace.py b/sdk/python/pulumi_astronomer/get_workspace.py index 019d998..a9c18d2 100644 --- a/sdk/python/pulumi_astronomer/get_workspace.py +++ b/sdk/python/pulumi_astronomer/get_workspace.py @@ -140,7 +140,8 @@ def get_workspace(id: Optional[str] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_workspace(id="clozc036j01to01jrlgvueo8t") + example_workspace = astronomer.get_workspace(id="clozc036j01to01jrlgvueo8t") + pulumi.export("workspace", example_workspace) ``` @@ -174,7 +175,8 @@ def get_workspace_output(id: Optional[pulumi.Input[str]] = None, import pulumi import pulumi_astronomer as astronomer - example = astronomer.get_workspace(id="clozc036j01to01jrlgvueo8t") + example_workspace = astronomer.get_workspace(id="clozc036j01to01jrlgvueo8t") + pulumi.export("workspace", example_workspace) ``` diff --git a/sdk/python/pulumi_astronomer/get_workspaces.py b/sdk/python/pulumi_astronomer/get_workspaces.py index bf40db5..c402c46 100644 --- a/sdk/python/pulumi_astronomer/get_workspaces.py +++ b/sdk/python/pulumi_astronomer/get_workspaces.py @@ -84,7 +84,7 @@ def get_workspaces(names: Optional[Sequence[str]] = None, import pulumi import pulumi_astronomer as astronomer - example_workspaces = astronomer.get_workspaces() + example_workspaces_workspaces = astronomer.get_workspaces() example_workspaces_filter_by_workspace_ids = astronomer.get_workspaces(workspace_ids=[ "clozc036j01to01jrlgvueo8t", "clozc036j01to01jrlgvueo81", @@ -93,6 +93,7 @@ def get_workspaces(names: Optional[Sequence[str]] = None, "my first workspace", "my second workspace", ]) + pulumi.export("exampleWorkspaces", example_workspaces_workspaces) ``` """ __args__ = dict() @@ -121,7 +122,7 @@ def get_workspaces_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] import pulumi import pulumi_astronomer as astronomer - example_workspaces = astronomer.get_workspaces() + example_workspaces_workspaces = astronomer.get_workspaces() example_workspaces_filter_by_workspace_ids = astronomer.get_workspaces(workspace_ids=[ "clozc036j01to01jrlgvueo8t", "clozc036j01to01jrlgvueo81", @@ -130,6 +131,7 @@ def get_workspaces_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] "my first workspace", "my second workspace", ]) + pulumi.export("exampleWorkspaces", example_workspaces_workspaces) ``` """ ... diff --git a/sdk/python/pulumi_astronomer/outputs.py b/sdk/python/pulumi_astronomer/outputs.py index f9f1be9..b3803f0 100644 --- a/sdk/python/pulumi_astronomer/outputs.py +++ b/sdk/python/pulumi_astronomer/outputs.py @@ -11,6 +11,11 @@ from . import outputs __all__ = [ + 'ApiTokenCreatedBy', + 'ApiTokenRole', + 'ApiTokenUpdatedBy', + 'ClusterHealthStatus', + 'ClusterHealthStatusDetail', 'ClusterMetadata', 'ClusterNodePool', 'ClusterTimeouts', @@ -24,10 +29,27 @@ 'DeploymentScalingStatusHibernationStatus', 'DeploymentUpdatedBy', 'DeploymentWorkerQueue', + 'TeamCreatedBy', + 'TeamDeploymentRole', 'TeamRolesDeploymentRole', 'TeamRolesWorkspaceRole', + 'TeamUpdatedBy', + 'TeamWorkspaceRole', + 'UserInviteInvitee', + 'UserInviteInviter', + 'UserRolesDeploymentRole', + 'UserRolesWorkspaceRole', 'WorkspaceCreatedBy', 'WorkspaceUpdatedBy', + 'GetApiTokenCreatedByResult', + 'GetApiTokenRoleResult', + 'GetApiTokenUpdatedByResult', + 'GetApiTokensApiTokenResult', + 'GetApiTokensApiTokenCreatedByResult', + 'GetApiTokensApiTokenRoleResult', + 'GetApiTokensApiTokenUpdatedByResult', + 'GetClusterHealthStatusResult', + 'GetClusterHealthStatusDetailResult', 'GetClusterMetadataResult', 'GetClusterNodePoolResult', 'GetClusterOptionsClusterOptionResult', @@ -39,6 +61,8 @@ 'GetClusterOptionsClusterOptionRegionResult', 'GetClusterTagResult', 'GetClustersClusterResult', + 'GetClustersClusterHealthStatusResult', + 'GetClustersClusterHealthStatusDetailResult', 'GetClustersClusterMetadataResult', 'GetClustersClusterNodePoolResult', 'GetClustersClusterTagResult', @@ -92,6 +116,11 @@ 'GetTeamsTeamDeploymentRoleResult', 'GetTeamsTeamUpdatedByResult', 'GetTeamsTeamWorkspaceRoleResult', + 'GetUserDeploymentRoleResult', + 'GetUserWorkspaceRoleResult', + 'GetUsersUserResult', + 'GetUsersUserDeploymentRoleResult', + 'GetUsersUserWorkspaceRoleResult', 'GetWorkspaceCreatedByResult', 'GetWorkspaceUpdatedByResult', 'GetWorkspacesWorkspaceResult', @@ -99,6 +128,291 @@ 'GetWorkspacesWorkspaceUpdatedByResult', ] +@pulumi.output_type +class ApiTokenCreatedBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApiTokenCreatedBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApiTokenCreatedBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApiTokenCreatedBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class ApiTokenRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "entityId": + suggest = "entity_id" + elif key == "entityType": + suggest = "entity_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApiTokenRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApiTokenRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApiTokenRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + entity_id: str, + entity_type: str, + role: str): + """ + :param str entity_id: The ID of the entity to assign the role to + :param str entity_type: The type of entity to assign the role to + :param str role: The role to assign to the entity + """ + pulumi.set(__self__, "entity_id", entity_id) + pulumi.set(__self__, "entity_type", entity_type) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="entityId") + def entity_id(self) -> str: + """ + The ID of the entity to assign the role to + """ + return pulumi.get(self, "entity_id") + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> str: + """ + The type of entity to assign the role to + """ + return pulumi.get(self, "entity_type") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the entity + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class ApiTokenUpdatedBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApiTokenUpdatedBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApiTokenUpdatedBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApiTokenUpdatedBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class ClusterHealthStatus(dict): + def __init__(__self__, *, + details: Optional[Sequence['outputs.ClusterHealthStatusDetail']] = None, + value: Optional[str] = None): + """ + :param Sequence['ClusterHealthStatusDetailArgs'] details: Cluster health status details + :param str value: Cluster health status value + """ + if details is not None: + pulumi.set(__self__, "details", details) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def details(self) -> Optional[Sequence['outputs.ClusterHealthStatusDetail']]: + """ + Cluster health status details + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + Cluster health status value + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class ClusterHealthStatusDetail(dict): + def __init__(__self__, *, + code: Optional[str] = None, + description: Optional[str] = None, + severity: Optional[str] = None): + """ + :param str code: Cluster health status detail code + :param str description: Cluster health status detail description + :param str severity: Cluster health status detail severity + """ + if code is not None: + pulumi.set(__self__, "code", code) + if description is not None: + pulumi.set(__self__, "description", description) + if severity is not None: + pulumi.set(__self__, "severity", severity) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + Cluster health status detail code + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Cluster health status detail description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def severity(self) -> Optional[str]: + """ + Cluster health status detail severity + """ + return pulumi.get(self, "severity") + + @pulumi.output_type class ClusterMetadata(dict): @staticmethod @@ -106,6 +420,8 @@ def __key_warning(key: str): suggest = None if key == "externalIps": suggest = "external_ips" + elif key == "kubeDnsIp": + suggest = "kube_dns_ip" elif key == "oidcIssuerUrl": suggest = "oidc_issuer_url" @@ -122,13 +438,17 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, external_ips: Optional[Sequence[str]] = None, + kube_dns_ip: Optional[str] = None, oidc_issuer_url: Optional[str] = None): """ :param Sequence[str] external_ips: Cluster external IPs + :param str kube_dns_ip: Cluster kube DNS IP :param str oidc_issuer_url: Cluster OIDC issuer URL """ if external_ips is not None: pulumi.set(__self__, "external_ips", external_ips) + if kube_dns_ip is not None: + pulumi.set(__self__, "kube_dns_ip", kube_dns_ip) if oidc_issuer_url is not None: pulumi.set(__self__, "oidc_issuer_url", oidc_issuer_url) @@ -140,6 +460,14 @@ def external_ips(self) -> Optional[Sequence[str]]: """ return pulumi.get(self, "external_ips") + @property + @pulumi.getter(name="kubeDnsIp") + def kube_dns_ip(self) -> Optional[str]: + """ + Cluster kube DNS IP + """ + return pulumi.get(self, "kube_dns_ip") + @property @pulumi.getter(name="oidcIssuerUrl") def oidc_issuer_url(self) -> Optional[str]: @@ -974,38 +1302,160 @@ def pod_memory(self) -> Optional[str]: @pulumi.output_type -class TeamRolesDeploymentRole(dict): +class TeamCreatedBy(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "deploymentId": - suggest = "deployment_id" + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in TeamRolesDeploymentRole. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in TeamCreatedBy. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - TeamRolesDeploymentRole.__key_warning(key) + TeamCreatedBy.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - TeamRolesDeploymentRole.__key_warning(key) + TeamCreatedBy.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - deployment_id: str, - role: str): - """ - :param str deployment_id: The ID of the deployment to assign the role to - :param str role: The role to assign to the deployment - """ - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "role", role) - - @property - @pulumi.getter(name="deploymentId") - def deployment_id(self) -> str: - """ + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class TeamDeploymentRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deploymentId": + suggest = "deployment_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TeamDeploymentRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TeamDeploymentRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TeamDeploymentRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + deployment_id: str, + role: str): + """ + :param str deployment_id: The ID of the deployment to assign the role to + :param str role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> str: + """ + The ID of the deployment to assign the role to + """ + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the deployment + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class TeamRolesDeploymentRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deploymentId": + suggest = "deployment_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TeamRolesDeploymentRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TeamRolesDeploymentRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TeamRolesDeploymentRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + deployment_id: str, + role: str): + """ + :param str deployment_id: The ID of the deployment to assign the role to + :param str role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> str: + """ The ID of the deployment to assign the role to """ return pulumi.get(self, "deployment_id") @@ -1066,7 +1516,129 @@ def workspace_id(self) -> str: @pulumi.output_type -class WorkspaceCreatedBy(dict): +class TeamUpdatedBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TeamUpdatedBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TeamUpdatedBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TeamUpdatedBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class TeamWorkspaceRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "workspaceId": + suggest = "workspace_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TeamWorkspaceRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TeamWorkspaceRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TeamWorkspaceRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + role: str, + workspace_id: str): + """ + :param str role: The role to assign to the workspace + :param str workspace_id: The ID of the workspace to assign the role to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the workspace + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> str: + """ + The ID of the workspace to assign the role to + """ + return pulumi.get(self, "workspace_id") + + +@pulumi.output_type +class UserInviteInvitee(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -1079,154 +1651,899 @@ def __key_warning(key: str): elif key == "subjectType": suggest = "subject_type" - if suggest: - pulumi.log.warn(f"Key '{key}' not found in WorkspaceCreatedBy. Access the value via the '{suggest}' property getter instead.") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserInviteInvitee. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserInviteInvitee.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserInviteInvitee.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class UserInviteInviter(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserInviteInviter. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserInviteInviter.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserInviteInviter.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class UserRolesDeploymentRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deploymentId": + suggest = "deployment_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserRolesDeploymentRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserRolesDeploymentRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserRolesDeploymentRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + deployment_id: str, + role: str): + """ + :param str deployment_id: The ID of the deployment to assign the role to + :param str role: The role to assign to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> str: + """ + The ID of the deployment to assign the role to + """ + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the deployment + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class UserRolesWorkspaceRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "workspaceId": + suggest = "workspace_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserRolesWorkspaceRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserRolesWorkspaceRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserRolesWorkspaceRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + role: str, + workspace_id: str): + """ + :param str role: The role to assign to the workspace + :param str workspace_id: The ID of the workspace to assign the role to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the workspace + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> str: + """ + The ID of the workspace to assign the role to + """ + return pulumi.get(self, "workspace_id") + + +@pulumi.output_type +class WorkspaceCreatedBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WorkspaceCreatedBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WorkspaceCreatedBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WorkspaceCreatedBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class WorkspaceUpdatedBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiTokenName": + suggest = "api_token_name" + elif key == "avatarUrl": + suggest = "avatar_url" + elif key == "fullName": + suggest = "full_name" + elif key == "subjectType": + suggest = "subject_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WorkspaceUpdatedBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WorkspaceUpdatedBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WorkspaceUpdatedBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_token_name: Optional[str] = None, + avatar_url: Optional[str] = None, + full_name: Optional[str] = None, + id: Optional[str] = None, + subject_type: Optional[str] = None, + username: Optional[str] = None): + if api_token_name is not None: + pulumi.set(__self__, "api_token_name", api_token_name) + if avatar_url is not None: + pulumi.set(__self__, "avatar_url", avatar_url) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if id is not None: + pulumi.set(__self__, "id", id) + if subject_type is not None: + pulumi.set(__self__, "subject_type", subject_type) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> Optional[str]: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> Optional[str]: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> Optional[str]: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetApiTokenCreatedByResult(dict): + def __init__(__self__, *, + api_token_name: str, + avatar_url: str, + full_name: str, + id: str, + subject_type: str, + username: str): + pulumi.set(__self__, "api_token_name", api_token_name) + pulumi.set(__self__, "avatar_url", avatar_url) + pulumi.set(__self__, "full_name", full_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "subject_type", subject_type) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> str: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> str: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> str: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> str: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetApiTokenRoleResult(dict): + def __init__(__self__, *, + entity_id: str, + entity_type: str, + role: str): + """ + :param str entity_id: The ID of the entity to assign the role to + :param str entity_type: The type of entity to assign the role to + :param str role: The role to assign to the entity + """ + pulumi.set(__self__, "entity_id", entity_id) + pulumi.set(__self__, "entity_type", entity_type) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="entityId") + def entity_id(self) -> str: + """ + The ID of the entity to assign the role to + """ + return pulumi.get(self, "entity_id") + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> str: + """ + The type of entity to assign the role to + """ + return pulumi.get(self, "entity_type") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the entity + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class GetApiTokenUpdatedByResult(dict): + def __init__(__self__, *, + api_token_name: str, + avatar_url: str, + full_name: str, + id: str, + subject_type: str, + username: str): + pulumi.set(__self__, "api_token_name", api_token_name) + pulumi.set(__self__, "avatar_url", avatar_url) + pulumi.set(__self__, "full_name", full_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "subject_type", subject_type) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="apiTokenName") + def api_token_name(self) -> str: + return pulumi.get(self, "api_token_name") + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> str: + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> str: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="subjectType") + def subject_type(self) -> str: + return pulumi.get(self, "subject_type") + + @property + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetApiTokensApiTokenResult(dict): + def __init__(__self__, *, + created_at: str, + created_by: 'outputs.GetApiTokensApiTokenCreatedByResult', + description: str, + end_at: str, + expiry_period_in_days: int, + id: str, + last_used_at: str, + name: str, + roles: Sequence['outputs.GetApiTokensApiTokenRoleResult'], + short_token: str, + start_at: str, + type: str, + updated_at: str, + updated_by: 'outputs.GetApiTokensApiTokenUpdatedByResult'): + """ + :param str created_at: API Token creation timestamp + :param 'GetApiTokensApiTokenCreatedByArgs' created_by: API Token creator + :param str description: API Token description + :param str end_at: time when the API token will expire in UTC + :param int expiry_period_in_days: API Token expiry period in days + :param str id: API Token identifier + :param str last_used_at: API Token last used timestamp + :param str name: API Token name + :param Sequence['GetApiTokensApiTokenRoleArgs'] roles: The roles assigned to the API Token + :param str short_token: API Token short token + :param str start_at: time when the API token will become valid in UTC + :param str type: API Token type + :param str updated_at: API Token last updated timestamp + :param 'GetApiTokensApiTokenUpdatedByArgs' updated_by: API Token updater + """ + pulumi.set(__self__, "created_at", created_at) + pulumi.set(__self__, "created_by", created_by) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "end_at", end_at) + pulumi.set(__self__, "expiry_period_in_days", expiry_period_in_days) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "last_used_at", last_used_at) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "roles", roles) + pulumi.set(__self__, "short_token", short_token) + pulumi.set(__self__, "start_at", start_at) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "updated_at", updated_at) + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> str: + """ + API Token creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> 'outputs.GetApiTokensApiTokenCreatedByResult': + """ + API Token creator + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter + def description(self) -> str: + """ + API Token description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="endAt") + def end_at(self) -> str: + """ + time when the API token will expire in UTC + """ + return pulumi.get(self, "end_at") + + @property + @pulumi.getter(name="expiryPeriodInDays") + def expiry_period_in_days(self) -> int: + """ + API Token expiry period in days + """ + return pulumi.get(self, "expiry_period_in_days") + + @property + @pulumi.getter + def id(self) -> str: + """ + API Token identifier + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastUsedAt") + def last_used_at(self) -> str: + """ + API Token last used timestamp + """ + return pulumi.get(self, "last_used_at") + + @property + @pulumi.getter + def name(self) -> str: + """ + API Token name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def roles(self) -> Sequence['outputs.GetApiTokensApiTokenRoleResult']: + """ + The roles assigned to the API Token + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter(name="shortToken") + def short_token(self) -> str: + """ + API Token short token + """ + return pulumi.get(self, "short_token") + + @property + @pulumi.getter(name="startAt") + def start_at(self) -> str: + """ + time when the API token will become valid in UTC + """ + return pulumi.get(self, "start_at") + + @property + @pulumi.getter + def type(self) -> str: + """ + API Token type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> str: + """ + API Token last updated timestamp + """ + return pulumi.get(self, "updated_at") - def __getitem__(self, key: str) -> Any: - WorkspaceCreatedBy.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> 'outputs.GetApiTokensApiTokenUpdatedByResult': + """ + API Token updater + """ + return pulumi.get(self, "updated_by") - def get(self, key: str, default = None) -> Any: - WorkspaceCreatedBy.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class GetApiTokensApiTokenCreatedByResult(dict): def __init__(__self__, *, - api_token_name: Optional[str] = None, - avatar_url: Optional[str] = None, - full_name: Optional[str] = None, - id: Optional[str] = None, - subject_type: Optional[str] = None, - username: Optional[str] = None): - if api_token_name is not None: - pulumi.set(__self__, "api_token_name", api_token_name) - if avatar_url is not None: - pulumi.set(__self__, "avatar_url", avatar_url) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if id is not None: - pulumi.set(__self__, "id", id) - if subject_type is not None: - pulumi.set(__self__, "subject_type", subject_type) - if username is not None: - pulumi.set(__self__, "username", username) + api_token_name: str, + avatar_url: str, + full_name: str, + id: str, + subject_type: str, + username: str): + pulumi.set(__self__, "api_token_name", api_token_name) + pulumi.set(__self__, "avatar_url", avatar_url) + pulumi.set(__self__, "full_name", full_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "subject_type", subject_type) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="apiTokenName") - def api_token_name(self) -> Optional[str]: + def api_token_name(self) -> str: return pulumi.get(self, "api_token_name") @property @pulumi.getter(name="avatarUrl") - def avatar_url(self) -> Optional[str]: + def avatar_url(self) -> str: return pulumi.get(self, "avatar_url") @property @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: + def full_name(self) -> str: return pulumi.get(self, "full_name") @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: return pulumi.get(self, "id") @property @pulumi.getter(name="subjectType") - def subject_type(self) -> Optional[str]: + def subject_type(self) -> str: return pulumi.get(self, "subject_type") @property @pulumi.getter - def username(self) -> Optional[str]: + def username(self) -> str: return pulumi.get(self, "username") @pulumi.output_type -class WorkspaceUpdatedBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "apiTokenName": - suggest = "api_token_name" - elif key == "avatarUrl": - suggest = "avatar_url" - elif key == "fullName": - suggest = "full_name" - elif key == "subjectType": - suggest = "subject_type" +class GetApiTokensApiTokenRoleResult(dict): + def __init__(__self__, *, + entity_id: str, + entity_type: str, + role: str): + """ + :param str entity_id: The ID of the entity to assign the role to + :param str entity_type: The type of entity to assign the role to + :param str role: The role to assign to the entity + """ + pulumi.set(__self__, "entity_id", entity_id) + pulumi.set(__self__, "entity_type", entity_type) + pulumi.set(__self__, "role", role) - if suggest: - pulumi.log.warn(f"Key '{key}' not found in WorkspaceUpdatedBy. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter(name="entityId") + def entity_id(self) -> str: + """ + The ID of the entity to assign the role to + """ + return pulumi.get(self, "entity_id") - def __getitem__(self, key: str) -> Any: - WorkspaceUpdatedBy.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> str: + """ + The type of entity to assign the role to + """ + return pulumi.get(self, "entity_type") - def get(self, key: str, default = None) -> Any: - WorkspaceUpdatedBy.__key_warning(key) - return super().get(key, default) + @property + @pulumi.getter + def role(self) -> str: + """ + The role to assign to the entity + """ + return pulumi.get(self, "role") + +@pulumi.output_type +class GetApiTokensApiTokenUpdatedByResult(dict): def __init__(__self__, *, - api_token_name: Optional[str] = None, - avatar_url: Optional[str] = None, - full_name: Optional[str] = None, - id: Optional[str] = None, - subject_type: Optional[str] = None, - username: Optional[str] = None): - if api_token_name is not None: - pulumi.set(__self__, "api_token_name", api_token_name) - if avatar_url is not None: - pulumi.set(__self__, "avatar_url", avatar_url) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if id is not None: - pulumi.set(__self__, "id", id) - if subject_type is not None: - pulumi.set(__self__, "subject_type", subject_type) - if username is not None: - pulumi.set(__self__, "username", username) + api_token_name: str, + avatar_url: str, + full_name: str, + id: str, + subject_type: str, + username: str): + pulumi.set(__self__, "api_token_name", api_token_name) + pulumi.set(__self__, "avatar_url", avatar_url) + pulumi.set(__self__, "full_name", full_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "subject_type", subject_type) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="apiTokenName") - def api_token_name(self) -> Optional[str]: + def api_token_name(self) -> str: return pulumi.get(self, "api_token_name") @property @pulumi.getter(name="avatarUrl") - def avatar_url(self) -> Optional[str]: + def avatar_url(self) -> str: return pulumi.get(self, "avatar_url") @property @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: + def full_name(self) -> str: return pulumi.get(self, "full_name") @property @pulumi.getter - def id(self) -> Optional[str]: + def id(self) -> str: return pulumi.get(self, "id") @property @pulumi.getter(name="subjectType") - def subject_type(self) -> Optional[str]: + def subject_type(self) -> str: return pulumi.get(self, "subject_type") @property @pulumi.getter - def username(self) -> Optional[str]: + def username(self) -> str: return pulumi.get(self, "username") +@pulumi.output_type +class GetClusterHealthStatusResult(dict): + def __init__(__self__, *, + details: Sequence['outputs.GetClusterHealthStatusDetailResult'], + value: str): + """ + :param Sequence['GetClusterHealthStatusDetailArgs'] details: Cluster health status details + :param str value: Cluster health status value + """ + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def details(self) -> Sequence['outputs.GetClusterHealthStatusDetailResult']: + """ + Cluster health status details + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def value(self) -> str: + """ + Cluster health status value + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetClusterHealthStatusDetailResult(dict): + def __init__(__self__, *, + code: str, + description: str, + severity: str): + """ + :param str code: Cluster health status detail code + :param str description: Cluster health status detail description + :param str severity: Cluster health status detail severity + """ + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "severity", severity) + + @property + @pulumi.getter + def code(self) -> str: + """ + Cluster health status detail code + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def description(self) -> str: + """ + Cluster health status detail description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Cluster health status detail severity + """ + return pulumi.get(self, "severity") + + @pulumi.output_type class GetClusterMetadataResult(dict): def __init__(__self__, *, external_ips: Sequence[str], + kube_dns_ip: str, oidc_issuer_url: str): """ :param Sequence[str] external_ips: Cluster external IPs + :param str kube_dns_ip: Cluster kube DNS IP :param str oidc_issuer_url: Cluster OIDC issuer URL """ pulumi.set(__self__, "external_ips", external_ips) + pulumi.set(__self__, "kube_dns_ip", kube_dns_ip) pulumi.set(__self__, "oidc_issuer_url", oidc_issuer_url) @property @@ -1237,6 +2554,14 @@ def external_ips(self) -> Sequence[str]: """ return pulumi.get(self, "external_ips") + @property + @pulumi.getter(name="kubeDnsIp") + def kube_dns_ip(self) -> str: + """ + Cluster kube DNS IP + """ + return pulumi.get(self, "kube_dns_ip") + @property @pulumi.getter(name="oidcIssuerUrl") def oidc_issuer_url(self) -> str: @@ -1799,6 +3124,7 @@ def __init__(__self__, *, cloud_provider: str, created_at: str, db_instance_type: str, + health_status: 'outputs.GetClustersClusterHealthStatusResult', id: str, is_limited: bool, metadata: 'outputs.GetClustersClusterMetadataResult', @@ -1820,6 +3146,7 @@ def __init__(__self__, *, :param str cloud_provider: Cluster cloud provider :param str created_at: Cluster creation timestamp :param str db_instance_type: Cluster database instance type + :param 'GetClustersClusterHealthStatusArgs' health_status: Cluster health status :param str id: Cluster identifier :param bool is_limited: Whether the cluster is limited :param 'GetClustersClusterMetadataArgs' metadata: Cluster metadata @@ -1841,6 +3168,7 @@ def __init__(__self__, *, pulumi.set(__self__, "cloud_provider", cloud_provider) pulumi.set(__self__, "created_at", created_at) pulumi.set(__self__, "db_instance_type", db_instance_type) + pulumi.set(__self__, "health_status", health_status) pulumi.set(__self__, "id", id) pulumi.set(__self__, "is_limited", is_limited) pulumi.set(__self__, "metadata", metadata) @@ -1883,6 +3211,14 @@ def db_instance_type(self) -> str: """ return pulumi.get(self, "db_instance_type") + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> 'outputs.GetClustersClusterHealthStatusResult': + """ + Cluster health status + """ + return pulumi.get(self, "health_status") + @property @pulumi.getter def id(self) -> str: @@ -1967,69 +3303,141 @@ def service_subnet_range(self) -> str: @pulumi.getter def status(self) -> str: """ - Cluster status + Cluster status + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def tags(self) -> Sequence['outputs.GetClustersClusterTagResult']: + """ + Cluster tags + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + Cluster tenant ID + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Cluster type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> str: + """ + Cluster last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="vpcSubnetRange") + def vpc_subnet_range(self) -> str: + """ + Cluster VPC subnet range + """ + return pulumi.get(self, "vpc_subnet_range") + + @property + @pulumi.getter(name="workspaceIds") + def workspace_ids(self) -> Sequence[str]: + """ + Cluster workspace IDs + """ + return pulumi.get(self, "workspace_ids") + + +@pulumi.output_type +class GetClustersClusterHealthStatusResult(dict): + def __init__(__self__, *, + details: Sequence['outputs.GetClustersClusterHealthStatusDetailResult'], + value: str): + """ + :param Sequence['GetClustersClusterHealthStatusDetailArgs'] details: Cluster health status details + :param str value: Cluster health status value """ - return pulumi.get(self, "status") + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def tags(self) -> Sequence['outputs.GetClustersClusterTagResult']: + def details(self) -> Sequence['outputs.GetClustersClusterHealthStatusDetailResult']: """ - Cluster tags + Cluster health status details """ - return pulumi.get(self, "tags") + return pulumi.get(self, "details") @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> str: + @pulumi.getter + def value(self) -> str: """ - Cluster tenant ID + Cluster health status value """ - return pulumi.get(self, "tenant_id") + return pulumi.get(self, "value") - @property - @pulumi.getter - def type(self) -> str: + +@pulumi.output_type +class GetClustersClusterHealthStatusDetailResult(dict): + def __init__(__self__, *, + code: str, + description: str, + severity: str): """ - Cluster type + :param str code: Cluster health status detail code + :param str description: Cluster health status detail description + :param str severity: Cluster health status detail severity """ - return pulumi.get(self, "type") + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "severity", severity) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> str: + @pulumi.getter + def code(self) -> str: """ - Cluster last updated timestamp + Cluster health status detail code """ - return pulumi.get(self, "updated_at") + return pulumi.get(self, "code") @property - @pulumi.getter(name="vpcSubnetRange") - def vpc_subnet_range(self) -> str: + @pulumi.getter + def description(self) -> str: """ - Cluster VPC subnet range + Cluster health status detail description """ - return pulumi.get(self, "vpc_subnet_range") + return pulumi.get(self, "description") @property - @pulumi.getter(name="workspaceIds") - def workspace_ids(self) -> Sequence[str]: + @pulumi.getter + def severity(self) -> str: """ - Cluster workspace IDs + Cluster health status detail severity """ - return pulumi.get(self, "workspace_ids") + return pulumi.get(self, "severity") @pulumi.output_type class GetClustersClusterMetadataResult(dict): def __init__(__self__, *, external_ips: Sequence[str], + kube_dns_ip: str, oidc_issuer_url: str): """ :param Sequence[str] external_ips: Cluster external IPs + :param str kube_dns_ip: Cluster kube DNS IP :param str oidc_issuer_url: Cluster OIDC issuer URL """ pulumi.set(__self__, "external_ips", external_ips) + pulumi.set(__self__, "kube_dns_ip", kube_dns_ip) pulumi.set(__self__, "oidc_issuer_url", oidc_issuer_url) @property @@ -2040,6 +3448,14 @@ def external_ips(self) -> Sequence[str]: """ return pulumi.get(self, "external_ips") + @property + @pulumi.getter(name="kubeDnsIp") + def kube_dns_ip(self) -> str: + """ + Cluster kube DNS IP + """ + return pulumi.get(self, "kube_dns_ip") + @property @pulumi.getter(name="oidcIssuerUrl") def oidc_issuer_url(self) -> str: @@ -4498,16 +5914,16 @@ def __init__(__self__, *, """ :param str created_at: Team creation timestamp :param 'GetTeamsTeamCreatedByArgs' created_by: Team creator - :param Sequence['GetTeamsTeamDeploymentRoleArgs'] deployment_roles: The roles assigned to the deployments + :param Sequence['GetTeamsTeamDeploymentRoleArgs'] deployment_roles: The roles assigned to the Deployments :param str description: Team description - :param str id: Team identifier - :param bool is_idp_managed: Whether the team is managed by an identity provider + :param str id: Team ID + :param bool is_idp_managed: Whether the Team is managed by an identity provider :param str name: Team name - :param str organization_role: The role assigned to the organization - :param int roles_count: Number of roles assigned to the team + :param str organization_role: The role assigned to the Organization + :param int roles_count: Number of roles assigned to the Team :param str updated_at: Team last updated timestamp :param 'GetTeamsTeamUpdatedByArgs' updated_by: Team updater - :param Sequence['GetTeamsTeamWorkspaceRoleArgs'] workspace_roles: The roles assigned to the workspaces + :param Sequence['GetTeamsTeamWorkspaceRoleArgs'] workspace_roles: The roles assigned to the Workspaces """ pulumi.set(__self__, "created_at", created_at) pulumi.set(__self__, "created_by", created_by) @@ -4542,7 +5958,7 @@ def created_by(self) -> 'outputs.GetTeamsTeamCreatedByResult': @pulumi.getter(name="deploymentRoles") def deployment_roles(self) -> Sequence['outputs.GetTeamsTeamDeploymentRoleResult']: """ - The roles assigned to the deployments + The roles assigned to the Deployments """ return pulumi.get(self, "deployment_roles") @@ -4558,7 +5974,7 @@ def description(self) -> str: @pulumi.getter def id(self) -> str: """ - Team identifier + Team ID """ return pulumi.get(self, "id") @@ -4566,7 +5982,7 @@ def id(self) -> str: @pulumi.getter(name="isIdpManaged") def is_idp_managed(self) -> bool: """ - Whether the team is managed by an identity provider + Whether the Team is managed by an identity provider """ return pulumi.get(self, "is_idp_managed") @@ -4582,7 +5998,7 @@ def name(self) -> str: @pulumi.getter(name="organizationRole") def organization_role(self) -> str: """ - The role assigned to the organization + The role assigned to the Organization """ return pulumi.get(self, "organization_role") @@ -4590,7 +6006,7 @@ def organization_role(self) -> str: @pulumi.getter(name="rolesCount") def roles_count(self) -> int: """ - Number of roles assigned to the team + Number of roles assigned to the Team """ return pulumi.get(self, "roles_count") @@ -4614,7 +6030,7 @@ def updated_by(self) -> 'outputs.GetTeamsTeamUpdatedByResult': @pulumi.getter(name="workspaceRoles") def workspace_roles(self) -> Sequence['outputs.GetTeamsTeamWorkspaceRoleResult']: """ - The roles assigned to the workspaces + The roles assigned to the Workspaces """ return pulumi.get(self, "workspace_roles") @@ -4771,6 +6187,239 @@ def workspace_id(self) -> str: return pulumi.get(self, "workspace_id") +@pulumi.output_type +class GetUserDeploymentRoleResult(dict): + def __init__(__self__, *, + deployment_id: str, + role: str): + """ + :param str deployment_id: The ID of the deployment the role is assigned to + :param str role: The role assigned to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> str: + """ + The ID of the deployment the role is assigned to + """ + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role assigned to the deployment + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class GetUserWorkspaceRoleResult(dict): + def __init__(__self__, *, + role: str, + workspace_id: str): + """ + :param str role: The role assigned to the workspace + :param str workspace_id: The ID of the workspace the role is assigned to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> str: + """ + The role assigned to the workspace + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> str: + """ + The ID of the workspace the role is assigned to + """ + return pulumi.get(self, "workspace_id") + + +@pulumi.output_type +class GetUsersUserResult(dict): + def __init__(__self__, *, + avatar_url: str, + created_at: str, + deployment_roles: Sequence['outputs.GetUsersUserDeploymentRoleResult'], + full_name: str, + id: str, + organization_role: str, + status: str, + updated_at: str, + username: str, + workspace_roles: Sequence['outputs.GetUsersUserWorkspaceRoleResult']): + """ + :param str avatar_url: User avatar URL + :param str created_at: User creation timestamp + :param Sequence['GetUsersUserDeploymentRoleArgs'] deployment_roles: The roles assigned to the deployments + :param str full_name: User full name + :param str id: User identifier + :param str organization_role: The role assigned to the organization + :param str status: User status + :param str updated_at: User last updated timestamp + :param str username: User username + :param Sequence['GetUsersUserWorkspaceRoleArgs'] workspace_roles: The roles assigned to the workspaces + """ + pulumi.set(__self__, "avatar_url", avatar_url) + pulumi.set(__self__, "created_at", created_at) + pulumi.set(__self__, "deployment_roles", deployment_roles) + pulumi.set(__self__, "full_name", full_name) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "organization_role", organization_role) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "updated_at", updated_at) + pulumi.set(__self__, "username", username) + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="avatarUrl") + def avatar_url(self) -> str: + """ + User avatar URL + """ + return pulumi.get(self, "avatar_url") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> str: + """ + User creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Sequence['outputs.GetUsersUserDeploymentRoleResult']: + """ + The roles assigned to the deployments + """ + return pulumi.get(self, "deployment_roles") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> str: + """ + User full name + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + User identifier + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> str: + """ + The role assigned to the organization + """ + return pulumi.get(self, "organization_role") + + @property + @pulumi.getter + def status(self) -> str: + """ + User status + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> str: + """ + User last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter + def username(self) -> str: + """ + User username + """ + return pulumi.get(self, "username") + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Sequence['outputs.GetUsersUserWorkspaceRoleResult']: + """ + The roles assigned to the workspaces + """ + return pulumi.get(self, "workspace_roles") + + +@pulumi.output_type +class GetUsersUserDeploymentRoleResult(dict): + def __init__(__self__, *, + deployment_id: str, + role: str): + """ + :param str deployment_id: The ID of the deployment the role is assigned to + :param str role: The role assigned to the deployment + """ + pulumi.set(__self__, "deployment_id", deployment_id) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> str: + """ + The ID of the deployment the role is assigned to + """ + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role assigned to the deployment + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class GetUsersUserWorkspaceRoleResult(dict): + def __init__(__self__, *, + role: str, + workspace_id: str): + """ + :param str role: The role assigned to the workspace + :param str workspace_id: The ID of the workspace the role is assigned to + """ + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter + def role(self) -> str: + """ + The role assigned to the workspace + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> str: + """ + The ID of the workspace the role is assigned to + """ + return pulumi.get(self, "workspace_id") + + @pulumi.output_type class GetWorkspaceCreatedByResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_astronomer/team.py b/sdk/python/pulumi_astronomer/team.py new file mode 100644 index 0000000..2eb6ec0 --- /dev/null +++ b/sdk/python/pulumi_astronomer/team.py @@ -0,0 +1,551 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['TeamArgs', 'Team'] + +@pulumi.input_type +class TeamArgs: + def __init__(__self__, *, + organization_role: pulumi.Input[str], + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + member_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]] = None): + """ + The set of arguments for constructing a Team resource. + :param pulumi.Input[str] organization_role: The role to assign to the Organization + :param pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]] deployment_roles: The roles to assign to the Deployments + :param pulumi.Input[str] description: Team description + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_ids: The IDs of the users to add to the Team + :param pulumi.Input[str] name: Team name + :param pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]] workspace_roles: The roles to assign to the Workspaces + """ + pulumi.set(__self__, "organization_role", organization_role) + if deployment_roles is not None: + pulumi.set(__self__, "deployment_roles", deployment_roles) + if description is not None: + pulumi.set(__self__, "description", description) + if member_ids is not None: + pulumi.set(__self__, "member_ids", member_ids) + if name is not None: + pulumi.set(__self__, "name", name) + if workspace_roles is not None: + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> pulumi.Input[str]: + """ + The role to assign to the Organization + """ + return pulumi.get(self, "organization_role") + + @organization_role.setter + def organization_role(self, value: pulumi.Input[str]): + pulumi.set(self, "organization_role", value) + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]]: + """ + The roles to assign to the Deployments + """ + return pulumi.get(self, "deployment_roles") + + @deployment_roles.setter + def deployment_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]]): + pulumi.set(self, "deployment_roles", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Team description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="memberIds") + def member_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The IDs of the users to add to the Team + """ + return pulumi.get(self, "member_ids") + + @member_ids.setter + def member_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "member_ids", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Team name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]]: + """ + The roles to assign to the Workspaces + """ + return pulumi.get(self, "workspace_roles") + + @workspace_roles.setter + def workspace_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]]): + pulumi.set(self, "workspace_roles", value) + + +@pulumi.input_type +class _TeamState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input['TeamCreatedByArgs']] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + is_idp_managed: Optional[pulumi.Input[bool]] = None, + member_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + roles_count: Optional[pulumi.Input[int]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input['TeamUpdatedByArgs']] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]] = None): + """ + Input properties used for looking up and filtering Team resources. + :param pulumi.Input[str] created_at: Team creation timestamp + :param pulumi.Input['TeamCreatedByArgs'] created_by: Team creator + :param pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]] deployment_roles: The roles to assign to the Deployments + :param pulumi.Input[str] description: Team description + :param pulumi.Input[bool] is_idp_managed: Whether the Team is managed by an identity provider + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_ids: The IDs of the users to add to the Team + :param pulumi.Input[str] name: Team name + :param pulumi.Input[str] organization_role: The role to assign to the Organization + :param pulumi.Input[int] roles_count: Number of roles assigned to the Team + :param pulumi.Input[str] updated_at: Team last updated timestamp + :param pulumi.Input['TeamUpdatedByArgs'] updated_by: Team updater + :param pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]] workspace_roles: The roles to assign to the Workspaces + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if deployment_roles is not None: + pulumi.set(__self__, "deployment_roles", deployment_roles) + if description is not None: + pulumi.set(__self__, "description", description) + if is_idp_managed is not None: + pulumi.set(__self__, "is_idp_managed", is_idp_managed) + if member_ids is not None: + pulumi.set(__self__, "member_ids", member_ids) + if name is not None: + pulumi.set(__self__, "name", name) + if organization_role is not None: + pulumi.set(__self__, "organization_role", organization_role) + if roles_count is not None: + pulumi.set(__self__, "roles_count", roles_count) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if workspace_roles is not None: + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[str]]: + """ + Team creation timestamp + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['TeamCreatedByArgs']]: + """ + Team creator + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['TeamCreatedByArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]]: + """ + The roles to assign to the Deployments + """ + return pulumi.get(self, "deployment_roles") + + @deployment_roles.setter + def deployment_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TeamDeploymentRoleArgs']]]]): + pulumi.set(self, "deployment_roles", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Team description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="isIdpManaged") + def is_idp_managed(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the Team is managed by an identity provider + """ + return pulumi.get(self, "is_idp_managed") + + @is_idp_managed.setter + def is_idp_managed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_idp_managed", value) + + @property + @pulumi.getter(name="memberIds") + def member_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The IDs of the users to add to the Team + """ + return pulumi.get(self, "member_ids") + + @member_ids.setter + def member_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "member_ids", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Team name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> Optional[pulumi.Input[str]]: + """ + The role to assign to the Organization + """ + return pulumi.get(self, "organization_role") + + @organization_role.setter + def organization_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organization_role", value) + + @property + @pulumi.getter(name="rolesCount") + def roles_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of roles assigned to the Team + """ + return pulumi.get(self, "roles_count") + + @roles_count.setter + def roles_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "roles_count", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[str]]: + """ + Team last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input['TeamUpdatedByArgs']]: + """ + Team updater + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input['TeamUpdatedByArgs']]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]]: + """ + The roles to assign to the Workspaces + """ + return pulumi.get(self, "workspace_roles") + + @workspace_roles.setter + def workspace_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TeamWorkspaceRoleArgs']]]]): + pulumi.set(self, "workspace_roles", value) + + +class Team(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamDeploymentRoleArgs', 'TeamDeploymentRoleArgsDict']]]]] = None, + description: Optional[pulumi.Input[str]] = None, + member_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamWorkspaceRoleArgs', 'TeamWorkspaceRoleArgsDict']]]]] = None, + __props__=None): + """ + Team resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamDeploymentRoleArgs', 'TeamDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the Deployments + :param pulumi.Input[str] description: Team description + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_ids: The IDs of the users to add to the Team + :param pulumi.Input[str] name: Team name + :param pulumi.Input[str] organization_role: The role to assign to the Organization + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamWorkspaceRoleArgs', 'TeamWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the Workspaces + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TeamArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Team resource + + :param str resource_name: The name of the resource. + :param TeamArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(TeamArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamDeploymentRoleArgs', 'TeamDeploymentRoleArgsDict']]]]] = None, + description: Optional[pulumi.Input[str]] = None, + member_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamWorkspaceRoleArgs', 'TeamWorkspaceRoleArgsDict']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TeamArgs.__new__(TeamArgs) + + __props__.__dict__["deployment_roles"] = deployment_roles + __props__.__dict__["description"] = description + __props__.__dict__["member_ids"] = member_ids + __props__.__dict__["name"] = name + if organization_role is None and not opts.urn: + raise TypeError("Missing required property 'organization_role'") + __props__.__dict__["organization_role"] = organization_role + __props__.__dict__["workspace_roles"] = workspace_roles + __props__.__dict__["created_at"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["is_idp_managed"] = None + __props__.__dict__["roles_count"] = None + __props__.__dict__["updated_at"] = None + __props__.__dict__["updated_by"] = None + super(Team, __self__).__init__( + 'astronomer:index/team:Team', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[Union['TeamCreatedByArgs', 'TeamCreatedByArgsDict']]] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamDeploymentRoleArgs', 'TeamDeploymentRoleArgsDict']]]]] = None, + description: Optional[pulumi.Input[str]] = None, + is_idp_managed: Optional[pulumi.Input[bool]] = None, + member_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + roles_count: Optional[pulumi.Input[int]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[Union['TeamUpdatedByArgs', 'TeamUpdatedByArgsDict']]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamWorkspaceRoleArgs', 'TeamWorkspaceRoleArgsDict']]]]] = None) -> 'Team': + """ + Get an existing Team resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] created_at: Team creation timestamp + :param pulumi.Input[Union['TeamCreatedByArgs', 'TeamCreatedByArgsDict']] created_by: Team creator + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamDeploymentRoleArgs', 'TeamDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the Deployments + :param pulumi.Input[str] description: Team description + :param pulumi.Input[bool] is_idp_managed: Whether the Team is managed by an identity provider + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_ids: The IDs of the users to add to the Team + :param pulumi.Input[str] name: Team name + :param pulumi.Input[str] organization_role: The role to assign to the Organization + :param pulumi.Input[int] roles_count: Number of roles assigned to the Team + :param pulumi.Input[str] updated_at: Team last updated timestamp + :param pulumi.Input[Union['TeamUpdatedByArgs', 'TeamUpdatedByArgsDict']] updated_by: Team updater + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamWorkspaceRoleArgs', 'TeamWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the Workspaces + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _TeamState.__new__(_TeamState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["created_by"] = created_by + __props__.__dict__["deployment_roles"] = deployment_roles + __props__.__dict__["description"] = description + __props__.__dict__["is_idp_managed"] = is_idp_managed + __props__.__dict__["member_ids"] = member_ids + __props__.__dict__["name"] = name + __props__.__dict__["organization_role"] = organization_role + __props__.__dict__["roles_count"] = roles_count + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["updated_by"] = updated_by + __props__.__dict__["workspace_roles"] = workspace_roles + return Team(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[str]: + """ + Team creation timestamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output['outputs.TeamCreatedBy']: + """ + Team creator + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> pulumi.Output[Optional[Sequence['outputs.TeamDeploymentRole']]]: + """ + The roles to assign to the Deployments + """ + return pulumi.get(self, "deployment_roles") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Team description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="isIdpManaged") + def is_idp_managed(self) -> pulumi.Output[bool]: + """ + Whether the Team is managed by an identity provider + """ + return pulumi.get(self, "is_idp_managed") + + @property + @pulumi.getter(name="memberIds") + def member_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The IDs of the users to add to the Team + """ + return pulumi.get(self, "member_ids") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Team name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> pulumi.Output[str]: + """ + The role to assign to the Organization + """ + return pulumi.get(self, "organization_role") + + @property + @pulumi.getter(name="rolesCount") + def roles_count(self) -> pulumi.Output[int]: + """ + Number of roles assigned to the Team + """ + return pulumi.get(self, "roles_count") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[str]: + """ + Team last updated timestamp + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output['outputs.TeamUpdatedBy']: + """ + Team updater + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> pulumi.Output[Optional[Sequence['outputs.TeamWorkspaceRole']]]: + """ + The roles to assign to the Workspaces + """ + return pulumi.get(self, "workspace_roles") + diff --git a/sdk/python/pulumi_astronomer/team_roles.py b/sdk/python/pulumi_astronomer/team_roles.py index 292f696..f582e65 100644 --- a/sdk/python/pulumi_astronomer/team_roles.py +++ b/sdk/python/pulumi_astronomer/team_roles.py @@ -160,20 +160,20 @@ class TeamRoles(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesDeploymentRoleArgs']]]]] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgsDict']]]]] = None, organization_role: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, - workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesWorkspaceRoleArgs']]]]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesWorkspaceRoleArgs', 'TeamRolesWorkspaceRoleArgsDict']]]]] = None, __props__=None): """ Team Roles resource :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesDeploymentRoleArgs']]]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the deployments :param pulumi.Input[str] organization_role: The role to assign to the organization :param pulumi.Input[str] team_id: The ID of the team to assign the roles to - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesWorkspaceRoleArgs']]]] workspace_roles: The roles to assign to the workspaces + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesWorkspaceRoleArgs', 'TeamRolesWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the workspaces """ ... @overload @@ -199,10 +199,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesDeploymentRoleArgs']]]]] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgsDict']]]]] = None, organization_role: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, - workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesWorkspaceRoleArgs']]]]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesWorkspaceRoleArgs', 'TeamRolesWorkspaceRoleArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -230,10 +230,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesDeploymentRoleArgs']]]]] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgsDict']]]]] = None, organization_role: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, - workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesWorkspaceRoleArgs']]]]] = None) -> 'TeamRoles': + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesWorkspaceRoleArgs', 'TeamRolesWorkspaceRoleArgsDict']]]]] = None) -> 'TeamRoles': """ Get an existing TeamRoles resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -241,10 +241,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesDeploymentRoleArgs']]]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesDeploymentRoleArgs', 'TeamRolesDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the deployments :param pulumi.Input[str] organization_role: The role to assign to the organization :param pulumi.Input[str] team_id: The ID of the team to assign the roles to - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TeamRolesWorkspaceRoleArgs']]]] workspace_roles: The roles to assign to the workspaces + :param pulumi.Input[Sequence[pulumi.Input[Union['TeamRolesWorkspaceRoleArgs', 'TeamRolesWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the workspaces """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) diff --git a/sdk/python/pulumi_astronomer/user_invite.py b/sdk/python/pulumi_astronomer/user_invite.py new file mode 100644 index 0000000..7468f8e --- /dev/null +++ b/sdk/python/pulumi_astronomer/user_invite.py @@ -0,0 +1,358 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['UserInviteArgs', 'UserInvite'] + +@pulumi.input_type +class UserInviteArgs: + def __init__(__self__, *, + email: pulumi.Input[str], + role: pulumi.Input[str]): + """ + The set of arguments for constructing a UserInvite resource. + :param pulumi.Input[str] email: The email address of the user being invited + :param pulumi.Input[str] role: The Organization role to assign to the user + """ + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def email(self) -> pulumi.Input[str]: + """ + The email address of the user being invited + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter + def role(self) -> pulumi.Input[str]: + """ + The Organization role to assign to the user + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[str]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class _UserInviteState: + def __init__(__self__, *, + email: Optional[pulumi.Input[str]] = None, + expires_at: Optional[pulumi.Input[str]] = None, + invite_id: Optional[pulumi.Input[str]] = None, + invitee: Optional[pulumi.Input['UserInviteInviteeArgs']] = None, + inviter: Optional[pulumi.Input['UserInviteInviterArgs']] = None, + role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering UserInvite resources. + :param pulumi.Input[str] email: The email address of the user being invited + :param pulumi.Input[str] expires_at: The expiration date of the invite + :param pulumi.Input[str] invite_id: The ID of the invite + :param pulumi.Input['UserInviteInviteeArgs'] invitee: The profile of the invitee + :param pulumi.Input['UserInviteInviterArgs'] inviter: The profile of the inviter + :param pulumi.Input[str] role: The Organization role to assign to the user + :param pulumi.Input[str] user_id: The ID of the user + """ + if email is not None: + pulumi.set(__self__, "email", email) + if expires_at is not None: + pulumi.set(__self__, "expires_at", expires_at) + if invite_id is not None: + pulumi.set(__self__, "invite_id", invite_id) + if invitee is not None: + pulumi.set(__self__, "invitee", invitee) + if inviter is not None: + pulumi.set(__self__, "inviter", inviter) + if role is not None: + pulumi.set(__self__, "role", role) + if user_id is not None: + pulumi.set(__self__, "user_id", user_id) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + The email address of the user being invited + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="expiresAt") + def expires_at(self) -> Optional[pulumi.Input[str]]: + """ + The expiration date of the invite + """ + return pulumi.get(self, "expires_at") + + @expires_at.setter + def expires_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expires_at", value) + + @property + @pulumi.getter(name="inviteId") + def invite_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the invite + """ + return pulumi.get(self, "invite_id") + + @invite_id.setter + def invite_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "invite_id", value) + + @property + @pulumi.getter + def invitee(self) -> Optional[pulumi.Input['UserInviteInviteeArgs']]: + """ + The profile of the invitee + """ + return pulumi.get(self, "invitee") + + @invitee.setter + def invitee(self, value: Optional[pulumi.Input['UserInviteInviteeArgs']]): + pulumi.set(self, "invitee", value) + + @property + @pulumi.getter + def inviter(self) -> Optional[pulumi.Input['UserInviteInviterArgs']]: + """ + The profile of the inviter + """ + return pulumi.get(self, "inviter") + + @inviter.setter + def inviter(self, value: Optional[pulumi.Input['UserInviteInviterArgs']]): + pulumi.set(self, "inviter", value) + + @property + @pulumi.getter + def role(self) -> Optional[pulumi.Input[str]]: + """ + The Organization role to assign to the user + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="userId") + def user_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the user + """ + return pulumi.get(self, "user_id") + + @user_id.setter + def user_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_id", value) + + +class UserInvite(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + email: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + User Invite resource + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + user_invite = astronomer.UserInvite("userInvite", + email="email@organization.com", + role="ORGANIZATION_MEMBER") + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] email: The email address of the user being invited + :param pulumi.Input[str] role: The Organization role to assign to the user + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UserInviteArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + User Invite resource + + ## Example Usage + + ```python + import pulumi + import pulumi_astronomer as astronomer + + user_invite = astronomer.UserInvite("userInvite", + email="email@organization.com", + role="ORGANIZATION_MEMBER") + ``` + + :param str resource_name: The name of the resource. + :param UserInviteArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(UserInviteArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + email: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = UserInviteArgs.__new__(UserInviteArgs) + + if email is None and not opts.urn: + raise TypeError("Missing required property 'email'") + __props__.__dict__["email"] = email + if role is None and not opts.urn: + raise TypeError("Missing required property 'role'") + __props__.__dict__["role"] = role + __props__.__dict__["expires_at"] = None + __props__.__dict__["invite_id"] = None + __props__.__dict__["invitee"] = None + __props__.__dict__["inviter"] = None + __props__.__dict__["user_id"] = None + super(UserInvite, __self__).__init__( + 'astronomer:index/userInvite:UserInvite', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + email: Optional[pulumi.Input[str]] = None, + expires_at: Optional[pulumi.Input[str]] = None, + invite_id: Optional[pulumi.Input[str]] = None, + invitee: Optional[pulumi.Input[Union['UserInviteInviteeArgs', 'UserInviteInviteeArgsDict']]] = None, + inviter: Optional[pulumi.Input[Union['UserInviteInviterArgs', 'UserInviteInviterArgsDict']]] = None, + role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None) -> 'UserInvite': + """ + Get an existing UserInvite resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] email: The email address of the user being invited + :param pulumi.Input[str] expires_at: The expiration date of the invite + :param pulumi.Input[str] invite_id: The ID of the invite + :param pulumi.Input[Union['UserInviteInviteeArgs', 'UserInviteInviteeArgsDict']] invitee: The profile of the invitee + :param pulumi.Input[Union['UserInviteInviterArgs', 'UserInviteInviterArgsDict']] inviter: The profile of the inviter + :param pulumi.Input[str] role: The Organization role to assign to the user + :param pulumi.Input[str] user_id: The ID of the user + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _UserInviteState.__new__(_UserInviteState) + + __props__.__dict__["email"] = email + __props__.__dict__["expires_at"] = expires_at + __props__.__dict__["invite_id"] = invite_id + __props__.__dict__["invitee"] = invitee + __props__.__dict__["inviter"] = inviter + __props__.__dict__["role"] = role + __props__.__dict__["user_id"] = user_id + return UserInvite(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def email(self) -> pulumi.Output[str]: + """ + The email address of the user being invited + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter(name="expiresAt") + def expires_at(self) -> pulumi.Output[str]: + """ + The expiration date of the invite + """ + return pulumi.get(self, "expires_at") + + @property + @pulumi.getter(name="inviteId") + def invite_id(self) -> pulumi.Output[str]: + """ + The ID of the invite + """ + return pulumi.get(self, "invite_id") + + @property + @pulumi.getter + def invitee(self) -> pulumi.Output['outputs.UserInviteInvitee']: + """ + The profile of the invitee + """ + return pulumi.get(self, "invitee") + + @property + @pulumi.getter + def inviter(self) -> pulumi.Output['outputs.UserInviteInviter']: + """ + The profile of the inviter + """ + return pulumi.get(self, "inviter") + + @property + @pulumi.getter + def role(self) -> pulumi.Output[str]: + """ + The Organization role to assign to the user + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> pulumi.Output[str]: + """ + The ID of the user + """ + return pulumi.get(self, "user_id") + diff --git a/sdk/python/pulumi_astronomer/user_roles.py b/sdk/python/pulumi_astronomer/user_roles.py new file mode 100644 index 0000000..3d73f7a --- /dev/null +++ b/sdk/python/pulumi_astronomer/user_roles.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['UserRolesArgs', 'UserRoles'] + +@pulumi.input_type +class UserRolesArgs: + def __init__(__self__, *, + organization_role: pulumi.Input[str], + user_id: pulumi.Input[str], + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]] = None): + """ + The set of arguments for constructing a UserRoles resource. + :param pulumi.Input[str] organization_role: The role to assign to the organization + :param pulumi.Input[str] user_id: The ID of the user to assign the roles to + :param pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]] workspace_roles: The roles to assign to the workspaces + """ + pulumi.set(__self__, "organization_role", organization_role) + pulumi.set(__self__, "user_id", user_id) + if deployment_roles is not None: + pulumi.set(__self__, "deployment_roles", deployment_roles) + if workspace_roles is not None: + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> pulumi.Input[str]: + """ + The role to assign to the organization + """ + return pulumi.get(self, "organization_role") + + @organization_role.setter + def organization_role(self, value: pulumi.Input[str]): + pulumi.set(self, "organization_role", value) + + @property + @pulumi.getter(name="userId") + def user_id(self) -> pulumi.Input[str]: + """ + The ID of the user to assign the roles to + """ + return pulumi.get(self, "user_id") + + @user_id.setter + def user_id(self, value: pulumi.Input[str]): + pulumi.set(self, "user_id", value) + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]]: + """ + The roles to assign to the deployments + """ + return pulumi.get(self, "deployment_roles") + + @deployment_roles.setter + def deployment_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]]): + pulumi.set(self, "deployment_roles", value) + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]]: + """ + The roles to assign to the workspaces + """ + return pulumi.get(self, "workspace_roles") + + @workspace_roles.setter + def workspace_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]]): + pulumi.set(self, "workspace_roles", value) + + +@pulumi.input_type +class _UserRolesState: + def __init__(__self__, *, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]] = None): + """ + Input properties used for looking up and filtering UserRoles resources. + :param pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[str] organization_role: The role to assign to the organization + :param pulumi.Input[str] user_id: The ID of the user to assign the roles to + :param pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]] workspace_roles: The roles to assign to the workspaces + """ + if deployment_roles is not None: + pulumi.set(__self__, "deployment_roles", deployment_roles) + if organization_role is not None: + pulumi.set(__self__, "organization_role", organization_role) + if user_id is not None: + pulumi.set(__self__, "user_id", user_id) + if workspace_roles is not None: + pulumi.set(__self__, "workspace_roles", workspace_roles) + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]]: + """ + The roles to assign to the deployments + """ + return pulumi.get(self, "deployment_roles") + + @deployment_roles.setter + def deployment_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesDeploymentRoleArgs']]]]): + pulumi.set(self, "deployment_roles", value) + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> Optional[pulumi.Input[str]]: + """ + The role to assign to the organization + """ + return pulumi.get(self, "organization_role") + + @organization_role.setter + def organization_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organization_role", value) + + @property + @pulumi.getter(name="userId") + def user_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the user to assign the roles to + """ + return pulumi.get(self, "user_id") + + @user_id.setter + def user_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_id", value) + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]]: + """ + The roles to assign to the workspaces + """ + return pulumi.get(self, "workspace_roles") + + @workspace_roles.setter + def workspace_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UserRolesWorkspaceRoleArgs']]]]): + pulumi.set(self, "workspace_roles", value) + + +class UserRoles(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesDeploymentRoleArgs', 'UserRolesDeploymentRoleArgsDict']]]]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesWorkspaceRoleArgs', 'UserRolesWorkspaceRoleArgsDict']]]]] = None, + __props__=None): + """ + User Roles resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['UserRolesDeploymentRoleArgs', 'UserRolesDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[str] organization_role: The role to assign to the organization + :param pulumi.Input[str] user_id: The ID of the user to assign the roles to + :param pulumi.Input[Sequence[pulumi.Input[Union['UserRolesWorkspaceRoleArgs', 'UserRolesWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the workspaces + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UserRolesArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + User Roles resource + + :param str resource_name: The name of the resource. + :param UserRolesArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(UserRolesArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesDeploymentRoleArgs', 'UserRolesDeploymentRoleArgsDict']]]]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesWorkspaceRoleArgs', 'UserRolesWorkspaceRoleArgsDict']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = UserRolesArgs.__new__(UserRolesArgs) + + __props__.__dict__["deployment_roles"] = deployment_roles + if organization_role is None and not opts.urn: + raise TypeError("Missing required property 'organization_role'") + __props__.__dict__["organization_role"] = organization_role + if user_id is None and not opts.urn: + raise TypeError("Missing required property 'user_id'") + __props__.__dict__["user_id"] = user_id + __props__.__dict__["workspace_roles"] = workspace_roles + super(UserRoles, __self__).__init__( + 'astronomer:index/userRoles:UserRoles', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + deployment_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesDeploymentRoleArgs', 'UserRolesDeploymentRoleArgsDict']]]]] = None, + organization_role: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + workspace_roles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UserRolesWorkspaceRoleArgs', 'UserRolesWorkspaceRoleArgsDict']]]]] = None) -> 'UserRoles': + """ + Get an existing UserRoles resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['UserRolesDeploymentRoleArgs', 'UserRolesDeploymentRoleArgsDict']]]] deployment_roles: The roles to assign to the deployments + :param pulumi.Input[str] organization_role: The role to assign to the organization + :param pulumi.Input[str] user_id: The ID of the user to assign the roles to + :param pulumi.Input[Sequence[pulumi.Input[Union['UserRolesWorkspaceRoleArgs', 'UserRolesWorkspaceRoleArgsDict']]]] workspace_roles: The roles to assign to the workspaces + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _UserRolesState.__new__(_UserRolesState) + + __props__.__dict__["deployment_roles"] = deployment_roles + __props__.__dict__["organization_role"] = organization_role + __props__.__dict__["user_id"] = user_id + __props__.__dict__["workspace_roles"] = workspace_roles + return UserRoles(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentRoles") + def deployment_roles(self) -> pulumi.Output[Optional[Sequence['outputs.UserRolesDeploymentRole']]]: + """ + The roles to assign to the deployments + """ + return pulumi.get(self, "deployment_roles") + + @property + @pulumi.getter(name="organizationRole") + def organization_role(self) -> pulumi.Output[str]: + """ + The role to assign to the organization + """ + return pulumi.get(self, "organization_role") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> pulumi.Output[str]: + """ + The ID of the user to assign the roles to + """ + return pulumi.get(self, "user_id") + + @property + @pulumi.getter(name="workspaceRoles") + def workspace_roles(self) -> pulumi.Output[Optional[Sequence['outputs.UserRolesWorkspaceRole']]]: + """ + The roles to assign to the workspaces + """ + return pulumi.get(self, "workspace_roles") + diff --git a/sdk/python/pulumi_astronomer/workspace.py b/sdk/python/pulumi_astronomer/workspace.py index 05620bc..ed3c2b6 100644 --- a/sdk/python/pulumi_astronomer/workspace.py +++ b/sdk/python/pulumi_astronomer/workspace.py @@ -292,11 +292,11 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cicd_enforced_default: Optional[pulumi.Input[bool]] = None, created_at: Optional[pulumi.Input[str]] = None, - created_by: Optional[pulumi.Input[pulumi.InputType['WorkspaceCreatedByArgs']]] = None, + created_by: Optional[pulumi.Input[Union['WorkspaceCreatedByArgs', 'WorkspaceCreatedByArgsDict']]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[str]] = None, - updated_by: Optional[pulumi.Input[pulumi.InputType['WorkspaceUpdatedByArgs']]] = None) -> 'Workspace': + updated_by: Optional[pulumi.Input[Union['WorkspaceUpdatedByArgs', 'WorkspaceUpdatedByArgsDict']]] = None) -> 'Workspace': """ Get an existing Workspace resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -306,11 +306,11 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] cicd_enforced_default: Whether new Deployments enforce CI/CD deploys by default :param pulumi.Input[str] created_at: Workspace creation timestamp - :param pulumi.Input[pulumi.InputType['WorkspaceCreatedByArgs']] created_by: Workspace creator + :param pulumi.Input[Union['WorkspaceCreatedByArgs', 'WorkspaceCreatedByArgsDict']] created_by: Workspace creator :param pulumi.Input[str] description: Workspace description :param pulumi.Input[str] name: Workspace name :param pulumi.Input[str] updated_at: Workspace last updated timestamp - :param pulumi.Input[pulumi.InputType['WorkspaceUpdatedByArgs']] updated_by: Workspace updater + :param pulumi.Input[Union['WorkspaceUpdatedByArgs', 'WorkspaceUpdatedByArgsDict']] updated_by: Workspace updater """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))