diff --git a/examples/go.mod b/examples/go.mod index 449f06eb5..9ff881bc8 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-rancher2/examples/v5 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.86.0 +require github.com/pulumi/pulumi/pkg/v3 v3.89.0 require ( cloud.google.com/go v0.110.4 // indirect @@ -111,7 +111,7 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.2 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect @@ -154,9 +154,10 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.89.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect @@ -166,7 +167,7 @@ require ( github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // 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 @@ -181,11 +182,12 @@ require ( gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect golang.org/x/crypto v0.9.0 // indirect - golang.org/x/mod v0.10.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect golang.org/x/net v0.10.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.9.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.8.0 // indirect golang.org/x/text v0.9.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect diff --git a/examples/go.sum b/examples/go.sum index ab7454228..b0506f266 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -993,8 +993,8 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0= -github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= @@ -1137,9 +1137,8 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= @@ -1462,10 +1461,12 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1478,8 +1479,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1579,8 +1580,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +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/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1798,6 +1799,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-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= 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= @@ -1828,8 +1831,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 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= @@ -2104,8 +2107,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= diff --git a/provider/cmd/pulumi-resource-rancher2/bridge-metadata.json b/provider/cmd/pulumi-resource-rancher2/bridge-metadata.json index 84c21b3b0..c0d9be1aa 100644 --- a/provider/cmd/pulumi-resource-rancher2/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-rancher2/bridge-metadata.json @@ -5029,7 +5029,6 @@ "iamInstanceProfile": "iam_instance_profile", "insecureTransport": "insecure_transport", "instanceType": "instance_type", - "keypairName": "keypair_name", "kmsKey": "kms_key", "openPorts": "open_port", "privateAddressOnly": "private_address_only", @@ -5224,7 +5223,6 @@ "iamInstanceProfile": "iam_instance_profile", "insecureTransport": "insecure_transport", "instanceType": "instance_type", - "keypairName": "keypair_name", "kmsKey": "kms_key", "openPorts": "open_port", "privateAddressOnly": "private_address_only", @@ -5624,9 +5622,11 @@ "groupObjectClass": "group_object_class", "groupSearchAttribute": "group_search_attribute", "groupSearchBase": "group_search_base", + "groupSearchFilter": "group_search_filter", "nestedGroupMembershipEnabled": "nested_group_membership_enabled", "serviceAccountDistinguishedName": "service_account_distinguished_name", "serviceAccountPassword": "service_account_password", + "startTls": "start_tls", "testPassword": "test_password", "testUsername": "test_username", "userDisabledBitMask": "user_disabled_bit_mask", @@ -5636,7 +5636,8 @@ "userNameAttribute": "user_name_attribute", "userObjectClass": "user_object_class", "userSearchAttribute": "user_search_attribute", - "userSearchBase": "user_search_base" + "userSearchBase": "user_search_base", + "userSearchFilter": "user_search_filter" }, "rancher2:index/authConfigGithub:AuthConfigGithub": { "accessMode": "access_mode", @@ -5680,9 +5681,11 @@ "groupObjectClass": "group_object_class", "groupSearchAttribute": "group_search_attribute", "groupSearchBase": "group_search_base", + "groupSearchFilter": "group_search_filter", "nestedGroupMembershipEnabled": "nested_group_membership_enabled", "serviceAccountDistinguishedName": "service_account_distinguished_name", "serviceAccountPassword": "service_account_password", + "startTls": "start_tls", "testPassword": "test_password", "testUsername": "test_username", "userDisabledBitMask": "user_disabled_bit_mask", @@ -5692,7 +5695,8 @@ "userNameAttribute": "user_name_attribute", "userObjectClass": "user_object_class", "userSearchAttribute": "user_search_attribute", - "userSearchBase": "user_search_base" + "userSearchBase": "user_search_base", + "userSearchFilter": "user_search_filter" }, "rancher2:index/authConfigPing:AuthConfigPing": { "accessMode": "access_mode", diff --git a/provider/cmd/pulumi-resource-rancher2/schema.json b/provider/cmd/pulumi-resource-rancher2/schema.json index f68380782..690c15ddf 100644 --- a/provider/cmd/pulumi-resource-rancher2/schema.json +++ b/provider/cmd/pulumi-resource-rancher2/schema.json @@ -8583,11 +8583,8 @@ "rancher2:index/ClusterV2RkeConfigMachineSelectorConfig:ClusterV2RkeConfigMachineSelectorConfig": { "properties": { "config": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Machine selector config (map)\n" + "type": "string", + "description": "Machine selector config. Must be in YAML format (string)\n" }, "machineLabelSelector": { "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector", @@ -9078,10 +9075,6 @@ "type": "string", "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n" }, - "keypairName": { - "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n" - }, "kmsKey": { "type": "string", "description": "Custom KMS key ID using the AWS Managed CMK (string)\n" @@ -9700,7 +9693,7 @@ }, "volumeDevicePath": { "type": "string", - "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n\u003e **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both.\n\u003e **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined.\n" + "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n\u003e **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both.\n\u003e **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined.\n\u003e **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself\n" }, "volumeId": { "type": "string", @@ -10144,10 +10137,6 @@ "type": "string", "description": "Outscale VM type. Default `tinav2.c1r2p3` (string)\n" }, - "keypairName": { - "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n" - }, "kmsKey": { "type": "string", "description": "Custom KMS key ID using the AWS Managed CMK (string)\n" @@ -10912,7 +10901,7 @@ }, "volumeDevicePath": { "type": "string", - "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n\n\u003e **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both.\n\n\u003e **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined.\n" + "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n\n\u003e **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both.\n\n\u003e **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined.\n\n\u003e **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself\n" }, "volumeId": { "type": "string", @@ -18868,10 +18857,7 @@ "rancher2:index/getClusterV2RkeConfigMachineSelectorConfig:getClusterV2RkeConfigMachineSelectorConfig": { "properties": { "config": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - } + "type": "string" }, "machineLabelSelector": { "$ref": "#/types/rancher2:index/getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector" @@ -22408,6 +22394,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -22444,6 +22433,9 @@ "description": "Service account password for access FreeIpa service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to FreeIpa service (string)\n", @@ -22492,6 +22484,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "required": [ @@ -22509,6 +22504,7 @@ "servers", "serviceAccountDistinguishedName", "serviceAccountPassword", + "startTls", "testPassword", "testUsername", "tls", @@ -22582,6 +22578,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -22614,6 +22613,9 @@ "description": "Service account password for access FreeIpa service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to FreeIpa service (string)\n", @@ -22658,6 +22660,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "requiredInputs": [ @@ -22730,6 +22735,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -22766,6 +22774,9 @@ "description": "Service account password for access FreeIpa service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to FreeIpa service (string)\n", @@ -22814,6 +22825,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "type": "object" @@ -23566,6 +23580,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -23602,6 +23619,9 @@ "description": "Service account password for access OpenLdap service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to OpenLdap service (string)\n", @@ -23650,6 +23670,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "required": [ @@ -23667,6 +23690,7 @@ "servers", "serviceAccountDistinguishedName", "serviceAccountPassword", + "startTls", "testPassword", "testUsername", "tls", @@ -23740,6 +23764,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -23772,6 +23799,9 @@ "description": "Service account password for access OpenLdap service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to OpenLdap service (string)\n", @@ -23816,6 +23846,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "requiredInputs": [ @@ -23888,6 +23921,9 @@ "type": "string", "description": "Group search base (string)\n" }, + "groupSearchFilter": { + "type": "string" + }, "labels": { "type": "object", "additionalProperties": { @@ -23924,6 +23960,9 @@ "description": "Service account password for access OpenLdap service (string)\n", "secret": true }, + "startTls": { + "type": "boolean" + }, "testPassword": { "type": "string", "description": "Password for test access to OpenLdap service (string)\n", @@ -23972,6 +24011,9 @@ "userSearchBase": { "type": "string", "description": "User search base DN (string)\n" + }, + "userSearchFilter": { + "type": "string" } }, "type": "object" diff --git a/provider/go.mod b/provider/go.mod index 3f2982af7..868ac2ad5 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -42,9 +42,9 @@ replace ( require ( github.com/hashicorp/terraform-plugin-sdk v1.17.2 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 - github.com/pulumi/pulumi/sdk/v3 v3.86.0 - github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20230803145804-148cbd604b49 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 + github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20231013004807-59ba43ca3a23 ) require ( @@ -245,10 +245,11 @@ require ( github.com/prometheus/client_model v0.3.0 // indirect github.com/prometheus/common v0.39.0 // indirect github.com/prometheus/procfs v0.8.0 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.6 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.89.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rancher/aks-operator v1.1.1-rc2 // indirect @@ -265,7 +266,7 @@ require ( github.com/rancher/rke v1.4.6-rc3 // indirect github.com/rancher/wrangler v1.1.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -280,7 +281,7 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // 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 @@ -298,16 +299,17 @@ require ( go.uber.org/atomic v1.10.0 // indirect gocloud.dev v0.29.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.11.0 // indirect - golang.org/x/mod v0.10.0 // indirect - golang.org/x/net v0.13.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.10.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.11.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.9.3 // indirect + golang.org/x/tools v0.14.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/api v0.126.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 3c9738294..f27d2c552 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2206,20 +2206,22 @@ github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/ github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6DDTUnn30= -github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= 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= @@ -2255,8 +2257,8 @@ github.com/rancher/rancher/pkg/client v0.0.0-20230512212658-eaa7b90049a4 h1:Y2bU github.com/rancher/rancher/pkg/client v0.0.0-20230512212658-eaa7b90049a4/go.mod h1:AO4eGvjbR9UvWtNryv/vSoz1ZIgvjkhP34GZ23CFEx8= github.com/rancher/rke v1.4.6-rc3 h1:r/akzh+yxf5El1xwumQtp+QuKEVo77BaB+Tieev3Nzc= github.com/rancher/rke v1.4.6-rc3/go.mod h1:0s8+XfiyC9Ff3KLaQ4Z5mDNI+taSb/hma13xOpW6slg= -github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20230803145804-148cbd604b49 h1:TwXNX4zAV/lnpGZURwmqtQk1FvSgyiikNCflZh9Xhk8= -github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20230803145804-148cbd604b49/go.mod h1:qCsLm5b7jV1fENsAjWYZxlCrevPfdp1pItmdEbS9mts= +github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20231013004807-59ba43ca3a23 h1:AyPdvdZoSFvTEEs2QlIlVk++m2rCjun2npPBU+qGQxY= +github.com/rancher/terraform-provider-rancher2 v1.25.1-0.20231013004807-59ba43ca3a23/go.mod h1:qCsLm5b7jV1fENsAjWYZxlCrevPfdp1pItmdEbS9mts= github.com/rancher/wrangler v0.6.1/go.mod h1:L4HtjPeX8iqLgsxfJgz+JjKMcX2q3qbRXSeTlC/CSd4= github.com/rancher/wrangler v0.6.2-0.20200427172034-da9b142ae061/go.mod h1:n5Du/gGD7WoiqnEo0SHnPirDIp1V9Zu+6guc8lXS2dk= github.com/rancher/wrangler v0.8.10/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0= @@ -2278,8 +2280,8 @@ github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -2405,8 +2407,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +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/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -2697,8 +2699,8 @@ golang.org/x/crypto v0.0.0-20221012134737-56aed061732a/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2717,6 +2719,8 @@ golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMk golang.org/x/exp v0.0.0-20210220032938-85be41e4509f/go.mod h1:I6l2HNBLBZEcrOoCpyKLdY2lHoRZ8lI4x60KMCQDft4= golang.org/x/exp v0.0.0-20230108222341-4b8118a2686a/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= 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= @@ -2752,8 +2756,8 @@ golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2 golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180112015858-5ccada7d0a7b/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2855,8 +2859,8 @@ golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY= -golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= 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= @@ -2910,8 +2914,8 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180117170059-2c42eef0765b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3073,8 +3077,8 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -3085,8 +3089,8 @@ golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= 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.20171227012246-e19ae1496984/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3102,8 +3106,8 @@ golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -3213,8 +3217,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= -golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= -golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/sdk/dotnet/AuthConfigFreeIpa.cs b/sdk/dotnet/AuthConfigFreeIpa.cs index 327ce13e5..c1bd9aaf0 100644 --- a/sdk/dotnet/AuthConfigFreeIpa.cs +++ b/sdk/dotnet/AuthConfigFreeIpa.cs @@ -95,6 +95,9 @@ public partial class AuthConfigFreeIpa : global::Pulumi.CustomResource [Output("groupSearchBase")] public Output GroupSearchBase { get; private set; } = null!; + [Output("groupSearchFilter")] + public Output GroupSearchFilter { get; private set; } = null!; + /// /// Labels of the resource (map) /// @@ -137,6 +140,9 @@ public partial class AuthConfigFreeIpa : global::Pulumi.CustomResource [Output("serviceAccountPassword")] public Output ServiceAccountPassword { get; private set; } = null!; + [Output("startTls")] + public Output StartTls { get; private set; } = null!; + /// /// Password for test access to FreeIpa service (string) /// @@ -209,6 +215,9 @@ public partial class AuthConfigFreeIpa : global::Pulumi.CustomResource [Output("userSearchBase")] public Output UserSearchBase { get; private set; } = null!; + [Output("userSearchFilter")] + public Output UserSearchFilter { get; private set; } = null!; + /// /// Create a AuthConfigFreeIpa resource with the given unique name, arguments, and options. @@ -362,6 +371,9 @@ public Input? Certificate [Input("groupSearchBase")] public Input? GroupSearchBase { get; set; } + [Input("groupSearchFilter")] + public Input? GroupSearchFilter { get; set; } + [Input("labels")] private InputMap? _labels; @@ -430,6 +442,9 @@ public Input? ServiceAccountPassword } } + [Input("startTls")] + public Input? StartTls { get; set; } + [Input("testPassword", required: true)] private Input? _testPassword; @@ -506,6 +521,9 @@ public Input? TestPassword [Input("userSearchBase", required: true)] public Input UserSearchBase { get; set; } = null!; + [Input("userSearchFilter")] + public Input? UserSearchFilter { get; set; } + public AuthConfigFreeIpaArgs() { } @@ -614,6 +632,9 @@ public Input? Certificate [Input("groupSearchBase")] public Input? GroupSearchBase { get; set; } + [Input("groupSearchFilter")] + public Input? GroupSearchFilter { get; set; } + [Input("labels")] private InputMap? _labels; @@ -688,6 +709,9 @@ public Input? ServiceAccountPassword } } + [Input("startTls")] + public Input? StartTls { get; set; } + [Input("testPassword")] private Input? _testPassword; @@ -770,6 +794,9 @@ public Input? TestPassword [Input("userSearchBase")] public Input? UserSearchBase { get; set; } + [Input("userSearchFilter")] + public Input? UserSearchFilter { get; set; } + public AuthConfigFreeIpaState() { } diff --git a/sdk/dotnet/AuthConfigOpenLdap.cs b/sdk/dotnet/AuthConfigOpenLdap.cs index 8f9ff3f2f..e8697a1cd 100644 --- a/sdk/dotnet/AuthConfigOpenLdap.cs +++ b/sdk/dotnet/AuthConfigOpenLdap.cs @@ -95,6 +95,9 @@ public partial class AuthConfigOpenLdap : global::Pulumi.CustomResource [Output("groupSearchBase")] public Output GroupSearchBase { get; private set; } = null!; + [Output("groupSearchFilter")] + public Output GroupSearchFilter { get; private set; } = null!; + /// /// Labels of the resource (map) /// @@ -137,6 +140,9 @@ public partial class AuthConfigOpenLdap : global::Pulumi.CustomResource [Output("serviceAccountPassword")] public Output ServiceAccountPassword { get; private set; } = null!; + [Output("startTls")] + public Output StartTls { get; private set; } = null!; + /// /// Password for test access to OpenLdap service (string) /// @@ -209,6 +215,9 @@ public partial class AuthConfigOpenLdap : global::Pulumi.CustomResource [Output("userSearchBase")] public Output UserSearchBase { get; private set; } = null!; + [Output("userSearchFilter")] + public Output UserSearchFilter { get; private set; } = null!; + /// /// Create a AuthConfigOpenLdap resource with the given unique name, arguments, and options. @@ -362,6 +371,9 @@ public Input? Certificate [Input("groupSearchBase")] public Input? GroupSearchBase { get; set; } + [Input("groupSearchFilter")] + public Input? GroupSearchFilter { get; set; } + [Input("labels")] private InputMap? _labels; @@ -430,6 +442,9 @@ public Input? ServiceAccountPassword } } + [Input("startTls")] + public Input? StartTls { get; set; } + [Input("testPassword", required: true)] private Input? _testPassword; @@ -506,6 +521,9 @@ public Input? TestPassword [Input("userSearchBase", required: true)] public Input UserSearchBase { get; set; } = null!; + [Input("userSearchFilter")] + public Input? UserSearchFilter { get; set; } + public AuthConfigOpenLdapArgs() { } @@ -614,6 +632,9 @@ public Input? Certificate [Input("groupSearchBase")] public Input? GroupSearchBase { get; set; } + [Input("groupSearchFilter")] + public Input? GroupSearchFilter { get; set; } + [Input("labels")] private InputMap? _labels; @@ -688,6 +709,9 @@ public Input? ServiceAccountPassword } } + [Input("startTls")] + public Input? StartTls { get; set; } + [Input("testPassword")] private Input? _testPassword; @@ -770,6 +794,9 @@ public Input? TestPassword [Input("userSearchBase")] public Input? UserSearchBase { get; set; } + [Input("userSearchFilter")] + public Input? UserSearchFilter { get; set; } + public AuthConfigOpenLdapState() { } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs index 53c598637..995730cd7 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs @@ -12,17 +12,11 @@ namespace Pulumi.Rancher2.Inputs public sealed class ClusterV2RkeConfigMachineSelectorConfigArgs : global::Pulumi.ResourceArgs { - [Input("config")] - private InputMap? _config; - /// - /// Machine selector config (map) + /// Machine selector config. Must be in YAML format (string) /// - public InputMap Config - { - get => _config ?? (_config = new InputMap()); - set => _config = value; - } + [Input("config")] + public Input? Config { get; set; } /// /// Machine selector label (list maxitems:1) diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs index 51310943c..600bf74cc 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs @@ -12,17 +12,11 @@ namespace Pulumi.Rancher2.Inputs public sealed class ClusterV2RkeConfigMachineSelectorConfigGetArgs : global::Pulumi.ResourceArgs { - [Input("config")] - private InputMap? _config; - /// - /// Machine selector config (map) + /// Machine selector config. Must be in YAML format (string) /// - public InputMap Config - { - get => _config ?? (_config = new InputMap()); - set => _config = value; - } + [Input("config")] + public Input? Config { get; set; } /// /// Machine selector label (list maxitems:1) diff --git a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs index c4137c827..b50a686b1 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs @@ -84,12 +84,6 @@ public Input? AccessKey [Input("instanceType")] public Input? InstanceType { get; set; } - /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// diff --git a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs index 3bbca0182..777e1ecd7 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs @@ -84,12 +84,6 @@ public Input? AccessKey [Input("instanceType")] public Input? InstanceType { get; set; } - /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// diff --git a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs index 5b3b50747..b2e80440c 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs @@ -268,6 +268,7 @@ public Input? PrivateKeyFile /// OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) /// > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. /// > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// [Input("volumeDevicePath")] public Input? VolumeDevicePath { get; set; } diff --git a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs index bcec5aa74..6642f2093 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs @@ -268,6 +268,7 @@ public Input? PrivateKeyFile /// OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) /// > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. /// > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// [Input("volumeDevicePath")] public Input? VolumeDevicePath { get; set; } diff --git a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs index 86142d125..6aba4c4d4 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs @@ -88,12 +88,6 @@ public Input? AccessKey [Input("instanceType")] public Input? InstanceType { get; set; } - /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// diff --git a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs index 79c2f1de7..357d6d143 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs @@ -88,12 +88,6 @@ public Input? AccessKey [Input("instanceType")] public Input? InstanceType { get; set; } - /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// diff --git a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs index b59311e16..6068b2c70 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs @@ -246,6 +246,8 @@ public Input? PrivateKeyFile /// > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. /// /// > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// [Input("volumeDevicePath")] public Input? VolumeDevicePath { get; set; } diff --git a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs index 34c615789..8d0423e12 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs @@ -246,6 +246,8 @@ public Input? PrivateKeyFile /// > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. /// /// > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// [Input("volumeDevicePath")] public Input? VolumeDevicePath { get; set; } diff --git a/sdk/dotnet/Outputs/ClusterV2RkeConfigMachineSelectorConfig.cs b/sdk/dotnet/Outputs/ClusterV2RkeConfigMachineSelectorConfig.cs index f91cc5ce7..0e4c3aca3 100644 --- a/sdk/dotnet/Outputs/ClusterV2RkeConfigMachineSelectorConfig.cs +++ b/sdk/dotnet/Outputs/ClusterV2RkeConfigMachineSelectorConfig.cs @@ -14,9 +14,9 @@ namespace Pulumi.Rancher2.Outputs public sealed class ClusterV2RkeConfigMachineSelectorConfig { /// - /// Machine selector config (map) + /// Machine selector config. Must be in YAML format (string) /// - public readonly ImmutableDictionary? Config; + public readonly string? Config; /// /// Machine selector label (list maxitems:1) /// @@ -24,7 +24,7 @@ public sealed class ClusterV2RkeConfigMachineSelectorConfig [OutputConstructor] private ClusterV2RkeConfigMachineSelectorConfig( - ImmutableDictionary? config, + string? config, Outputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector? machineLabelSelector) { diff --git a/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachineSelectorConfigResult.cs b/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachineSelectorConfigResult.cs index 719599ab2..256b099d9 100644 --- a/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachineSelectorConfigResult.cs +++ b/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachineSelectorConfigResult.cs @@ -13,12 +13,12 @@ namespace Pulumi.Rancher2.Outputs [OutputType] public sealed class GetClusterV2RkeConfigMachineSelectorConfigResult { - public readonly ImmutableDictionary? Config; + public readonly string? Config; public readonly Outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorResult? MachineLabelSelector; [OutputConstructor] private GetClusterV2RkeConfigMachineSelectorConfigResult( - ImmutableDictionary? config, + string? config, Outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorResult? machineLabelSelector) { diff --git a/sdk/dotnet/Outputs/MachineConfigV2Amazonec2Config.cs b/sdk/dotnet/Outputs/MachineConfigV2Amazonec2Config.cs index 89b8cecc5..28adc300a 100644 --- a/sdk/dotnet/Outputs/MachineConfigV2Amazonec2Config.cs +++ b/sdk/dotnet/Outputs/MachineConfigV2Amazonec2Config.cs @@ -55,10 +55,6 @@ public sealed class MachineConfigV2Amazonec2Config /// public readonly string? InstanceType; /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - public readonly string? KeypairName; - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// public readonly string? KmsKey; @@ -172,8 +168,6 @@ private MachineConfigV2Amazonec2Config( string? instanceType, - string? keypairName, - string? kmsKey, bool? monitoring, @@ -231,7 +225,6 @@ private MachineConfigV2Amazonec2Config( IamInstanceProfile = iamInstanceProfile; InsecureTransport = insecureTransport; InstanceType = instanceType; - KeypairName = keypairName; KmsKey = kmsKey; Monitoring = monitoring; OpenPorts = openPorts; diff --git a/sdk/dotnet/Outputs/MachineConfigV2OpenstackConfig.cs b/sdk/dotnet/Outputs/MachineConfigV2OpenstackConfig.cs index aef77bebc..e89d2c7ac 100644 --- a/sdk/dotnet/Outputs/MachineConfigV2OpenstackConfig.cs +++ b/sdk/dotnet/Outputs/MachineConfigV2OpenstackConfig.cs @@ -165,6 +165,7 @@ public sealed class MachineConfigV2OpenstackConfig /// OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) /// > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. /// > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// public readonly string? VolumeDevicePath; /// diff --git a/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs b/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs index ffd327568..625e1fa53 100644 --- a/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs +++ b/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs @@ -58,10 +58,6 @@ public sealed class NodeTemplateAmazonec2Config /// public readonly string? InstanceType; /// - /// OpenStack keypair to use to SSH to the instance (string) - /// - public readonly string? KeypairName; - /// /// Custom KMS key ID using the AWS Managed CMK (string) /// public readonly string? KmsKey; @@ -177,8 +173,6 @@ private NodeTemplateAmazonec2Config( string? instanceType, - string? keypairName, - string? kmsKey, bool? monitoring, @@ -236,7 +230,6 @@ private NodeTemplateAmazonec2Config( IamInstanceProfile = iamInstanceProfile; InsecureTransport = insecureTransport; InstanceType = instanceType; - KeypairName = keypairName; KmsKey = kmsKey; Monitoring = monitoring; OpenPorts = openPorts; diff --git a/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs b/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs index 32f8220ee..66c6e1883 100644 --- a/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs +++ b/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs @@ -151,6 +151,8 @@ public sealed class NodeTemplateOpenstackConfig /// > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. /// /// > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + /// + /// > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself /// public readonly string? VolumeDevicePath; /// diff --git a/sdk/go.mod b/sdk/go.mod index 7a39e5e21..947cebe47 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.86.0 + github.com/pulumi/pulumi/sdk/v3 v3.89.0 ) require ( @@ -12,7 +12,7 @@ require ( github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect - github.com/agext/levenshtein v1.2.1 // 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 @@ -33,9 +33,9 @@ require ( 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 - github.com/hashicorp/hcl/v2 v2.16.1 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect @@ -43,7 +43,7 @@ require ( github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect - github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect @@ -53,27 +53,29 @@ require ( github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect + github.com/pulumi/esc v0.5.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // 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.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cast v1.4.1 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.2 // indirect + github.com/stretchr/objx v0.5.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 github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect - github.com/zclconf/go-cty v1.12.1 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.7.0 // indirect + golang.org/x/crypto v0.9.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/net v0.10.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.8.0 // indirect + golang.org/x/sync v0.2.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.8.0 // indirect golang.org/x/text v0.9.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index c42856c05..d774bb1b6 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -8,8 +8,8 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= 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.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= -github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= @@ -77,12 +77,12 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= -github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= @@ -92,9 +92,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -118,8 +117,8 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= @@ -143,29 +142,31 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= 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= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= 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.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +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/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= 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.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -180,8 +181,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +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/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= @@ -195,8 +196,8 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= -github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= @@ -209,8 +210,10 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= 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= @@ -234,8 +237,8 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ 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 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 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= @@ -260,8 +263,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= diff --git a/sdk/go/rancher2/authConfigFreeIpa.go b/sdk/go/rancher2/authConfigFreeIpa.go index c362d37f5..7e03d1991 100644 --- a/sdk/go/rancher2/authConfigFreeIpa.go +++ b/sdk/go/rancher2/authConfigFreeIpa.go @@ -44,7 +44,8 @@ type AuthConfigFreeIpa struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringOutput `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase pulumi.StringOutput `pulumi:"groupSearchBase"` + GroupSearchBase pulumi.StringOutput `pulumi:"groupSearchBase"` + GroupSearchFilter pulumi.StringPtrOutput `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels pulumi.MapOutput `pulumi:"labels"` // (Computed) The name of the resource (string) @@ -59,6 +60,7 @@ type AuthConfigFreeIpa struct { ServiceAccountDistinguishedName pulumi.StringOutput `pulumi:"serviceAccountDistinguishedName"` // Service account password for access FreeIpa service (string) ServiceAccountPassword pulumi.StringOutput `pulumi:"serviceAccountPassword"` + StartTls pulumi.BoolOutput `pulumi:"startTls"` // Password for test access to FreeIpa service (string) TestPassword pulumi.StringOutput `pulumi:"testPassword"` // Username for test access to FreeIpa service (string) @@ -82,7 +84,8 @@ type AuthConfigFreeIpa struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringOutput `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase pulumi.StringOutput `pulumi:"userSearchBase"` + UserSearchBase pulumi.StringOutput `pulumi:"userSearchBase"` + UserSearchFilter pulumi.StringPtrOutput `pulumi:"userSearchFilter"` } // NewAuthConfigFreeIpa registers a new resource with the given unique name, arguments, and options. @@ -177,7 +180,8 @@ type authConfigFreeIpaState struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute *string `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchFilter *string `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels map[string]interface{} `pulumi:"labels"` // (Computed) The name of the resource (string) @@ -192,6 +196,7 @@ type authConfigFreeIpaState struct { ServiceAccountDistinguishedName *string `pulumi:"serviceAccountDistinguishedName"` // Service account password for access FreeIpa service (string) ServiceAccountPassword *string `pulumi:"serviceAccountPassword"` + StartTls *bool `pulumi:"startTls"` // Password for test access to FreeIpa service (string) TestPassword *string `pulumi:"testPassword"` // Username for test access to FreeIpa service (string) @@ -215,7 +220,8 @@ type authConfigFreeIpaState struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute *string `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase *string `pulumi:"userSearchBase"` + UserSearchBase *string `pulumi:"userSearchBase"` + UserSearchFilter *string `pulumi:"userSearchFilter"` } type AuthConfigFreeIpaState struct { @@ -244,7 +250,8 @@ type AuthConfigFreeIpaState struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringPtrInput // Group search base (string) - GroupSearchBase pulumi.StringPtrInput + GroupSearchBase pulumi.StringPtrInput + GroupSearchFilter pulumi.StringPtrInput // Labels of the resource (map) Labels pulumi.MapInput // (Computed) The name of the resource (string) @@ -259,6 +266,7 @@ type AuthConfigFreeIpaState struct { ServiceAccountDistinguishedName pulumi.StringPtrInput // Service account password for access FreeIpa service (string) ServiceAccountPassword pulumi.StringPtrInput + StartTls pulumi.BoolPtrInput // Password for test access to FreeIpa service (string) TestPassword pulumi.StringPtrInput // Username for test access to FreeIpa service (string) @@ -282,7 +290,8 @@ type AuthConfigFreeIpaState struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringPtrInput // User search base DN (string) - UserSearchBase pulumi.StringPtrInput + UserSearchBase pulumi.StringPtrInput + UserSearchFilter pulumi.StringPtrInput } func (AuthConfigFreeIpaState) ElementType() reflect.Type { @@ -315,7 +324,8 @@ type authConfigFreeIpaArgs struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute *string `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchFilter *string `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels map[string]interface{} `pulumi:"labels"` // Nested group membership enable. Default `false` (bool) @@ -328,6 +338,7 @@ type authConfigFreeIpaArgs struct { ServiceAccountDistinguishedName string `pulumi:"serviceAccountDistinguishedName"` // Service account password for access FreeIpa service (string) ServiceAccountPassword string `pulumi:"serviceAccountPassword"` + StartTls *bool `pulumi:"startTls"` // Password for test access to FreeIpa service (string) TestPassword string `pulumi:"testPassword"` // Username for test access to FreeIpa service (string) @@ -349,7 +360,8 @@ type authConfigFreeIpaArgs struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute *string `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase string `pulumi:"userSearchBase"` + UserSearchBase string `pulumi:"userSearchBase"` + UserSearchFilter *string `pulumi:"userSearchFilter"` } // The set of arguments for constructing a AuthConfigFreeIpa resource. @@ -379,7 +391,8 @@ type AuthConfigFreeIpaArgs struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringPtrInput // Group search base (string) - GroupSearchBase pulumi.StringPtrInput + GroupSearchBase pulumi.StringPtrInput + GroupSearchFilter pulumi.StringPtrInput // Labels of the resource (map) Labels pulumi.MapInput // Nested group membership enable. Default `false` (bool) @@ -392,6 +405,7 @@ type AuthConfigFreeIpaArgs struct { ServiceAccountDistinguishedName pulumi.StringInput // Service account password for access FreeIpa service (string) ServiceAccountPassword pulumi.StringInput + StartTls pulumi.BoolPtrInput // Password for test access to FreeIpa service (string) TestPassword pulumi.StringInput // Username for test access to FreeIpa service (string) @@ -413,7 +427,8 @@ type AuthConfigFreeIpaArgs struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringPtrInput // User search base DN (string) - UserSearchBase pulumi.StringInput + UserSearchBase pulumi.StringInput + UserSearchFilter pulumi.StringPtrInput } func (AuthConfigFreeIpaArgs) ElementType() reflect.Type { @@ -592,6 +607,10 @@ func (o AuthConfigFreeIpaOutput) GroupSearchBase() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) } +func (o AuthConfigFreeIpaOutput) GroupSearchFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringPtrOutput { return v.GroupSearchFilter }).(pulumi.StringPtrOutput) +} + // Labels of the resource (map) func (o AuthConfigFreeIpaOutput) Labels() pulumi.MapOutput { return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) @@ -627,6 +646,10 @@ func (o AuthConfigFreeIpaOutput) ServiceAccountPassword() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) } +func (o AuthConfigFreeIpaOutput) StartTls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.BoolOutput { return v.StartTls }).(pulumi.BoolOutput) +} + // Password for test access to FreeIpa service (string) func (o AuthConfigFreeIpaOutput) TestPassword() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.TestPassword }).(pulumi.StringOutput) @@ -687,6 +710,10 @@ func (o AuthConfigFreeIpaOutput) UserSearchBase() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) } +func (o AuthConfigFreeIpaOutput) UserSearchFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringPtrOutput { return v.UserSearchFilter }).(pulumi.StringPtrOutput) +} + type AuthConfigFreeIpaArrayOutput struct{ *pulumi.OutputState } func (AuthConfigFreeIpaArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigOpenLdap.go b/sdk/go/rancher2/authConfigOpenLdap.go index 25830965e..bbb2f0f1b 100644 --- a/sdk/go/rancher2/authConfigOpenLdap.go +++ b/sdk/go/rancher2/authConfigOpenLdap.go @@ -44,7 +44,8 @@ type AuthConfigOpenLdap struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringOutput `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase pulumi.StringOutput `pulumi:"groupSearchBase"` + GroupSearchBase pulumi.StringOutput `pulumi:"groupSearchBase"` + GroupSearchFilter pulumi.StringPtrOutput `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels pulumi.MapOutput `pulumi:"labels"` // (Computed) The name of the resource (string) @@ -59,6 +60,7 @@ type AuthConfigOpenLdap struct { ServiceAccountDistinguishedName pulumi.StringOutput `pulumi:"serviceAccountDistinguishedName"` // Service account password for access OpenLdap service (string) ServiceAccountPassword pulumi.StringOutput `pulumi:"serviceAccountPassword"` + StartTls pulumi.BoolOutput `pulumi:"startTls"` // Password for test access to OpenLdap service (string) TestPassword pulumi.StringOutput `pulumi:"testPassword"` // Username for test access to OpenLdap service (string) @@ -82,7 +84,8 @@ type AuthConfigOpenLdap struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringOutput `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase pulumi.StringOutput `pulumi:"userSearchBase"` + UserSearchBase pulumi.StringOutput `pulumi:"userSearchBase"` + UserSearchFilter pulumi.StringPtrOutput `pulumi:"userSearchFilter"` } // NewAuthConfigOpenLdap registers a new resource with the given unique name, arguments, and options. @@ -177,7 +180,8 @@ type authConfigOpenLdapState struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute *string `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchFilter *string `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels map[string]interface{} `pulumi:"labels"` // (Computed) The name of the resource (string) @@ -192,6 +196,7 @@ type authConfigOpenLdapState struct { ServiceAccountDistinguishedName *string `pulumi:"serviceAccountDistinguishedName"` // Service account password for access OpenLdap service (string) ServiceAccountPassword *string `pulumi:"serviceAccountPassword"` + StartTls *bool `pulumi:"startTls"` // Password for test access to OpenLdap service (string) TestPassword *string `pulumi:"testPassword"` // Username for test access to OpenLdap service (string) @@ -215,7 +220,8 @@ type authConfigOpenLdapState struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute *string `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase *string `pulumi:"userSearchBase"` + UserSearchBase *string `pulumi:"userSearchBase"` + UserSearchFilter *string `pulumi:"userSearchFilter"` } type AuthConfigOpenLdapState struct { @@ -244,7 +250,8 @@ type AuthConfigOpenLdapState struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringPtrInput // Group search base (string) - GroupSearchBase pulumi.StringPtrInput + GroupSearchBase pulumi.StringPtrInput + GroupSearchFilter pulumi.StringPtrInput // Labels of the resource (map) Labels pulumi.MapInput // (Computed) The name of the resource (string) @@ -259,6 +266,7 @@ type AuthConfigOpenLdapState struct { ServiceAccountDistinguishedName pulumi.StringPtrInput // Service account password for access OpenLdap service (string) ServiceAccountPassword pulumi.StringPtrInput + StartTls pulumi.BoolPtrInput // Password for test access to OpenLdap service (string) TestPassword pulumi.StringPtrInput // Username for test access to OpenLdap service (string) @@ -282,7 +290,8 @@ type AuthConfigOpenLdapState struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringPtrInput // User search base DN (string) - UserSearchBase pulumi.StringPtrInput + UserSearchBase pulumi.StringPtrInput + UserSearchFilter pulumi.StringPtrInput } func (AuthConfigOpenLdapState) ElementType() reflect.Type { @@ -315,7 +324,8 @@ type authConfigOpenLdapArgs struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute *string `pulumi:"groupSearchAttribute"` // Group search base (string) - GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchBase *string `pulumi:"groupSearchBase"` + GroupSearchFilter *string `pulumi:"groupSearchFilter"` // Labels of the resource (map) Labels map[string]interface{} `pulumi:"labels"` // Nested group membership enable. Default `false` (bool) @@ -328,6 +338,7 @@ type authConfigOpenLdapArgs struct { ServiceAccountDistinguishedName string `pulumi:"serviceAccountDistinguishedName"` // Service account password for access OpenLdap service (string) ServiceAccountPassword string `pulumi:"serviceAccountPassword"` + StartTls *bool `pulumi:"startTls"` // Password for test access to OpenLdap service (string) TestPassword string `pulumi:"testPassword"` // Username for test access to OpenLdap service (string) @@ -349,7 +360,8 @@ type authConfigOpenLdapArgs struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute *string `pulumi:"userSearchAttribute"` // User search base DN (string) - UserSearchBase string `pulumi:"userSearchBase"` + UserSearchBase string `pulumi:"userSearchBase"` + UserSearchFilter *string `pulumi:"userSearchFilter"` } // The set of arguments for constructing a AuthConfigOpenLdap resource. @@ -379,7 +391,8 @@ type AuthConfigOpenLdapArgs struct { // Group search attribute. Default `cn` (string) GroupSearchAttribute pulumi.StringPtrInput // Group search base (string) - GroupSearchBase pulumi.StringPtrInput + GroupSearchBase pulumi.StringPtrInput + GroupSearchFilter pulumi.StringPtrInput // Labels of the resource (map) Labels pulumi.MapInput // Nested group membership enable. Default `false` (bool) @@ -392,6 +405,7 @@ type AuthConfigOpenLdapArgs struct { ServiceAccountDistinguishedName pulumi.StringInput // Service account password for access OpenLdap service (string) ServiceAccountPassword pulumi.StringInput + StartTls pulumi.BoolPtrInput // Password for test access to OpenLdap service (string) TestPassword pulumi.StringInput // Username for test access to OpenLdap service (string) @@ -413,7 +427,8 @@ type AuthConfigOpenLdapArgs struct { // User search attribute. Default `uid|sn|givenName` (string) UserSearchAttribute pulumi.StringPtrInput // User search base DN (string) - UserSearchBase pulumi.StringInput + UserSearchBase pulumi.StringInput + UserSearchFilter pulumi.StringPtrInput } func (AuthConfigOpenLdapArgs) ElementType() reflect.Type { @@ -592,6 +607,10 @@ func (o AuthConfigOpenLdapOutput) GroupSearchBase() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) } +func (o AuthConfigOpenLdapOutput) GroupSearchFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringPtrOutput { return v.GroupSearchFilter }).(pulumi.StringPtrOutput) +} + // Labels of the resource (map) func (o AuthConfigOpenLdapOutput) Labels() pulumi.MapOutput { return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) @@ -627,6 +646,10 @@ func (o AuthConfigOpenLdapOutput) ServiceAccountPassword() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) } +func (o AuthConfigOpenLdapOutput) StartTls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.BoolOutput { return v.StartTls }).(pulumi.BoolOutput) +} + // Password for test access to OpenLdap service (string) func (o AuthConfigOpenLdapOutput) TestPassword() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.TestPassword }).(pulumi.StringOutput) @@ -687,6 +710,10 @@ func (o AuthConfigOpenLdapOutput) UserSearchBase() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) } +func (o AuthConfigOpenLdapOutput) UserSearchFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringPtrOutput { return v.UserSearchFilter }).(pulumi.StringPtrOutput) +} + type AuthConfigOpenLdapArrayOutput struct{ *pulumi.OutputState } func (AuthConfigOpenLdapArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/pulumiTypes.go b/sdk/go/rancher2/pulumiTypes.go index b8ea69df9..01031dd0e 100644 --- a/sdk/go/rancher2/pulumiTypes.go +++ b/sdk/go/rancher2/pulumiTypes.go @@ -49859,8 +49859,8 @@ func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInput) } type ClusterV2RkeConfigMachineSelectorConfig struct { - // Machine selector config (map) - Config map[string]interface{} `pulumi:"config"` + // Machine selector config. Must be in YAML format (string) + Config *string `pulumi:"config"` // Machine selector label (list maxitems:1) MachineLabelSelector *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` } @@ -49877,8 +49877,8 @@ type ClusterV2RkeConfigMachineSelectorConfigInput interface { } type ClusterV2RkeConfigMachineSelectorConfigArgs struct { - // Machine selector config (map) - Config pulumi.MapInput `pulumi:"config"` + // Machine selector config. Must be in YAML format (string) + Config pulumi.StringPtrInput `pulumi:"config"` // Machine selector label (list maxitems:1) MachineLabelSelector ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` } @@ -49952,9 +49952,9 @@ func (o ClusterV2RkeConfigMachineSelectorConfigOutput) ToOutput(ctx context.Cont } } -// Machine selector config (map) -func (o ClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) +// Machine selector config. Must be in YAML format (string) +func (o ClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) *string { return v.Config }).(pulumi.StringPtrOutput) } // Machine selector label (list maxitems:1) @@ -53164,8 +53164,6 @@ type MachineConfigV2Amazonec2Config struct { InsecureTransport *bool `pulumi:"insecureTransport"` // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) InstanceType *string `pulumi:"instanceType"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName *string `pulumi:"keypairName"` // Custom KMS key ID using the AWS Managed CMK (string) KmsKey *string `pulumi:"kmsKey"` // Enable monitoring for droplet. Default `false` (bool) @@ -53246,8 +53244,6 @@ type MachineConfigV2Amazonec2ConfigArgs struct { InsecureTransport pulumi.BoolPtrInput `pulumi:"insecureTransport"` // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` // Custom KMS key ID using the AWS Managed CMK (string) KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` // Enable monitoring for droplet. Default `false` (bool) @@ -53444,11 +53440,6 @@ func (o MachineConfigV2Amazonec2ConfigOutput) InstanceType() pulumi.StringPtrOut return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o MachineConfigV2Amazonec2ConfigOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.KeypairName }).(pulumi.StringPtrOutput) -} - // Custom KMS key ID using the AWS Managed CMK (string) func (o MachineConfigV2Amazonec2ConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -53702,16 +53693,6 @@ func (o MachineConfigV2Amazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtr }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.KeypairName - }).(pulumi.StringPtrOutput) -} - // Custom KMS key ID using the AWS Managed CMK (string) func (o MachineConfigV2Amazonec2ConfigPtrOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { @@ -56101,6 +56082,7 @@ type MachineConfigV2OpenstackConfig struct { // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) // > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. // **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + // **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself VolumeDevicePath *string `pulumi:"volumeDevicePath"` // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) VolumeId *string `pulumi:"volumeId"` @@ -56201,6 +56183,7 @@ type MachineConfigV2OpenstackConfigArgs struct { // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) // > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. // **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + // **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` @@ -56495,6 +56478,7 @@ func (o MachineConfigV2OpenstackConfigOutput) Username() pulumi.StringPtrOutput // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) // > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. // **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. +// **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself func (o MachineConfigV2OpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) } @@ -56922,6 +56906,7 @@ func (o MachineConfigV2OpenstackConfigPtrOutput) Username() pulumi.StringPtrOutp // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) // > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. // **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. +// **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { @@ -59414,8 +59399,6 @@ type NodeTemplateAmazonec2Config struct { InsecureTransport *bool `pulumi:"insecureTransport"` // Outscale VM type. Default `tinav2.c1r2p3` (string) InstanceType *string `pulumi:"instanceType"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName *string `pulumi:"keypairName"` // Custom KMS key ID using the AWS Managed CMK (string) KmsKey *string `pulumi:"kmsKey"` // Enable monitoring for droplet. Default `false` (bool) @@ -59499,8 +59482,6 @@ type NodeTemplateAmazonec2ConfigArgs struct { InsecureTransport pulumi.BoolPtrInput `pulumi:"insecureTransport"` // Outscale VM type. Default `tinav2.c1r2p3` (string) InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` // Custom KMS key ID using the AWS Managed CMK (string) KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` // Enable monitoring for droplet. Default `false` (bool) @@ -59700,11 +59681,6 @@ func (o NodeTemplateAmazonec2ConfigOutput) InstanceType() pulumi.StringPtrOutput return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o NodeTemplateAmazonec2ConfigOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.KeypairName }).(pulumi.StringPtrOutput) -} - // Custom KMS key ID using the AWS Managed CMK (string) func (o NodeTemplateAmazonec2ConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -59961,16 +59937,6 @@ func (o NodeTemplateAmazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { - if v == nil { - return nil - } - return v.KeypairName - }).(pulumi.StringPtrOutput) -} - // Custom KMS key ID using the AWS Managed CMK (string) func (o NodeTemplateAmazonec2ConfigPtrOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { @@ -63325,6 +63291,8 @@ type NodeTemplateOpenstackConfig struct { // > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. // // > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + // + // > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself VolumeDevicePath *string `pulumi:"volumeDevicePath"` // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) VolumeId *string `pulumi:"volumeId"` @@ -63419,6 +63387,8 @@ type NodeTemplateOpenstackConfigArgs struct { // > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. // // > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + // + // > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` @@ -63695,6 +63665,8 @@ func (o NodeTemplateOpenstackConfigOutput) Username() pulumi.StringPtrOutput { // > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. // // > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. +// +// > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself func (o NodeTemplateOpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) } @@ -64084,6 +64056,8 @@ func (o NodeTemplateOpenstackConfigPtrOutput) Username() pulumi.StringPtrOutput // > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. // // > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. +// +// > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself func (o NodeTemplateOpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { @@ -102061,7 +102035,7 @@ func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInpu } type GetClusterV2RkeConfigMachineSelectorConfig struct { - Config map[string]interface{} `pulumi:"config"` + Config *string `pulumi:"config"` MachineLabelSelector *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` } @@ -102077,7 +102051,7 @@ type GetClusterV2RkeConfigMachineSelectorConfigInput interface { } type GetClusterV2RkeConfigMachineSelectorConfigArgs struct { - Config pulumi.MapInput `pulumi:"config"` + Config pulumi.StringPtrInput `pulumi:"config"` MachineLabelSelector GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` } @@ -102150,8 +102124,8 @@ func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) ToOutput(ctx context.C } } -func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) *string { return v.Config }).(pulumi.StringPtrOutput) } func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) MachineLabelSelector() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java index 724b0a00d..61ed977e2 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java @@ -209,6 +209,12 @@ public Output groupSearchAttribute() { public Output groupSearchBase() { return this.groupSearchBase; } + @Export(name="groupSearchFilter", refs={String.class}, tree="[0]") + private Output groupSearchFilter; + + public Output> groupSearchFilter() { + return Codegen.optional(this.groupSearchFilter); + } /** * Labels of the resource (map) * @@ -307,6 +313,12 @@ public Output serviceAccountDistinguishedName() { public Output serviceAccountPassword() { return this.serviceAccountPassword; } + @Export(name="startTls", refs={Boolean.class}, tree="[0]") + private Output startTls; + + public Output startTls() { + return this.startTls; + } /** * Password for test access to FreeIpa service (string) * @@ -475,6 +487,12 @@ public Output userSearchAttribute() { public Output userSearchBase() { return this.userSearchBase; } + @Export(name="userSearchFilter", refs={String.class}, tree="[0]") + private Output userSearchFilter; + + public Output> userSearchFilter() { + return Codegen.optional(this.userSearchFilter); + } /** * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpaArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpaArgs.java index a59e0d704..dfa200219 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpaArgs.java @@ -215,6 +215,13 @@ public Optional> groupSearchBase() { return Optional.ofNullable(this.groupSearchBase); } + @Import(name="groupSearchFilter") + private @Nullable Output groupSearchFilter; + + public Optional> groupSearchFilter() { + return Optional.ofNullable(this.groupSearchFilter); + } + /** * Labels of the resource (map) * @@ -305,6 +312,13 @@ public Output serviceAccountPassword() { return this.serviceAccountPassword; } + @Import(name="startTls") + private @Nullable Output startTls; + + public Optional> startTls() { + return Optional.ofNullable(this.startTls); + } + /** * Password for test access to FreeIpa service (string) * @@ -470,6 +484,13 @@ public Output userSearchBase() { return this.userSearchBase; } + @Import(name="userSearchFilter") + private @Nullable Output userSearchFilter; + + public Optional> userSearchFilter() { + return Optional.ofNullable(this.userSearchFilter); + } + private AuthConfigFreeIpaArgs() {} private AuthConfigFreeIpaArgs(AuthConfigFreeIpaArgs $) { @@ -486,12 +507,14 @@ private AuthConfigFreeIpaArgs(AuthConfigFreeIpaArgs $) { this.groupObjectClass = $.groupObjectClass; this.groupSearchAttribute = $.groupSearchAttribute; this.groupSearchBase = $.groupSearchBase; + this.groupSearchFilter = $.groupSearchFilter; this.labels = $.labels; this.nestedGroupMembershipEnabled = $.nestedGroupMembershipEnabled; this.port = $.port; this.servers = $.servers; this.serviceAccountDistinguishedName = $.serviceAccountDistinguishedName; this.serviceAccountPassword = $.serviceAccountPassword; + this.startTls = $.startTls; this.testPassword = $.testPassword; this.testUsername = $.testUsername; this.tls = $.tls; @@ -503,6 +526,7 @@ private AuthConfigFreeIpaArgs(AuthConfigFreeIpaArgs $) { this.userObjectClass = $.userObjectClass; this.userSearchAttribute = $.userSearchAttribute; this.userSearchBase = $.userSearchBase; + this.userSearchFilter = $.userSearchFilter; } public static Builder builder() { @@ -806,6 +830,15 @@ public Builder groupSearchBase(String groupSearchBase) { return groupSearchBase(Output.of(groupSearchBase)); } + public Builder groupSearchFilter(@Nullable Output groupSearchFilter) { + $.groupSearchFilter = groupSearchFilter; + return this; + } + + public Builder groupSearchFilter(String groupSearchFilter) { + return groupSearchFilter(Output.of(groupSearchFilter)); + } + /** * @param labels Labels of the resource (map) * @@ -942,6 +975,15 @@ public Builder serviceAccountPassword(String serviceAccountPassword) { return serviceAccountPassword(Output.of(serviceAccountPassword)); } + public Builder startTls(@Nullable Output startTls) { + $.startTls = startTls; + return this; + } + + public Builder startTls(Boolean startTls) { + return startTls(Output.of(startTls)); + } + /** * @param testPassword Password for test access to FreeIpa service (string) * @@ -1173,6 +1215,15 @@ public Builder userSearchBase(String userSearchBase) { return userSearchBase(Output.of(userSearchBase)); } + public Builder userSearchFilter(@Nullable Output userSearchFilter) { + $.userSearchFilter = userSearchFilter; + return this; + } + + public Builder userSearchFilter(String userSearchFilter) { + return userSearchFilter(Output.of(userSearchFilter)); + } + public AuthConfigFreeIpaArgs build() { $.servers = Objects.requireNonNull($.servers, "expected parameter 'servers' to be non-null"); $.serviceAccountDistinguishedName = Objects.requireNonNull($.serviceAccountDistinguishedName, "expected parameter 'serviceAccountDistinguishedName' to be non-null"); diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java index 34f50c6ea..32a682f60 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java @@ -209,6 +209,12 @@ public Output groupSearchAttribute() { public Output groupSearchBase() { return this.groupSearchBase; } + @Export(name="groupSearchFilter", refs={String.class}, tree="[0]") + private Output groupSearchFilter; + + public Output> groupSearchFilter() { + return Codegen.optional(this.groupSearchFilter); + } /** * Labels of the resource (map) * @@ -307,6 +313,12 @@ public Output serviceAccountDistinguishedName() { public Output serviceAccountPassword() { return this.serviceAccountPassword; } + @Export(name="startTls", refs={Boolean.class}, tree="[0]") + private Output startTls; + + public Output startTls() { + return this.startTls; + } /** * Password for test access to OpenLdap service (string) * @@ -475,6 +487,12 @@ public Output userSearchAttribute() { public Output userSearchBase() { return this.userSearchBase; } + @Export(name="userSearchFilter", refs={String.class}, tree="[0]") + private Output userSearchFilter; + + public Output> userSearchFilter() { + return Codegen.optional(this.userSearchFilter); + } /** * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdapArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdapArgs.java index 82689238e..edd3642ac 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdapArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdapArgs.java @@ -215,6 +215,13 @@ public Optional> groupSearchBase() { return Optional.ofNullable(this.groupSearchBase); } + @Import(name="groupSearchFilter") + private @Nullable Output groupSearchFilter; + + public Optional> groupSearchFilter() { + return Optional.ofNullable(this.groupSearchFilter); + } + /** * Labels of the resource (map) * @@ -305,6 +312,13 @@ public Output serviceAccountPassword() { return this.serviceAccountPassword; } + @Import(name="startTls") + private @Nullable Output startTls; + + public Optional> startTls() { + return Optional.ofNullable(this.startTls); + } + /** * Password for test access to OpenLdap service (string) * @@ -470,6 +484,13 @@ public Output userSearchBase() { return this.userSearchBase; } + @Import(name="userSearchFilter") + private @Nullable Output userSearchFilter; + + public Optional> userSearchFilter() { + return Optional.ofNullable(this.userSearchFilter); + } + private AuthConfigOpenLdapArgs() {} private AuthConfigOpenLdapArgs(AuthConfigOpenLdapArgs $) { @@ -486,12 +507,14 @@ private AuthConfigOpenLdapArgs(AuthConfigOpenLdapArgs $) { this.groupObjectClass = $.groupObjectClass; this.groupSearchAttribute = $.groupSearchAttribute; this.groupSearchBase = $.groupSearchBase; + this.groupSearchFilter = $.groupSearchFilter; this.labels = $.labels; this.nestedGroupMembershipEnabled = $.nestedGroupMembershipEnabled; this.port = $.port; this.servers = $.servers; this.serviceAccountDistinguishedName = $.serviceAccountDistinguishedName; this.serviceAccountPassword = $.serviceAccountPassword; + this.startTls = $.startTls; this.testPassword = $.testPassword; this.testUsername = $.testUsername; this.tls = $.tls; @@ -503,6 +526,7 @@ private AuthConfigOpenLdapArgs(AuthConfigOpenLdapArgs $) { this.userObjectClass = $.userObjectClass; this.userSearchAttribute = $.userSearchAttribute; this.userSearchBase = $.userSearchBase; + this.userSearchFilter = $.userSearchFilter; } public static Builder builder() { @@ -806,6 +830,15 @@ public Builder groupSearchBase(String groupSearchBase) { return groupSearchBase(Output.of(groupSearchBase)); } + public Builder groupSearchFilter(@Nullable Output groupSearchFilter) { + $.groupSearchFilter = groupSearchFilter; + return this; + } + + public Builder groupSearchFilter(String groupSearchFilter) { + return groupSearchFilter(Output.of(groupSearchFilter)); + } + /** * @param labels Labels of the resource (map) * @@ -942,6 +975,15 @@ public Builder serviceAccountPassword(String serviceAccountPassword) { return serviceAccountPassword(Output.of(serviceAccountPassword)); } + public Builder startTls(@Nullable Output startTls) { + $.startTls = startTls; + return this; + } + + public Builder startTls(Boolean startTls) { + return startTls(Output.of(startTls)); + } + /** * @param testPassword Password for test access to OpenLdap service (string) * @@ -1173,6 +1215,15 @@ public Builder userSearchBase(String userSearchBase) { return userSearchBase(Output.of(userSearchBase)); } + public Builder userSearchFilter(@Nullable Output userSearchFilter) { + $.userSearchFilter = userSearchFilter; + return this; + } + + public Builder userSearchFilter(String userSearchFilter) { + return userSearchFilter(Output.of(userSearchFilter)); + } + public AuthConfigOpenLdapArgs build() { $.servers = Objects.requireNonNull($.servers, "expected parameter 'servers' to be non-null"); $.serviceAccountDistinguishedName = Objects.requireNonNull($.serviceAccountDistinguishedName, "expected parameter 'serviceAccountDistinguishedName' to be non-null"); diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigFreeIpaState.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigFreeIpaState.java index 79a4869b3..5065f5c75 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigFreeIpaState.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigFreeIpaState.java @@ -215,6 +215,13 @@ public Optional> groupSearchBase() { return Optional.ofNullable(this.groupSearchBase); } + @Import(name="groupSearchFilter") + private @Nullable Output groupSearchFilter; + + public Optional> groupSearchFilter() { + return Optional.ofNullable(this.groupSearchFilter); + } + /** * Labels of the resource (map) * @@ -320,6 +327,13 @@ public Optional> serviceAccountPassword() { return Optional.ofNullable(this.serviceAccountPassword); } + @Import(name="startTls") + private @Nullable Output startTls; + + public Optional> startTls() { + return Optional.ofNullable(this.startTls); + } + /** * Password for test access to FreeIpa service (string) * @@ -500,6 +514,13 @@ public Optional> userSearchBase() { return Optional.ofNullable(this.userSearchBase); } + @Import(name="userSearchFilter") + private @Nullable Output userSearchFilter; + + public Optional> userSearchFilter() { + return Optional.ofNullable(this.userSearchFilter); + } + private AuthConfigFreeIpaState() {} private AuthConfigFreeIpaState(AuthConfigFreeIpaState $) { @@ -516,6 +537,7 @@ private AuthConfigFreeIpaState(AuthConfigFreeIpaState $) { this.groupObjectClass = $.groupObjectClass; this.groupSearchAttribute = $.groupSearchAttribute; this.groupSearchBase = $.groupSearchBase; + this.groupSearchFilter = $.groupSearchFilter; this.labels = $.labels; this.name = $.name; this.nestedGroupMembershipEnabled = $.nestedGroupMembershipEnabled; @@ -523,6 +545,7 @@ private AuthConfigFreeIpaState(AuthConfigFreeIpaState $) { this.servers = $.servers; this.serviceAccountDistinguishedName = $.serviceAccountDistinguishedName; this.serviceAccountPassword = $.serviceAccountPassword; + this.startTls = $.startTls; this.testPassword = $.testPassword; this.testUsername = $.testUsername; this.tls = $.tls; @@ -535,6 +558,7 @@ private AuthConfigFreeIpaState(AuthConfigFreeIpaState $) { this.userObjectClass = $.userObjectClass; this.userSearchAttribute = $.userSearchAttribute; this.userSearchBase = $.userSearchBase; + this.userSearchFilter = $.userSearchFilter; } public static Builder builder() { @@ -838,6 +862,15 @@ public Builder groupSearchBase(String groupSearchBase) { return groupSearchBase(Output.of(groupSearchBase)); } + public Builder groupSearchFilter(@Nullable Output groupSearchFilter) { + $.groupSearchFilter = groupSearchFilter; + return this; + } + + public Builder groupSearchFilter(String groupSearchFilter) { + return groupSearchFilter(Output.of(groupSearchFilter)); + } + /** * @param labels Labels of the resource (map) * @@ -995,6 +1028,15 @@ public Builder serviceAccountPassword(String serviceAccountPassword) { return serviceAccountPassword(Output.of(serviceAccountPassword)); } + public Builder startTls(@Nullable Output startTls) { + $.startTls = startTls; + return this; + } + + public Builder startTls(Boolean startTls) { + return startTls(Output.of(startTls)); + } + /** * @param testPassword Password for test access to FreeIpa service (string) * @@ -1247,6 +1289,15 @@ public Builder userSearchBase(String userSearchBase) { return userSearchBase(Output.of(userSearchBase)); } + public Builder userSearchFilter(@Nullable Output userSearchFilter) { + $.userSearchFilter = userSearchFilter; + return this; + } + + public Builder userSearchFilter(String userSearchFilter) { + return userSearchFilter(Output.of(userSearchFilter)); + } + public AuthConfigFreeIpaState build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigOpenLdapState.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigOpenLdapState.java index 8689f390b..e3b1747a9 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigOpenLdapState.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/AuthConfigOpenLdapState.java @@ -215,6 +215,13 @@ public Optional> groupSearchBase() { return Optional.ofNullable(this.groupSearchBase); } + @Import(name="groupSearchFilter") + private @Nullable Output groupSearchFilter; + + public Optional> groupSearchFilter() { + return Optional.ofNullable(this.groupSearchFilter); + } + /** * Labels of the resource (map) * @@ -320,6 +327,13 @@ public Optional> serviceAccountPassword() { return Optional.ofNullable(this.serviceAccountPassword); } + @Import(name="startTls") + private @Nullable Output startTls; + + public Optional> startTls() { + return Optional.ofNullable(this.startTls); + } + /** * Password for test access to OpenLdap service (string) * @@ -500,6 +514,13 @@ public Optional> userSearchBase() { return Optional.ofNullable(this.userSearchBase); } + @Import(name="userSearchFilter") + private @Nullable Output userSearchFilter; + + public Optional> userSearchFilter() { + return Optional.ofNullable(this.userSearchFilter); + } + private AuthConfigOpenLdapState() {} private AuthConfigOpenLdapState(AuthConfigOpenLdapState $) { @@ -516,6 +537,7 @@ private AuthConfigOpenLdapState(AuthConfigOpenLdapState $) { this.groupObjectClass = $.groupObjectClass; this.groupSearchAttribute = $.groupSearchAttribute; this.groupSearchBase = $.groupSearchBase; + this.groupSearchFilter = $.groupSearchFilter; this.labels = $.labels; this.name = $.name; this.nestedGroupMembershipEnabled = $.nestedGroupMembershipEnabled; @@ -523,6 +545,7 @@ private AuthConfigOpenLdapState(AuthConfigOpenLdapState $) { this.servers = $.servers; this.serviceAccountDistinguishedName = $.serviceAccountDistinguishedName; this.serviceAccountPassword = $.serviceAccountPassword; + this.startTls = $.startTls; this.testPassword = $.testPassword; this.testUsername = $.testUsername; this.tls = $.tls; @@ -535,6 +558,7 @@ private AuthConfigOpenLdapState(AuthConfigOpenLdapState $) { this.userObjectClass = $.userObjectClass; this.userSearchAttribute = $.userSearchAttribute; this.userSearchBase = $.userSearchBase; + this.userSearchFilter = $.userSearchFilter; } public static Builder builder() { @@ -838,6 +862,15 @@ public Builder groupSearchBase(String groupSearchBase) { return groupSearchBase(Output.of(groupSearchBase)); } + public Builder groupSearchFilter(@Nullable Output groupSearchFilter) { + $.groupSearchFilter = groupSearchFilter; + return this; + } + + public Builder groupSearchFilter(String groupSearchFilter) { + return groupSearchFilter(Output.of(groupSearchFilter)); + } + /** * @param labels Labels of the resource (map) * @@ -995,6 +1028,15 @@ public Builder serviceAccountPassword(String serviceAccountPassword) { return serviceAccountPassword(Output.of(serviceAccountPassword)); } + public Builder startTls(@Nullable Output startTls) { + $.startTls = startTls; + return this; + } + + public Builder startTls(Boolean startTls) { + return startTls(Output.of(startTls)); + } + /** * @param testPassword Password for test access to OpenLdap service (string) * @@ -1247,6 +1289,15 @@ public Builder userSearchBase(String userSearchBase) { return userSearchBase(Output.of(userSearchBase)); } + public Builder userSearchFilter(@Nullable Output userSearchFilter) { + $.userSearchFilter = userSearchFilter; + return this; + } + + public Builder userSearchFilter(String userSearchFilter) { + return userSearchFilter(Output.of(userSearchFilter)); + } + public AuthConfigOpenLdapState build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.java index 9a5064af1..89f600aee 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.java @@ -6,9 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.rancher2.inputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs; -import java.lang.Object; import java.lang.String; -import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -19,17 +17,17 @@ public final class ClusterV2RkeConfigMachineSelectorConfigArgs extends com.pulum public static final ClusterV2RkeConfigMachineSelectorConfigArgs Empty = new ClusterV2RkeConfigMachineSelectorConfigArgs(); /** - * Machine selector config (map) + * Machine selector config. Must be in YAML format (string) * */ @Import(name="config") - private @Nullable Output> config; + private @Nullable Output config; /** - * @return Machine selector config (map) + * @return Machine selector config. Must be in YAML format (string) * */ - public Optional>> config() { + public Optional> config() { return Optional.ofNullable(this.config); } @@ -74,23 +72,23 @@ public Builder(ClusterV2RkeConfigMachineSelectorConfigArgs defaults) { } /** - * @param config Machine selector config (map) + * @param config Machine selector config. Must be in YAML format (string) * * @return builder * */ - public Builder config(@Nullable Output> config) { + public Builder config(@Nullable Output config) { $.config = config; return this; } /** - * @param config Machine selector config (map) + * @param config Machine selector config. Must be in YAML format (string) * * @return builder * */ - public Builder config(Map config) { + public Builder config(String config) { return config(Output.of(config)); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2Amazonec2ConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2Amazonec2ConfigArgs.java index 83e6a8b87..2060f26b4 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2Amazonec2ConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2Amazonec2ConfigArgs.java @@ -174,21 +174,6 @@ public Optional> instanceType() { return Optional.ofNullable(this.instanceType); } - /** - * OpenStack keypair to use to SSH to the instance (string) - * - */ - @Import(name="keypairName") - private @Nullable Output keypairName; - - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - public Optional> keypairName() { - return Optional.ofNullable(this.keypairName); - } - /** * Custom KMS key ID using the AWS Managed CMK (string) * @@ -540,7 +525,6 @@ private MachineConfigV2Amazonec2ConfigArgs(MachineConfigV2Amazonec2ConfigArgs $) this.iamInstanceProfile = $.iamInstanceProfile; this.insecureTransport = $.insecureTransport; this.instanceType = $.instanceType; - this.keypairName = $.keypairName; this.kmsKey = $.kmsKey; this.monitoring = $.monitoring; this.openPorts = $.openPorts; @@ -803,27 +787,6 @@ public Builder instanceType(String instanceType) { return instanceType(Output.of(instanceType)); } - /** - * @param keypairName OpenStack keypair to use to SSH to the instance (string) - * - * @return builder - * - */ - public Builder keypairName(@Nullable Output keypairName) { - $.keypairName = keypairName; - return this; - } - - /** - * @param keypairName OpenStack keypair to use to SSH to the instance (string) - * - * @return builder - * - */ - public Builder keypairName(String keypairName) { - return keypairName(Output.of(keypairName)); - } - /** * @param kmsKey Custom KMS key ID using the AWS Managed CMK (string) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2OpenstackConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2OpenstackConfigArgs.java index 096c0bdaa..be88efc85 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2OpenstackConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2OpenstackConfigArgs.java @@ -575,6 +575,7 @@ public Optional> username() { * OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * */ @Import(name="volumeDevicePath") @@ -584,6 +585,7 @@ public Optional> username() { * @return OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * */ public Optional> volumeDevicePath() { @@ -1496,6 +1498,7 @@ public Builder username(String username) { * @param volumeDevicePath OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * * @return builder * @@ -1509,6 +1512,7 @@ public Builder volumeDevicePath(@Nullable Output volumeDevicePath) { * @param volumeDevicePath OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateAmazonec2ConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateAmazonec2ConfigArgs.java index 6c22d5ce3..3f2807a14 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateAmazonec2ConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateAmazonec2ConfigArgs.java @@ -182,21 +182,6 @@ public Optional> instanceType() { return Optional.ofNullable(this.instanceType); } - /** - * OpenStack keypair to use to SSH to the instance (string) - * - */ - @Import(name="keypairName") - private @Nullable Output keypairName; - - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - public Optional> keypairName() { - return Optional.ofNullable(this.keypairName); - } - /** * Custom KMS key ID using the AWS Managed CMK (string) * @@ -552,7 +537,6 @@ private NodeTemplateAmazonec2ConfigArgs(NodeTemplateAmazonec2ConfigArgs $) { this.iamInstanceProfile = $.iamInstanceProfile; this.insecureTransport = $.insecureTransport; this.instanceType = $.instanceType; - this.keypairName = $.keypairName; this.kmsKey = $.kmsKey; this.monitoring = $.monitoring; this.openPorts = $.openPorts; @@ -827,27 +811,6 @@ public Builder instanceType(String instanceType) { return instanceType(Output.of(instanceType)); } - /** - * @param keypairName OpenStack keypair to use to SSH to the instance (string) - * - * @return builder - * - */ - public Builder keypairName(@Nullable Output keypairName) { - $.keypairName = keypairName; - return this; - } - - /** - * @param keypairName OpenStack keypair to use to SSH to the instance (string) - * - * @return builder - * - */ - public Builder keypairName(String keypairName) { - return keypairName(Output.of(keypairName)); - } - /** * @param kmsKey Custom KMS key ID using the AWS Managed CMK (string) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOpenstackConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOpenstackConfigArgs.java index 109f9bee2..94501e67c 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOpenstackConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOpenstackConfigArgs.java @@ -518,6 +518,8 @@ public Optional> username() { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * */ @Import(name="volumeDevicePath") private @Nullable Output volumeDevicePath; @@ -529,6 +531,8 @@ public Optional> username() { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * */ public Optional> volumeDevicePath() { return Optional.ofNullable(this.volumeDevicePath); @@ -1355,6 +1359,8 @@ public Builder username(String username) { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * * @return builder * */ @@ -1370,6 +1376,8 @@ public Builder volumeDevicePath(@Nullable Output volumeDevicePath) { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachineSelectorConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachineSelectorConfig.java index 0f7f301e0..39991d618 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachineSelectorConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachineSelectorConfig.java @@ -5,9 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.rancher2.outputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector; -import java.lang.Object; import java.lang.String; -import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -15,10 +13,10 @@ @CustomType public final class ClusterV2RkeConfigMachineSelectorConfig { /** - * @return Machine selector config (map) + * @return Machine selector config. Must be in YAML format (string) * */ - private @Nullable Map config; + private @Nullable String config; /** * @return Machine selector label (list maxitems:1) * @@ -27,11 +25,11 @@ public final class ClusterV2RkeConfigMachineSelectorConfig { private ClusterV2RkeConfigMachineSelectorConfig() {} /** - * @return Machine selector config (map) + * @return Machine selector config. Must be in YAML format (string) * */ - public Map config() { - return this.config == null ? Map.of() : this.config; + public Optional config() { + return Optional.ofNullable(this.config); } /** * @return Machine selector label (list maxitems:1) @@ -50,7 +48,7 @@ public static Builder builder(ClusterV2RkeConfigMachineSelectorConfig defaults) } @CustomType.Builder public static final class Builder { - private @Nullable Map config; + private @Nullable String config; private @Nullable ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector machineLabelSelector; public Builder() {} public Builder(ClusterV2RkeConfigMachineSelectorConfig defaults) { @@ -60,7 +58,7 @@ public Builder(ClusterV2RkeConfigMachineSelectorConfig defaults) { } @CustomType.Setter - public Builder config(@Nullable Map config) { + public Builder config(@Nullable String config) { this.config = config; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachineSelectorConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachineSelectorConfig.java index 8ebe9f765..30008d400 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachineSelectorConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachineSelectorConfig.java @@ -5,21 +5,19 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.rancher2.outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector; -import java.lang.Object; import java.lang.String; -import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @CustomType public final class GetClusterV2RkeConfigMachineSelectorConfig { - private @Nullable Map config; + private @Nullable String config; private @Nullable GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector machineLabelSelector; private GetClusterV2RkeConfigMachineSelectorConfig() {} - public Map config() { - return this.config == null ? Map.of() : this.config; + public Optional config() { + return Optional.ofNullable(this.config); } public Optional machineLabelSelector() { return Optional.ofNullable(this.machineLabelSelector); @@ -34,7 +32,7 @@ public static Builder builder(GetClusterV2RkeConfigMachineSelectorConfig default } @CustomType.Builder public static final class Builder { - private @Nullable Map config; + private @Nullable String config; private @Nullable GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector machineLabelSelector; public Builder() {} public Builder(GetClusterV2RkeConfigMachineSelectorConfig defaults) { @@ -44,7 +42,7 @@ public Builder(GetClusterV2RkeConfigMachineSelectorConfig defaults) { } @CustomType.Setter - public Builder config(@Nullable Map config) { + public Builder config(@Nullable String config) { this.config = config; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2Amazonec2Config.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2Amazonec2Config.java index 4b10e625f..24682fb11 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2Amazonec2Config.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2Amazonec2Config.java @@ -64,11 +64,6 @@ public final class MachineConfigV2Amazonec2Config { * */ private @Nullable String instanceType; - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - private @Nullable String keypairName; /** * @return Custom KMS key ID using the AWS Managed CMK (string) * @@ -255,13 +250,6 @@ public Optional insecureTransport() { public Optional instanceType() { return Optional.ofNullable(this.instanceType); } - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - public Optional keypairName() { - return Optional.ofNullable(this.keypairName); - } /** * @return Custom KMS key ID using the AWS Managed CMK (string) * @@ -440,7 +428,6 @@ public static final class Builder { private @Nullable String iamInstanceProfile; private @Nullable Boolean insecureTransport; private @Nullable String instanceType; - private @Nullable String keypairName; private @Nullable String kmsKey; private @Nullable Boolean monitoring; private @Nullable List openPorts; @@ -478,7 +465,6 @@ public Builder(MachineConfigV2Amazonec2Config defaults) { this.iamInstanceProfile = defaults.iamInstanceProfile; this.insecureTransport = defaults.insecureTransport; this.instanceType = defaults.instanceType; - this.keypairName = defaults.keypairName; this.kmsKey = defaults.kmsKey; this.monitoring = defaults.monitoring; this.openPorts = defaults.openPorts; @@ -560,11 +546,6 @@ public Builder instanceType(@Nullable String instanceType) { return this; } @CustomType.Setter - public Builder keypairName(@Nullable String keypairName) { - this.keypairName = keypairName; - return this; - } - @CustomType.Setter public Builder kmsKey(@Nullable String kmsKey) { this.kmsKey = kmsKey; return this; @@ -698,7 +679,6 @@ public MachineConfigV2Amazonec2Config build() { o.iamInstanceProfile = iamInstanceProfile; o.insecureTransport = insecureTransport; o.instanceType = instanceType; - o.keypairName = keypairName; o.kmsKey = kmsKey; o.monitoring = monitoring; o.openPorts = openPorts; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2OpenstackConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2OpenstackConfig.java index 34cf52c03..8f66b9e9f 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2OpenstackConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2OpenstackConfig.java @@ -201,6 +201,7 @@ public final class MachineConfigV2OpenstackConfig { * @return OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * */ private @Nullable String volumeDevicePath; @@ -489,6 +490,7 @@ public Optional username() { * @return OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + * **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself * */ public Optional volumeDevicePath() { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateAmazonec2Config.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateAmazonec2Config.java index 85b7ed56d..dadf80ad3 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateAmazonec2Config.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateAmazonec2Config.java @@ -68,11 +68,6 @@ public final class NodeTemplateAmazonec2Config { * */ private @Nullable String instanceType; - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - private @Nullable String keypairName; /** * @return Custom KMS key ID using the AWS Managed CMK (string) * @@ -265,13 +260,6 @@ public Optional insecureTransport() { public Optional instanceType() { return Optional.ofNullable(this.instanceType); } - /** - * @return OpenStack keypair to use to SSH to the instance (string) - * - */ - public Optional keypairName() { - return Optional.ofNullable(this.keypairName); - } /** * @return Custom KMS key ID using the AWS Managed CMK (string) * @@ -452,7 +440,6 @@ public static final class Builder { private @Nullable String iamInstanceProfile; private @Nullable Boolean insecureTransport; private @Nullable String instanceType; - private @Nullable String keypairName; private @Nullable String kmsKey; private @Nullable Boolean monitoring; private @Nullable List openPorts; @@ -490,7 +477,6 @@ public Builder(NodeTemplateAmazonec2Config defaults) { this.iamInstanceProfile = defaults.iamInstanceProfile; this.insecureTransport = defaults.insecureTransport; this.instanceType = defaults.instanceType; - this.keypairName = defaults.keypairName; this.kmsKey = defaults.kmsKey; this.monitoring = defaults.monitoring; this.openPorts = defaults.openPorts; @@ -572,11 +558,6 @@ public Builder instanceType(@Nullable String instanceType) { return this; } @CustomType.Setter - public Builder keypairName(@Nullable String keypairName) { - this.keypairName = keypairName; - return this; - } - @CustomType.Setter public Builder kmsKey(@Nullable String kmsKey) { this.kmsKey = kmsKey; return this; @@ -710,7 +691,6 @@ public NodeTemplateAmazonec2Config build() { o.iamInstanceProfile = iamInstanceProfile; o.insecureTransport = insecureTransport; o.instanceType = instanceType; - o.keypairName = keypairName; o.kmsKey = kmsKey; o.monitoring = monitoring; o.openPorts = openPorts; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOpenstackConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOpenstackConfig.java index f0176a4ec..8addc56f9 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOpenstackConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOpenstackConfig.java @@ -184,6 +184,8 @@ public final class NodeTemplateOpenstackConfig { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * */ private @Nullable String volumeDevicePath; /** @@ -446,6 +448,8 @@ public Optional username() { * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. * + * > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself + * */ public Optional volumeDevicePath() { return Optional.ofNullable(this.volumeDevicePath); diff --git a/sdk/nodejs/authConfigFreeIpa.ts b/sdk/nodejs/authConfigFreeIpa.ts index afa395834..2891cda30 100644 --- a/sdk/nodejs/authConfigFreeIpa.ts +++ b/sdk/nodejs/authConfigFreeIpa.ts @@ -89,6 +89,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { * Group search base (string) */ public readonly groupSearchBase!: pulumi.Output; + public readonly groupSearchFilter!: pulumi.Output; /** * Labels of the resource (map) */ @@ -117,6 +118,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { * Service account password for access FreeIpa service (string) */ public readonly serviceAccountPassword!: pulumi.Output; + public readonly startTls!: pulumi.Output; /** * Password for test access to FreeIpa service (string) */ @@ -165,6 +167,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { * User search base DN (string) */ public readonly userSearchBase!: pulumi.Output; + public readonly userSearchFilter!: pulumi.Output; /** * Create a AuthConfigFreeIpa resource with the given unique name, arguments, and options. @@ -192,6 +195,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["groupObjectClass"] = state ? state.groupObjectClass : undefined; resourceInputs["groupSearchAttribute"] = state ? state.groupSearchAttribute : undefined; resourceInputs["groupSearchBase"] = state ? state.groupSearchBase : undefined; + resourceInputs["groupSearchFilter"] = state ? state.groupSearchFilter : undefined; resourceInputs["labels"] = state ? state.labels : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["nestedGroupMembershipEnabled"] = state ? state.nestedGroupMembershipEnabled : undefined; @@ -199,6 +203,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["servers"] = state ? state.servers : undefined; resourceInputs["serviceAccountDistinguishedName"] = state ? state.serviceAccountDistinguishedName : undefined; resourceInputs["serviceAccountPassword"] = state ? state.serviceAccountPassword : undefined; + resourceInputs["startTls"] = state ? state.startTls : undefined; resourceInputs["testPassword"] = state ? state.testPassword : undefined; resourceInputs["testUsername"] = state ? state.testUsername : undefined; resourceInputs["tls"] = state ? state.tls : undefined; @@ -211,6 +216,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["userObjectClass"] = state ? state.userObjectClass : undefined; resourceInputs["userSearchAttribute"] = state ? state.userSearchAttribute : undefined; resourceInputs["userSearchBase"] = state ? state.userSearchBase : undefined; + resourceInputs["userSearchFilter"] = state ? state.userSearchFilter : undefined; } else { const args = argsOrState as AuthConfigFreeIpaArgs | undefined; if ((!args || args.servers === undefined) && !opts.urn) { @@ -244,12 +250,14 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["groupObjectClass"] = args ? args.groupObjectClass : undefined; resourceInputs["groupSearchAttribute"] = args ? args.groupSearchAttribute : undefined; resourceInputs["groupSearchBase"] = args ? args.groupSearchBase : undefined; + resourceInputs["groupSearchFilter"] = args ? args.groupSearchFilter : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; resourceInputs["serviceAccountDistinguishedName"] = args?.serviceAccountDistinguishedName ? pulumi.secret(args.serviceAccountDistinguishedName) : undefined; resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["startTls"] = args ? args.startTls : undefined; resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; @@ -261,6 +269,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["userObjectClass"] = args ? args.userObjectClass : undefined; resourceInputs["userSearchAttribute"] = args ? args.userSearchAttribute : undefined; resourceInputs["userSearchBase"] = args ? args.userSearchBase : undefined; + resourceInputs["userSearchFilter"] = args ? args.userSearchFilter : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } @@ -327,6 +336,7 @@ export interface AuthConfigFreeIpaState { * Group search base (string) */ groupSearchBase?: pulumi.Input; + groupSearchFilter?: pulumi.Input; /** * Labels of the resource (map) */ @@ -355,6 +365,7 @@ export interface AuthConfigFreeIpaState { * Service account password for access FreeIpa service (string) */ serviceAccountPassword?: pulumi.Input; + startTls?: pulumi.Input; /** * Password for test access to FreeIpa service (string) */ @@ -403,6 +414,7 @@ export interface AuthConfigFreeIpaState { * User search base DN (string) */ userSearchBase?: pulumi.Input; + userSearchFilter?: pulumi.Input; } /** @@ -461,6 +473,7 @@ export interface AuthConfigFreeIpaArgs { * Group search base (string) */ groupSearchBase?: pulumi.Input; + groupSearchFilter?: pulumi.Input; /** * Labels of the resource (map) */ @@ -485,6 +498,7 @@ export interface AuthConfigFreeIpaArgs { * Service account password for access FreeIpa service (string) */ serviceAccountPassword: pulumi.Input; + startTls?: pulumi.Input; /** * Password for test access to FreeIpa service (string) */ @@ -529,4 +543,5 @@ export interface AuthConfigFreeIpaArgs { * User search base DN (string) */ userSearchBase: pulumi.Input; + userSearchFilter?: pulumi.Input; } diff --git a/sdk/nodejs/authConfigOpenLdap.ts b/sdk/nodejs/authConfigOpenLdap.ts index f6ed3102f..6d74fd223 100644 --- a/sdk/nodejs/authConfigOpenLdap.ts +++ b/sdk/nodejs/authConfigOpenLdap.ts @@ -89,6 +89,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { * Group search base (string) */ public readonly groupSearchBase!: pulumi.Output; + public readonly groupSearchFilter!: pulumi.Output; /** * Labels of the resource (map) */ @@ -117,6 +118,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { * Service account password for access OpenLdap service (string) */ public readonly serviceAccountPassword!: pulumi.Output; + public readonly startTls!: pulumi.Output; /** * Password for test access to OpenLdap service (string) */ @@ -165,6 +167,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { * User search base DN (string) */ public readonly userSearchBase!: pulumi.Output; + public readonly userSearchFilter!: pulumi.Output; /** * Create a AuthConfigOpenLdap resource with the given unique name, arguments, and options. @@ -192,6 +195,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["groupObjectClass"] = state ? state.groupObjectClass : undefined; resourceInputs["groupSearchAttribute"] = state ? state.groupSearchAttribute : undefined; resourceInputs["groupSearchBase"] = state ? state.groupSearchBase : undefined; + resourceInputs["groupSearchFilter"] = state ? state.groupSearchFilter : undefined; resourceInputs["labels"] = state ? state.labels : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["nestedGroupMembershipEnabled"] = state ? state.nestedGroupMembershipEnabled : undefined; @@ -199,6 +203,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["servers"] = state ? state.servers : undefined; resourceInputs["serviceAccountDistinguishedName"] = state ? state.serviceAccountDistinguishedName : undefined; resourceInputs["serviceAccountPassword"] = state ? state.serviceAccountPassword : undefined; + resourceInputs["startTls"] = state ? state.startTls : undefined; resourceInputs["testPassword"] = state ? state.testPassword : undefined; resourceInputs["testUsername"] = state ? state.testUsername : undefined; resourceInputs["tls"] = state ? state.tls : undefined; @@ -211,6 +216,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["userObjectClass"] = state ? state.userObjectClass : undefined; resourceInputs["userSearchAttribute"] = state ? state.userSearchAttribute : undefined; resourceInputs["userSearchBase"] = state ? state.userSearchBase : undefined; + resourceInputs["userSearchFilter"] = state ? state.userSearchFilter : undefined; } else { const args = argsOrState as AuthConfigOpenLdapArgs | undefined; if ((!args || args.servers === undefined) && !opts.urn) { @@ -244,12 +250,14 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["groupObjectClass"] = args ? args.groupObjectClass : undefined; resourceInputs["groupSearchAttribute"] = args ? args.groupSearchAttribute : undefined; resourceInputs["groupSearchBase"] = args ? args.groupSearchBase : undefined; + resourceInputs["groupSearchFilter"] = args ? args.groupSearchFilter : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; resourceInputs["serviceAccountDistinguishedName"] = args?.serviceAccountDistinguishedName ? pulumi.secret(args.serviceAccountDistinguishedName) : undefined; resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["startTls"] = args ? args.startTls : undefined; resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; @@ -261,6 +269,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["userObjectClass"] = args ? args.userObjectClass : undefined; resourceInputs["userSearchAttribute"] = args ? args.userSearchAttribute : undefined; resourceInputs["userSearchBase"] = args ? args.userSearchBase : undefined; + resourceInputs["userSearchFilter"] = args ? args.userSearchFilter : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } @@ -327,6 +336,7 @@ export interface AuthConfigOpenLdapState { * Group search base (string) */ groupSearchBase?: pulumi.Input; + groupSearchFilter?: pulumi.Input; /** * Labels of the resource (map) */ @@ -355,6 +365,7 @@ export interface AuthConfigOpenLdapState { * Service account password for access OpenLdap service (string) */ serviceAccountPassword?: pulumi.Input; + startTls?: pulumi.Input; /** * Password for test access to OpenLdap service (string) */ @@ -403,6 +414,7 @@ export interface AuthConfigOpenLdapState { * User search base DN (string) */ userSearchBase?: pulumi.Input; + userSearchFilter?: pulumi.Input; } /** @@ -461,6 +473,7 @@ export interface AuthConfigOpenLdapArgs { * Group search base (string) */ groupSearchBase?: pulumi.Input; + groupSearchFilter?: pulumi.Input; /** * Labels of the resource (map) */ @@ -485,6 +498,7 @@ export interface AuthConfigOpenLdapArgs { * Service account password for access OpenLdap service (string) */ serviceAccountPassword: pulumi.Input; + startTls?: pulumi.Input; /** * Password for test access to OpenLdap service (string) */ @@ -529,4 +543,5 @@ export interface AuthConfigOpenLdapArgs { * User search base DN (string) */ userSearchBase: pulumi.Input; + userSearchFilter?: pulumi.Input; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index a4b67ef9e..1856d8f46 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -4898,9 +4898,9 @@ export interface ClusterV2RkeConfigMachinePoolTaint { export interface ClusterV2RkeConfigMachineSelectorConfig { /** - * Machine selector config (map) + * Machine selector config. Must be in YAML format (string) */ - config?: pulumi.Input<{[key: string]: any}>; + config?: pulumi.Input; /** * Machine selector label (list maxitems:1) */ @@ -5438,10 +5438,6 @@ export interface MachineConfigV2Amazonec2Config { * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) */ instanceType?: pulumi.Input; - /** - * OpenStack keypair to use to SSH to the instance (string) - */ - keypairName?: pulumi.Input; /** * Custom KMS key ID using the AWS Managed CMK (string) */ @@ -6014,6 +6010,7 @@ export interface MachineConfigV2OpenstackConfig { * OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * > **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + * > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself */ volumeDevicePath?: pulumi.Input; /** @@ -6372,10 +6369,6 @@ export interface NodeTemplateAmazonec2Config { * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: pulumi.Input; - /** - * OpenStack keypair to use to SSH to the instance (string) - */ - keypairName?: pulumi.Input; /** * Custom KMS key ID using the AWS Managed CMK (string) */ @@ -7075,6 +7068,8 @@ export interface NodeTemplateOpenstackConfig { * > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + * + * > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself */ volumeDevicePath?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 81143b820..beced130a 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -4898,9 +4898,9 @@ export interface ClusterV2RkeConfigMachinePoolTaint { export interface ClusterV2RkeConfigMachineSelectorConfig { /** - * Machine selector config (map) + * Machine selector config. Must be in YAML format (string) */ - config?: {[key: string]: any}; + config?: string; /** * Machine selector label (list maxitems:1) */ @@ -7066,7 +7066,7 @@ export interface GetClusterV2RkeConfigMachinePoolTaint { } export interface GetClusterV2RkeConfigMachineSelectorConfig { - config?: {[key: string]: any}; + config?: string; machineLabelSelector?: outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector; } @@ -7588,10 +7588,6 @@ export interface MachineConfigV2Amazonec2Config { * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) */ instanceType?: string; - /** - * OpenStack keypair to use to SSH to the instance (string) - */ - keypairName?: string; /** * Custom KMS key ID using the AWS Managed CMK (string) */ @@ -8164,6 +8160,7 @@ export interface MachineConfigV2OpenstackConfig { * OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) * > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. * > **Note:**: `Required++` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + * > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself */ volumeDevicePath?: string; /** @@ -8522,10 +8519,6 @@ export interface NodeTemplateAmazonec2Config { * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: string; - /** - * OpenStack keypair to use to SSH to the instance (string) - */ - keypairName?: string; /** * Custom KMS key ID using the AWS Managed CMK (string) */ @@ -9225,6 +9218,8 @@ export interface NodeTemplateOpenstackConfig { * > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. * * > **Note:**: `Required**` denotes that either the _name or _id is required unless `applicationCredentialId` is defined. + * + * > **Note for OpenStack users:**: `keypairName` is required to be in the schema even if there are no references in rancher itself */ volumeDevicePath?: string; /** diff --git a/sdk/python/pulumi_rancher2/_inputs.py b/sdk/python/pulumi_rancher2/_inputs.py index b82280132..13ef71f5b 100644 --- a/sdk/python/pulumi_rancher2/_inputs.py +++ b/sdk/python/pulumi_rancher2/_inputs.py @@ -334,7 +334,15 @@ def _configure( access_key: pulumi.Input[str], secret_key: pulumi.Input[str], default_region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'defaultRegion' in kwargs: + default_region = kwargs['defaultRegion'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if default_region is not None: @@ -408,7 +416,17 @@ def _configure( subscription_id: pulumi.Input[str], environment: Optional[pulumi.Input[str]] = None, tenant_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret", client_secret) _setter("subscription_id", subscription_id) @@ -493,7 +511,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], access_token: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + _setter("access_token", access_token) @property @@ -524,7 +546,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], auth_encoded_json: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authEncodedJson' in kwargs: + auth_encoded_json = kwargs['authEncodedJson'] + _setter("auth_encoded_json", auth_encoded_json) @property @@ -563,7 +589,15 @@ def _configure( cluster_type: pulumi.Input[str], kubeconfig_content: pulumi.Input[str], cluster_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterType' in kwargs: + cluster_type = kwargs['clusterType'] + if 'kubeconfigContent' in kwargs: + kubeconfig_content = kwargs['kubeconfigContent'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("cluster_type", cluster_type) _setter("kubeconfig_content", kubeconfig_content) if cluster_id is not None: @@ -621,7 +655,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], token: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("token", token) @property @@ -652,7 +688,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -711,7 +749,25 @@ def _configure( default_folder: Optional[pulumi.Input[str]] = None, default_region: Optional[pulumi.Input[str]] = None, default_skip_ssl_verify: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'defaultBucket' in kwargs: + default_bucket = kwargs['defaultBucket'] + if 'defaultEndpoint' in kwargs: + default_endpoint = kwargs['defaultEndpoint'] + if 'defaultEndpointCa' in kwargs: + default_endpoint_ca = kwargs['defaultEndpointCa'] + if 'defaultFolder' in kwargs: + default_folder = kwargs['defaultFolder'] + if 'defaultRegion' in kwargs: + default_region = kwargs['defaultRegion'] + if 'defaultSkipSslVerify' in kwargs: + default_skip_ssl_verify = kwargs['defaultSkipSslVerify'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if default_bucket is not None: @@ -851,7 +907,11 @@ def _configure( username: pulumi.Input[str], vcenter: pulumi.Input[str], vcenter_port: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + _setter("password", password) _setter("username", username) _setter("vcenter", vcenter) @@ -926,7 +986,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: pulumi.Input[str], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) _setter("value", value) @@ -1122,7 +1184,77 @@ def _configure( service_cidr: Optional[pulumi.Input[str]] = None, tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentDnsPrefix' in kwargs: + agent_dns_prefix = kwargs['agentDnsPrefix'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'masterDnsPrefix' in kwargs: + master_dns_prefix = kwargs['masterDnsPrefix'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshPublicKeyContents' in kwargs: + ssh_public_key_contents = kwargs['sshPublicKeyContents'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + if 'aadServerAppSecret' in kwargs: + aad_server_app_secret = kwargs['aadServerAppSecret'] + if 'aadTenantId' in kwargs: + aad_tenant_id = kwargs['aadTenantId'] + if 'addClientAppId' in kwargs: + add_client_app_id = kwargs['addClientAppId'] + if 'addServerAppId' in kwargs: + add_server_app_id = kwargs['addServerAppId'] + if 'adminUsername' in kwargs: + admin_username = kwargs['adminUsername'] + if 'agentOsDiskSize' in kwargs: + agent_os_disk_size = kwargs['agentOsDiskSize'] + if 'agentPoolName' in kwargs: + agent_pool_name = kwargs['agentPoolName'] + if 'agentStorageProfile' in kwargs: + agent_storage_profile = kwargs['agentStorageProfile'] + if 'agentVmSize' in kwargs: + agent_vm_size = kwargs['agentVmSize'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsServiceIp' in kwargs: + dns_service_ip = kwargs['dnsServiceIp'] + if 'dockerBridgeCidr' in kwargs: + docker_bridge_cidr = kwargs['dockerBridgeCidr'] + if 'enableHttpApplicationRouting' in kwargs: + enable_http_application_routing = kwargs['enableHttpApplicationRouting'] + if 'enableMonitoring' in kwargs: + enable_monitoring = kwargs['enableMonitoring'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'logAnalyticsWorkspace' in kwargs: + log_analytics_workspace = kwargs['logAnalyticsWorkspace'] + if 'logAnalyticsWorkspaceResourceGroup' in kwargs: + log_analytics_workspace_resource_group = kwargs['logAnalyticsWorkspaceResourceGroup'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + _setter("agent_dns_prefix", agent_dns_prefix) _setter("client_id", client_id) _setter("client_secret", client_secret) @@ -1792,7 +1924,57 @@ def _configure( tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, virtual_network: Optional[pulumi.Input[str]] = None, virtual_network_resource_group: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'resourceLocation' in kwargs: + resource_location = kwargs['resourceLocation'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'authorizedIpRanges' in kwargs: + authorized_ip_ranges = kwargs['authorizedIpRanges'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsPrefix' in kwargs: + dns_prefix = kwargs['dnsPrefix'] + if 'httpApplicationRouting' in kwargs: + http_application_routing = kwargs['httpApplicationRouting'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'linuxAdminUsername' in kwargs: + linux_admin_username = kwargs['linuxAdminUsername'] + if 'linuxSshPublicKey' in kwargs: + linux_ssh_public_key = kwargs['linuxSshPublicKey'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'logAnalyticsWorkspaceGroup' in kwargs: + log_analytics_workspace_group = kwargs['logAnalyticsWorkspaceGroup'] + if 'logAnalyticsWorkspaceName' in kwargs: + log_analytics_workspace_name = kwargs['logAnalyticsWorkspaceName'] + if 'networkDnsServiceIp' in kwargs: + network_dns_service_ip = kwargs['networkDnsServiceIp'] + if 'networkDockerBridgeCidr' in kwargs: + network_docker_bridge_cidr = kwargs['networkDockerBridgeCidr'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'networkPodCidr' in kwargs: + network_pod_cidr = kwargs['networkPodCidr'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'networkServiceCidr' in kwargs: + network_service_cidr = kwargs['networkServiceCidr'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + if 'privateCluster' in kwargs: + private_cluster = kwargs['privateCluster'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + _setter("cloud_credential_id", cloud_credential_id) _setter("resource_group", resource_group) _setter("resource_location", resource_location) @@ -2273,7 +2455,31 @@ def _configure( os_type: Optional[pulumi.Input[str]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, vm_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZones' in kwargs: + availability_zones = kwargs['availabilityZones'] + if 'enableAutoScaling' in kwargs: + enable_auto_scaling = kwargs['enableAutoScaling'] + if 'maxCount' in kwargs: + max_count = kwargs['maxCount'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'minCount' in kwargs: + min_count = kwargs['minCount'] + if 'orchestratorVersion' in kwargs: + orchestrator_version = kwargs['orchestratorVersion'] + if 'osDiskSizeGb' in kwargs: + os_disk_size_gb = kwargs['osDiskSizeGb'] + if 'osDiskType' in kwargs: + os_disk_type = kwargs['osDiskType'] + if 'osType' in kwargs: + os_type = kwargs['osType'] + if 'vmSize' in kwargs: + vm_size = kwargs['vmSize'] + _setter("name", name) if availability_zones is not None: _setter("availability_zones", availability_zones) @@ -2526,7 +2732,15 @@ def _configure( default_recipient: Optional[pulumi.Input[bool]] = None, notifier_type: Optional[pulumi.Input[str]] = None, recipient: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -2603,7 +2817,13 @@ def _configure( _setter: Callable[[Any, Any], None], resource_kind: pulumi.Input[str], event_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'resourceKind' in kwargs: + resource_kind = kwargs['resourceKind'] + if 'eventType' in kwargs: + event_type = kwargs['eventType'] + _setter("resource_kind", resource_kind) if event_type is not None: _setter("event_type", event_type) @@ -2664,7 +2884,11 @@ def _configure( threshold_value: pulumi.Input[float], comparison: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -2765,7 +2989,15 @@ def _configure( mem_threshold: Optional[pulumi.Input[int]] = None, node_id: Optional[pulumi.Input[str]] = None, selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuThreshold' in kwargs: + cpu_threshold = kwargs['cpuThreshold'] + if 'memThreshold' in kwargs: + mem_threshold = kwargs['memThreshold'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if condition is not None: _setter("condition", condition) if cpu_threshold is not None: @@ -2853,7 +3085,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], condition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if condition is not None: _setter("condition", condition) @@ -2897,7 +3131,15 @@ def _configure( default_recipient: Optional[pulumi.Input[bool]] = None, notifier_type: Optional[pulumi.Input[str]] = None, recipient: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -2970,7 +3212,13 @@ def _configure( _setter: Callable[[Any, Any], None], resource_kind: pulumi.Input[str], event_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'resourceKind' in kwargs: + resource_kind = kwargs['resourceKind'] + if 'eventType' in kwargs: + event_type = kwargs['eventType'] + _setter("resource_kind", resource_kind) if event_type is not None: _setter("event_type", event_type) @@ -3021,7 +3269,11 @@ def _configure( threshold_value: pulumi.Input[float], comparison: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -3103,7 +3355,15 @@ def _configure( mem_threshold: Optional[pulumi.Input[int]] = None, node_id: Optional[pulumi.Input[str]] = None, selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuThreshold' in kwargs: + cpu_threshold = kwargs['cpuThreshold'] + if 'memThreshold' in kwargs: + mem_threshold = kwargs['memThreshold'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if condition is not None: _setter("condition", condition) if cpu_threshold is not None: @@ -3173,7 +3433,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], condition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if condition is not None: _setter("condition", condition) @@ -3210,7 +3472,15 @@ def _configure( append_tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterAgentDeploymentCustomizationAppendTolerationArgs']]]] = None, override_affinity: Optional[pulumi.Input[str]] = None, override_resource_requirements: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -3286,7 +3556,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -3385,7 +3657,17 @@ def _configure( cpu_request: Optional[pulumi.Input[str]] = None, memory_limit: Optional[pulumi.Input[str]] = None, memory_request: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -3467,7 +3749,11 @@ def _configure( ca_certs: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, fqdn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -3531,7 +3817,9 @@ def _configure( _setter: Callable[[Any, Any], None], answers: Optional[pulumi.Input[Mapping[str, Any]]] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if answers is not None: _setter("answers", answers) if version is not None: @@ -3625,7 +3913,23 @@ def _configure( node_command: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, windows_node_command: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: @@ -3833,7 +4137,13 @@ def _configure( cluster_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if project_id is not None: @@ -3905,7 +4215,9 @@ def _configure( variable: pulumi.Input[str], required: Optional[pulumi.Input[bool]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -4048,7 +4360,41 @@ def _configure( subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, user_data: Optional[pulumi.Input[str]] = None, virtual_network: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'associateWorkerNodePublicIp' in kwargs: + associate_worker_node_public_ip = kwargs['associateWorkerNodePublicIp'] + if 'desiredNodes' in kwargs: + desired_nodes = kwargs['desiredNodes'] + if 'ebsEncryption' in kwargs: + ebs_encryption = kwargs['ebsEncryption'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'keyPairName' in kwargs: + key_pair_name = kwargs['keyPairName'] + if 'maximumNodes' in kwargs: + maximum_nodes = kwargs['maximumNodes'] + if 'minimumNodes' in kwargs: + minimum_nodes = kwargs['minimumNodes'] + if 'nodeVolumeSize' in kwargs: + node_volume_size = kwargs['nodeVolumeSize'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + _setter("access_key", access_key) _setter("kubernetes_version", kubernetes_version) _setter("secret_key", secret_key) @@ -4386,7 +4732,31 @@ def _configure( service_role: Optional[pulumi.Input[str]] = None, subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loggingTypes' in kwargs: + logging_types = kwargs['loggingTypes'] + if 'nodeGroups' in kwargs: + node_groups = kwargs['nodeGroups'] + if 'privateAccess' in kwargs: + private_access = kwargs['privateAccess'] + if 'publicAccess' in kwargs: + public_access = kwargs['publicAccess'] + if 'publicAccessSources' in kwargs: + public_access_sources = kwargs['publicAccessSources'] + if 'secretsEncryption' in kwargs: + secrets_encryption = kwargs['secretsEncryption'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + _setter("cloud_credential_id", cloud_credential_id) if imported is not None: _setter("imported", imported) @@ -4699,7 +5069,35 @@ def _configure( tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, user_data: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'desiredSize' in kwargs: + desired_size = kwargs['desiredSize'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'ec2SshKey' in kwargs: + ec2_ssh_key = kwargs['ec2SshKey'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'launchTemplates' in kwargs: + launch_templates = kwargs['launchTemplates'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if 'minSize' in kwargs: + min_size = kwargs['minSize'] + if 'nodeRole' in kwargs: + node_role = kwargs['nodeRole'] + if 'requestSpotInstances' in kwargs: + request_spot_instances = kwargs['requestSpotInstances'] + if 'resourceTags' in kwargs: + resource_tags = kwargs['resourceTags'] + if 'spotInstanceTypes' in kwargs: + spot_instance_types = kwargs['spotInstanceTypes'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + _setter("name", name) if desired_size is not None: _setter("desired_size", desired_size) @@ -4990,7 +5388,9 @@ def _configure( id: pulumi.Input[str], name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) if name is not None: _setter("name", name) @@ -5057,7 +5457,15 @@ def _configure( append_tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterFleetAgentDeploymentCustomizationAppendTolerationArgs']]]] = None, override_affinity: Optional[pulumi.Input[str]] = None, override_resource_requirements: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -5133,7 +5541,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -5232,7 +5642,17 @@ def _configure( cpu_request: Optional[pulumi.Input[str]] = None, memory_limit: Optional[pulumi.Input[str]] = None, memory_request: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -5514,7 +5934,97 @@ def _configure( taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, use_ip_aliases: Optional[pulumi.Input[bool]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4Cidr' in kwargs: + cluster_ipv4_cidr = kwargs['clusterIpv4Cidr'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'ipPolicyClusterIpv4CidrBlock' in kwargs: + ip_policy_cluster_ipv4_cidr_block = kwargs['ipPolicyClusterIpv4CidrBlock'] + if 'ipPolicyClusterSecondaryRangeName' in kwargs: + ip_policy_cluster_secondary_range_name = kwargs['ipPolicyClusterSecondaryRangeName'] + if 'ipPolicyNodeIpv4CidrBlock' in kwargs: + ip_policy_node_ipv4_cidr_block = kwargs['ipPolicyNodeIpv4CidrBlock'] + if 'ipPolicyServicesIpv4CidrBlock' in kwargs: + ip_policy_services_ipv4_cidr_block = kwargs['ipPolicyServicesIpv4CidrBlock'] + if 'ipPolicyServicesSecondaryRangeName' in kwargs: + ip_policy_services_secondary_range_name = kwargs['ipPolicyServicesSecondaryRangeName'] + if 'ipPolicySubnetworkName' in kwargs: + ip_policy_subnetwork_name = kwargs['ipPolicySubnetworkName'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'masterVersion' in kwargs: + master_version = kwargs['masterVersion'] + if 'nodePool' in kwargs: + node_pool = kwargs['nodePool'] + if 'nodeVersion' in kwargs: + node_version = kwargs['nodeVersion'] + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + if 'subNetwork' in kwargs: + sub_network = kwargs['subNetwork'] + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'enableAlphaFeature' in kwargs: + enable_alpha_feature = kwargs['enableAlphaFeature'] + if 'enableAutoRepair' in kwargs: + enable_auto_repair = kwargs['enableAutoRepair'] + if 'enableAutoUpgrade' in kwargs: + enable_auto_upgrade = kwargs['enableAutoUpgrade'] + if 'enableHorizontalPodAutoscaling' in kwargs: + enable_horizontal_pod_autoscaling = kwargs['enableHorizontalPodAutoscaling'] + if 'enableHttpLoadBalancing' in kwargs: + enable_http_load_balancing = kwargs['enableHttpLoadBalancing'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enableLegacyAbac' in kwargs: + enable_legacy_abac = kwargs['enableLegacyAbac'] + if 'enableMasterAuthorizedNetwork' in kwargs: + enable_master_authorized_network = kwargs['enableMasterAuthorizedNetwork'] + if 'enableNetworkPolicyConfig' in kwargs: + enable_network_policy_config = kwargs['enableNetworkPolicyConfig'] + if 'enableNodepoolAutoscaling' in kwargs: + enable_nodepool_autoscaling = kwargs['enableNodepoolAutoscaling'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'enableStackdriverLogging' in kwargs: + enable_stackdriver_logging = kwargs['enableStackdriverLogging'] + if 'enableStackdriverMonitoring' in kwargs: + enable_stackdriver_monitoring = kwargs['enableStackdriverMonitoring'] + if 'ipPolicyCreateSubnetwork' in kwargs: + ip_policy_create_subnetwork = kwargs['ipPolicyCreateSubnetwork'] + if 'issueClientCertificate' in kwargs: + issue_client_certificate = kwargs['issueClientCertificate'] + if 'kubernetesDashboard' in kwargs: + kubernetes_dashboard = kwargs['kubernetesDashboard'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'masterAuthorizedNetworkCidrBlocks' in kwargs: + master_authorized_network_cidr_blocks = kwargs['masterAuthorizedNetworkCidrBlocks'] + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + if 'nodeCount' in kwargs: + node_count = kwargs['nodeCount'] + if 'resourceLabels' in kwargs: + resource_labels = kwargs['resourceLabels'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + _setter("cluster_ipv4_cidr", cluster_ipv4_cidr) _setter("credential", credential) _setter("disk_type", disk_type) @@ -6340,7 +6850,37 @@ def _configure( region: Optional[pulumi.Input[str]] = None, subnetwork: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'googleCredentialSecret' in kwargs: + google_credential_secret = kwargs['googleCredentialSecret'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'clusterAddons' in kwargs: + cluster_addons = kwargs['clusterAddons'] + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'enableKubernetesAlpha' in kwargs: + enable_kubernetes_alpha = kwargs['enableKubernetesAlpha'] + if 'ipAllocationPolicy' in kwargs: + ip_allocation_policy = kwargs['ipAllocationPolicy'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loggingService' in kwargs: + logging_service = kwargs['loggingService'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterAuthorizedNetworksConfig' in kwargs: + master_authorized_networks_config = kwargs['masterAuthorizedNetworksConfig'] + if 'monitoringService' in kwargs: + monitoring_service = kwargs['monitoringService'] + if 'networkPolicyEnabled' in kwargs: + network_policy_enabled = kwargs['networkPolicyEnabled'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + if 'privateClusterConfig' in kwargs: + private_cluster_config = kwargs['privateClusterConfig'] + _setter("google_credential_secret", google_credential_secret) _setter("name", name) _setter("project_id", project_id) @@ -6685,7 +7225,15 @@ def _configure( horizontal_pod_autoscaling: Optional[pulumi.Input[bool]] = None, http_load_balancing: Optional[pulumi.Input[bool]] = None, network_policy_config: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'horizontalPodAutoscaling' in kwargs: + horizontal_pod_autoscaling = kwargs['horizontalPodAutoscaling'] + if 'httpLoadBalancing' in kwargs: + http_load_balancing = kwargs['httpLoadBalancing'] + if 'networkPolicyConfig' in kwargs: + network_policy_config = kwargs['networkPolicyConfig'] + if horizontal_pod_autoscaling is not None: _setter("horizontal_pod_autoscaling", horizontal_pod_autoscaling) if http_load_balancing is not None: @@ -6773,7 +7321,25 @@ def _configure( services_secondary_range_name: Optional[pulumi.Input[str]] = None, subnetwork_name: Optional[pulumi.Input[str]] = None, use_ip_aliases: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'clusterSecondaryRangeName' in kwargs: + cluster_secondary_range_name = kwargs['clusterSecondaryRangeName'] + if 'createSubnetwork' in kwargs: + create_subnetwork = kwargs['createSubnetwork'] + if 'nodeIpv4CidrBlock' in kwargs: + node_ipv4_cidr_block = kwargs['nodeIpv4CidrBlock'] + if 'servicesIpv4CidrBlock' in kwargs: + services_ipv4_cidr_block = kwargs['servicesIpv4CidrBlock'] + if 'servicesSecondaryRangeName' in kwargs: + services_secondary_range_name = kwargs['servicesSecondaryRangeName'] + if 'subnetworkName' in kwargs: + subnetwork_name = kwargs['subnetworkName'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + if cluster_ipv4_cidr_block is not None: _setter("cluster_ipv4_cidr_block", cluster_ipv4_cidr_block) if cluster_secondary_range_name is not None: @@ -6907,7 +7473,11 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_blocks: pulumi.Input[Sequence[pulumi.Input['ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs']]], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlocks' in kwargs: + cidr_blocks = kwargs['cidrBlocks'] + _setter("cidr_blocks", cidr_blocks) if enabled is not None: _setter("enabled", enabled) @@ -6956,7 +7526,13 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_block: pulumi.Input[str], display_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlock' in kwargs: + cidr_block = kwargs['cidrBlock'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + _setter("cidr_block", cidr_block) if display_name is not None: _setter("display_name", display_name) @@ -7025,7 +7601,13 @@ def _configure( config: Optional[pulumi.Input['ClusterGkeConfigV2NodePoolConfigArgs']] = None, management: Optional[pulumi.Input['ClusterGkeConfigV2NodePoolManagementArgs']] = None, max_pods_constraint: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'initialNodeCount' in kwargs: + initial_node_count = kwargs['initialNodeCount'] + if 'maxPodsConstraint' in kwargs: + max_pods_constraint = kwargs['maxPodsConstraint'] + _setter("initial_node_count", initial_node_count) _setter("name", name) _setter("version", version) @@ -7146,7 +7728,13 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, max_node_count: Optional[pulumi.Input[int]] = None, min_node_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + if enabled is not None: _setter("enabled", enabled) if max_node_count is not None: @@ -7242,7 +7830,21 @@ def _configure( preemptible: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterGkeConfigV2NodePoolConfigTaintArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if disk_size_gb is not None: _setter("disk_size_gb", disk_size_gb) if disk_type is not None: @@ -7408,7 +8010,9 @@ def _configure( effect: pulumi.Input[str], key: pulumi.Input[str], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("effect", effect) _setter("key", key) _setter("value", value) @@ -7469,7 +8073,13 @@ def _configure( _setter: Callable[[Any, Any], None], auto_repair: Optional[pulumi.Input[bool]] = None, auto_upgrade: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoRepair' in kwargs: + auto_repair = kwargs['autoRepair'] + if 'autoUpgrade' in kwargs: + auto_upgrade = kwargs['autoUpgrade'] + if auto_repair is not None: _setter("auto_repair", auto_repair) if auto_upgrade is not None: @@ -7523,7 +8133,15 @@ def _configure( master_ipv4_cidr_block: pulumi.Input[str], enable_private_endpoint: Optional[pulumi.Input[bool]] = None, enable_private_nodes: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + _setter("master_ipv4_cidr_block", master_ipv4_cidr_block) if enable_private_endpoint is not None: _setter("enable_private_endpoint", enable_private_endpoint) @@ -7586,7 +8204,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: Optional[pulumi.Input['ClusterK3sConfigUpgradeStrategyArgs']] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if upgrade_strategy is not None: _setter("upgrade_strategy", upgrade_strategy) if version is not None: @@ -7644,7 +8266,17 @@ def _configure( drain_worker_nodes: Optional[pulumi.Input[bool]] = None, server_concurrency: Optional[pulumi.Input[int]] = None, worker_concurrency: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -7842,7 +8474,67 @@ def _configure( vcn_compartment_id: Optional[pulumi.Input[str]] = None, vcn_name: Optional[pulumi.Input[str]] = None, worker_node_ingress_cidr: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'compartmentId' in kwargs: + compartment_id = kwargs['compartmentId'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'nodeImage' in kwargs: + node_image = kwargs['nodeImage'] + if 'nodeShape' in kwargs: + node_shape = kwargs['nodeShape'] + if 'privateKeyContents' in kwargs: + private_key_contents = kwargs['privateKeyContents'] + if 'tenancyId' in kwargs: + tenancy_id = kwargs['tenancyId'] + if 'userOcid' in kwargs: + user_ocid = kwargs['userOcid'] + if 'customBootVolumeSize' in kwargs: + custom_boot_volume_size = kwargs['customBootVolumeSize'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enablePrivateControlPlane' in kwargs: + enable_private_control_plane = kwargs['enablePrivateControlPlane'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'flexOcpus' in kwargs: + flex_ocpus = kwargs['flexOcpus'] + if 'kmsKeyId' in kwargs: + kms_key_id = kwargs['kmsKeyId'] + if 'limitNodeCount' in kwargs: + limit_node_count = kwargs['limitNodeCount'] + if 'loadBalancerSubnetName1' in kwargs: + load_balancer_subnet_name1 = kwargs['loadBalancerSubnetName1'] + if 'loadBalancerSubnetName2' in kwargs: + load_balancer_subnet_name2 = kwargs['loadBalancerSubnetName2'] + if 'nodePoolDnsDomainName' in kwargs: + node_pool_dns_domain_name = kwargs['nodePoolDnsDomainName'] + if 'nodePoolSubnetName' in kwargs: + node_pool_subnet_name = kwargs['nodePoolSubnetName'] + if 'nodePublicKeyContents' in kwargs: + node_public_key_contents = kwargs['nodePublicKeyContents'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'privateKeyPassphrase' in kwargs: + private_key_passphrase = kwargs['privateKeyPassphrase'] + if 'quantityOfNodeSubnets' in kwargs: + quantity_of_node_subnets = kwargs['quantityOfNodeSubnets'] + if 'quantityPerSubnet' in kwargs: + quantity_per_subnet = kwargs['quantityPerSubnet'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + if 'serviceDnsDomainName' in kwargs: + service_dns_domain_name = kwargs['serviceDnsDomainName'] + if 'skipVcnDelete' in kwargs: + skip_vcn_delete = kwargs['skipVcnDelete'] + if 'vcnCompartmentId' in kwargs: + vcn_compartment_id = kwargs['vcnCompartmentId'] + if 'vcnName' in kwargs: + vcn_name = kwargs['vcnName'] + if 'workerNodeIngressCidr' in kwargs: + worker_node_ingress_cidr = kwargs['workerNodeIngressCidr'] + _setter("compartment_id", compartment_id) _setter("fingerprint", fingerprint) _setter("kubernetes_version", kubernetes_version) @@ -8303,7 +8995,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: Optional[pulumi.Input['ClusterRke2ConfigUpgradeStrategyArgs']] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if upgrade_strategy is not None: _setter("upgrade_strategy", upgrade_strategy) if version is not None: @@ -8361,7 +9057,17 @@ def _configure( drain_worker_nodes: Optional[pulumi.Input[bool]] = None, server_concurrency: Optional[pulumi.Input[int]] = None, worker_concurrency: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -8523,7 +9229,37 @@ def _configure( ssh_key_path: Optional[pulumi.Input[str]] = None, upgrade_strategy: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyArgs']] = None, win_prefix_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if addon_job_timeout is not None: _setter("addon_job_timeout", addon_job_timeout) if addons is not None: @@ -8867,7 +9603,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if sans is not None: _setter("sans", sans) if strategy is not None: @@ -8917,7 +9655,9 @@ def _configure( _setter: Callable[[Any, Any], None], mode: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if mode is not None: _setter("mode", mode) if options is not None: @@ -8983,7 +9723,15 @@ def _configure( ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_key: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("user", user) if port is not None: @@ -9103,7 +9851,19 @@ def _configure( name: Optional[pulumi.Input[str]] = None, openstack_cloud_provider: Optional[pulumi.Input['ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs']] = None, vsphere_cloud_provider: Optional[pulumi.Input['ClusterRkeConfigCloudProviderVsphereCloudProviderArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) if azure_cloud_provider is not None: @@ -9209,7 +9969,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: Optional[pulumi.Input['ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs']] = None, service_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + if global_ is not None: _setter("global_", global_) if service_overrides is not None: @@ -9291,7 +10057,25 @@ def _configure( subnet_id: Optional[pulumi.Input[str]] = None, vpc: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if disable_security_group_ingress is not None: _setter("disable_security_group_ingress", disable_security_group_ingress) if disable_strict_zone_check is not None: @@ -9469,7 +10253,15 @@ def _configure( signing_name: Optional[pulumi.Input[str]] = None, signing_region: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("service", service) if region is not None: _setter("region", region) @@ -9682,7 +10474,63 @@ def _configure( vm_type: Optional[pulumi.Input[str]] = None, vnet_name: Optional[pulumi.Input[str]] = None, vnet_resource_group: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + _setter("aad_client_id", aad_client_id) _setter("aad_client_secret", aad_client_secret) _setter("subscription_id", subscription_id) @@ -10118,7 +10966,15 @@ def _configure( load_balancer: Optional[pulumi.Input['ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']] = None, metadata: Optional[pulumi.Input['ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']] = None, route: Optional[pulumi.Input['ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("global_", global_) if block_storage is not None: _setter("block_storage", block_storage) @@ -10213,7 +11069,15 @@ def _configure( bs_version: Optional[pulumi.Input[str]] = None, ignore_volume_az: Optional[pulumi.Input[bool]] = None, trust_device_path: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + if bs_version is not None: _setter("bs_version", bs_version) if ignore_volume_az is not None: @@ -10309,7 +11173,23 @@ def _configure( tenant_id: Optional[pulumi.Input[str]] = None, tenant_name: Optional[pulumi.Input[str]] = None, trust_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("password", password) _setter("username", username) @@ -10504,7 +11384,31 @@ def _configure( monitor_timeout: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, use_octavia: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if create_monitor is not None: _setter("create_monitor", create_monitor) if floating_network_id is not None: @@ -10680,7 +11584,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: Optional[pulumi.Input[int]] = None, search_order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + if request_timeout is not None: _setter("request_timeout", request_timeout) if search_order is not None: @@ -10726,7 +11636,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + if router_id is not None: _setter("router_id", router_id) @@ -10774,7 +11688,13 @@ def _configure( disk: Optional[pulumi.Input['ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs']] = None, global_: Optional[pulumi.Input['ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']] = None, network: Optional[pulumi.Input['ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + if 'global' in kwargs: + global_ = kwargs['global'] + _setter("virtual_centers", virtual_centers) _setter("workspace", workspace) if disk is not None: @@ -10860,7 +11780,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + if scsi_controller_type is not None: _setter("scsi_controller_type", scsi_controller_type) @@ -10912,7 +11836,13 @@ def _configure( port: Optional[pulumi.Input[str]] = None, soap_roundtrip_count: Optional[pulumi.Input[int]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + if datacenters is not None: _setter("datacenters", datacenters) if insecure_flag is not None: @@ -11014,7 +11944,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + if public_network is not None: _setter("public_network", public_network) @@ -11066,7 +12000,11 @@ def _configure( user: pulumi.Input[str], port: Optional[pulumi.Input[str]] = None, soap_roundtrip_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -11180,7 +12118,13 @@ def _configure( server: pulumi.Input[str], default_datastore: Optional[pulumi.Input[str]] = None, resourcepool_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("folder", folder) _setter("server", server) @@ -11297,7 +12241,19 @@ def _configure( tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigDnsTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterRkeConfigDnsUpdateStrategyArgs']] = None, upstream_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if linear_autoscaler_params is not None: _setter("linear_autoscaler_params", linear_autoscaler_params) if node_selector is not None: @@ -11457,7 +12413,15 @@ def _configure( min: Optional[pulumi.Input[int]] = None, nodes_per_replica: Optional[pulumi.Input[float]] = None, prevent_single_point_failure: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -11549,7 +12513,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[pulumi.Input[str]] = None, node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -11611,7 +12581,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -11702,7 +12674,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -11752,7 +12728,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[pulumi.Input[int]] = None, max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -11838,7 +12820,25 @@ def _configure( provider: Optional[pulumi.Input[str]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigIngressTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterRkeConfigIngressUpdateStrategyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if default_backend is not None: _setter("default_backend", default_backend) if dns_policy is not None: @@ -12026,7 +13026,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -12117,7 +13119,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -12163,7 +13169,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -12215,7 +13225,13 @@ def _configure( replicas: Optional[pulumi.Input[int]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigMonitoringTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterRkeConfigMonitoringUpdateStrategyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if node_selector is not None: _setter("node_selector", node_selector) if options is not None: @@ -12333,7 +13349,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -12424,7 +13442,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -12474,7 +13496,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[pulumi.Input[int]] = None, max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -12552,7 +13580,19 @@ def _configure( plugin: Optional[pulumi.Input[str]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigNetworkTolerationArgs']]]] = None, weave_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkWeaveNetworkProviderArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + if aci_network_provider is not None: _setter("aci_network_provider", aci_network_provider) if calico_network_provider is not None: @@ -12988,7 +14028,147 @@ def _configure( use_privileged_container: Optional[pulumi.Input[str]] = None, vmm_controller: Optional[pulumi.Input[str]] = None, vmm_domain: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -14022,7 +15202,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if cloud_provider is not None: _setter("cloud_provider", cloud_provider) @@ -14054,7 +15238,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -14086,7 +15272,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -14134,7 +15322,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -14221,7 +15411,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -14296,7 +15488,23 @@ def _configure( ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_key: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("roles", roles) _setter("user", user) @@ -14495,7 +15703,13 @@ def _configure( is_default: Optional[pulumi.Input[bool]] = None, password: Optional[pulumi.Input[str]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -14590,7 +15804,15 @@ def _configure( aws_access_key_id: Optional[pulumi.Input[str]] = None, aws_secret_access_key: Optional[pulumi.Input[str]] = None, aws_session_token: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -14670,7 +15892,13 @@ def _configure( kubelet: Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']] = None, kubeproxy: Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']] = None, scheduler: Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + if etcd is not None: _setter("etcd", etcd) if kube_api is not None: @@ -14828,7 +16056,21 @@ def _configure( retention: Optional[pulumi.Input[str]] = None, snapshot: Optional[pulumi.Input[bool]] = None, uid: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if backup_config is not None: _setter("backup_config", backup_config) if ca_cert is not None: @@ -15076,7 +16318,15 @@ def _configure( s3_backup_config: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']] = None, safe_timestamp: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -15202,7 +16452,17 @@ def _configure( folder: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, secret_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -15360,7 +16620,31 @@ def _configure( secrets_encryption_config: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']] = None, service_cluster_ip_range: Optional[pulumi.Input[str]] = None, service_node_port_range: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if admission_configuration is not None: _setter("admission_configuration", admission_configuration) if always_pull_images is not None: @@ -15554,7 +16838,11 @@ def _configure( api_version: Optional[pulumi.Input[str]] = None, kind: Optional[pulumi.Input[str]] = None, plugins: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigServicesKubeApiAdmissionConfigurationPluginArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + if api_version is not None: _setter("api_version", api_version) if kind is not None: @@ -15622,7 +16910,9 @@ def _configure( configuration: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if name is not None: @@ -15686,7 +16976,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -15752,7 +17044,15 @@ def _configure( max_size: Optional[pulumi.Input[int]] = None, path: Optional[pulumi.Input[str]] = None, policy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if format is not None: _setter("format", format) if max_age is not None: @@ -15858,7 +17158,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -15912,7 +17214,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) if enabled is not None: @@ -15982,7 +17288,19 @@ def _configure( extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, service_cluster_ip_range: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if cluster_cidr is not None: _setter("cluster_cidr", cluster_cidr) if extra_args is not None: @@ -16116,7 +17434,25 @@ def _configure( generate_serving_certificate: Optional[pulumi.Input[bool]] = None, image: Optional[pulumi.Input[str]] = None, infra_container_image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if cluster_dns_server is not None: _setter("cluster_dns_server", cluster_dns_server) if cluster_domain is not None: @@ -16272,7 +17608,15 @@ def _configure( extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -16358,7 +17702,15 @@ def _configure( extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -16444,7 +17796,15 @@ def _configure( drain_input: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']] = None, max_unavailable_controlplane: Optional[pulumi.Input[str]] = None, max_unavailable_worker: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + if drain is not None: _setter("drain", drain) if drain_input is not None: @@ -16534,7 +17894,15 @@ def _configure( grace_period: Optional[pulumi.Input[int]] = None, ignore_daemon_sets: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -16682,7 +18050,27 @@ def _configure( roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, ssh_user: Optional[pulumi.Input[str]] = None, system_info: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'externalIpAddress' in kwargs: + external_ip_address = kwargs['externalIpAddress'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodePoolId' in kwargs: + node_pool_id = kwargs['nodePoolId'] + if 'nodeTemplateId' in kwargs: + node_template_id = kwargs['nodeTemplateId'] + if 'providerId' in kwargs: + provider_id = kwargs['providerId'] + if 'requestedHostname' in kwargs: + requested_hostname = kwargs['requestedHostname'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'systemInfo' in kwargs: + system_info = kwargs['systemInfo'] + if annotations is not None: _setter("annotations", annotations) if capacity is not None: @@ -16932,7 +18320,15 @@ def _configure( access_type: Optional[pulumi.Input[str]] = None, group_principal_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -17024,7 +18420,13 @@ def _configure( id: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, questions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterConfig' in kwargs: + cluster_config = kwargs['clusterConfig'] + if 'clusterTemplateId' in kwargs: + cluster_template_id = kwargs['clusterTemplateId'] + _setter("cluster_config", cluster_config) _setter("name", name) if annotations is not None: @@ -17209,7 +18611,33 @@ def _configure( enable_cluster_monitoring: Optional[pulumi.Input[bool]] = None, enable_network_policy: Optional[pulumi.Input[bool]] = None, windows_prefered_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if 'clusterAuthEndpoint' in kwargs: + cluster_auth_endpoint = kwargs['clusterAuthEndpoint'] + if 'defaultClusterRoleForProjectMembers' in kwargs: + default_cluster_role_for_project_members = kwargs['defaultClusterRoleForProjectMembers'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateId' in kwargs: + default_pod_security_policy_template_id = kwargs['defaultPodSecurityPolicyTemplateId'] + if 'desiredAgentImage' in kwargs: + desired_agent_image = kwargs['desiredAgentImage'] + if 'desiredAuthImage' in kwargs: + desired_auth_image = kwargs['desiredAuthImage'] + if 'dockerRootDir' in kwargs: + docker_root_dir = kwargs['dockerRootDir'] + if 'enableClusterAlerting' in kwargs: + enable_cluster_alerting = kwargs['enableClusterAlerting'] + if 'enableClusterMonitoring' in kwargs: + enable_cluster_monitoring = kwargs['enableClusterMonitoring'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'windowsPreferedCluster' in kwargs: + windows_prefered_cluster = kwargs['windowsPreferedCluster'] + _setter("rke_config", rke_config) if cluster_auth_endpoint is not None: _setter("cluster_auth_endpoint", cluster_auth_endpoint) @@ -17397,7 +18825,11 @@ def _configure( ca_certs: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, fqdn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -17514,7 +18946,37 @@ def _configure( ssh_key_path: Optional[pulumi.Input[str]] = None, upgrade_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs']] = None, win_prefix_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if addon_job_timeout is not None: _setter("addon_job_timeout", addon_job_timeout) if addons is not None: @@ -17785,7 +19247,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if sans is not None: _setter("sans", sans) if strategy is not None: @@ -17825,7 +19289,9 @@ def _configure( _setter: Callable[[Any, Any], None], mode: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if mode is not None: _setter("mode", mode) if options is not None: @@ -17877,7 +19343,15 @@ def _configure( ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_key: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("user", user) if port is not None: @@ -17974,7 +19448,19 @@ def _configure( name: Optional[pulumi.Input[str]] = None, openstack_cloud_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs']] = None, vsphere_cloud_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) if azure_cloud_provider is not None: @@ -18061,7 +19547,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs']] = None, service_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + if global_ is not None: _setter("global_", global_) if service_overrides is not None: @@ -18125,7 +19617,25 @@ def _configure( subnet_id: Optional[pulumi.Input[str]] = None, vpc: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if disable_security_group_ingress is not None: _setter("disable_security_group_ingress", disable_security_group_ingress) if disable_strict_zone_check is not None: @@ -18265,7 +19775,15 @@ def _configure( signing_name: Optional[pulumi.Input[str]] = None, signing_region: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("service", service) if region is not None: _setter("region", region) @@ -18429,7 +19947,63 @@ def _configure( vm_type: Optional[pulumi.Input[str]] = None, vnet_name: Optional[pulumi.Input[str]] = None, vnet_resource_group: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + _setter("aad_client_id", aad_client_id) _setter("aad_client_secret", aad_client_secret) _setter("subscription_id", subscription_id) @@ -18771,7 +20345,15 @@ def _configure( load_balancer: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']] = None, metadata: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']] = None, route: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("global_", global_) if block_storage is not None: _setter("block_storage", block_storage) @@ -18846,7 +20428,15 @@ def _configure( bs_version: Optional[pulumi.Input[str]] = None, ignore_volume_az: Optional[pulumi.Input[bool]] = None, trust_device_path: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + if bs_version is not None: _setter("bs_version", bs_version) if ignore_volume_az is not None: @@ -18921,7 +20511,23 @@ def _configure( tenant_id: Optional[pulumi.Input[str]] = None, tenant_name: Optional[pulumi.Input[str]] = None, trust_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("password", password) _setter("username", username) @@ -19073,7 +20679,31 @@ def _configure( monitor_timeout: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, use_octavia: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if create_monitor is not None: _setter("create_monitor", create_monitor) if floating_network_id is not None: @@ -19212,7 +20842,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: Optional[pulumi.Input[int]] = None, search_order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + if request_timeout is not None: _setter("request_timeout", request_timeout) if search_order is not None: @@ -19249,7 +20885,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + if router_id is not None: _setter("router_id", router_id) @@ -19287,7 +20927,13 @@ def _configure( disk: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']] = None, global_: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']] = None, network: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + if 'global' in kwargs: + global_ = kwargs['global'] + _setter("virtual_centers", virtual_centers) _setter("workspace", workspace) if disk is not None: @@ -19355,7 +21001,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + if scsi_controller_type is not None: _setter("scsi_controller_type", scsi_controller_type) @@ -19396,7 +21046,13 @@ def _configure( port: Optional[pulumi.Input[str]] = None, soap_roundtrip_count: Optional[pulumi.Input[int]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + if datacenters is not None: _setter("datacenters", datacenters) if insecure_flag is not None: @@ -19477,7 +21133,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + if public_network is not None: _setter("public_network", public_network) @@ -19521,7 +21181,11 @@ def _configure( user: pulumi.Input[str], port: Optional[pulumi.Input[str]] = None, soap_roundtrip_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -19613,7 +21277,13 @@ def _configure( server: pulumi.Input[str], default_datastore: Optional[pulumi.Input[str]] = None, resourcepool_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("folder", folder) _setter("server", server) @@ -19704,7 +21374,19 @@ def _configure( tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs']] = None, upstream_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if linear_autoscaler_params is not None: _setter("linear_autoscaler_params", linear_autoscaler_params) if node_selector is not None: @@ -19830,7 +21512,15 @@ def _configure( min: Optional[pulumi.Input[int]] = None, nodes_per_replica: Optional[pulumi.Input[float]] = None, prevent_single_point_failure: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -19903,7 +21593,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[pulumi.Input[str]] = None, node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -19952,7 +21648,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -20024,7 +21722,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -20064,7 +21766,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[pulumi.Input[int]] = None, max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -20131,7 +21839,25 @@ def _configure( provider: Optional[pulumi.Input[str]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if default_backend is not None: _setter("default_backend", default_backend) if dns_policy is not None: @@ -20279,7 +22005,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -20351,7 +22079,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -20388,7 +22120,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -20429,7 +22165,13 @@ def _configure( replicas: Optional[pulumi.Input[int]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]] = None, update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if node_selector is not None: _setter("node_selector", node_selector) if options is not None: @@ -20522,7 +22264,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -20594,7 +22338,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -20634,7 +22382,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[pulumi.Input[int]] = None, max_unavailable: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -20695,7 +22449,19 @@ def _configure( plugin: Optional[pulumi.Input[str]] = None, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]] = None, weave_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + if aci_network_provider is not None: _setter("aci_network_provider", aci_network_provider) if calico_network_provider is not None: @@ -21028,7 +22794,147 @@ def _configure( use_privileged_container: Optional[pulumi.Input[str]] = None, vmm_controller: Optional[pulumi.Input[str]] = None, vmm_domain: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -21837,7 +23743,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if cloud_provider is not None: _setter("cloud_provider", cloud_provider) @@ -21863,7 +23773,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -21889,7 +23801,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -21927,7 +23841,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -21996,7 +23912,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -22057,7 +23975,23 @@ def _configure( ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_key: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("roles", roles) _setter("user", user) @@ -22216,7 +24150,13 @@ def _configure( is_default: Optional[pulumi.Input[bool]] = None, password: Optional[pulumi.Input[str]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -22291,7 +24231,15 @@ def _configure( aws_access_key_id: Optional[pulumi.Input[str]] = None, aws_secret_access_key: Optional[pulumi.Input[str]] = None, aws_session_token: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -22354,7 +24302,13 @@ def _configure( kubelet: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs']] = None, kubeproxy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs']] = None, scheduler: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + if etcd is not None: _setter("etcd", etcd) if kube_api is not None: @@ -22477,7 +24431,21 @@ def _configure( retention: Optional[pulumi.Input[str]] = None, snapshot: Optional[pulumi.Input[bool]] = None, uid: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if backup_config is not None: _setter("backup_config", backup_config) if ca_cert is not None: @@ -22675,7 +24643,15 @@ def _configure( s3_backup_config: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']] = None, safe_timestamp: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -22777,7 +24753,17 @@ def _configure( folder: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, secret_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -22900,7 +24886,31 @@ def _configure( secrets_encryption_config: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']] = None, service_cluster_ip_range: Optional[pulumi.Input[str]] = None, service_node_port_range: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if admission_configuration is not None: _setter("admission_configuration", admission_configuration) if always_pull_images is not None: @@ -23053,7 +25063,11 @@ def _configure( api_version: Optional[pulumi.Input[str]] = None, kind: Optional[pulumi.Input[str]] = None, plugins: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAdmissionConfigurationPluginArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + if api_version is not None: _setter("api_version", api_version) if kind is not None: @@ -23110,7 +25124,9 @@ def _configure( configuration: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if name is not None: @@ -23167,7 +25183,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs']] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -23222,7 +25240,15 @@ def _configure( max_size: Optional[pulumi.Input[int]] = None, path: Optional[pulumi.Input[str]] = None, policy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if format is not None: _setter("format", format) if max_age is not None: @@ -23309,7 +25335,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -23355,7 +25383,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) if enabled is not None: @@ -23410,7 +25442,19 @@ def _configure( extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, service_cluster_ip_range: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if cluster_cidr is not None: _setter("cluster_cidr", cluster_cidr) if extra_args is not None: @@ -23515,7 +25559,25 @@ def _configure( generate_serving_certificate: Optional[pulumi.Input[bool]] = None, image: Optional[pulumi.Input[str]] = None, infra_container_image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if cluster_dns_server is not None: _setter("cluster_dns_server", cluster_dns_server) if cluster_domain is not None: @@ -23638,7 +25700,15 @@ def _configure( extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -23706,7 +25776,15 @@ def _configure( extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, image: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -23774,7 +25852,15 @@ def _configure( drain_input: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs']] = None, max_unavailable_controlplane: Optional[pulumi.Input[str]] = None, max_unavailable_worker: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + if drain is not None: _setter("drain", drain) if drain_input is not None: @@ -23845,7 +25931,15 @@ def _configure( grace_period: Optional[pulumi.Input[int]] = None, ignore_daemon_sets: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -23930,7 +26024,9 @@ def _configure( variable: pulumi.Input[str], required: Optional[pulumi.Input[bool]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -24006,7 +26102,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: pulumi.Input[str], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) _setter("value", value) @@ -24058,7 +26156,15 @@ def _configure( append_tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs']]]] = None, override_affinity: Optional[pulumi.Input[str]] = None, override_resource_requirements: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -24134,7 +26240,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -24233,7 +26341,17 @@ def _configure( cpu_request: Optional[pulumi.Input[str]] = None, memory_limit: Optional[pulumi.Input[str]] = None, memory_request: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -24355,7 +26473,23 @@ def _configure( node_command: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, windows_node_command: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: @@ -24563,7 +26697,15 @@ def _configure( append_tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs']]]] = None, override_affinity: Optional[pulumi.Input[str]] = None, override_resource_requirements: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -24639,7 +26781,9 @@ def _configure( operator: Optional[pulumi.Input[str]] = None, seconds: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -24738,7 +26882,17 @@ def _configure( cpu_request: Optional[pulumi.Input[str]] = None, memory_limit: Optional[pulumi.Input[str]] = None, memory_request: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -24820,7 +26974,11 @@ def _configure( ca_certs: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, fqdn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -24927,7 +27085,31 @@ def _configure( registries: Optional[pulumi.Input['ClusterV2RkeConfigRegistriesArgs']] = None, rotate_certificates: Optional[pulumi.Input['ClusterV2RkeConfigRotateCertificatesArgs']] = None, upgrade_strategy: Optional[pulumi.Input['ClusterV2RkeConfigUpgradeStrategyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalManifest' in kwargs: + additional_manifest = kwargs['additionalManifest'] + if 'chartValues' in kwargs: + chart_values = kwargs['chartValues'] + if 'etcdSnapshotCreate' in kwargs: + etcd_snapshot_create = kwargs['etcdSnapshotCreate'] + if 'etcdSnapshotRestore' in kwargs: + etcd_snapshot_restore = kwargs['etcdSnapshotRestore'] + if 'localAuthEndpoint' in kwargs: + local_auth_endpoint = kwargs['localAuthEndpoint'] + if 'machineGlobalConfig' in kwargs: + machine_global_config = kwargs['machineGlobalConfig'] + if 'machinePoolDefaults' in kwargs: + machine_pool_defaults = kwargs['machinePoolDefaults'] + if 'machinePools' in kwargs: + machine_pools = kwargs['machinePools'] + if 'machineSelectorConfigs' in kwargs: + machine_selector_configs = kwargs['machineSelectorConfigs'] + if 'rotateCertificates' in kwargs: + rotate_certificates = kwargs['rotateCertificates'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if additional_manifest is not None: _setter("additional_manifest", additional_manifest) if chart_values is not None: @@ -25142,7 +27324,17 @@ def _configure( s3_config: Optional[pulumi.Input['ClusterV2RkeConfigEtcdS3ConfigArgs']] = None, snapshot_retention: Optional[pulumi.Input[int]] = None, snapshot_schedule_cron: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSnapshots' in kwargs: + disable_snapshots = kwargs['disableSnapshots'] + if 's3Config' in kwargs: + s3_config = kwargs['s3Config'] + if 'snapshotRetention' in kwargs: + snapshot_retention = kwargs['snapshotRetention'] + if 'snapshotScheduleCron' in kwargs: + snapshot_schedule_cron = kwargs['snapshotScheduleCron'] + if disable_snapshots is not None: _setter("disable_snapshots", disable_snapshots) if s3_config is not None: @@ -25240,7 +27432,15 @@ def _configure( folder: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, skip_ssl_verify: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialName' in kwargs: + cloud_credential_name = kwargs['cloudCredentialName'] + if 'endpointCa' in kwargs: + endpoint_ca = kwargs['endpointCa'] + if 'skipSslVerify' in kwargs: + skip_ssl_verify = kwargs['skipSslVerify'] + _setter("bucket", bucket) _setter("endpoint", endpoint) if cloud_credential_name is not None: @@ -25354,7 +27554,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], generation: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) @property @@ -25393,7 +27595,11 @@ def _configure( generation: pulumi.Input[int], name: pulumi.Input[str], restore_rke_config: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'restoreRkeConfig' in kwargs: + restore_rke_config = kwargs['restoreRkeConfig'] + _setter("generation", generation) _setter("name", name) if restore_rke_config is not None: @@ -25459,7 +27665,11 @@ def _configure( ca_certs: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, fqdn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -25594,7 +27804,37 @@ def _configure( unhealthy_node_timeout_seconds: Optional[pulumi.Input[int]] = None, unhealthy_range: Optional[pulumi.Input[str]] = None, worker_role: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineConfig' in kwargs: + machine_config = kwargs['machineConfig'] + if 'cloudCredentialSecretName' in kwargs: + cloud_credential_secret_name = kwargs['cloudCredentialSecretName'] + if 'controlPlaneRole' in kwargs: + control_plane_role = kwargs['controlPlaneRole'] + if 'drainBeforeDelete' in kwargs: + drain_before_delete = kwargs['drainBeforeDelete'] + if 'etcdRole' in kwargs: + etcd_role = kwargs['etcdRole'] + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if 'machineLabels' in kwargs: + machine_labels = kwargs['machineLabels'] + if 'maxUnhealthy' in kwargs: + max_unhealthy = kwargs['maxUnhealthy'] + if 'nodeDrainTimeout' in kwargs: + node_drain_timeout = kwargs['nodeDrainTimeout'] + if 'nodeStartupTimeoutSeconds' in kwargs: + node_startup_timeout_seconds = kwargs['nodeStartupTimeoutSeconds'] + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if 'unhealthyNodeTimeoutSeconds' in kwargs: + unhealthy_node_timeout_seconds = kwargs['unhealthyNodeTimeoutSeconds'] + if 'unhealthyRange' in kwargs: + unhealthy_range = kwargs['unhealthyRange'] + if 'workerRole' in kwargs: + worker_role = kwargs['workerRole'] + _setter("machine_config", machine_config) _setter("name", name) if annotations is not None: @@ -25884,7 +28124,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], hostname_length_limit: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if hostname_length_limit is not None: _setter("hostname_length_limit", hostname_length_limit) @@ -25917,7 +28161,9 @@ def _configure( _setter: Callable[[Any, Any], None], kind: pulumi.Input[str], name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("kind", kind) _setter("name", name) @@ -25965,7 +28211,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[pulumi.Input[str]] = None, max_unavailable: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -26019,7 +28271,9 @@ def _configure( key: pulumi.Input[str], value: pulumi.Input[str], effect: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) if effect is not None: @@ -26065,10 +28319,10 @@ def effect(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class ClusterV2RkeConfigMachineSelectorConfigArgs: def __init__(__self__, *, - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[str]] = None, machine_label_selector: Optional[pulumi.Input['ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs']] = None): """ - :param pulumi.Input[Mapping[str, Any]] config: Machine selector config (map) + :param pulumi.Input[str] config: Machine selector config. Must be in YAML format (string) :param pulumi.Input['ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs'] machine_label_selector: Machine selector label (list maxitems:1) """ ClusterV2RkeConfigMachineSelectorConfigArgs._configure( @@ -26079,9 +28333,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[str]] = None, machine_label_selector: Optional[pulumi.Input['ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineLabelSelector' in kwargs: + machine_label_selector = kwargs['machineLabelSelector'] + if config is not None: _setter("config", config) if machine_label_selector is not None: @@ -26089,14 +28347,14 @@ def _configure( @property @pulumi.getter - def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def config(self) -> Optional[pulumi.Input[str]]: """ - Machine selector config (map) + Machine selector config. Must be in YAML format (string) """ return pulumi.get(self, "config") @config.setter - def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def config(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "config", value) @property @@ -26131,7 +28389,13 @@ def _configure( _setter: Callable[[Any, Any], None], match_expressions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs']]]] = None, match_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchExpressions' in kwargs: + match_expressions = kwargs['matchExpressions'] + if 'matchLabels' in kwargs: + match_labels = kwargs['matchLabels'] + if match_expressions is not None: _setter("match_expressions", match_expressions) if match_labels is not None: @@ -26185,7 +28449,9 @@ def _configure( key: Optional[pulumi.Input[str]] = None, operator: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: _setter("key", key) if operator is not None: @@ -26249,7 +28515,9 @@ def _configure( _setter: Callable[[Any, Any], None], configs: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2RkeConfigRegistriesConfigArgs']]]] = None, mirrors: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterV2RkeConfigRegistriesMirrorArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configs is not None: _setter("configs", configs) if mirrors is not None: @@ -26311,7 +28579,15 @@ def _configure( ca_bundle: Optional[pulumi.Input[str]] = None, insecure: Optional[pulumi.Input[bool]] = None, tls_secret_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authConfigSecretName' in kwargs: + auth_config_secret_name = kwargs['authConfigSecretName'] + if 'caBundle' in kwargs: + ca_bundle = kwargs['caBundle'] + if 'tlsSecretName' in kwargs: + tls_secret_name = kwargs['tlsSecretName'] + _setter("hostname", hostname) if auth_config_secret_name is not None: _setter("auth_config_secret_name", auth_config_secret_name) @@ -26406,7 +28682,9 @@ def _configure( hostname: pulumi.Input[str], endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rewrites: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("hostname", hostname) if endpoints is not None: _setter("endpoints", endpoints) @@ -26469,7 +28747,9 @@ def _configure( _setter: Callable[[Any, Any], None], generation: pulumi.Input[int], services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) if services is not None: _setter("services", services) @@ -26526,7 +28806,17 @@ def _configure( control_plane_drain_options: Optional[pulumi.Input['ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs']] = None, worker_concurrency: Optional[pulumi.Input[str]] = None, worker_drain_options: Optional[pulumi.Input['ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'controlPlaneConcurrency' in kwargs: + control_plane_concurrency = kwargs['controlPlaneConcurrency'] + if 'controlPlaneDrainOptions' in kwargs: + control_plane_drain_options = kwargs['controlPlaneDrainOptions'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if 'workerDrainOptions' in kwargs: + worker_drain_options = kwargs['workerDrainOptions'] + if control_plane_concurrency is not None: _setter("control_plane_concurrency", control_plane_concurrency) if control_plane_drain_options is not None: @@ -26632,7 +28922,21 @@ def _configure( ignore_errors: Optional[pulumi.Input[bool]] = None, skip_wait_for_delete_timeout_seconds: Optional[pulumi.Input[int]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if delete_empty_dir_data is not None: _setter("delete_empty_dir_data", delete_empty_dir_data) if disable_eviction is not None: @@ -26808,7 +29112,21 @@ def _configure( ignore_errors: Optional[pulumi.Input[bool]] = None, skip_wait_for_delete_timeout_seconds: Optional[pulumi.Input[int]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if delete_empty_dir_data is not None: _setter("delete_empty_dir_data", delete_empty_dir_data) if disable_eviction is not None: @@ -26970,7 +29288,15 @@ def _configure( s3_backup_config: Optional[pulumi.Input['EtcdBackupBackupConfigS3BackupConfigArgs']] = None, safe_timestamp: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -27090,7 +29416,17 @@ def _configure( folder: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, secret_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -27208,7 +29544,13 @@ def _configure( _setter: Callable[[Any, Any], None], access_key: pulumi.Input[str], secret_key: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("access_key", access_key) _setter("secret_key", secret_key) @@ -27260,7 +29602,15 @@ def _configure( api_email: pulumi.Input[str], api_key: pulumi.Input[str], proxy_setting: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiEmail' in kwargs: + api_email = kwargs['apiEmail'] + if 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if 'proxySetting' in kwargs: + proxy_setting = kwargs['proxySetting'] + _setter("api_email", api_email) _setter("api_key", api_key) if proxy_setting is not None: @@ -27338,7 +29688,19 @@ def _configure( region: Optional[pulumi.Input[str]] = None, role_arn: Optional[pulumi.Input[str]] = None, zone_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'credentialsPath' in kwargs: + credentials_path = kwargs['credentialsPath'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'zoneType' in kwargs: + zone_type = kwargs['zoneType'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if credentials_path is not None: @@ -27454,7 +29816,15 @@ def _configure( resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, verbs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -27546,7 +29916,6 @@ def __init__(__self__, *, iam_instance_profile: Optional[pulumi.Input[str]] = None, insecure_transport: Optional[pulumi.Input[bool]] = None, instance_type: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, monitoring: Optional[pulumi.Input[bool]] = None, open_ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -27581,7 +29950,6 @@ def __init__(__self__, *, :param pulumi.Input[str] iam_instance_profile: AWS IAM Instance Profile (string) :param pulumi.Input[bool] insecure_transport: Disable SSL when sending requests (bool) :param pulumi.Input[str] instance_type: Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - :param pulumi.Input[str] keypair_name: OpenStack keypair to use to SSH to the instance (string) :param pulumi.Input[str] kms_key: Custom KMS key ID using the AWS Managed CMK (string) :param pulumi.Input[bool] monitoring: Enable monitoring for droplet. Default `false` (bool) :param pulumi.Input[Sequence[pulumi.Input[str]]] open_ports: Make the specified port number accessible from the Internet. (list) @@ -27618,7 +29986,6 @@ def __init__(__self__, *, iam_instance_profile=iam_instance_profile, insecure_transport=insecure_transport, instance_type=instance_type, - keypair_name=keypair_name, kms_key=kms_key, monitoring=monitoring, open_ports=open_ports, @@ -27657,7 +30024,6 @@ def _configure( iam_instance_profile: Optional[pulumi.Input[str]] = None, insecure_transport: Optional[pulumi.Input[bool]] = None, instance_type: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, monitoring: Optional[pulumi.Input[bool]] = None, open_ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -27676,7 +30042,61 @@ def _configure( use_private_address: Optional[pulumi.Input[bool]] = None, userdata: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'blockDurationMinutes' in kwargs: + block_duration_minutes = kwargs['blockDurationMinutes'] + if 'deviceName' in kwargs: + device_name = kwargs['deviceName'] + if 'encryptEbsVolume' in kwargs: + encrypt_ebs_volume = kwargs['encryptEbsVolume'] + if 'httpEndpoint' in kwargs: + http_endpoint = kwargs['httpEndpoint'] + if 'httpTokens' in kwargs: + http_tokens = kwargs['httpTokens'] + if 'iamInstanceProfile' in kwargs: + iam_instance_profile = kwargs['iamInstanceProfile'] + if 'insecureTransport' in kwargs: + insecure_transport = kwargs['insecureTransport'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'requestSpotInstance' in kwargs: + request_spot_instance = kwargs['requestSpotInstance'] + if 'rootSize' in kwargs: + root_size = kwargs['rootSize'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'securityGroupReadonly' in kwargs: + security_group_readonly = kwargs['securityGroupReadonly'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'spotPrice' in kwargs: + spot_price = kwargs['spotPrice'] + if 'sshKeyContents' in kwargs: + ssh_key_contents = kwargs['sshKeyContents'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'useEbsOptimizedInstance' in kwargs: + use_ebs_optimized_instance = kwargs['useEbsOptimizedInstance'] + if 'usePrivateAddress' in kwargs: + use_private_address = kwargs['usePrivateAddress'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("ami", ami) _setter("region", region) _setter("security_groups", security_groups) @@ -27703,8 +30123,6 @@ def _configure( _setter("insecure_transport", insecure_transport) if instance_type is not None: _setter("instance_type", instance_type) - if keypair_name is not None: - _setter("keypair_name", keypair_name) if kms_key is not None: _setter("kms_key", kms_key) if monitoring is not None: @@ -27931,18 +30349,6 @@ def instance_type(self) -> Optional[pulumi.Input[str]]: def instance_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_type", value) - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - OpenStack keypair to use to SSH to the instance (string) - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - @property @pulumi.getter(name="kmsKey") def kms_key(self) -> Optional[pulumi.Input[str]]: @@ -28298,7 +30704,57 @@ def _configure( use_private_ip: Optional[pulumi.Input[bool]] = None, use_public_ip_standard_sku: Optional[pulumi.Input[bool]] = None, vnet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'acceleratedNetworking' in kwargs: + accelerated_networking = kwargs['acceleratedNetworking'] + if 'availabilitySet' in kwargs: + availability_set = kwargs['availabilitySet'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'faultDomainCount' in kwargs: + fault_domain_count = kwargs['faultDomainCount'] + if 'managedDisks' in kwargs: + managed_disks = kwargs['managedDisks'] + if 'noPublicIp' in kwargs: + no_public_ip = kwargs['noPublicIp'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'privateIpAddress' in kwargs: + private_ip_address = kwargs['privateIpAddress'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'staticPublicIp' in kwargs: + static_public_ip = kwargs['staticPublicIp'] + if 'storageType' in kwargs: + storage_type = kwargs['storageType'] + if 'subnetPrefix' in kwargs: + subnet_prefix = kwargs['subnetPrefix'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'updateDomainCount' in kwargs: + update_domain_count = kwargs['updateDomainCount'] + if 'usePrivateIp' in kwargs: + use_private_ip = kwargs['usePrivateIp'] + if 'usePublicIpStandardSku' in kwargs: + use_public_ip_standard_sku = kwargs['usePublicIpStandardSku'] + if accelerated_networking is not None: _setter("accelerated_networking", accelerated_networking) if availability_set is not None: @@ -28824,7 +31280,21 @@ def _configure( ssh_user: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[str]] = None, userdata: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'privateNetworking' in kwargs: + private_networking = kwargs['privateNetworking'] + if 'sshKeyContents' in kwargs: + ssh_key_contents = kwargs['sshKeyContents'] + if 'sshKeyFingerprint' in kwargs: + ssh_key_fingerprint = kwargs['sshKeyFingerprint'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if access_token is not None: _setter("access_token", access_token) if backups is not None: @@ -29094,7 +31564,39 @@ def _configure( ssh_password: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, vm_affinity: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'vmNamespace' in kwargs: + vm_namespace = kwargs['vmNamespace'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'diskBus' in kwargs: + disk_bus = kwargs['diskBus'] + if 'diskInfo' in kwargs: + disk_info = kwargs['diskInfo'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'networkData' in kwargs: + network_data = kwargs['networkData'] + if 'networkInfo' in kwargs: + network_info = kwargs['networkInfo'] + if 'networkModel' in kwargs: + network_model = kwargs['networkModel'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'vmAffinity' in kwargs: + vm_affinity = kwargs['vmAffinity'] + _setter("ssh_user", ssh_user) _setter("vm_namespace", vm_namespace) if cpu_count is not None: @@ -29410,7 +31912,29 @@ def _configure( tags: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, ua_prefix: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizedUsers' in kwargs: + authorized_users = kwargs['authorizedUsers'] + if 'createPrivateIp' in kwargs: + create_private_ip = kwargs['createPrivateIp'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootPass' in kwargs: + root_pass = kwargs['rootPass'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'stackscriptData' in kwargs: + stackscript_data = kwargs['stackscriptData'] + if 'swapSize' in kwargs: + swap_size = kwargs['swapSize'] + if 'uaPrefix' in kwargs: + ua_prefix = kwargs['uaPrefix'] + if authorized_users is not None: _setter("authorized_users", authorized_users) if create_private_ip is not None: @@ -29723,6 +32247,7 @@ def __init__(__self__, *, :param pulumi.Input[str] volume_device_path: OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself :param pulumi.Input[str] volume_id: OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param pulumi.Input[str] volume_name: OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param pulumi.Input[str] volume_size: OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string) @@ -29818,7 +32343,83 @@ def _configure( volume_name: Optional[pulumi.Input[str]] = None, volume_size: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'activeTimeout' in kwargs: + active_timeout = kwargs['activeTimeout'] + if 'applicationCredentialId' in kwargs: + application_credential_id = kwargs['applicationCredentialId'] + if 'applicationCredentialName' in kwargs: + application_credential_name = kwargs['applicationCredentialName'] + if 'applicationCredentialSecret' in kwargs: + application_credential_secret = kwargs['applicationCredentialSecret'] + if 'bootFromVolume' in kwargs: + boot_from_volume = kwargs['bootFromVolume'] + if 'configDrive' in kwargs: + config_drive = kwargs['configDrive'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'endpointType' in kwargs: + endpoint_type = kwargs['endpointType'] + if 'flavorId' in kwargs: + flavor_id = kwargs['flavorId'] + if 'flavorName' in kwargs: + flavor_name = kwargs['flavorName'] + if 'floatingIpPool' in kwargs: + floating_ip_pool = kwargs['floatingIpPool'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'ipVersion' in kwargs: + ip_version = kwargs['ipVersion'] + if 'keypairName' in kwargs: + keypair_name = kwargs['keypairName'] + if 'netId' in kwargs: + net_id = kwargs['netId'] + if 'netName' in kwargs: + net_name = kwargs['netName'] + if 'novaNetwork' in kwargs: + nova_network = kwargs['novaNetwork'] + if 'privateKeyFile' in kwargs: + private_key_file = kwargs['privateKeyFile'] + if 'secGroups' in kwargs: + sec_groups = kwargs['secGroups'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'tenantDomainId' in kwargs: + tenant_domain_id = kwargs['tenantDomainId'] + if 'tenantDomainName' in kwargs: + tenant_domain_name = kwargs['tenantDomainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'userDataFile' in kwargs: + user_data_file = kwargs['userDataFile'] + if 'userDomainId' in kwargs: + user_domain_id = kwargs['userDomainId'] + if 'userDomainName' in kwargs: + user_domain_name = kwargs['userDomainName'] + if 'volumeDevicePath' in kwargs: + volume_device_path = kwargs['volumeDevicePath'] + if 'volumeId' in kwargs: + volume_id = kwargs['volumeId'] + if 'volumeName' in kwargs: + volume_name = kwargs['volumeName'] + if 'volumeSize' in kwargs: + volume_size = kwargs['volumeSize'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("auth_url", auth_url) _setter("availability_zone", availability_zone) _setter("region", region) @@ -30352,6 +32953,7 @@ def volume_device_path(self) -> Optional[pulumi.Input[str]]: OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself """ return pulumi.get(self, "volume_device_path") @@ -30543,7 +33145,47 @@ def _configure( vapp_transport: Optional[pulumi.Input[str]] = None, vcenter: Optional[pulumi.Input[str]] = None, vcenter_port: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'boot2dockerUrl' in kwargs: + boot2docker_url = kwargs['boot2dockerUrl'] + if 'cloneFrom' in kwargs: + clone_from = kwargs['cloneFrom'] + if 'cloudConfig' in kwargs: + cloud_config = kwargs['cloudConfig'] + if 'contentLibrary' in kwargs: + content_library = kwargs['contentLibrary'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'creationType' in kwargs: + creation_type = kwargs['creationType'] + if 'customAttributes' in kwargs: + custom_attributes = kwargs['customAttributes'] + if 'datastoreCluster' in kwargs: + datastore_cluster = kwargs['datastoreCluster'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'sshUserGroup' in kwargs: + ssh_user_group = kwargs['sshUserGroup'] + if 'vappIpAllocationPolicy' in kwargs: + vapp_ip_allocation_policy = kwargs['vappIpAllocationPolicy'] + if 'vappIpProtocol' in kwargs: + vapp_ip_protocol = kwargs['vappIpProtocol'] + if 'vappProperties' in kwargs: + vapp_properties = kwargs['vappProperties'] + if 'vappTransport' in kwargs: + vapp_transport = kwargs['vappTransport'] + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + if boot2docker_url is not None: _setter("boot2docker_url", boot2docker_url) if cfgparams is not None: @@ -31003,7 +33645,13 @@ def _configure( cluster_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if project_id is not None: @@ -31071,7 +33719,15 @@ def _configure( access_type: Optional[pulumi.Input[str]] = None, group_principal_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -31143,7 +33799,15 @@ def _configure( app_id: Optional[pulumi.Input[str]] = None, health_state: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'appId' in kwargs: + app_id = kwargs['appId'] + if 'healthState' in kwargs: + health_state = kwargs['healthState'] + _setter("project_id", project_id) if app_id is not None: _setter("app_id", app_id) @@ -31216,7 +33880,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional[pulumi.Input['MultiClusterAppUpgradeStrategyRollingUpdateArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) @@ -31252,7 +33920,11 @@ def _configure( _setter: Callable[[Any, Any], None], batch_size: Optional[pulumi.Input[int]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'batchSize' in kwargs: + batch_size = kwargs['batchSize'] + if batch_size is not None: _setter("batch_size", batch_size) if interval is not None: @@ -31310,7 +33982,17 @@ def _configure( limits_memory: Optional[pulumi.Input[str]] = None, requests_cpu: Optional[pulumi.Input[str]] = None, requests_memory: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -31384,7 +34066,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], limit: pulumi.Input['NamespaceResourceQuotaLimitArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("limit", limit) @property @@ -31464,7 +34148,29 @@ def _configure( services: Optional[pulumi.Input[str]] = None, services_load_balancers: Optional[pulumi.Input[str]] = None, services_node_ports: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -31675,7 +34381,11 @@ def _configure( value: pulumi.Input[str], effect: Optional[pulumi.Input[str]] = None, time_added: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("value", value) if effect is not None: @@ -31751,7 +34461,6 @@ def __init__(__self__, *, iam_instance_profile: Optional[pulumi.Input[str]] = None, insecure_transport: Optional[pulumi.Input[bool]] = None, instance_type: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, monitoring: Optional[pulumi.Input[bool]] = None, open_ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -31787,7 +34496,6 @@ def __init__(__self__, *, :param pulumi.Input[str] iam_instance_profile: AWS IAM Instance Profile (string) :param pulumi.Input[bool] insecure_transport: Disable SSL when sending requests (bool) :param pulumi.Input[str] instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) - :param pulumi.Input[str] keypair_name: OpenStack keypair to use to SSH to the instance (string) :param pulumi.Input[str] kms_key: Custom KMS key ID using the AWS Managed CMK (string) :param pulumi.Input[bool] monitoring: Enable monitoring for droplet. Default `false` (bool) :param pulumi.Input[Sequence[pulumi.Input[str]]] open_ports: Make the specified port number accessible from the Internet. (list) @@ -31826,7 +34534,6 @@ def __init__(__self__, *, iam_instance_profile=iam_instance_profile, insecure_transport=insecure_transport, instance_type=instance_type, - keypair_name=keypair_name, kms_key=kms_key, monitoring=monitoring, open_ports=open_ports, @@ -31865,7 +34572,6 @@ def _configure( iam_instance_profile: Optional[pulumi.Input[str]] = None, insecure_transport: Optional[pulumi.Input[bool]] = None, instance_type: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, monitoring: Optional[pulumi.Input[bool]] = None, open_ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -31884,7 +34590,61 @@ def _configure( use_private_address: Optional[pulumi.Input[bool]] = None, userdata: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'blockDurationMinutes' in kwargs: + block_duration_minutes = kwargs['blockDurationMinutes'] + if 'deviceName' in kwargs: + device_name = kwargs['deviceName'] + if 'encryptEbsVolume' in kwargs: + encrypt_ebs_volume = kwargs['encryptEbsVolume'] + if 'httpEndpoint' in kwargs: + http_endpoint = kwargs['httpEndpoint'] + if 'httpTokens' in kwargs: + http_tokens = kwargs['httpTokens'] + if 'iamInstanceProfile' in kwargs: + iam_instance_profile = kwargs['iamInstanceProfile'] + if 'insecureTransport' in kwargs: + insecure_transport = kwargs['insecureTransport'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'requestSpotInstance' in kwargs: + request_spot_instance = kwargs['requestSpotInstance'] + if 'rootSize' in kwargs: + root_size = kwargs['rootSize'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'securityGroupReadonly' in kwargs: + security_group_readonly = kwargs['securityGroupReadonly'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'spotPrice' in kwargs: + spot_price = kwargs['spotPrice'] + if 'sshKeypath' in kwargs: + ssh_keypath = kwargs['sshKeypath'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'useEbsOptimizedInstance' in kwargs: + use_ebs_optimized_instance = kwargs['useEbsOptimizedInstance'] + if 'usePrivateAddress' in kwargs: + use_private_address = kwargs['usePrivateAddress'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("ami", ami) _setter("region", region) _setter("security_groups", security_groups) @@ -31911,8 +34671,6 @@ def _configure( _setter("insecure_transport", insecure_transport) if instance_type is not None: _setter("instance_type", instance_type) - if keypair_name is not None: - _setter("keypair_name", keypair_name) if kms_key is not None: _setter("kms_key", kms_key) if monitoring is not None: @@ -32142,18 +34900,6 @@ def instance_type(self) -> Optional[pulumi.Input[str]]: def instance_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_type", value) - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - OpenStack keypair to use to SSH to the instance (string) - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - @property @pulumi.getter(name="kmsKey") def kms_key(self) -> Optional[pulumi.Input[str]]: @@ -32507,7 +35253,53 @@ def _configure( use_private_ip: Optional[pulumi.Input[bool]] = None, use_public_ip_standard_sku: Optional[pulumi.Input[bool]] = None, vnet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'acceleratedNetworking' in kwargs: + accelerated_networking = kwargs['acceleratedNetworking'] + if 'availabilitySet' in kwargs: + availability_set = kwargs['availabilitySet'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'faultDomainCount' in kwargs: + fault_domain_count = kwargs['faultDomainCount'] + if 'managedDisks' in kwargs: + managed_disks = kwargs['managedDisks'] + if 'noPublicIp' in kwargs: + no_public_ip = kwargs['noPublicIp'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateIpAddress' in kwargs: + private_ip_address = kwargs['privateIpAddress'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'staticPublicIp' in kwargs: + static_public_ip = kwargs['staticPublicIp'] + if 'storageType' in kwargs: + storage_type = kwargs['storageType'] + if 'subnetPrefix' in kwargs: + subnet_prefix = kwargs['subnetPrefix'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'updateDomainCount' in kwargs: + update_domain_count = kwargs['updateDomainCount'] + if 'usePrivateIp' in kwargs: + use_private_ip = kwargs['usePrivateIp'] + if 'usePublicIpStandardSku' in kwargs: + use_public_ip_standard_sku = kwargs['usePublicIpStandardSku'] + if accelerated_networking is not None: _setter("accelerated_networking", accelerated_networking) if availability_set is not None: @@ -33021,7 +35813,21 @@ def _configure( ssh_user: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[str]] = None, userdata: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'privateNetworking' in kwargs: + private_networking = kwargs['privateNetworking'] + if 'sshKeyFingerprint' in kwargs: + ssh_key_fingerprint = kwargs['sshKeyFingerprint'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if access_token is not None: _setter("access_token", access_token) if backups is not None: @@ -33293,7 +36099,39 @@ def _configure( ssh_password: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, vm_affinity: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'vmNamespace' in kwargs: + vm_namespace = kwargs['vmNamespace'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'diskBus' in kwargs: + disk_bus = kwargs['diskBus'] + if 'diskInfo' in kwargs: + disk_info = kwargs['diskInfo'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'networkData' in kwargs: + network_data = kwargs['networkData'] + if 'networkInfo' in kwargs: + network_info = kwargs['networkInfo'] + if 'networkModel' in kwargs: + network_model = kwargs['networkModel'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'vmAffinity' in kwargs: + vm_affinity = kwargs['vmAffinity'] + _setter("ssh_user", ssh_user) _setter("vm_namespace", vm_namespace) if cpu_count is not None: @@ -33583,7 +36421,19 @@ def _configure( use_private_network: Optional[pulumi.Input[bool]] = None, userdata: Optional[pulumi.Input[str]] = None, volumes: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiToken' in kwargs: + api_token = kwargs['apiToken'] + if 'serverLabels' in kwargs: + server_labels = kwargs['serverLabels'] + if 'serverLocation' in kwargs: + server_location = kwargs['serverLocation'] + if 'serverType' in kwargs: + server_type = kwargs['serverType'] + if 'usePrivateNetwork' in kwargs: + use_private_network = kwargs['usePrivateNetwork'] + _setter("api_token", api_token) if image is not None: _setter("image", image) @@ -33788,7 +36638,29 @@ def _configure( tags: Optional[pulumi.Input[str]] = None, token: Optional[pulumi.Input[str]] = None, ua_prefix: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizedUsers' in kwargs: + authorized_users = kwargs['authorizedUsers'] + if 'createPrivateIp' in kwargs: + create_private_ip = kwargs['createPrivateIp'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootPass' in kwargs: + root_pass = kwargs['rootPass'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'stackscriptData' in kwargs: + stackscript_data = kwargs['stackscriptData'] + if 'swapSize' in kwargs: + swap_size = kwargs['swapSize'] + if 'uaPrefix' in kwargs: + ua_prefix = kwargs['uaPrefix'] + if authorized_users is not None: _setter("authorized_users", authorized_users) if create_private_ip is not None: @@ -34042,7 +36914,11 @@ def _configure( value: pulumi.Input[str], effect: Optional[pulumi.Input[str]] = None, time_added: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("value", value) if effect is not None: @@ -34188,7 +37064,37 @@ def _configure( template_id: Optional[pulumi.Input[str]] = None, template_name: Optional[pulumi.Input[str]] = None, vcpu: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'xmlRpcUrl' in kwargs: + xml_rpc_url = kwargs['xmlRpcUrl'] + if 'b2dSize' in kwargs: + b2d_size = kwargs['b2dSize'] + if 'devPrefix' in kwargs: + dev_prefix = kwargs['devPrefix'] + if 'disableVnc' in kwargs: + disable_vnc = kwargs['disableVnc'] + if 'diskResize' in kwargs: + disk_resize = kwargs['diskResize'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'imageOwner' in kwargs: + image_owner = kwargs['imageOwner'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'networkOwner' in kwargs: + network_owner = kwargs['networkOwner'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'templateId' in kwargs: + template_id = kwargs['templateId'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + _setter("password", password) _setter("user", user) _setter("xml_rpc_url", xml_rpc_url) @@ -34536,6 +37442,8 @@ def __init__(__self__, *, > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself :param pulumi.Input[str] volume_id: OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param pulumi.Input[str] volume_name: OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param pulumi.Input[str] volume_size: OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string) @@ -34623,7 +37531,75 @@ def _configure( volume_name: Optional[pulumi.Input[str]] = None, volume_size: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'activeTimeout' in kwargs: + active_timeout = kwargs['activeTimeout'] + if 'applicationCredentialId' in kwargs: + application_credential_id = kwargs['applicationCredentialId'] + if 'applicationCredentialName' in kwargs: + application_credential_name = kwargs['applicationCredentialName'] + if 'applicationCredentialSecret' in kwargs: + application_credential_secret = kwargs['applicationCredentialSecret'] + if 'bootFromVolume' in kwargs: + boot_from_volume = kwargs['bootFromVolume'] + if 'configDrive' in kwargs: + config_drive = kwargs['configDrive'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'endpointType' in kwargs: + endpoint_type = kwargs['endpointType'] + if 'flavorId' in kwargs: + flavor_id = kwargs['flavorId'] + if 'flavorName' in kwargs: + flavor_name = kwargs['flavorName'] + if 'floatingIpPool' in kwargs: + floating_ip_pool = kwargs['floatingIpPool'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'ipVersion' in kwargs: + ip_version = kwargs['ipVersion'] + if 'keypairName' in kwargs: + keypair_name = kwargs['keypairName'] + if 'netId' in kwargs: + net_id = kwargs['netId'] + if 'netName' in kwargs: + net_name = kwargs['netName'] + if 'novaNetwork' in kwargs: + nova_network = kwargs['novaNetwork'] + if 'privateKeyFile' in kwargs: + private_key_file = kwargs['privateKeyFile'] + if 'secGroups' in kwargs: + sec_groups = kwargs['secGroups'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'userDataFile' in kwargs: + user_data_file = kwargs['userDataFile'] + if 'volumeDevicePath' in kwargs: + volume_device_path = kwargs['volumeDevicePath'] + if 'volumeId' in kwargs: + volume_id = kwargs['volumeId'] + if 'volumeName' in kwargs: + volume_name = kwargs['volumeName'] + if 'volumeSize' in kwargs: + volume_size = kwargs['volumeSize'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("auth_url", auth_url) _setter("availability_zone", availability_zone) _setter("region", region) @@ -35103,6 +38079,8 @@ def volume_device_path(self) -> Optional[pulumi.Input[str]]: > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself """ return pulumi.get(self, "volume_device_path") @@ -35214,7 +38192,29 @@ def _configure( root_disk_type: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, source_omi: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'extraTagsAlls' in kwargs: + extra_tags_alls = kwargs['extraTagsAlls'] + if 'extraTagsInstances' in kwargs: + extra_tags_instances = kwargs['extraTagsInstances'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootDiskIops' in kwargs: + root_disk_iops = kwargs['rootDiskIops'] + if 'rootDiskSize' in kwargs: + root_disk_size = kwargs['rootDiskSize'] + if 'rootDiskType' in kwargs: + root_disk_type = kwargs['rootDiskType'] + if 'securityGroupIds' in kwargs: + security_group_ids = kwargs['securityGroupIds'] + if 'sourceOmi' in kwargs: + source_omi = kwargs['sourceOmi'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if extra_tags_alls is not None: @@ -35504,7 +38504,47 @@ def _configure( vapp_transport: Optional[pulumi.Input[str]] = None, vcenter: Optional[pulumi.Input[str]] = None, vcenter_port: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'boot2dockerUrl' in kwargs: + boot2docker_url = kwargs['boot2dockerUrl'] + if 'cloneFrom' in kwargs: + clone_from = kwargs['cloneFrom'] + if 'cloudConfig' in kwargs: + cloud_config = kwargs['cloudConfig'] + if 'contentLibrary' in kwargs: + content_library = kwargs['contentLibrary'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'creationType' in kwargs: + creation_type = kwargs['creationType'] + if 'customAttributes' in kwargs: + custom_attributes = kwargs['customAttributes'] + if 'datastoreCluster' in kwargs: + datastore_cluster = kwargs['datastoreCluster'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'sshUserGroup' in kwargs: + ssh_user_group = kwargs['sshUserGroup'] + if 'vappIpAllocationPolicy' in kwargs: + vapp_ip_allocation_policy = kwargs['vappIpAllocationPolicy'] + if 'vappIpProtocol' in kwargs: + vapp_ip_protocol = kwargs['vappIpProtocol'] + if 'vappProperties' in kwargs: + vapp_properties = kwargs['vappProperties'] + if 'vappTransport' in kwargs: + vapp_transport = kwargs['vappTransport'] + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + if boot2docker_url is not None: _setter("boot2docker_url", boot2docker_url) if cfgparams is not None: @@ -35964,7 +39004,11 @@ def _configure( url: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, secret: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -36027,7 +39071,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -36076,7 +39124,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_key: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceKey' in kwargs: + service_key = kwargs['serviceKey'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("service_key", service_key) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -36129,7 +39183,13 @@ def _configure( default_recipient: pulumi.Input[str], url: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("default_recipient", default_recipient) _setter("url", url) if proxy_url is not None: @@ -36211,7 +39271,11 @@ def _configure( password: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + _setter("default_recipient", default_recipient) _setter("host", host) _setter("port", port) @@ -36327,7 +39391,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -36392,7 +39460,15 @@ def _configure( secret: pulumi.Input[str], proxy_url: Optional[pulumi.Input[str]] = None, recipient_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + if 'recipientType' in kwargs: + recipient_type = kwargs['recipientType'] + _setter("agent", agent) _setter("corp", corp) _setter("default_recipient", default_recipient) @@ -36490,7 +39566,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) @property @@ -36518,7 +39596,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], driver: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("driver", driver) @property @@ -36550,7 +39630,13 @@ def _configure( _setter: Callable[[Any, Any], None], path_prefix: pulumi.Input[str], read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pathPrefix' in kwargs: + path_prefix = kwargs['pathPrefix'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("path_prefix", path_prefix) if read_only is not None: _setter("read_only", read_only) @@ -36599,7 +39685,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Optional[pulumi.Input[Sequence[pulumi.Input['PodSecurityPolicyTemplateFsGroupRangeArgs']]]] = None, rule: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if ranges is not None: _setter("ranges", ranges) if rule is not None: @@ -36649,7 +39737,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: pulumi.Input[int], min: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -36697,7 +39787,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: pulumi.Input[int], min: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -36745,7 +39837,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: pulumi.Input[str], ranges: Optional[pulumi.Input[Sequence[pulumi.Input['PodSecurityPolicyTemplateRunAsGroupRangeArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -36794,7 +39888,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: pulumi.Input[int], min: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -36842,7 +39938,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: pulumi.Input[str], ranges: Optional[pulumi.Input[Sequence[pulumi.Input['PodSecurityPolicyTemplateRunAsUserRangeArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -36891,7 +39989,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: pulumi.Input[int], min: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -36939,7 +40039,13 @@ def _configure( _setter: Callable[[Any, Any], None], allowed_runtime_class_names: pulumi.Input[Sequence[pulumi.Input[str]]], default_runtime_class_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedRuntimeClassNames' in kwargs: + allowed_runtime_class_names = kwargs['allowedRuntimeClassNames'] + if 'defaultRuntimeClassName' in kwargs: + default_runtime_class_name = kwargs['defaultRuntimeClassName'] + _setter("allowed_runtime_class_names", allowed_runtime_class_names) if default_runtime_class_name is not None: _setter("default_runtime_class_name", default_runtime_class_name) @@ -36988,7 +40094,11 @@ def _configure( _setter: Callable[[Any, Any], None], rule: pulumi.Input[str], se_linux_option: Optional[pulumi.Input['PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'seLinuxOption' in kwargs: + se_linux_option = kwargs['seLinuxOption'] + _setter("rule", rule) if se_linux_option is not None: _setter("se_linux_option", se_linux_option) @@ -37045,7 +40155,9 @@ def _configure( role: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if level is not None: _setter("level", level) if role is not None: @@ -37123,7 +40235,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Optional[pulumi.Input[Sequence[pulumi.Input['PodSecurityPolicyTemplateSupplementalGroupRangeArgs']]]] = None, rule: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if ranges is not None: _setter("ranges", ranges) if rule is not None: @@ -37173,7 +40287,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: pulumi.Input[int], min: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -37228,7 +40344,15 @@ def _configure( default_recipient: Optional[pulumi.Input[bool]] = None, notifier_type: Optional[pulumi.Input[str]] = None, recipient: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -37314,7 +40438,11 @@ def _configure( threshold_value: pulumi.Input[float], comparison: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -37411,7 +40539,15 @@ def _configure( condition: Optional[pulumi.Input[str]] = None, restart_interval_seconds: Optional[pulumi.Input[int]] = None, restart_times: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'podId' in kwargs: + pod_id = kwargs['podId'] + if 'restartIntervalSeconds' in kwargs: + restart_interval_seconds = kwargs['restartIntervalSeconds'] + if 'restartTimes' in kwargs: + restart_times = kwargs['restartTimes'] + _setter("pod_id", pod_id) if condition is not None: _setter("condition", condition) @@ -37492,7 +40628,13 @@ def _configure( available_percentage: Optional[pulumi.Input[int]] = None, selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, workload_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availablePercentage' in kwargs: + available_percentage = kwargs['availablePercentage'] + if 'workloadId' in kwargs: + workload_id = kwargs['workloadId'] + if available_percentage is not None: _setter("available_percentage", available_percentage) if selector is not None: @@ -37564,7 +40706,17 @@ def _configure( limits_memory: Optional[pulumi.Input[str]] = None, requests_cpu: Optional[pulumi.Input[str]] = None, requests_memory: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -37642,7 +40794,9 @@ def _configure( _setter: Callable[[Any, Any], None], answers: Optional[pulumi.Input[Mapping[str, Any]]] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if answers is not None: _setter("answers", answers) if version is not None: @@ -37692,7 +40846,13 @@ def _configure( _setter: Callable[[Any, Any], None], namespace_default_limit: pulumi.Input['ProjectResourceQuotaNamespaceDefaultLimitArgs'], project_limit: pulumi.Input['ProjectResourceQuotaProjectLimitArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceDefaultLimit' in kwargs: + namespace_default_limit = kwargs['namespaceDefaultLimit'] + if 'projectLimit' in kwargs: + project_limit = kwargs['projectLimit'] + _setter("namespace_default_limit", namespace_default_limit) _setter("project_limit", project_limit) @@ -37785,7 +40945,29 @@ def _configure( services: Optional[pulumi.Input[str]] = None, services_load_balancers: Optional[pulumi.Input[str]] = None, services_node_ports: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -38033,7 +41215,29 @@ def _configure( services: Optional[pulumi.Input[str]] = None, services_load_balancers: Optional[pulumi.Input[str]] = None, services_node_ports: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -38240,7 +41444,9 @@ def _configure( address: pulumi.Input[str], password: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("address", address) if password is not None: _setter("password", password) @@ -38315,7 +41521,15 @@ def _configure( resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, verbs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -38419,7 +41633,15 @@ def _configure( resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, verbs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -38510,7 +41732,11 @@ def _configure( url: str, proxy_url: Optional[str] = None, secret: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -38560,7 +41786,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -38599,7 +41829,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) @property @@ -38627,7 +41859,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], driver: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("driver", driver) @property @@ -38655,7 +41889,13 @@ def _configure( _setter: Callable[[Any, Any], None], path_prefix: str, read_only: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pathPrefix' in kwargs: + path_prefix = kwargs['pathPrefix'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("path_prefix", path_prefix) if read_only is not None: _setter("read_only", read_only) @@ -38694,7 +41934,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Sequence['GetPodSecurityPolicyTemplateFsGroupRangeArgs'], rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("ranges", ranges) if rule is not None: _setter("rule", rule) @@ -38733,7 +41975,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -38771,7 +42015,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -38809,7 +42055,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['GetPodSecurityPolicyTemplateRunAsGroupRangeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -38848,7 +42096,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -38886,7 +42136,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['GetPodSecurityPolicyTemplateRunAsUserRangeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -38925,7 +42177,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -38963,7 +42217,13 @@ def _configure( _setter: Callable[[Any, Any], None], allowed_runtime_class_names: Sequence[str], default_runtime_class_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedRuntimeClassNames' in kwargs: + allowed_runtime_class_names = kwargs['allowedRuntimeClassNames'] + if 'defaultRuntimeClassName' in kwargs: + default_runtime_class_name = kwargs['defaultRuntimeClassName'] + _setter("allowed_runtime_class_names", allowed_runtime_class_names) if default_runtime_class_name is not None: _setter("default_runtime_class_name", default_runtime_class_name) @@ -39002,7 +42262,11 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, se_linux_option: Optional['GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'seLinuxOption' in kwargs: + se_linux_option = kwargs['seLinuxOption'] + _setter("rule", rule) if se_linux_option is not None: _setter("se_linux_option", se_linux_option) @@ -39047,7 +42311,9 @@ def _configure( role: Optional[str] = None, type: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if level is not None: _setter("level", level) if role is not None: @@ -39109,7 +42375,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Sequence['GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs'], rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("ranges", ranges) if rule is not None: _setter("rule", rule) @@ -39148,7 +42416,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) diff --git a/sdk/python/pulumi_rancher2/active_directory.py b/sdk/python/pulumi_rancher2/active_directory.py index d32aa4731..2df476fc6 100644 --- a/sdk/python/pulumi_rancher2/active_directory.py +++ b/sdk/python/pulumi_rancher2/active_directory.py @@ -155,7 +155,61 @@ def _configure( user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'serviceAccountUsername' in kwargs: + service_account_username = kwargs['serviceAccountUsername'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'defaultLoginDomain' in kwargs: + default_login_domain = kwargs['defaultLoginDomain'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + _setter("servers", servers) _setter("service_account_password", service_account_password) _setter("service_account_username", service_account_username) @@ -766,7 +820,61 @@ def _configure( user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, user_search_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'defaultLoginDomain' in kwargs: + default_login_domain = kwargs['defaultLoginDomain'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'serviceAccountUsername' in kwargs: + service_account_username = kwargs['serviceAccountUsername'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/app.py b/sdk/python/pulumi_rancher2/app.py index 095eeb4dc..a7f332fc2 100644 --- a/sdk/python/pulumi_rancher2/app.py +++ b/sdk/python/pulumi_rancher2/app.py @@ -81,7 +81,25 @@ def _configure( template_version: Optional[pulumi.Input[str]] = None, values_yaml: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'targetNamespace' in kwargs: + target_namespace = kwargs['targetNamespace'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + if 'forceUpgrade' in kwargs: + force_upgrade = kwargs['forceUpgrade'] + if 'revisionId' in kwargs: + revision_id = kwargs['revisionId'] + if 'templateVersion' in kwargs: + template_version = kwargs['templateVersion'] + if 'valuesYaml' in kwargs: + values_yaml = kwargs['valuesYaml'] + _setter("catalog_name", catalog_name) _setter("project_id", project_id) _setter("target_namespace", target_namespace) @@ -352,7 +370,27 @@ def _configure( template_version: Optional[pulumi.Input[str]] = None, values_yaml: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'forceUpgrade' in kwargs: + force_upgrade = kwargs['forceUpgrade'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'revisionId' in kwargs: + revision_id = kwargs['revisionId'] + if 'targetNamespace' in kwargs: + target_namespace = kwargs['targetNamespace'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + if 'templateVersion' in kwargs: + template_version = kwargs['templateVersion'] + if 'valuesYaml' in kwargs: + values_yaml = kwargs['valuesYaml'] + if annotations is not None: _setter("annotations", annotations) if answers is not None: diff --git a/sdk/python/pulumi_rancher2/app_v2.py b/sdk/python/pulumi_rancher2/app_v2.py index 4f3129556..0e8003cc9 100644 --- a/sdk/python/pulumi_rancher2/app_v2.py +++ b/sdk/python/pulumi_rancher2/app_v2.py @@ -83,7 +83,27 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'chartName' in kwargs: + chart_name = kwargs['chartName'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'repoName' in kwargs: + repo_name = kwargs['repoName'] + if 'chartVersion' in kwargs: + chart_version = kwargs['chartVersion'] + if 'cleanupOnFail' in kwargs: + cleanup_on_fail = kwargs['cleanupOnFail'] + if 'disableHooks' in kwargs: + disable_hooks = kwargs['disableHooks'] + if 'disableOpenApiValidation' in kwargs: + disable_open_api_validation = kwargs['disableOpenApiValidation'] + if 'forceUpgrade' in kwargs: + force_upgrade = kwargs['forceUpgrade'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("chart_name", chart_name) _setter("cluster_id", cluster_id) _setter("namespace", namespace) @@ -378,7 +398,33 @@ def _configure( system_default_registry: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'chartName' in kwargs: + chart_name = kwargs['chartName'] + if 'chartVersion' in kwargs: + chart_version = kwargs['chartVersion'] + if 'cleanupOnFail' in kwargs: + cleanup_on_fail = kwargs['cleanupOnFail'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'deploymentValues' in kwargs: + deployment_values = kwargs['deploymentValues'] + if 'disableHooks' in kwargs: + disable_hooks = kwargs['disableHooks'] + if 'disableOpenApiValidation' in kwargs: + disable_open_api_validation = kwargs['disableOpenApiValidation'] + if 'forceUpgrade' in kwargs: + force_upgrade = kwargs['forceUpgrade'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'repoName' in kwargs: + repo_name = kwargs['repoName'] + if 'systemDefaultRegistry' in kwargs: + system_default_registry = kwargs['systemDefaultRegistry'] + if annotations is not None: _setter("annotations", annotations) if chart_name is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_active_directory.py b/sdk/python/pulumi_rancher2/auth_config_active_directory.py index 2c180a805..3bf99da93 100644 --- a/sdk/python/pulumi_rancher2/auth_config_active_directory.py +++ b/sdk/python/pulumi_rancher2/auth_config_active_directory.py @@ -155,7 +155,61 @@ def _configure( user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'serviceAccountUsername' in kwargs: + service_account_username = kwargs['serviceAccountUsername'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'defaultLoginDomain' in kwargs: + default_login_domain = kwargs['defaultLoginDomain'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + _setter("servers", servers) _setter("service_account_password", service_account_password) _setter("service_account_username", service_account_username) @@ -766,7 +820,61 @@ def _configure( user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, user_search_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'defaultLoginDomain' in kwargs: + default_login_domain = kwargs['defaultLoginDomain'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'serviceAccountUsername' in kwargs: + service_account_username = kwargs['serviceAccountUsername'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_adfs.py b/sdk/python/pulumi_rancher2/auth_config_adfs.py index 36b4214f3..ccc16ff23 100644 --- a/sdk/python/pulumi_rancher2/auth_config_adfs.py +++ b/sdk/python/pulumi_rancher2/auth_config_adfs.py @@ -75,7 +75,29 @@ def _configure( annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, enabled: Optional[pulumi.Input[bool]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + _setter("display_name_field", display_name_field) _setter("groups_field", groups_field) _setter("idp_metadata_content", idp_metadata_content) @@ -324,7 +346,29 @@ def _configure( type: Optional[pulumi.Input[str]] = None, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_azure_ad.py b/sdk/python/pulumi_rancher2/auth_config_azure_ad.py index e12a7a31a..9653b3d2d 100644 --- a/sdk/python/pulumi_rancher2/auth_config_azure_ad.py +++ b/sdk/python/pulumi_rancher2/auth_config_azure_ad.py @@ -75,7 +75,27 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, endpoint: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'applicationSecret' in kwargs: + application_secret = kwargs['applicationSecret'] + if 'authEndpoint' in kwargs: + auth_endpoint = kwargs['authEndpoint'] + if 'graphEndpoint' in kwargs: + graph_endpoint = kwargs['graphEndpoint'] + if 'rancherUrl' in kwargs: + rancher_url = kwargs['rancherUrl'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + _setter("application_id", application_id) _setter("application_secret", application_secret) _setter("auth_endpoint", auth_endpoint) @@ -325,7 +345,27 @@ def _configure( tenant_id: Optional[pulumi.Input[str]] = None, token_endpoint: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'applicationSecret' in kwargs: + application_secret = kwargs['applicationSecret'] + if 'authEndpoint' in kwargs: + auth_endpoint = kwargs['authEndpoint'] + if 'graphEndpoint' in kwargs: + graph_endpoint = kwargs['graphEndpoint'] + if 'rancherUrl' in kwargs: + rancher_url = kwargs['rancherUrl'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_free_ipa.py b/sdk/python/pulumi_rancher2/auth_config_free_ipa.py index d5aa4465a..8caec82ce 100644 --- a/sdk/python/pulumi_rancher2/auth_config_free_ipa.py +++ b/sdk/python/pulumi_rancher2/auth_config_free_ipa.py @@ -33,9 +33,11 @@ def __init__(__self__, *, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, tls: Optional[pulumi.Input[bool]] = None, user_disabled_bit_mask: Optional[pulumi.Input[int]] = None, user_enabled_attribute: Optional[pulumi.Input[str]] = None, @@ -43,7 +45,8 @@ def __init__(__self__, *, user_member_attribute: Optional[pulumi.Input[str]] = None, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, - user_search_attribute: Optional[pulumi.Input[str]] = None): + user_search_attribute: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a AuthConfigFreeIpa resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] servers: FreeIpa servers list (list) @@ -98,9 +101,11 @@ def __init__(__self__, *, group_object_class=group_object_class, group_search_attribute=group_search_attribute, group_search_base=group_search_base, + group_search_filter=group_search_filter, labels=labels, nested_group_membership_enabled=nested_group_membership_enabled, port=port, + start_tls=start_tls, tls=tls, user_disabled_bit_mask=user_disabled_bit_mask, user_enabled_attribute=user_enabled_attribute, @@ -109,6 +114,7 @@ def __init__(__self__, *, user_name_attribute=user_name_attribute, user_object_class=user_object_class, user_search_attribute=user_search_attribute, + user_search_filter=user_search_filter, ) @staticmethod def _configure( @@ -132,9 +138,11 @@ def _configure( group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, tls: Optional[pulumi.Input[bool]] = None, user_disabled_bit_mask: Optional[pulumi.Input[int]] = None, user_enabled_attribute: Optional[pulumi.Input[str]] = None, @@ -143,7 +151,62 @@ def _configure( user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + user_search_filter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceAccountDistinguishedName' in kwargs: + service_account_distinguished_name = kwargs['serviceAccountDistinguishedName'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userMemberAttribute' in kwargs: + user_member_attribute = kwargs['userMemberAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + _setter("servers", servers) _setter("service_account_distinguished_name", service_account_distinguished_name) _setter("service_account_password", service_account_password) @@ -176,12 +239,16 @@ def _configure( _setter("group_search_attribute", group_search_attribute) if group_search_base is not None: _setter("group_search_base", group_search_base) + if group_search_filter is not None: + _setter("group_search_filter", group_search_filter) if labels is not None: _setter("labels", labels) if nested_group_membership_enabled is not None: _setter("nested_group_membership_enabled", nested_group_membership_enabled) if port is not None: _setter("port", port) + if start_tls is not None: + _setter("start_tls", start_tls) if tls is not None: _setter("tls", tls) if user_disabled_bit_mask is not None: @@ -198,6 +265,8 @@ def _configure( _setter("user_object_class", user_object_class) if user_search_attribute is not None: _setter("user_search_attribute", user_search_attribute) + if user_search_filter is not None: + _setter("user_search_filter", user_search_filter) @property @pulumi.getter @@ -427,6 +496,15 @@ def group_search_base(self) -> Optional[pulumi.Input[str]]: def group_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_search_base", value) + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group_search_filter") + + @group_search_filter.setter + def group_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_search_filter", value) + @property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -463,6 +541,15 @@ def port(self) -> Optional[pulumi.Input[int]]: def port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "port", value) + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "start_tls") + + @start_tls.setter + def start_tls(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "start_tls", value) + @property @pulumi.getter def tls(self) -> Optional[pulumi.Input[bool]]: @@ -559,6 +646,15 @@ def user_search_attribute(self) -> Optional[pulumi.Input[str]]: def user_search_attribute(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_search_attribute", value) + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user_search_filter") + + @user_search_filter.setter + def user_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_search_filter", value) + @pulumi.input_type class _AuthConfigFreeIpaState: @@ -576,6 +672,7 @@ def __init__(__self__, *, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -583,6 +680,7 @@ def __init__(__self__, *, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -594,7 +692,8 @@ def __init__(__self__, *, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - user_search_base: Optional[pulumi.Input[str]] = None): + user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering AuthConfigFreeIpa resources. :param pulumi.Input[str] access_mode: Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -645,6 +744,7 @@ def __init__(__self__, *, group_object_class=group_object_class, group_search_attribute=group_search_attribute, group_search_base=group_search_base, + group_search_filter=group_search_filter, labels=labels, name=name, nested_group_membership_enabled=nested_group_membership_enabled, @@ -652,6 +752,7 @@ def __init__(__self__, *, servers=servers, service_account_distinguished_name=service_account_distinguished_name, service_account_password=service_account_password, + start_tls=start_tls, test_password=test_password, test_username=test_username, tls=tls, @@ -664,6 +765,7 @@ def __init__(__self__, *, user_object_class=user_object_class, user_search_attribute=user_search_attribute, user_search_base=user_search_base, + user_search_filter=user_search_filter, ) @staticmethod def _configure( @@ -681,6 +783,7 @@ def _configure( group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -688,6 +791,7 @@ def _configure( servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -700,7 +804,62 @@ def _configure( user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + user_search_filter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'serviceAccountDistinguishedName' in kwargs: + service_account_distinguished_name = kwargs['serviceAccountDistinguishedName'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userMemberAttribute' in kwargs: + user_member_attribute = kwargs['userMemberAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: @@ -727,6 +886,8 @@ def _configure( _setter("group_search_attribute", group_search_attribute) if group_search_base is not None: _setter("group_search_base", group_search_base) + if group_search_filter is not None: + _setter("group_search_filter", group_search_filter) if labels is not None: _setter("labels", labels) if name is not None: @@ -741,6 +902,8 @@ def _configure( _setter("service_account_distinguished_name", service_account_distinguished_name) if service_account_password is not None: _setter("service_account_password", service_account_password) + if start_tls is not None: + _setter("start_tls", start_tls) if test_password is not None: _setter("test_password", test_password) if test_username is not None: @@ -765,6 +928,8 @@ def _configure( _setter("user_search_attribute", user_search_attribute) if user_search_base is not None: _setter("user_search_base", user_search_base) + if user_search_filter is not None: + _setter("user_search_filter", user_search_filter) @property @pulumi.getter(name="accessMode") @@ -922,6 +1087,15 @@ def group_search_base(self) -> Optional[pulumi.Input[str]]: def group_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_search_base", value) + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group_search_filter") + + @group_search_filter.setter + def group_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_search_filter", value) + @property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -1006,6 +1180,15 @@ def service_account_password(self) -> Optional[pulumi.Input[str]]: def service_account_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_account_password", value) + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "start_tls") + + @start_tls.setter + def start_tls(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "start_tls", value) + @property @pulumi.getter(name="testPassword") def test_password(self) -> Optional[pulumi.Input[str]]: @@ -1150,6 +1333,15 @@ def user_search_base(self) -> Optional[pulumi.Input[str]]: def user_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_search_base", value) + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user_search_filter") + + @user_search_filter.setter + def user_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_search_filter", value) + class AuthConfigFreeIpa(pulumi.CustomResource): @overload @@ -1169,12 +1361,14 @@ def __init__(__self__, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1186,6 +1380,7 @@ def __init__(__self__, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): """ Provides a Rancher v2 Auth Config FreeIpa resource. This can be used to configure and enable Auth Config FreeIpa for Rancher v2 RKE clusters and retrieve their information. @@ -1268,12 +1463,14 @@ def _internal_init(__self__, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1285,6 +1482,7 @@ def _internal_init(__self__, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -1307,6 +1505,7 @@ def _internal_init(__self__, __props__.__dict__["group_object_class"] = group_object_class __props__.__dict__["group_search_attribute"] = group_search_attribute __props__.__dict__["group_search_base"] = group_search_base + __props__.__dict__["group_search_filter"] = group_search_filter __props__.__dict__["labels"] = labels __props__.__dict__["nested_group_membership_enabled"] = nested_group_membership_enabled __props__.__dict__["port"] = port @@ -1319,6 +1518,7 @@ def _internal_init(__self__, if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) + __props__.__dict__["start_tls"] = start_tls if test_password is None and not opts.urn: raise TypeError("Missing required property 'test_password'") __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) @@ -1336,6 +1536,7 @@ def _internal_init(__self__, if user_search_base is None and not opts.urn: raise TypeError("Missing required property 'user_search_base'") __props__.__dict__["user_search_base"] = user_search_base + __props__.__dict__["user_search_filter"] = user_search_filter __props__.__dict__["name"] = None __props__.__dict__["type"] = None secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"]) @@ -1363,6 +1564,7 @@ def get(resource_name: str, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -1370,6 +1572,7 @@ def get(resource_name: str, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1381,7 +1584,8 @@ def get(resource_name: str, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - user_search_base: Optional[pulumi.Input[str]] = None) -> 'AuthConfigFreeIpa': + user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None) -> 'AuthConfigFreeIpa': """ Get an existing AuthConfigFreeIpa resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -1439,6 +1643,7 @@ def get(resource_name: str, __props__.__dict__["group_object_class"] = group_object_class __props__.__dict__["group_search_attribute"] = group_search_attribute __props__.__dict__["group_search_base"] = group_search_base + __props__.__dict__["group_search_filter"] = group_search_filter __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name __props__.__dict__["nested_group_membership_enabled"] = nested_group_membership_enabled @@ -1446,6 +1651,7 @@ def get(resource_name: str, __props__.__dict__["servers"] = servers __props__.__dict__["service_account_distinguished_name"] = service_account_distinguished_name __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["start_tls"] = start_tls __props__.__dict__["test_password"] = test_password __props__.__dict__["test_username"] = test_username __props__.__dict__["tls"] = tls @@ -1458,6 +1664,7 @@ def get(resource_name: str, __props__.__dict__["user_object_class"] = user_object_class __props__.__dict__["user_search_attribute"] = user_search_attribute __props__.__dict__["user_search_base"] = user_search_base + __props__.__dict__["user_search_filter"] = user_search_filter return AuthConfigFreeIpa(resource_name, opts=opts, __props__=__props__) @property @@ -1564,6 +1771,11 @@ def group_search_base(self) -> pulumi.Output[str]: """ return pulumi.get(self, "group_search_base") + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "group_search_filter") + @property @pulumi.getter def labels(self) -> pulumi.Output[Mapping[str, Any]]: @@ -1620,6 +1832,11 @@ def service_account_password(self) -> pulumi.Output[str]: """ return pulumi.get(self, "service_account_password") + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> pulumi.Output[bool]: + return pulumi.get(self, "start_tls") + @property @pulumi.getter(name="testPassword") def test_password(self) -> pulumi.Output[str]: @@ -1716,3 +1933,8 @@ def user_search_base(self) -> pulumi.Output[str]: """ return pulumi.get(self, "user_search_base") + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "user_search_filter") + diff --git a/sdk/python/pulumi_rancher2/auth_config_github.py b/sdk/python/pulumi_rancher2/auth_config_github.py index c689b2454..b49e856df 100644 --- a/sdk/python/pulumi_rancher2/auth_config_github.py +++ b/sdk/python/pulumi_rancher2/auth_config_github.py @@ -59,7 +59,17 @@ def _configure( hostname: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, tls: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + _setter("client_id", client_id) _setter("client_secret", client_secret) if access_mode is not None: @@ -242,7 +252,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_keycloak.py b/sdk/python/pulumi_rancher2/auth_config_keycloak.py index b99ad9265..43047bad2 100644 --- a/sdk/python/pulumi_rancher2/auth_config_keycloak.py +++ b/sdk/python/pulumi_rancher2/auth_config_keycloak.py @@ -79,7 +79,31 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, entity_id: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'entityId' in kwargs: + entity_id = kwargs['entityId'] + _setter("display_name_field", display_name_field) _setter("groups_field", groups_field) _setter("idp_metadata_content", idp_metadata_content) @@ -346,7 +370,31 @@ def _configure( type: Optional[pulumi.Input[str]] = None, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'entityId' in kwargs: + entity_id = kwargs['entityId'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_okta.py b/sdk/python/pulumi_rancher2/auth_config_okta.py index fab239da5..842ca2801 100644 --- a/sdk/python/pulumi_rancher2/auth_config_okta.py +++ b/sdk/python/pulumi_rancher2/auth_config_okta.py @@ -75,7 +75,29 @@ def _configure( annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, enabled: Optional[pulumi.Input[bool]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + _setter("display_name_field", display_name_field) _setter("groups_field", groups_field) _setter("idp_metadata_content", idp_metadata_content) @@ -324,7 +346,29 @@ def _configure( type: Optional[pulumi.Input[str]] = None, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/auth_config_open_ldap.py b/sdk/python/pulumi_rancher2/auth_config_open_ldap.py index 54461e2dd..57e0a2a86 100644 --- a/sdk/python/pulumi_rancher2/auth_config_open_ldap.py +++ b/sdk/python/pulumi_rancher2/auth_config_open_ldap.py @@ -33,9 +33,11 @@ def __init__(__self__, *, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, tls: Optional[pulumi.Input[bool]] = None, user_disabled_bit_mask: Optional[pulumi.Input[int]] = None, user_enabled_attribute: Optional[pulumi.Input[str]] = None, @@ -43,7 +45,8 @@ def __init__(__self__, *, user_member_attribute: Optional[pulumi.Input[str]] = None, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, - user_search_attribute: Optional[pulumi.Input[str]] = None): + user_search_attribute: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a AuthConfigOpenLdap resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] servers: OpenLdap servers list (list) @@ -98,9 +101,11 @@ def __init__(__self__, *, group_object_class=group_object_class, group_search_attribute=group_search_attribute, group_search_base=group_search_base, + group_search_filter=group_search_filter, labels=labels, nested_group_membership_enabled=nested_group_membership_enabled, port=port, + start_tls=start_tls, tls=tls, user_disabled_bit_mask=user_disabled_bit_mask, user_enabled_attribute=user_enabled_attribute, @@ -109,6 +114,7 @@ def __init__(__self__, *, user_name_attribute=user_name_attribute, user_object_class=user_object_class, user_search_attribute=user_search_attribute, + user_search_filter=user_search_filter, ) @staticmethod def _configure( @@ -132,9 +138,11 @@ def _configure( group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, tls: Optional[pulumi.Input[bool]] = None, user_disabled_bit_mask: Optional[pulumi.Input[int]] = None, user_enabled_attribute: Optional[pulumi.Input[str]] = None, @@ -143,7 +151,62 @@ def _configure( user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + user_search_filter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceAccountDistinguishedName' in kwargs: + service_account_distinguished_name = kwargs['serviceAccountDistinguishedName'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userMemberAttribute' in kwargs: + user_member_attribute = kwargs['userMemberAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + _setter("servers", servers) _setter("service_account_distinguished_name", service_account_distinguished_name) _setter("service_account_password", service_account_password) @@ -176,12 +239,16 @@ def _configure( _setter("group_search_attribute", group_search_attribute) if group_search_base is not None: _setter("group_search_base", group_search_base) + if group_search_filter is not None: + _setter("group_search_filter", group_search_filter) if labels is not None: _setter("labels", labels) if nested_group_membership_enabled is not None: _setter("nested_group_membership_enabled", nested_group_membership_enabled) if port is not None: _setter("port", port) + if start_tls is not None: + _setter("start_tls", start_tls) if tls is not None: _setter("tls", tls) if user_disabled_bit_mask is not None: @@ -198,6 +265,8 @@ def _configure( _setter("user_object_class", user_object_class) if user_search_attribute is not None: _setter("user_search_attribute", user_search_attribute) + if user_search_filter is not None: + _setter("user_search_filter", user_search_filter) @property @pulumi.getter @@ -427,6 +496,15 @@ def group_search_base(self) -> Optional[pulumi.Input[str]]: def group_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_search_base", value) + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group_search_filter") + + @group_search_filter.setter + def group_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_search_filter", value) + @property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -463,6 +541,15 @@ def port(self) -> Optional[pulumi.Input[int]]: def port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "port", value) + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "start_tls") + + @start_tls.setter + def start_tls(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "start_tls", value) + @property @pulumi.getter def tls(self) -> Optional[pulumi.Input[bool]]: @@ -559,6 +646,15 @@ def user_search_attribute(self) -> Optional[pulumi.Input[str]]: def user_search_attribute(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_search_attribute", value) + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user_search_filter") + + @user_search_filter.setter + def user_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_search_filter", value) + @pulumi.input_type class _AuthConfigOpenLdapState: @@ -576,6 +672,7 @@ def __init__(__self__, *, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -583,6 +680,7 @@ def __init__(__self__, *, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -594,7 +692,8 @@ def __init__(__self__, *, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - user_search_base: Optional[pulumi.Input[str]] = None): + user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering AuthConfigOpenLdap resources. :param pulumi.Input[str] access_mode: Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -645,6 +744,7 @@ def __init__(__self__, *, group_object_class=group_object_class, group_search_attribute=group_search_attribute, group_search_base=group_search_base, + group_search_filter=group_search_filter, labels=labels, name=name, nested_group_membership_enabled=nested_group_membership_enabled, @@ -652,6 +752,7 @@ def __init__(__self__, *, servers=servers, service_account_distinguished_name=service_account_distinguished_name, service_account_password=service_account_password, + start_tls=start_tls, test_password=test_password, test_username=test_username, tls=tls, @@ -664,6 +765,7 @@ def __init__(__self__, *, user_object_class=user_object_class, user_search_attribute=user_search_attribute, user_search_base=user_search_base, + user_search_filter=user_search_filter, ) @staticmethod def _configure( @@ -681,6 +783,7 @@ def _configure( group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -688,6 +791,7 @@ def _configure( servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -700,7 +804,62 @@ def _configure( user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + user_search_filter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'connectionTimeout' in kwargs: + connection_timeout = kwargs['connectionTimeout'] + if 'groupDnAttribute' in kwargs: + group_dn_attribute = kwargs['groupDnAttribute'] + if 'groupMemberMappingAttribute' in kwargs: + group_member_mapping_attribute = kwargs['groupMemberMappingAttribute'] + if 'groupMemberUserAttribute' in kwargs: + group_member_user_attribute = kwargs['groupMemberUserAttribute'] + if 'groupNameAttribute' in kwargs: + group_name_attribute = kwargs['groupNameAttribute'] + if 'groupObjectClass' in kwargs: + group_object_class = kwargs['groupObjectClass'] + if 'groupSearchAttribute' in kwargs: + group_search_attribute = kwargs['groupSearchAttribute'] + if 'groupSearchBase' in kwargs: + group_search_base = kwargs['groupSearchBase'] + if 'groupSearchFilter' in kwargs: + group_search_filter = kwargs['groupSearchFilter'] + if 'nestedGroupMembershipEnabled' in kwargs: + nested_group_membership_enabled = kwargs['nestedGroupMembershipEnabled'] + if 'serviceAccountDistinguishedName' in kwargs: + service_account_distinguished_name = kwargs['serviceAccountDistinguishedName'] + if 'serviceAccountPassword' in kwargs: + service_account_password = kwargs['serviceAccountPassword'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'testPassword' in kwargs: + test_password = kwargs['testPassword'] + if 'testUsername' in kwargs: + test_username = kwargs['testUsername'] + if 'userDisabledBitMask' in kwargs: + user_disabled_bit_mask = kwargs['userDisabledBitMask'] + if 'userEnabledAttribute' in kwargs: + user_enabled_attribute = kwargs['userEnabledAttribute'] + if 'userLoginAttribute' in kwargs: + user_login_attribute = kwargs['userLoginAttribute'] + if 'userMemberAttribute' in kwargs: + user_member_attribute = kwargs['userMemberAttribute'] + if 'userNameAttribute' in kwargs: + user_name_attribute = kwargs['userNameAttribute'] + if 'userObjectClass' in kwargs: + user_object_class = kwargs['userObjectClass'] + if 'userSearchAttribute' in kwargs: + user_search_attribute = kwargs['userSearchAttribute'] + if 'userSearchBase' in kwargs: + user_search_base = kwargs['userSearchBase'] + if 'userSearchFilter' in kwargs: + user_search_filter = kwargs['userSearchFilter'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: @@ -727,6 +886,8 @@ def _configure( _setter("group_search_attribute", group_search_attribute) if group_search_base is not None: _setter("group_search_base", group_search_base) + if group_search_filter is not None: + _setter("group_search_filter", group_search_filter) if labels is not None: _setter("labels", labels) if name is not None: @@ -741,6 +902,8 @@ def _configure( _setter("service_account_distinguished_name", service_account_distinguished_name) if service_account_password is not None: _setter("service_account_password", service_account_password) + if start_tls is not None: + _setter("start_tls", start_tls) if test_password is not None: _setter("test_password", test_password) if test_username is not None: @@ -765,6 +928,8 @@ def _configure( _setter("user_search_attribute", user_search_attribute) if user_search_base is not None: _setter("user_search_base", user_search_base) + if user_search_filter is not None: + _setter("user_search_filter", user_search_filter) @property @pulumi.getter(name="accessMode") @@ -922,6 +1087,15 @@ def group_search_base(self) -> Optional[pulumi.Input[str]]: def group_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_search_base", value) + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group_search_filter") + + @group_search_filter.setter + def group_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_search_filter", value) + @property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -1006,6 +1180,15 @@ def service_account_password(self) -> Optional[pulumi.Input[str]]: def service_account_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_account_password", value) + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "start_tls") + + @start_tls.setter + def start_tls(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "start_tls", value) + @property @pulumi.getter(name="testPassword") def test_password(self) -> Optional[pulumi.Input[str]]: @@ -1150,6 +1333,15 @@ def user_search_base(self) -> Optional[pulumi.Input[str]]: def user_search_base(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_search_base", value) + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user_search_filter") + + @user_search_filter.setter + def user_search_filter(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_search_filter", value) + class AuthConfigOpenLdap(pulumi.CustomResource): @overload @@ -1169,12 +1361,14 @@ def __init__(__self__, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1186,6 +1380,7 @@ def __init__(__self__, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): """ Provides a Rancher v2 Auth Config OpenLdap resource. This can be used to configure and enable Auth Config OpenLdap for Rancher v2 RKE clusters and retrieve their information. @@ -1268,12 +1463,14 @@ def _internal_init(__self__, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, port: Optional[pulumi.Input[int]] = None, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1285,6 +1482,7 @@ def _internal_init(__self__, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -1307,6 +1505,7 @@ def _internal_init(__self__, __props__.__dict__["group_object_class"] = group_object_class __props__.__dict__["group_search_attribute"] = group_search_attribute __props__.__dict__["group_search_base"] = group_search_base + __props__.__dict__["group_search_filter"] = group_search_filter __props__.__dict__["labels"] = labels __props__.__dict__["nested_group_membership_enabled"] = nested_group_membership_enabled __props__.__dict__["port"] = port @@ -1319,6 +1518,7 @@ def _internal_init(__self__, if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) + __props__.__dict__["start_tls"] = start_tls if test_password is None and not opts.urn: raise TypeError("Missing required property 'test_password'") __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) @@ -1336,6 +1536,7 @@ def _internal_init(__self__, if user_search_base is None and not opts.urn: raise TypeError("Missing required property 'user_search_base'") __props__.__dict__["user_search_base"] = user_search_base + __props__.__dict__["user_search_filter"] = user_search_filter __props__.__dict__["name"] = None __props__.__dict__["type"] = None secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"]) @@ -1363,6 +1564,7 @@ def get(resource_name: str, group_object_class: Optional[pulumi.Input[str]] = None, group_search_attribute: Optional[pulumi.Input[str]] = None, group_search_base: Optional[pulumi.Input[str]] = None, + group_search_filter: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, nested_group_membership_enabled: Optional[pulumi.Input[bool]] = None, @@ -1370,6 +1572,7 @@ def get(resource_name: str, servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service_account_distinguished_name: Optional[pulumi.Input[str]] = None, service_account_password: Optional[pulumi.Input[str]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, test_password: Optional[pulumi.Input[str]] = None, test_username: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -1381,7 +1584,8 @@ def get(resource_name: str, user_name_attribute: Optional[pulumi.Input[str]] = None, user_object_class: Optional[pulumi.Input[str]] = None, user_search_attribute: Optional[pulumi.Input[str]] = None, - user_search_base: Optional[pulumi.Input[str]] = None) -> 'AuthConfigOpenLdap': + user_search_base: Optional[pulumi.Input[str]] = None, + user_search_filter: Optional[pulumi.Input[str]] = None) -> 'AuthConfigOpenLdap': """ Get an existing AuthConfigOpenLdap resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -1439,6 +1643,7 @@ def get(resource_name: str, __props__.__dict__["group_object_class"] = group_object_class __props__.__dict__["group_search_attribute"] = group_search_attribute __props__.__dict__["group_search_base"] = group_search_base + __props__.__dict__["group_search_filter"] = group_search_filter __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name __props__.__dict__["nested_group_membership_enabled"] = nested_group_membership_enabled @@ -1446,6 +1651,7 @@ def get(resource_name: str, __props__.__dict__["servers"] = servers __props__.__dict__["service_account_distinguished_name"] = service_account_distinguished_name __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["start_tls"] = start_tls __props__.__dict__["test_password"] = test_password __props__.__dict__["test_username"] = test_username __props__.__dict__["tls"] = tls @@ -1458,6 +1664,7 @@ def get(resource_name: str, __props__.__dict__["user_object_class"] = user_object_class __props__.__dict__["user_search_attribute"] = user_search_attribute __props__.__dict__["user_search_base"] = user_search_base + __props__.__dict__["user_search_filter"] = user_search_filter return AuthConfigOpenLdap(resource_name, opts=opts, __props__=__props__) @property @@ -1564,6 +1771,11 @@ def group_search_base(self) -> pulumi.Output[str]: """ return pulumi.get(self, "group_search_base") + @property + @pulumi.getter(name="groupSearchFilter") + def group_search_filter(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "group_search_filter") + @property @pulumi.getter def labels(self) -> pulumi.Output[Mapping[str, Any]]: @@ -1620,6 +1832,11 @@ def service_account_password(self) -> pulumi.Output[str]: """ return pulumi.get(self, "service_account_password") + @property + @pulumi.getter(name="startTls") + def start_tls(self) -> pulumi.Output[bool]: + return pulumi.get(self, "start_tls") + @property @pulumi.getter(name="testPassword") def test_password(self) -> pulumi.Output[str]: @@ -1716,3 +1933,8 @@ def user_search_base(self) -> pulumi.Output[str]: """ return pulumi.get(self, "user_search_base") + @property + @pulumi.getter(name="userSearchFilter") + def user_search_filter(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "user_search_filter") + diff --git a/sdk/python/pulumi_rancher2/auth_config_ping.py b/sdk/python/pulumi_rancher2/auth_config_ping.py index 1037e90dd..71766e998 100644 --- a/sdk/python/pulumi_rancher2/auth_config_ping.py +++ b/sdk/python/pulumi_rancher2/auth_config_ping.py @@ -79,7 +79,31 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, entity_id_field: Optional[pulumi.Input[str]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'entityIdField' in kwargs: + entity_id_field = kwargs['entityIdField'] + _setter("display_name_field", display_name_field) _setter("groups_field", groups_field) _setter("idp_metadata_content", idp_metadata_content) @@ -346,7 +370,31 @@ def _configure( type: Optional[pulumi.Input[str]] = None, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessMode' in kwargs: + access_mode = kwargs['accessMode'] + if 'allowedPrincipalIds' in kwargs: + allowed_principal_ids = kwargs['allowedPrincipalIds'] + if 'displayNameField' in kwargs: + display_name_field = kwargs['displayNameField'] + if 'entityIdField' in kwargs: + entity_id_field = kwargs['entityIdField'] + if 'groupsField' in kwargs: + groups_field = kwargs['groupsField'] + if 'idpMetadataContent' in kwargs: + idp_metadata_content = kwargs['idpMetadataContent'] + if 'rancherApiHost' in kwargs: + rancher_api_host = kwargs['rancherApiHost'] + if 'spCert' in kwargs: + sp_cert = kwargs['spCert'] + if 'spKey' in kwargs: + sp_key = kwargs['spKey'] + if 'uidField' in kwargs: + uid_field = kwargs['uidField'] + if 'userNameField' in kwargs: + user_name_field = kwargs['userNameField'] + if access_mode is not None: _setter("access_mode", access_mode) if allowed_principal_ids is not None: diff --git a/sdk/python/pulumi_rancher2/bootstrap.py b/sdk/python/pulumi_rancher2/bootstrap.py index f81a9b58b..08afc67c9 100644 --- a/sdk/python/pulumi_rancher2/bootstrap.py +++ b/sdk/python/pulumi_rancher2/bootstrap.py @@ -47,7 +47,17 @@ def _configure( token_ttl: Optional[pulumi.Input[int]] = None, token_update: Optional[pulumi.Input[bool]] = None, ui_default_landing: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'initialPassword' in kwargs: + initial_password = kwargs['initialPassword'] + if 'tokenTtl' in kwargs: + token_ttl = kwargs['tokenTtl'] + if 'tokenUpdate' in kwargs: + token_update = kwargs['tokenUpdate'] + if 'uiDefaultLanding' in kwargs: + ui_default_landing = kwargs['uiDefaultLanding'] + if initial_password is not None: _setter("initial_password", initial_password) if password is not None: @@ -198,7 +208,25 @@ def _configure( ui_default_landing: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'currentPassword' in kwargs: + current_password = kwargs['currentPassword'] + if 'initialPassword' in kwargs: + initial_password = kwargs['initialPassword'] + if 'tempToken' in kwargs: + temp_token = kwargs['tempToken'] + if 'tempTokenId' in kwargs: + temp_token_id = kwargs['tempTokenId'] + if 'tokenId' in kwargs: + token_id = kwargs['tokenId'] + if 'tokenTtl' in kwargs: + token_ttl = kwargs['tokenTtl'] + if 'tokenUpdate' in kwargs: + token_update = kwargs['tokenUpdate'] + if 'uiDefaultLanding' in kwargs: + ui_default_landing = kwargs['uiDefaultLanding'] + if current_password is not None: _setter("current_password", current_password) if initial_password is not None: diff --git a/sdk/python/pulumi_rancher2/catalog.py b/sdk/python/pulumi_rancher2/catalog.py index 53b075af6..93cd8e089 100644 --- a/sdk/python/pulumi_rancher2/catalog.py +++ b/sdk/python/pulumi_rancher2/catalog.py @@ -79,7 +79,13 @@ def _configure( scope: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("url", url) if annotations is not None: _setter("annotations", annotations) @@ -345,7 +351,13 @@ def _configure( url: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if annotations is not None: _setter("annotations", annotations) if branch is not None: diff --git a/sdk/python/pulumi_rancher2/catalog_v2.py b/sdk/python/pulumi_rancher2/catalog_v2.py index 6dd883955..257520718 100644 --- a/sdk/python/pulumi_rancher2/catalog_v2.py +++ b/sdk/python/pulumi_rancher2/catalog_v2.py @@ -79,7 +79,25 @@ def _configure( service_account: Optional[pulumi.Input[str]] = None, service_account_namespace: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'caBundle' in kwargs: + ca_bundle = kwargs['caBundle'] + if 'gitBranch' in kwargs: + git_branch = kwargs['gitBranch'] + if 'gitRepo' in kwargs: + git_repo = kwargs['gitRepo'] + if 'secretName' in kwargs: + secret_name = kwargs['secretName'] + if 'secretNamespace' in kwargs: + secret_namespace = kwargs['secretNamespace'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + if 'serviceAccountNamespace' in kwargs: + service_account_namespace = kwargs['serviceAccountNamespace'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -349,7 +367,27 @@ def _configure( service_account: Optional[pulumi.Input[str]] = None, service_account_namespace: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caBundle' in kwargs: + ca_bundle = kwargs['caBundle'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'gitBranch' in kwargs: + git_branch = kwargs['gitBranch'] + if 'gitRepo' in kwargs: + git_repo = kwargs['gitRepo'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if 'secretName' in kwargs: + secret_name = kwargs['secretName'] + if 'secretNamespace' in kwargs: + secret_namespace = kwargs['secretNamespace'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + if 'serviceAccountNamespace' in kwargs: + service_account_namespace = kwargs['serviceAccountNamespace'] + if annotations is not None: _setter("annotations", annotations) if ca_bundle is not None: diff --git a/sdk/python/pulumi_rancher2/certificate.py b/sdk/python/pulumi_rancher2/certificate.py index b7ae9e597..5630c9fca 100644 --- a/sdk/python/pulumi_rancher2/certificate.py +++ b/sdk/python/pulumi_rancher2/certificate.py @@ -55,7 +55,13 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + _setter("certs", certs) _setter("key", key) _setter("project_id", project_id) @@ -211,7 +217,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if annotations is not None: _setter("annotations", annotations) if certs is not None: diff --git a/sdk/python/pulumi_rancher2/cloud_credential.py b/sdk/python/pulumi_rancher2/cloud_credential.py index c0dd4aacc..735704831 100644 --- a/sdk/python/pulumi_rancher2/cloud_credential.py +++ b/sdk/python/pulumi_rancher2/cloud_credential.py @@ -77,7 +77,27 @@ def _configure( openstack_credential_config: Optional[pulumi.Input['CloudCredentialOpenstackCredentialConfigArgs']] = None, s3_credential_config: Optional[pulumi.Input['CloudCredentialS3CredentialConfigArgs']] = None, vsphere_credential_config: Optional[pulumi.Input['CloudCredentialVsphereCredentialConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'amazonec2CredentialConfig' in kwargs: + amazonec2_credential_config = kwargs['amazonec2CredentialConfig'] + if 'azureCredentialConfig' in kwargs: + azure_credential_config = kwargs['azureCredentialConfig'] + if 'digitaloceanCredentialConfig' in kwargs: + digitalocean_credential_config = kwargs['digitaloceanCredentialConfig'] + if 'googleCredentialConfig' in kwargs: + google_credential_config = kwargs['googleCredentialConfig'] + if 'harvesterCredentialConfig' in kwargs: + harvester_credential_config = kwargs['harvesterCredentialConfig'] + if 'linodeCredentialConfig' in kwargs: + linode_credential_config = kwargs['linodeCredentialConfig'] + if 'openstackCredentialConfig' in kwargs: + openstack_credential_config = kwargs['openstackCredentialConfig'] + if 's3CredentialConfig' in kwargs: + s3_credential_config = kwargs['s3CredentialConfig'] + if 'vsphereCredentialConfig' in kwargs: + vsphere_credential_config = kwargs['vsphereCredentialConfig'] + if amazonec2_credential_config is not None: _setter("amazonec2_credential_config", amazonec2_credential_config) if annotations is not None: @@ -330,7 +350,27 @@ def _configure( openstack_credential_config: Optional[pulumi.Input['CloudCredentialOpenstackCredentialConfigArgs']] = None, s3_credential_config: Optional[pulumi.Input['CloudCredentialS3CredentialConfigArgs']] = None, vsphere_credential_config: Optional[pulumi.Input['CloudCredentialVsphereCredentialConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'amazonec2CredentialConfig' in kwargs: + amazonec2_credential_config = kwargs['amazonec2CredentialConfig'] + if 'azureCredentialConfig' in kwargs: + azure_credential_config = kwargs['azureCredentialConfig'] + if 'digitaloceanCredentialConfig' in kwargs: + digitalocean_credential_config = kwargs['digitaloceanCredentialConfig'] + if 'googleCredentialConfig' in kwargs: + google_credential_config = kwargs['googleCredentialConfig'] + if 'harvesterCredentialConfig' in kwargs: + harvester_credential_config = kwargs['harvesterCredentialConfig'] + if 'linodeCredentialConfig' in kwargs: + linode_credential_config = kwargs['linodeCredentialConfig'] + if 'openstackCredentialConfig' in kwargs: + openstack_credential_config = kwargs['openstackCredentialConfig'] + if 's3CredentialConfig' in kwargs: + s3_credential_config = kwargs['s3CredentialConfig'] + if 'vsphereCredentialConfig' in kwargs: + vsphere_credential_config = kwargs['vsphereCredentialConfig'] + if amazonec2_credential_config is not None: _setter("amazonec2_credential_config", amazonec2_credential_config) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/cluster.py b/sdk/python/pulumi_rancher2/cluster.py index 9b32028d3..608de4010 100644 --- a/sdk/python/pulumi_rancher2/cluster.py +++ b/sdk/python/pulumi_rancher2/cluster.py @@ -161,7 +161,67 @@ def _configure( rke2_config: Optional[pulumi.Input['ClusterRke2ConfigArgs']] = None, rke_config: Optional[pulumi.Input['ClusterRkeConfigArgs']] = None, windows_prefered_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentEnvVars' in kwargs: + agent_env_vars = kwargs['agentEnvVars'] + if 'aksConfig' in kwargs: + aks_config = kwargs['aksConfig'] + if 'aksConfigV2' in kwargs: + aks_config_v2 = kwargs['aksConfigV2'] + if 'clusterAgentDeploymentCustomizations' in kwargs: + cluster_agent_deployment_customizations = kwargs['clusterAgentDeploymentCustomizations'] + if 'clusterAuthEndpoint' in kwargs: + cluster_auth_endpoint = kwargs['clusterAuthEndpoint'] + if 'clusterMonitoringInput' in kwargs: + cluster_monitoring_input = kwargs['clusterMonitoringInput'] + if 'clusterTemplateAnswers' in kwargs: + cluster_template_answers = kwargs['clusterTemplateAnswers'] + if 'clusterTemplateId' in kwargs: + cluster_template_id = kwargs['clusterTemplateId'] + if 'clusterTemplateQuestions' in kwargs: + cluster_template_questions = kwargs['clusterTemplateQuestions'] + if 'clusterTemplateRevisionId' in kwargs: + cluster_template_revision_id = kwargs['clusterTemplateRevisionId'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateId' in kwargs: + default_pod_security_policy_template_id = kwargs['defaultPodSecurityPolicyTemplateId'] + if 'desiredAgentImage' in kwargs: + desired_agent_image = kwargs['desiredAgentImage'] + if 'desiredAuthImage' in kwargs: + desired_auth_image = kwargs['desiredAuthImage'] + if 'dockerRootDir' in kwargs: + docker_root_dir = kwargs['dockerRootDir'] + if 'eksConfig' in kwargs: + eks_config = kwargs['eksConfig'] + if 'eksConfigV2' in kwargs: + eks_config_v2 = kwargs['eksConfigV2'] + if 'enableClusterAlerting' in kwargs: + enable_cluster_alerting = kwargs['enableClusterAlerting'] + if 'enableClusterMonitoring' in kwargs: + enable_cluster_monitoring = kwargs['enableClusterMonitoring'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'fleetAgentDeploymentCustomizations' in kwargs: + fleet_agent_deployment_customizations = kwargs['fleetAgentDeploymentCustomizations'] + if 'fleetWorkspaceName' in kwargs: + fleet_workspace_name = kwargs['fleetWorkspaceName'] + if 'gkeConfig' in kwargs: + gke_config = kwargs['gkeConfig'] + if 'gkeConfigV2' in kwargs: + gke_config_v2 = kwargs['gkeConfigV2'] + if 'k3sConfig' in kwargs: + k3s_config = kwargs['k3sConfig'] + if 'okeConfig' in kwargs: + oke_config = kwargs['okeConfig'] + if 'rke2Config' in kwargs: + rke2_config = kwargs['rke2Config'] + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if 'windowsPreferedCluster' in kwargs: + windows_prefered_cluster = kwargs['windowsPreferedCluster'] + if agent_env_vars is not None: _setter("agent_env_vars", agent_env_vars) if aks_config is not None: @@ -816,7 +876,81 @@ def _configure( rke_config: Optional[pulumi.Input['ClusterRkeConfigArgs']] = None, system_project_id: Optional[pulumi.Input[str]] = None, windows_prefered_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentEnvVars' in kwargs: + agent_env_vars = kwargs['agentEnvVars'] + if 'aksConfig' in kwargs: + aks_config = kwargs['aksConfig'] + if 'aksConfigV2' in kwargs: + aks_config_v2 = kwargs['aksConfigV2'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'clusterAgentDeploymentCustomizations' in kwargs: + cluster_agent_deployment_customizations = kwargs['clusterAgentDeploymentCustomizations'] + if 'clusterAuthEndpoint' in kwargs: + cluster_auth_endpoint = kwargs['clusterAuthEndpoint'] + if 'clusterMonitoringInput' in kwargs: + cluster_monitoring_input = kwargs['clusterMonitoringInput'] + if 'clusterRegistrationToken' in kwargs: + cluster_registration_token = kwargs['clusterRegistrationToken'] + if 'clusterTemplateAnswers' in kwargs: + cluster_template_answers = kwargs['clusterTemplateAnswers'] + if 'clusterTemplateId' in kwargs: + cluster_template_id = kwargs['clusterTemplateId'] + if 'clusterTemplateQuestions' in kwargs: + cluster_template_questions = kwargs['clusterTemplateQuestions'] + if 'clusterTemplateRevisionId' in kwargs: + cluster_template_revision_id = kwargs['clusterTemplateRevisionId'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateId' in kwargs: + default_pod_security_policy_template_id = kwargs['defaultPodSecurityPolicyTemplateId'] + if 'defaultProjectId' in kwargs: + default_project_id = kwargs['defaultProjectId'] + if 'desiredAgentImage' in kwargs: + desired_agent_image = kwargs['desiredAgentImage'] + if 'desiredAuthImage' in kwargs: + desired_auth_image = kwargs['desiredAuthImage'] + if 'dockerRootDir' in kwargs: + docker_root_dir = kwargs['dockerRootDir'] + if 'eksConfig' in kwargs: + eks_config = kwargs['eksConfig'] + if 'eksConfigV2' in kwargs: + eks_config_v2 = kwargs['eksConfigV2'] + if 'enableClusterAlerting' in kwargs: + enable_cluster_alerting = kwargs['enableClusterAlerting'] + if 'enableClusterIstio' in kwargs: + enable_cluster_istio = kwargs['enableClusterIstio'] + if 'enableClusterMonitoring' in kwargs: + enable_cluster_monitoring = kwargs['enableClusterMonitoring'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'fleetAgentDeploymentCustomizations' in kwargs: + fleet_agent_deployment_customizations = kwargs['fleetAgentDeploymentCustomizations'] + if 'fleetWorkspaceName' in kwargs: + fleet_workspace_name = kwargs['fleetWorkspaceName'] + if 'gkeConfig' in kwargs: + gke_config = kwargs['gkeConfig'] + if 'gkeConfigV2' in kwargs: + gke_config_v2 = kwargs['gkeConfigV2'] + if 'istioEnabled' in kwargs: + istio_enabled = kwargs['istioEnabled'] + if 'k3sConfig' in kwargs: + k3s_config = kwargs['k3sConfig'] + if 'kubeConfig' in kwargs: + kube_config = kwargs['kubeConfig'] + if 'okeConfig' in kwargs: + oke_config = kwargs['okeConfig'] + if 'rke2Config' in kwargs: + rke2_config = kwargs['rke2Config'] + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if 'systemProjectId' in kwargs: + system_project_id = kwargs['systemProjectId'] + if 'windowsPreferedCluster' in kwargs: + windows_prefered_cluster = kwargs['windowsPreferedCluster'] + if agent_env_vars is not None: _setter("agent_env_vars", agent_env_vars) if aks_config is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_alert_group.py b/sdk/python/pulumi_rancher2/cluster_alert_group.py index ed9084601..9bb289955 100644 --- a/sdk/python/pulumi_rancher2/cluster_alert_group.py +++ b/sdk/python/pulumi_rancher2/cluster_alert_group.py @@ -61,7 +61,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterAlertGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -237,7 +247,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterAlertGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_alert_rule.py b/sdk/python/pulumi_rancher2/cluster_alert_rule.py index c0154e98c..93989f749 100644 --- a/sdk/python/pulumi_rancher2/cluster_alert_rule.py +++ b/sdk/python/pulumi_rancher2/cluster_alert_rule.py @@ -81,7 +81,27 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, system_service_rule: Optional[pulumi.Input['ClusterAlertRuleSystemServiceRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'eventRule' in kwargs: + event_rule = kwargs['eventRule'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'nodeRule' in kwargs: + node_rule = kwargs['nodeRule'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'systemServiceRule' in kwargs: + system_service_rule = kwargs['systemServiceRule'] + _setter("cluster_id", cluster_id) _setter("group_id", group_id) if annotations is not None: @@ -346,7 +366,27 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, system_service_rule: Optional[pulumi.Input['ClusterAlertRuleSystemServiceRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'eventRule' in kwargs: + event_rule = kwargs['eventRule'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'nodeRule' in kwargs: + node_rule = kwargs['nodeRule'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'systemServiceRule' in kwargs: + system_service_rule = kwargs['systemServiceRule'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_alter_group.py b/sdk/python/pulumi_rancher2/cluster_alter_group.py index 7ea412663..e037d83df 100644 --- a/sdk/python/pulumi_rancher2/cluster_alter_group.py +++ b/sdk/python/pulumi_rancher2/cluster_alter_group.py @@ -61,7 +61,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterAlterGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -237,7 +247,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterAlterGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_alter_rule.py b/sdk/python/pulumi_rancher2/cluster_alter_rule.py index 6a86a2351..893549aa1 100644 --- a/sdk/python/pulumi_rancher2/cluster_alter_rule.py +++ b/sdk/python/pulumi_rancher2/cluster_alter_rule.py @@ -81,7 +81,27 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, system_service_rule: Optional[pulumi.Input['ClusterAlterRuleSystemServiceRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'eventRule' in kwargs: + event_rule = kwargs['eventRule'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'nodeRule' in kwargs: + node_rule = kwargs['nodeRule'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'systemServiceRule' in kwargs: + system_service_rule = kwargs['systemServiceRule'] + _setter("cluster_id", cluster_id) _setter("group_id", group_id) if annotations is not None: @@ -346,7 +366,27 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, system_service_rule: Optional[pulumi.Input['ClusterAlterRuleSystemServiceRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'eventRule' in kwargs: + event_rule = kwargs['eventRule'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'nodeRule' in kwargs: + node_rule = kwargs['nodeRule'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'systemServiceRule' in kwargs: + system_service_rule = kwargs['systemServiceRule'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_driver.py b/sdk/python/pulumi_rancher2/cluster_driver.py index f0f9cb872..46b514f62 100644 --- a/sdk/python/pulumi_rancher2/cluster_driver.py +++ b/sdk/python/pulumi_rancher2/cluster_driver.py @@ -63,7 +63,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, ui_url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'actualUrl' in kwargs: + actual_url = kwargs['actualUrl'] + if 'uiUrl' in kwargs: + ui_url = kwargs['uiUrl'] + if 'whitelistDomains' in kwargs: + whitelist_domains = kwargs['whitelistDomains'] + _setter("active", active) _setter("builtin", builtin) _setter("url", url) @@ -255,7 +263,15 @@ def _configure( ui_url: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'actualUrl' in kwargs: + actual_url = kwargs['actualUrl'] + if 'uiUrl' in kwargs: + ui_url = kwargs['uiUrl'] + if 'whitelistDomains' in kwargs: + whitelist_domains = kwargs['whitelistDomains'] + if active is not None: _setter("active", active) if actual_url is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_role_template_binding.py b/sdk/python/pulumi_rancher2/cluster_role_template_binding.py index 9172f1a2b..60ff474cb 100644 --- a/sdk/python/pulumi_rancher2/cluster_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/cluster_role_template_binding.py @@ -61,7 +61,21 @@ def _configure( name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'roleTemplateId' in kwargs: + role_template_id = kwargs['roleTemplateId'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + _setter("cluster_id", cluster_id) _setter("role_template_id", role_template_id) if annotations is not None: @@ -240,7 +254,21 @@ def _configure( role_template_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'roleTemplateId' in kwargs: + role_template_id = kwargs['roleTemplateId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_sync.py b/sdk/python/pulumi_rancher2/cluster_sync.py index 7cfb13012..088121b2d 100644 --- a/sdk/python/pulumi_rancher2/cluster_sync.py +++ b/sdk/python/pulumi_rancher2/cluster_sync.py @@ -54,7 +54,21 @@ def _configure( wait_alerting: Optional[pulumi.Input[bool]] = None, wait_catalogs: Optional[pulumi.Input[bool]] = None, wait_monitoring: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'nodePoolIds' in kwargs: + node_pool_ids = kwargs['nodePoolIds'] + if 'stateConfirm' in kwargs: + state_confirm = kwargs['stateConfirm'] + if 'waitAlerting' in kwargs: + wait_alerting = kwargs['waitAlerting'] + if 'waitCatalogs' in kwargs: + wait_catalogs = kwargs['waitCatalogs'] + if 'waitMonitoring' in kwargs: + wait_monitoring = kwargs['waitMonitoring'] + _setter("cluster_id", cluster_id) if node_pool_ids is not None: _setter("node_pool_ids", node_pool_ids) @@ -210,7 +224,27 @@ def _configure( wait_alerting: Optional[pulumi.Input[bool]] = None, wait_catalogs: Optional[pulumi.Input[bool]] = None, wait_monitoring: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'defaultProjectId' in kwargs: + default_project_id = kwargs['defaultProjectId'] + if 'kubeConfig' in kwargs: + kube_config = kwargs['kubeConfig'] + if 'nodePoolIds' in kwargs: + node_pool_ids = kwargs['nodePoolIds'] + if 'stateConfirm' in kwargs: + state_confirm = kwargs['stateConfirm'] + if 'systemProjectId' in kwargs: + system_project_id = kwargs['systemProjectId'] + if 'waitAlerting' in kwargs: + wait_alerting = kwargs['waitAlerting'] + if 'waitCatalogs' in kwargs: + wait_catalogs = kwargs['waitCatalogs'] + if 'waitMonitoring' in kwargs: + wait_monitoring = kwargs['waitMonitoring'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if default_project_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_template.py b/sdk/python/pulumi_rancher2/cluster_template.py index c0d4dce96..12be86a57 100644 --- a/sdk/python/pulumi_rancher2/cluster_template.py +++ b/sdk/python/pulumi_rancher2/cluster_template.py @@ -49,7 +49,11 @@ def _configure( members: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateMemberArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, template_revisions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'templateRevisions' in kwargs: + template_revisions = kwargs['templateRevisions'] + if annotations is not None: _setter("annotations", annotations) if description is not None: @@ -176,7 +180,13 @@ def _configure( members: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateMemberArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, template_revisions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRevisionId' in kwargs: + default_revision_id = kwargs['defaultRevisionId'] + if 'templateRevisions' in kwargs: + template_revisions = kwargs['templateRevisions'] + if annotations is not None: _setter("annotations", annotations) if default_revision_id is not None: diff --git a/sdk/python/pulumi_rancher2/cluster_v2.py b/sdk/python/pulumi_rancher2/cluster_v2.py index 15120248a..e5d1b5bb0 100644 --- a/sdk/python/pulumi_rancher2/cluster_v2.py +++ b/sdk/python/pulumi_rancher2/cluster_v2.py @@ -85,7 +85,33 @@ def _configure( local_auth_endpoint: Optional[pulumi.Input['ClusterV2LocalAuthEndpointArgs']] = None, name: Optional[pulumi.Input[str]] = None, rke_config: Optional[pulumi.Input['ClusterV2RkeConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'agentEnvVars' in kwargs: + agent_env_vars = kwargs['agentEnvVars'] + if 'cloudCredentialSecretName' in kwargs: + cloud_credential_secret_name = kwargs['cloudCredentialSecretName'] + if 'clusterAgentDeploymentCustomizations' in kwargs: + cluster_agent_deployment_customizations = kwargs['clusterAgentDeploymentCustomizations'] + if 'defaultClusterRoleForProjectMembers' in kwargs: + default_cluster_role_for_project_members = kwargs['defaultClusterRoleForProjectMembers'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateName' in kwargs: + default_pod_security_policy_template_name = kwargs['defaultPodSecurityPolicyTemplateName'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'fleetAgentDeploymentCustomizations' in kwargs: + fleet_agent_deployment_customizations = kwargs['fleetAgentDeploymentCustomizations'] + if 'fleetNamespace' in kwargs: + fleet_namespace = kwargs['fleetNamespace'] + if 'localAuthEndpoint' in kwargs: + local_auth_endpoint = kwargs['localAuthEndpoint'] + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + _setter("kubernetes_version", kubernetes_version) if agent_env_vars is not None: _setter("agent_env_vars", agent_env_vars) @@ -385,7 +411,41 @@ def _configure( name: Optional[pulumi.Input[str]] = None, resource_version: Optional[pulumi.Input[str]] = None, rke_config: Optional[pulumi.Input['ClusterV2RkeConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentEnvVars' in kwargs: + agent_env_vars = kwargs['agentEnvVars'] + if 'cloudCredentialSecretName' in kwargs: + cloud_credential_secret_name = kwargs['cloudCredentialSecretName'] + if 'clusterAgentDeploymentCustomizations' in kwargs: + cluster_agent_deployment_customizations = kwargs['clusterAgentDeploymentCustomizations'] + if 'clusterRegistrationToken' in kwargs: + cluster_registration_token = kwargs['clusterRegistrationToken'] + if 'clusterV1Id' in kwargs: + cluster_v1_id = kwargs['clusterV1Id'] + if 'defaultClusterRoleForProjectMembers' in kwargs: + default_cluster_role_for_project_members = kwargs['defaultClusterRoleForProjectMembers'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateName' in kwargs: + default_pod_security_policy_template_name = kwargs['defaultPodSecurityPolicyTemplateName'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'fleetAgentDeploymentCustomizations' in kwargs: + fleet_agent_deployment_customizations = kwargs['fleetAgentDeploymentCustomizations'] + if 'fleetNamespace' in kwargs: + fleet_namespace = kwargs['fleetNamespace'] + if 'kubeConfig' in kwargs: + kube_config = kwargs['kubeConfig'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'localAuthEndpoint' in kwargs: + local_auth_endpoint = kwargs['localAuthEndpoint'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if agent_env_vars is not None: _setter("agent_env_vars", agent_env_vars) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/config_map_v2.py b/sdk/python/pulumi_rancher2/config_map_v2.py index b99d67dac..46c471221 100644 --- a/sdk/python/pulumi_rancher2/config_map_v2.py +++ b/sdk/python/pulumi_rancher2/config_map_v2.py @@ -51,7 +51,11 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, namespace: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("cluster_id", cluster_id) _setter("data", data) if annotations is not None: @@ -194,7 +198,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, namespace: Optional[pulumi.Input[str]] = None, resource_version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/custom_user_token.py b/sdk/python/pulumi_rancher2/custom_user_token.py index b63474a8d..de48279b1 100644 --- a/sdk/python/pulumi_rancher2/custom_user_token.py +++ b/sdk/python/pulumi_rancher2/custom_user_token.py @@ -57,7 +57,11 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, renew: Optional[pulumi.Input[bool]] = None, ttl: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("password", password) _setter("username", username) if annotations is not None: @@ -254,7 +258,21 @@ def _configure( ttl: Optional[pulumi.Input[int]] = None, user_id: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'tempToken' in kwargs: + temp_token = kwargs['tempToken'] + if 'tempTokenId' in kwargs: + temp_token_id = kwargs['tempTokenId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if access_key is not None: _setter("access_key", access_key) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/etcd_backup.py b/sdk/python/pulumi_rancher2/etcd_backup.py index 1befcca41..c529b50f5 100644 --- a/sdk/python/pulumi_rancher2/etcd_backup.py +++ b/sdk/python/pulumi_rancher2/etcd_backup.py @@ -57,7 +57,15 @@ def _configure( manual: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -215,7 +223,15 @@ def _configure( manual: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + if annotations is not None: _setter("annotations", annotations) if backup_config is not None: diff --git a/sdk/python/pulumi_rancher2/feature.py b/sdk/python/pulumi_rancher2/feature.py index f5c4c1c84..0c598082e 100644 --- a/sdk/python/pulumi_rancher2/feature.py +++ b/sdk/python/pulumi_rancher2/feature.py @@ -39,7 +39,9 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if annotations is not None: _setter("annotations", annotations) if labels is not None: @@ -126,7 +128,9 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if annotations is not None: _setter("annotations", annotations) if labels is not None: diff --git a/sdk/python/pulumi_rancher2/global_dns.py b/sdk/python/pulumi_rancher2/global_dns.py index c6901f8fd..a32e57670 100644 --- a/sdk/python/pulumi_rancher2/global_dns.py +++ b/sdk/python/pulumi_rancher2/global_dns.py @@ -55,7 +55,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, ttl: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'providerId' in kwargs: + provider_id = kwargs['providerId'] + if 'multiClusterAppId' in kwargs: + multi_cluster_app_id = kwargs['multiClusterAppId'] + if 'projectIds' in kwargs: + project_ids = kwargs['projectIds'] + _setter("fqdn", fqdn) _setter("provider_id", provider_id) if annotations is not None: @@ -212,7 +220,15 @@ def _configure( project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, provider_id: Optional[pulumi.Input[str]] = None, ttl: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'multiClusterAppId' in kwargs: + multi_cluster_app_id = kwargs['multiClusterAppId'] + if 'projectIds' in kwargs: + project_ids = kwargs['projectIds'] + if 'providerId' in kwargs: + provider_id = kwargs['providerId'] + if annotations is not None: _setter("annotations", annotations) if fqdn is not None: diff --git a/sdk/python/pulumi_rancher2/global_dns_provider.py b/sdk/python/pulumi_rancher2/global_dns_provider.py index 7532d86d9..7c6bbcaf3 100644 --- a/sdk/python/pulumi_rancher2/global_dns_provider.py +++ b/sdk/python/pulumi_rancher2/global_dns_provider.py @@ -50,7 +50,17 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, route53_config: Optional[pulumi.Input['GlobalDnsProviderRoute53ConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rootDomain' in kwargs: + root_domain = kwargs['rootDomain'] + if 'alidnsConfig' in kwargs: + alidns_config = kwargs['alidnsConfig'] + if 'cloudflareConfig' in kwargs: + cloudflare_config = kwargs['cloudflareConfig'] + if 'route53Config' in kwargs: + route53_config = kwargs['route53Config'] + _setter("root_domain", root_domain) if alidns_config is not None: _setter("alidns_config", alidns_config) @@ -182,7 +192,19 @@ def _configure( name: Optional[pulumi.Input[str]] = None, root_domain: Optional[pulumi.Input[str]] = None, route53_config: Optional[pulumi.Input['GlobalDnsProviderRoute53ConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alidnsConfig' in kwargs: + alidns_config = kwargs['alidnsConfig'] + if 'cloudflareConfig' in kwargs: + cloudflare_config = kwargs['cloudflareConfig'] + if 'dnsProvider' in kwargs: + dns_provider = kwargs['dnsProvider'] + if 'rootDomain' in kwargs: + root_domain = kwargs['rootDomain'] + if 'route53Config' in kwargs: + route53_config = kwargs['route53Config'] + if alidns_config is not None: _setter("alidns_config", alidns_config) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/global_role.py b/sdk/python/pulumi_rancher2/global_role.py index 4f0a4ba19..0970f7e96 100644 --- a/sdk/python/pulumi_rancher2/global_role.py +++ b/sdk/python/pulumi_rancher2/global_role.py @@ -49,7 +49,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, new_user_default: Optional[pulumi.Input[bool]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['GlobalRoleRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'newUserDefault' in kwargs: + new_user_default = kwargs['newUserDefault'] + if annotations is not None: _setter("annotations", annotations) if description is not None: @@ -176,7 +180,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, new_user_default: Optional[pulumi.Input[bool]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['GlobalRoleRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'newUserDefault' in kwargs: + new_user_default = kwargs['newUserDefault'] + if annotations is not None: _setter("annotations", annotations) if builtin is not None: diff --git a/sdk/python/pulumi_rancher2/global_role_binding.py b/sdk/python/pulumi_rancher2/global_role_binding.py index 5a08d6cdf..c6a67c97a 100644 --- a/sdk/python/pulumi_rancher2/global_role_binding.py +++ b/sdk/python/pulumi_rancher2/global_role_binding.py @@ -49,7 +49,15 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'globalRoleId' in kwargs: + global_role_id = kwargs['globalRoleId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + _setter("global_role_id", global_role_id) if annotations is not None: _setter("annotations", annotations) @@ -175,7 +183,15 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'globalRoleId' in kwargs: + global_role_id = kwargs['globalRoleId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if annotations is not None: _setter("annotations", annotations) if global_role_id is not None: diff --git a/sdk/python/pulumi_rancher2/machine_config_v2.py b/sdk/python/pulumi_rancher2/machine_config_v2.py index c71f57d1d..a0b8a7981 100644 --- a/sdk/python/pulumi_rancher2/machine_config_v2.py +++ b/sdk/python/pulumi_rancher2/machine_config_v2.py @@ -71,7 +71,27 @@ def _configure( linode_config: Optional[pulumi.Input['MachineConfigV2LinodeConfigArgs']] = None, openstack_config: Optional[pulumi.Input['MachineConfigV2OpenstackConfigArgs']] = None, vsphere_config: Optional[pulumi.Input['MachineConfigV2VsphereConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'generateName' in kwargs: + generate_name = kwargs['generateName'] + if 'amazonec2Config' in kwargs: + amazonec2_config = kwargs['amazonec2Config'] + if 'azureConfig' in kwargs: + azure_config = kwargs['azureConfig'] + if 'digitaloceanConfig' in kwargs: + digitalocean_config = kwargs['digitaloceanConfig'] + if 'fleetNamespace' in kwargs: + fleet_namespace = kwargs['fleetNamespace'] + if 'harvesterConfig' in kwargs: + harvester_config = kwargs['harvesterConfig'] + if 'linodeConfig' in kwargs: + linode_config = kwargs['linodeConfig'] + if 'openstackConfig' in kwargs: + openstack_config = kwargs['openstackConfig'] + if 'vsphereConfig' in kwargs: + vsphere_config = kwargs['vsphereConfig'] + _setter("generate_name", generate_name) if amazonec2_config is not None: _setter("amazonec2_config", amazonec2_config) @@ -299,7 +319,29 @@ def _configure( openstack_config: Optional[pulumi.Input['MachineConfigV2OpenstackConfigArgs']] = None, resource_version: Optional[pulumi.Input[str]] = None, vsphere_config: Optional[pulumi.Input['MachineConfigV2VsphereConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'amazonec2Config' in kwargs: + amazonec2_config = kwargs['amazonec2Config'] + if 'azureConfig' in kwargs: + azure_config = kwargs['azureConfig'] + if 'digitaloceanConfig' in kwargs: + digitalocean_config = kwargs['digitaloceanConfig'] + if 'fleetNamespace' in kwargs: + fleet_namespace = kwargs['fleetNamespace'] + if 'generateName' in kwargs: + generate_name = kwargs['generateName'] + if 'harvesterConfig' in kwargs: + harvester_config = kwargs['harvesterConfig'] + if 'linodeConfig' in kwargs: + linode_config = kwargs['linodeConfig'] + if 'openstackConfig' in kwargs: + openstack_config = kwargs['openstackConfig'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if 'vsphereConfig' in kwargs: + vsphere_config = kwargs['vsphereConfig'] + if amazonec2_config is not None: _setter("amazonec2_config", amazonec2_config) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/multi_cluster_app.py b/sdk/python/pulumi_rancher2/multi_cluster_app.py index 94c50ecdd..19682dad5 100644 --- a/sdk/python/pulumi_rancher2/multi_cluster_app.py +++ b/sdk/python/pulumi_rancher2/multi_cluster_app.py @@ -81,7 +81,21 @@ def _configure( template_version: Optional[pulumi.Input[str]] = None, upgrade_strategy: Optional[pulumi.Input['MultiClusterAppUpgradeStrategyArgs']] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + if 'revisionHistoryLimit' in kwargs: + revision_history_limit = kwargs['revisionHistoryLimit'] + if 'revisionId' in kwargs: + revision_id = kwargs['revisionId'] + if 'templateVersion' in kwargs: + template_version = kwargs['templateVersion'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + _setter("catalog_name", catalog_name) _setter("roles", roles) _setter("targets", targets) @@ -348,7 +362,23 @@ def _configure( template_version_id: Optional[pulumi.Input[str]] = None, upgrade_strategy: Optional[pulumi.Input['MultiClusterAppUpgradeStrategyArgs']] = None, wait: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'revisionHistoryLimit' in kwargs: + revision_history_limit = kwargs['revisionHistoryLimit'] + if 'revisionId' in kwargs: + revision_id = kwargs['revisionId'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + if 'templateVersion' in kwargs: + template_version = kwargs['templateVersion'] + if 'templateVersionId' in kwargs: + template_version_id = kwargs['templateVersionId'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if annotations is not None: _setter("annotations", annotations) if answers is not None: diff --git a/sdk/python/pulumi_rancher2/namespace.py b/sdk/python/pulumi_rancher2/namespace.py index 544f3dd95..2c81054b7 100644 --- a/sdk/python/pulumi_rancher2/namespace.py +++ b/sdk/python/pulumi_rancher2/namespace.py @@ -57,7 +57,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, resource_quota: Optional[pulumi.Input['NamespaceResourceQuotaArgs']] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'containerResourceLimit' in kwargs: + container_resource_limit = kwargs['containerResourceLimit'] + if 'resourceQuota' in kwargs: + resource_quota = kwargs['resourceQuota'] + if 'waitForCluster' in kwargs: + wait_for_cluster = kwargs['waitForCluster'] + _setter("project_id", project_id) if annotations is not None: _setter("annotations", annotations) @@ -215,7 +225,17 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, resource_quota: Optional[pulumi.Input['NamespaceResourceQuotaArgs']] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'containerResourceLimit' in kwargs: + container_resource_limit = kwargs['containerResourceLimit'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'resourceQuota' in kwargs: + resource_quota = kwargs['resourceQuota'] + if 'waitForCluster' in kwargs: + wait_for_cluster = kwargs['waitForCluster'] + if annotations is not None: _setter("annotations", annotations) if container_resource_limit is not None: diff --git a/sdk/python/pulumi_rancher2/node_driver.py b/sdk/python/pulumi_rancher2/node_driver.py index 5c75f807b..06319e158 100644 --- a/sdk/python/pulumi_rancher2/node_driver.py +++ b/sdk/python/pulumi_rancher2/node_driver.py @@ -67,7 +67,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, ui_url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'uiUrl' in kwargs: + ui_url = kwargs['uiUrl'] + if 'whitelistDomains' in kwargs: + whitelist_domains = kwargs['whitelistDomains'] + _setter("active", active) _setter("builtin", builtin) _setter("url", url) @@ -277,7 +285,15 @@ def _configure( ui_url: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'uiUrl' in kwargs: + ui_url = kwargs['uiUrl'] + if 'whitelistDomains' in kwargs: + whitelist_domains = kwargs['whitelistDomains'] + if active is not None: _setter("active", active) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/node_pool.py b/sdk/python/pulumi_rancher2/node_pool.py index d74bf9333..e8211d4c6 100644 --- a/sdk/python/pulumi_rancher2/node_pool.py +++ b/sdk/python/pulumi_rancher2/node_pool.py @@ -77,7 +77,23 @@ def _configure( node_taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolNodeTaintArgs']]]] = None, quantity: Optional[pulumi.Input[int]] = None, worker: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'hostnamePrefix' in kwargs: + hostname_prefix = kwargs['hostnamePrefix'] + if 'nodeTemplateId' in kwargs: + node_template_id = kwargs['nodeTemplateId'] + if 'controlPlane' in kwargs: + control_plane = kwargs['controlPlane'] + if 'deleteNotReadyAfterSecs' in kwargs: + delete_not_ready_after_secs = kwargs['deleteNotReadyAfterSecs'] + if 'drainBeforeDelete' in kwargs: + drain_before_delete = kwargs['drainBeforeDelete'] + if 'nodeTaints' in kwargs: + node_taints = kwargs['nodeTaints'] + _setter("cluster_id", cluster_id) _setter("hostname_prefix", hostname_prefix) _setter("node_template_id", node_template_id) @@ -323,7 +339,23 @@ def _configure( node_template_id: Optional[pulumi.Input[str]] = None, quantity: Optional[pulumi.Input[int]] = None, worker: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'controlPlane' in kwargs: + control_plane = kwargs['controlPlane'] + if 'deleteNotReadyAfterSecs' in kwargs: + delete_not_ready_after_secs = kwargs['deleteNotReadyAfterSecs'] + if 'drainBeforeDelete' in kwargs: + drain_before_delete = kwargs['drainBeforeDelete'] + if 'hostnamePrefix' in kwargs: + hostname_prefix = kwargs['hostnamePrefix'] + if 'nodeTaints' in kwargs: + node_taints = kwargs['nodeTaints'] + if 'nodeTemplateId' in kwargs: + node_template_id = kwargs['nodeTemplateId'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/node_template.py b/sdk/python/pulumi_rancher2/node_template.py index 7904d0fe2..4e85712bd 100644 --- a/sdk/python/pulumi_rancher2/node_template.py +++ b/sdk/python/pulumi_rancher2/node_template.py @@ -135,7 +135,55 @@ def _configure( outscale_config: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input['NodeTemplateVsphereConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'amazonec2Config' in kwargs: + amazonec2_config = kwargs['amazonec2Config'] + if 'authCertificateAuthority' in kwargs: + auth_certificate_authority = kwargs['authCertificateAuthority'] + if 'authKey' in kwargs: + auth_key = kwargs['authKey'] + if 'azureConfig' in kwargs: + azure_config = kwargs['azureConfig'] + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'digitaloceanConfig' in kwargs: + digitalocean_config = kwargs['digitaloceanConfig'] + if 'driverId' in kwargs: + driver_id = kwargs['driverId'] + if 'engineEnv' in kwargs: + engine_env = kwargs['engineEnv'] + if 'engineInsecureRegistries' in kwargs: + engine_insecure_registries = kwargs['engineInsecureRegistries'] + if 'engineInstallUrl' in kwargs: + engine_install_url = kwargs['engineInstallUrl'] + if 'engineLabel' in kwargs: + engine_label = kwargs['engineLabel'] + if 'engineOpt' in kwargs: + engine_opt = kwargs['engineOpt'] + if 'engineRegistryMirrors' in kwargs: + engine_registry_mirrors = kwargs['engineRegistryMirrors'] + if 'engineStorageDriver' in kwargs: + engine_storage_driver = kwargs['engineStorageDriver'] + if 'harvesterConfig' in kwargs: + harvester_config = kwargs['harvesterConfig'] + if 'hetznerConfig' in kwargs: + hetzner_config = kwargs['hetznerConfig'] + if 'linodeConfig' in kwargs: + linode_config = kwargs['linodeConfig'] + if 'nodeTaints' in kwargs: + node_taints = kwargs['nodeTaints'] + if 'opennebulaConfig' in kwargs: + opennebula_config = kwargs['opennebulaConfig'] + if 'openstackConfig' in kwargs: + openstack_config = kwargs['openstackConfig'] + if 'outscaleConfig' in kwargs: + outscale_config = kwargs['outscaleConfig'] + if 'useInternalIpAddress' in kwargs: + use_internal_ip_address = kwargs['useInternalIpAddress'] + if 'vsphereConfig' in kwargs: + vsphere_config = kwargs['vsphereConfig'] + if amazonec2_config is not None: _setter("amazonec2_config", amazonec2_config) if annotations is not None: @@ -644,7 +692,55 @@ def _configure( outscale_config: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input['NodeTemplateVsphereConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'amazonec2Config' in kwargs: + amazonec2_config = kwargs['amazonec2Config'] + if 'authCertificateAuthority' in kwargs: + auth_certificate_authority = kwargs['authCertificateAuthority'] + if 'authKey' in kwargs: + auth_key = kwargs['authKey'] + if 'azureConfig' in kwargs: + azure_config = kwargs['azureConfig'] + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'digitaloceanConfig' in kwargs: + digitalocean_config = kwargs['digitaloceanConfig'] + if 'driverId' in kwargs: + driver_id = kwargs['driverId'] + if 'engineEnv' in kwargs: + engine_env = kwargs['engineEnv'] + if 'engineInsecureRegistries' in kwargs: + engine_insecure_registries = kwargs['engineInsecureRegistries'] + if 'engineInstallUrl' in kwargs: + engine_install_url = kwargs['engineInstallUrl'] + if 'engineLabel' in kwargs: + engine_label = kwargs['engineLabel'] + if 'engineOpt' in kwargs: + engine_opt = kwargs['engineOpt'] + if 'engineRegistryMirrors' in kwargs: + engine_registry_mirrors = kwargs['engineRegistryMirrors'] + if 'engineStorageDriver' in kwargs: + engine_storage_driver = kwargs['engineStorageDriver'] + if 'harvesterConfig' in kwargs: + harvester_config = kwargs['harvesterConfig'] + if 'hetznerConfig' in kwargs: + hetzner_config = kwargs['hetznerConfig'] + if 'linodeConfig' in kwargs: + linode_config = kwargs['linodeConfig'] + if 'nodeTaints' in kwargs: + node_taints = kwargs['nodeTaints'] + if 'opennebulaConfig' in kwargs: + opennebula_config = kwargs['opennebulaConfig'] + if 'openstackConfig' in kwargs: + openstack_config = kwargs['openstackConfig'] + if 'outscaleConfig' in kwargs: + outscale_config = kwargs['outscaleConfig'] + if 'useInternalIpAddress' in kwargs: + use_internal_ip_address = kwargs['useInternalIpAddress'] + if 'vsphereConfig' in kwargs: + vsphere_config = kwargs['vsphereConfig'] + if amazonec2_config is not None: _setter("amazonec2_config", amazonec2_config) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/notifier.py b/sdk/python/pulumi_rancher2/notifier.py index 84a278ac3..7ce2dca8f 100644 --- a/sdk/python/pulumi_rancher2/notifier.py +++ b/sdk/python/pulumi_rancher2/notifier.py @@ -77,7 +77,27 @@ def _configure( smtp_config: Optional[pulumi.Input['NotifierSmtpConfigArgs']] = None, webhook_config: Optional[pulumi.Input['NotifierWebhookConfigArgs']] = None, wechat_config: Optional[pulumi.Input['NotifierWechatConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'dingtalkConfig' in kwargs: + dingtalk_config = kwargs['dingtalkConfig'] + if 'msteamsConfig' in kwargs: + msteams_config = kwargs['msteamsConfig'] + if 'pagerdutyConfig' in kwargs: + pagerduty_config = kwargs['pagerdutyConfig'] + if 'sendResolved' in kwargs: + send_resolved = kwargs['sendResolved'] + if 'slackConfig' in kwargs: + slack_config = kwargs['slackConfig'] + if 'smtpConfig' in kwargs: + smtp_config = kwargs['smtpConfig'] + if 'webhookConfig' in kwargs: + webhook_config = kwargs['webhookConfig'] + if 'wechatConfig' in kwargs: + wechat_config = kwargs['wechatConfig'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -325,7 +345,27 @@ def _configure( smtp_config: Optional[pulumi.Input['NotifierSmtpConfigArgs']] = None, webhook_config: Optional[pulumi.Input['NotifierWebhookConfigArgs']] = None, wechat_config: Optional[pulumi.Input['NotifierWechatConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'dingtalkConfig' in kwargs: + dingtalk_config = kwargs['dingtalkConfig'] + if 'msteamsConfig' in kwargs: + msteams_config = kwargs['msteamsConfig'] + if 'pagerdutyConfig' in kwargs: + pagerduty_config = kwargs['pagerdutyConfig'] + if 'sendResolved' in kwargs: + send_resolved = kwargs['sendResolved'] + if 'slackConfig' in kwargs: + slack_config = kwargs['slackConfig'] + if 'smtpConfig' in kwargs: + smtp_config = kwargs['smtpConfig'] + if 'webhookConfig' in kwargs: + webhook_config = kwargs['webhookConfig'] + if 'wechatConfig' in kwargs: + wechat_config = kwargs['wechatConfig'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/outputs.py b/sdk/python/pulumi_rancher2/outputs.py index c1df4741d..076b2254d 100644 --- a/sdk/python/pulumi_rancher2/outputs.py +++ b/sdk/python/pulumi_rancher2/outputs.py @@ -574,7 +574,15 @@ def _configure( access_key: str, secret_key: str, default_region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'defaultRegion' in kwargs: + default_region = kwargs['defaultRegion'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if default_region is not None: @@ -659,7 +667,17 @@ def _configure( subscription_id: str, environment: Optional[str] = None, tenant_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret", client_secret) _setter("subscription_id", subscription_id) @@ -741,7 +759,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], access_token: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + _setter("access_token", access_token) @property @@ -785,7 +807,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], auth_encoded_json: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authEncodedJson' in kwargs: + auth_encoded_json = kwargs['authEncodedJson'] + _setter("auth_encoded_json", auth_encoded_json) @property @@ -841,7 +867,15 @@ def _configure( cluster_type: str, kubeconfig_content: str, cluster_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterType' in kwargs: + cluster_type = kwargs['clusterType'] + if 'kubeconfigContent' in kwargs: + kubeconfig_content = kwargs['kubeconfigContent'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("cluster_type", cluster_type) _setter("kubeconfig_content", kubeconfig_content) if cluster_id is not None: @@ -887,7 +921,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], token: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("token", token) @property @@ -914,7 +950,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -1000,7 +1038,25 @@ def _configure( default_folder: Optional[str] = None, default_region: Optional[str] = None, default_skip_ssl_verify: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'defaultBucket' in kwargs: + default_bucket = kwargs['defaultBucket'] + if 'defaultEndpoint' in kwargs: + default_endpoint = kwargs['defaultEndpoint'] + if 'defaultEndpointCa' in kwargs: + default_endpoint_ca = kwargs['defaultEndpointCa'] + if 'defaultFolder' in kwargs: + default_folder = kwargs['defaultFolder'] + if 'defaultRegion' in kwargs: + default_region = kwargs['defaultRegion'] + if 'defaultSkipSslVerify' in kwargs: + default_skip_ssl_verify = kwargs['defaultSkipSslVerify'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if default_bucket is not None: @@ -1125,7 +1181,11 @@ def _configure( username: str, vcenter: str, vcenter_port: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + _setter("password", password) _setter("username", username) _setter("vcenter", vcenter) @@ -1184,7 +1244,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) _setter("value", value) @@ -1455,7 +1517,77 @@ def _configure( service_cidr: Optional[str] = None, tag: Optional[Mapping[str, Any]] = None, tags: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentDnsPrefix' in kwargs: + agent_dns_prefix = kwargs['agentDnsPrefix'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'masterDnsPrefix' in kwargs: + master_dns_prefix = kwargs['masterDnsPrefix'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshPublicKeyContents' in kwargs: + ssh_public_key_contents = kwargs['sshPublicKeyContents'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + if 'aadServerAppSecret' in kwargs: + aad_server_app_secret = kwargs['aadServerAppSecret'] + if 'aadTenantId' in kwargs: + aad_tenant_id = kwargs['aadTenantId'] + if 'addClientAppId' in kwargs: + add_client_app_id = kwargs['addClientAppId'] + if 'addServerAppId' in kwargs: + add_server_app_id = kwargs['addServerAppId'] + if 'adminUsername' in kwargs: + admin_username = kwargs['adminUsername'] + if 'agentOsDiskSize' in kwargs: + agent_os_disk_size = kwargs['agentOsDiskSize'] + if 'agentPoolName' in kwargs: + agent_pool_name = kwargs['agentPoolName'] + if 'agentStorageProfile' in kwargs: + agent_storage_profile = kwargs['agentStorageProfile'] + if 'agentVmSize' in kwargs: + agent_vm_size = kwargs['agentVmSize'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsServiceIp' in kwargs: + dns_service_ip = kwargs['dnsServiceIp'] + if 'dockerBridgeCidr' in kwargs: + docker_bridge_cidr = kwargs['dockerBridgeCidr'] + if 'enableHttpApplicationRouting' in kwargs: + enable_http_application_routing = kwargs['enableHttpApplicationRouting'] + if 'enableMonitoring' in kwargs: + enable_monitoring = kwargs['enableMonitoring'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'logAnalyticsWorkspace' in kwargs: + log_analytics_workspace = kwargs['logAnalyticsWorkspace'] + if 'logAnalyticsWorkspaceResourceGroup' in kwargs: + log_analytics_workspace_resource_group = kwargs['logAnalyticsWorkspaceResourceGroup'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + _setter("agent_dns_prefix", agent_dns_prefix) _setter("client_id", client_id) _setter("client_secret", client_secret) @@ -2029,7 +2161,57 @@ def _configure( tags: Optional[Mapping[str, Any]] = None, virtual_network: Optional[str] = None, virtual_network_resource_group: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'resourceLocation' in kwargs: + resource_location = kwargs['resourceLocation'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'authorizedIpRanges' in kwargs: + authorized_ip_ranges = kwargs['authorizedIpRanges'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsPrefix' in kwargs: + dns_prefix = kwargs['dnsPrefix'] + if 'httpApplicationRouting' in kwargs: + http_application_routing = kwargs['httpApplicationRouting'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'linuxAdminUsername' in kwargs: + linux_admin_username = kwargs['linuxAdminUsername'] + if 'linuxSshPublicKey' in kwargs: + linux_ssh_public_key = kwargs['linuxSshPublicKey'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'logAnalyticsWorkspaceGroup' in kwargs: + log_analytics_workspace_group = kwargs['logAnalyticsWorkspaceGroup'] + if 'logAnalyticsWorkspaceName' in kwargs: + log_analytics_workspace_name = kwargs['logAnalyticsWorkspaceName'] + if 'networkDnsServiceIp' in kwargs: + network_dns_service_ip = kwargs['networkDnsServiceIp'] + if 'networkDockerBridgeCidr' in kwargs: + network_docker_bridge_cidr = kwargs['networkDockerBridgeCidr'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'networkPodCidr' in kwargs: + network_pod_cidr = kwargs['networkPodCidr'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'networkServiceCidr' in kwargs: + network_service_cidr = kwargs['networkServiceCidr'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + if 'privateCluster' in kwargs: + private_cluster = kwargs['privateCluster'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + _setter("cloud_credential_id", cloud_credential_id) _setter("resource_group", resource_group) _setter("resource_location", resource_location) @@ -2431,7 +2613,31 @@ def _configure( os_type: Optional[str] = None, taints: Optional[Sequence[str]] = None, vm_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZones' in kwargs: + availability_zones = kwargs['availabilityZones'] + if 'enableAutoScaling' in kwargs: + enable_auto_scaling = kwargs['enableAutoScaling'] + if 'maxCount' in kwargs: + max_count = kwargs['maxCount'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'minCount' in kwargs: + min_count = kwargs['minCount'] + if 'orchestratorVersion' in kwargs: + orchestrator_version = kwargs['orchestratorVersion'] + if 'osDiskSizeGb' in kwargs: + os_disk_size_gb = kwargs['osDiskSizeGb'] + if 'osDiskType' in kwargs: + os_disk_type = kwargs['osDiskType'] + if 'osType' in kwargs: + os_type = kwargs['osType'] + if 'vmSize' in kwargs: + vm_size = kwargs['vmSize'] + _setter("name", name) if availability_zones is not None: _setter("availability_zones", availability_zones) @@ -2641,7 +2847,15 @@ def _configure( default_recipient: Optional[bool] = None, notifier_type: Optional[str] = None, recipient: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -2721,7 +2935,13 @@ def _configure( _setter: Callable[[Any, Any], None], resource_kind: str, event_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'resourceKind' in kwargs: + resource_kind = kwargs['resourceKind'] + if 'eventType' in kwargs: + event_type = kwargs['eventType'] + _setter("resource_kind", resource_kind) if event_type is not None: _setter("event_type", event_type) @@ -2791,7 +3011,11 @@ def _configure( threshold_value: float, comparison: Optional[str] = None, description: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -2893,7 +3117,15 @@ def _configure( mem_threshold: Optional[int] = None, node_id: Optional[str] = None, selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuThreshold' in kwargs: + cpu_threshold = kwargs['cpuThreshold'] + if 'memThreshold' in kwargs: + mem_threshold = kwargs['memThreshold'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if condition is not None: _setter("condition", condition) if cpu_threshold is not None: @@ -2961,7 +3193,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], condition: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if condition is not None: _setter("condition", condition) @@ -3022,7 +3256,15 @@ def _configure( default_recipient: Optional[bool] = None, notifier_type: Optional[str] = None, recipient: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -3098,7 +3340,13 @@ def _configure( _setter: Callable[[Any, Any], None], resource_kind: str, event_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'resourceKind' in kwargs: + resource_kind = kwargs['resourceKind'] + if 'eventType' in kwargs: + event_type = kwargs['eventType'] + _setter("resource_kind", resource_kind) if event_type is not None: _setter("event_type", event_type) @@ -3158,7 +3406,11 @@ def _configure( threshold_value: float, comparison: Optional[str] = None, description: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -3241,7 +3493,15 @@ def _configure( mem_threshold: Optional[int] = None, node_id: Optional[str] = None, selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuThreshold' in kwargs: + cpu_threshold = kwargs['cpuThreshold'] + if 'memThreshold' in kwargs: + mem_threshold = kwargs['memThreshold'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if condition is not None: _setter("condition", condition) if cpu_threshold is not None: @@ -3291,7 +3551,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], condition: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if condition is not None: _setter("condition", condition) @@ -3345,7 +3607,15 @@ def _configure( append_tolerations: Optional[Sequence['outputs.ClusterClusterAgentDeploymentCustomizationAppendToleration']] = None, override_affinity: Optional[str] = None, override_resource_requirements: Optional[Sequence['outputs.ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirement']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -3409,7 +3679,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -3511,7 +3783,17 @@ def _configure( cpu_request: Optional[str] = None, memory_limit: Optional[str] = None, memory_request: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -3594,7 +3876,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -3646,7 +3932,9 @@ def _configure( _setter: Callable[[Any, Any], None], answers: Optional[Mapping[str, Any]] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if answers is not None: _setter("answers", answers) if version is not None: @@ -3761,7 +4049,23 @@ def _configure( node_command: Optional[str] = None, token: Optional[str] = None, windows_node_command: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: @@ -3936,7 +4240,13 @@ def _configure( cluster_id: Optional[str] = None, project_id: Optional[str] = None, values: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if project_id is not None: @@ -3996,7 +4306,9 @@ def _configure( variable: str, required: Optional[bool] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -4170,7 +4482,41 @@ def _configure( subnets: Optional[Sequence[str]] = None, user_data: Optional[str] = None, virtual_network: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'associateWorkerNodePublicIp' in kwargs: + associate_worker_node_public_ip = kwargs['associateWorkerNodePublicIp'] + if 'desiredNodes' in kwargs: + desired_nodes = kwargs['desiredNodes'] + if 'ebsEncryption' in kwargs: + ebs_encryption = kwargs['ebsEncryption'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'keyPairName' in kwargs: + key_pair_name = kwargs['keyPairName'] + if 'maximumNodes' in kwargs: + maximum_nodes = kwargs['maximumNodes'] + if 'minimumNodes' in kwargs: + minimum_nodes = kwargs['minimumNodes'] + if 'nodeVolumeSize' in kwargs: + node_volume_size = kwargs['nodeVolumeSize'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + _setter("access_key", access_key) _setter("kubernetes_version", kubernetes_version) _setter("secret_key", secret_key) @@ -4469,7 +4815,31 @@ def _configure( service_role: Optional[str] = None, subnets: Optional[Sequence[str]] = None, tags: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loggingTypes' in kwargs: + logging_types = kwargs['loggingTypes'] + if 'nodeGroups' in kwargs: + node_groups = kwargs['nodeGroups'] + if 'privateAccess' in kwargs: + private_access = kwargs['privateAccess'] + if 'publicAccess' in kwargs: + public_access = kwargs['publicAccess'] + if 'publicAccessSources' in kwargs: + public_access_sources = kwargs['publicAccessSources'] + if 'secretsEncryption' in kwargs: + secrets_encryption = kwargs['secretsEncryption'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + _setter("cloud_credential_id", cloud_credential_id) if imported is not None: _setter("imported", imported) @@ -4759,7 +5129,35 @@ def _configure( tags: Optional[Mapping[str, Any]] = None, user_data: Optional[str] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'desiredSize' in kwargs: + desired_size = kwargs['desiredSize'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'ec2SshKey' in kwargs: + ec2_ssh_key = kwargs['ec2SshKey'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'launchTemplates' in kwargs: + launch_templates = kwargs['launchTemplates'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if 'minSize' in kwargs: + min_size = kwargs['minSize'] + if 'nodeRole' in kwargs: + node_role = kwargs['nodeRole'] + if 'requestSpotInstances' in kwargs: + request_spot_instances = kwargs['requestSpotInstances'] + if 'resourceTags' in kwargs: + resource_tags = kwargs['resourceTags'] + if 'spotInstanceTypes' in kwargs: + spot_instance_types = kwargs['spotInstanceTypes'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + _setter("name", name) if desired_size is not None: _setter("desired_size", desired_size) @@ -4974,7 +5372,9 @@ def _configure( id: str, name: Optional[str] = None, version: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) if name is not None: _setter("name", name) @@ -5050,7 +5450,15 @@ def _configure( append_tolerations: Optional[Sequence['outputs.ClusterFleetAgentDeploymentCustomizationAppendToleration']] = None, override_affinity: Optional[str] = None, override_resource_requirements: Optional[Sequence['outputs.ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirement']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -5114,7 +5522,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -5216,7 +5626,17 @@ def _configure( cpu_request: Optional[str] = None, memory_limit: Optional[str] = None, memory_request: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -5585,7 +6005,97 @@ def _configure( taints: Optional[Sequence[str]] = None, use_ip_aliases: Optional[bool] = None, zone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4Cidr' in kwargs: + cluster_ipv4_cidr = kwargs['clusterIpv4Cidr'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'ipPolicyClusterIpv4CidrBlock' in kwargs: + ip_policy_cluster_ipv4_cidr_block = kwargs['ipPolicyClusterIpv4CidrBlock'] + if 'ipPolicyClusterSecondaryRangeName' in kwargs: + ip_policy_cluster_secondary_range_name = kwargs['ipPolicyClusterSecondaryRangeName'] + if 'ipPolicyNodeIpv4CidrBlock' in kwargs: + ip_policy_node_ipv4_cidr_block = kwargs['ipPolicyNodeIpv4CidrBlock'] + if 'ipPolicyServicesIpv4CidrBlock' in kwargs: + ip_policy_services_ipv4_cidr_block = kwargs['ipPolicyServicesIpv4CidrBlock'] + if 'ipPolicyServicesSecondaryRangeName' in kwargs: + ip_policy_services_secondary_range_name = kwargs['ipPolicyServicesSecondaryRangeName'] + if 'ipPolicySubnetworkName' in kwargs: + ip_policy_subnetwork_name = kwargs['ipPolicySubnetworkName'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'masterVersion' in kwargs: + master_version = kwargs['masterVersion'] + if 'nodePool' in kwargs: + node_pool = kwargs['nodePool'] + if 'nodeVersion' in kwargs: + node_version = kwargs['nodeVersion'] + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + if 'subNetwork' in kwargs: + sub_network = kwargs['subNetwork'] + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'enableAlphaFeature' in kwargs: + enable_alpha_feature = kwargs['enableAlphaFeature'] + if 'enableAutoRepair' in kwargs: + enable_auto_repair = kwargs['enableAutoRepair'] + if 'enableAutoUpgrade' in kwargs: + enable_auto_upgrade = kwargs['enableAutoUpgrade'] + if 'enableHorizontalPodAutoscaling' in kwargs: + enable_horizontal_pod_autoscaling = kwargs['enableHorizontalPodAutoscaling'] + if 'enableHttpLoadBalancing' in kwargs: + enable_http_load_balancing = kwargs['enableHttpLoadBalancing'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enableLegacyAbac' in kwargs: + enable_legacy_abac = kwargs['enableLegacyAbac'] + if 'enableMasterAuthorizedNetwork' in kwargs: + enable_master_authorized_network = kwargs['enableMasterAuthorizedNetwork'] + if 'enableNetworkPolicyConfig' in kwargs: + enable_network_policy_config = kwargs['enableNetworkPolicyConfig'] + if 'enableNodepoolAutoscaling' in kwargs: + enable_nodepool_autoscaling = kwargs['enableNodepoolAutoscaling'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'enableStackdriverLogging' in kwargs: + enable_stackdriver_logging = kwargs['enableStackdriverLogging'] + if 'enableStackdriverMonitoring' in kwargs: + enable_stackdriver_monitoring = kwargs['enableStackdriverMonitoring'] + if 'ipPolicyCreateSubnetwork' in kwargs: + ip_policy_create_subnetwork = kwargs['ipPolicyCreateSubnetwork'] + if 'issueClientCertificate' in kwargs: + issue_client_certificate = kwargs['issueClientCertificate'] + if 'kubernetesDashboard' in kwargs: + kubernetes_dashboard = kwargs['kubernetesDashboard'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'masterAuthorizedNetworkCidrBlocks' in kwargs: + master_authorized_network_cidr_blocks = kwargs['masterAuthorizedNetworkCidrBlocks'] + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + if 'nodeCount' in kwargs: + node_count = kwargs['nodeCount'] + if 'resourceLabels' in kwargs: + resource_labels = kwargs['resourceLabels'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + _setter("cluster_ipv4_cidr", cluster_ipv4_cidr) _setter("credential", credential) _setter("disk_type", disk_type) @@ -6242,7 +6752,37 @@ def _configure( region: Optional[str] = None, subnetwork: Optional[str] = None, zone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'googleCredentialSecret' in kwargs: + google_credential_secret = kwargs['googleCredentialSecret'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'clusterAddons' in kwargs: + cluster_addons = kwargs['clusterAddons'] + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'enableKubernetesAlpha' in kwargs: + enable_kubernetes_alpha = kwargs['enableKubernetesAlpha'] + if 'ipAllocationPolicy' in kwargs: + ip_allocation_policy = kwargs['ipAllocationPolicy'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loggingService' in kwargs: + logging_service = kwargs['loggingService'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterAuthorizedNetworksConfig' in kwargs: + master_authorized_networks_config = kwargs['masterAuthorizedNetworksConfig'] + if 'monitoringService' in kwargs: + monitoring_service = kwargs['monitoringService'] + if 'networkPolicyEnabled' in kwargs: + network_policy_enabled = kwargs['networkPolicyEnabled'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + if 'privateClusterConfig' in kwargs: + private_cluster_config = kwargs['privateClusterConfig'] + _setter("google_credential_secret", google_credential_secret) _setter("name", name) _setter("project_id", project_id) @@ -6516,7 +7056,15 @@ def _configure( horizontal_pod_autoscaling: Optional[bool] = None, http_load_balancing: Optional[bool] = None, network_policy_config: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'horizontalPodAutoscaling' in kwargs: + horizontal_pod_autoscaling = kwargs['horizontalPodAutoscaling'] + if 'httpLoadBalancing' in kwargs: + http_load_balancing = kwargs['httpLoadBalancing'] + if 'networkPolicyConfig' in kwargs: + network_policy_config = kwargs['networkPolicyConfig'] + if horizontal_pod_autoscaling is not None: _setter("horizontal_pod_autoscaling", horizontal_pod_autoscaling) if http_load_balancing is not None: @@ -6623,7 +7171,25 @@ def _configure( services_secondary_range_name: Optional[str] = None, subnetwork_name: Optional[str] = None, use_ip_aliases: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'clusterSecondaryRangeName' in kwargs: + cluster_secondary_range_name = kwargs['clusterSecondaryRangeName'] + if 'createSubnetwork' in kwargs: + create_subnetwork = kwargs['createSubnetwork'] + if 'nodeIpv4CidrBlock' in kwargs: + node_ipv4_cidr_block = kwargs['nodeIpv4CidrBlock'] + if 'servicesIpv4CidrBlock' in kwargs: + services_ipv4_cidr_block = kwargs['servicesIpv4CidrBlock'] + if 'servicesSecondaryRangeName' in kwargs: + services_secondary_range_name = kwargs['servicesSecondaryRangeName'] + if 'subnetworkName' in kwargs: + subnetwork_name = kwargs['subnetworkName'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + if cluster_ipv4_cidr_block is not None: _setter("cluster_ipv4_cidr_block", cluster_ipv4_cidr_block) if cluster_secondary_range_name is not None: @@ -6742,7 +7308,11 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_blocks: Sequence['outputs.ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock'], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlocks' in kwargs: + cidr_blocks = kwargs['cidrBlocks'] + _setter("cidr_blocks", cidr_blocks) if enabled is not None: _setter("enabled", enabled) @@ -6802,7 +7372,13 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_block: str, display_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlock' in kwargs: + cidr_block = kwargs['cidrBlock'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + _setter("cidr_block", cidr_block) if display_name is not None: _setter("display_name", display_name) @@ -6882,7 +7458,13 @@ def _configure( config: Optional['outputs.ClusterGkeConfigV2NodePoolConfig'] = None, management: Optional['outputs.ClusterGkeConfigV2NodePoolManagement'] = None, max_pods_constraint: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'initialNodeCount' in kwargs: + initial_node_count = kwargs['initialNodeCount'] + if 'maxPodsConstraint' in kwargs: + max_pods_constraint = kwargs['maxPodsConstraint'] + _setter("initial_node_count", initial_node_count) _setter("name", name) _setter("version", version) @@ -6994,7 +7576,13 @@ def _configure( enabled: Optional[bool] = None, max_node_count: Optional[int] = None, min_node_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + if enabled is not None: _setter("enabled", enabled) if max_node_count is not None: @@ -7105,7 +7693,21 @@ def _configure( preemptible: Optional[bool] = None, tags: Optional[Sequence[str]] = None, taints: Optional[Sequence['outputs.ClusterGkeConfigV2NodePoolConfigTaint']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if disk_size_gb is not None: _setter("disk_size_gb", disk_size_gb) if disk_type is not None: @@ -7231,7 +7833,9 @@ def _configure( effect: str, key: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("effect", effect) _setter("key", key) _setter("value", value) @@ -7299,7 +7903,13 @@ def _configure( _setter: Callable[[Any, Any], None], auto_repair: Optional[bool] = None, auto_upgrade: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoRepair' in kwargs: + auto_repair = kwargs['autoRepair'] + if 'autoUpgrade' in kwargs: + auto_upgrade = kwargs['autoUpgrade'] + if auto_repair is not None: _setter("auto_repair", auto_repair) if auto_upgrade is not None: @@ -7366,7 +7976,15 @@ def _configure( master_ipv4_cidr_block: str, enable_private_endpoint: Optional[bool] = None, enable_private_nodes: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + _setter("master_ipv4_cidr_block", master_ipv4_cidr_block) if enable_private_endpoint is not None: _setter("enable_private_endpoint", enable_private_endpoint) @@ -7434,7 +8052,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: Optional['outputs.ClusterK3sConfigUpgradeStrategy'] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if upgrade_strategy is not None: _setter("upgrade_strategy", upgrade_strategy) if version is not None: @@ -7507,7 +8129,17 @@ def _configure( drain_worker_nodes: Optional[bool] = None, server_concurrency: Optional[int] = None, worker_concurrency: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -7762,7 +8394,67 @@ def _configure( vcn_compartment_id: Optional[str] = None, vcn_name: Optional[str] = None, worker_node_ingress_cidr: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'compartmentId' in kwargs: + compartment_id = kwargs['compartmentId'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'nodeImage' in kwargs: + node_image = kwargs['nodeImage'] + if 'nodeShape' in kwargs: + node_shape = kwargs['nodeShape'] + if 'privateKeyContents' in kwargs: + private_key_contents = kwargs['privateKeyContents'] + if 'tenancyId' in kwargs: + tenancy_id = kwargs['tenancyId'] + if 'userOcid' in kwargs: + user_ocid = kwargs['userOcid'] + if 'customBootVolumeSize' in kwargs: + custom_boot_volume_size = kwargs['customBootVolumeSize'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enablePrivateControlPlane' in kwargs: + enable_private_control_plane = kwargs['enablePrivateControlPlane'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'flexOcpus' in kwargs: + flex_ocpus = kwargs['flexOcpus'] + if 'kmsKeyId' in kwargs: + kms_key_id = kwargs['kmsKeyId'] + if 'limitNodeCount' in kwargs: + limit_node_count = kwargs['limitNodeCount'] + if 'loadBalancerSubnetName1' in kwargs: + load_balancer_subnet_name1 = kwargs['loadBalancerSubnetName1'] + if 'loadBalancerSubnetName2' in kwargs: + load_balancer_subnet_name2 = kwargs['loadBalancerSubnetName2'] + if 'nodePoolDnsDomainName' in kwargs: + node_pool_dns_domain_name = kwargs['nodePoolDnsDomainName'] + if 'nodePoolSubnetName' in kwargs: + node_pool_subnet_name = kwargs['nodePoolSubnetName'] + if 'nodePublicKeyContents' in kwargs: + node_public_key_contents = kwargs['nodePublicKeyContents'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'privateKeyPassphrase' in kwargs: + private_key_passphrase = kwargs['privateKeyPassphrase'] + if 'quantityOfNodeSubnets' in kwargs: + quantity_of_node_subnets = kwargs['quantityOfNodeSubnets'] + if 'quantityPerSubnet' in kwargs: + quantity_per_subnet = kwargs['quantityPerSubnet'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + if 'serviceDnsDomainName' in kwargs: + service_dns_domain_name = kwargs['serviceDnsDomainName'] + if 'skipVcnDelete' in kwargs: + skip_vcn_delete = kwargs['skipVcnDelete'] + if 'vcnCompartmentId' in kwargs: + vcn_compartment_id = kwargs['vcnCompartmentId'] + if 'vcnName' in kwargs: + vcn_name = kwargs['vcnName'] + if 'workerNodeIngressCidr' in kwargs: + worker_node_ingress_cidr = kwargs['workerNodeIngressCidr'] + _setter("compartment_id", compartment_id) _setter("fingerprint", fingerprint) _setter("kubernetes_version", kubernetes_version) @@ -8112,7 +8804,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: Optional['outputs.ClusterRke2ConfigUpgradeStrategy'] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if upgrade_strategy is not None: _setter("upgrade_strategy", upgrade_strategy) if version is not None: @@ -8185,7 +8881,17 @@ def _configure( drain_worker_nodes: Optional[bool] = None, server_concurrency: Optional[int] = None, worker_concurrency: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -8374,7 +9080,37 @@ def _configure( ssh_key_path: Optional[str] = None, upgrade_strategy: Optional['outputs.ClusterRkeConfigUpgradeStrategy'] = None, win_prefix_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if addon_job_timeout is not None: _setter("addon_job_timeout", addon_job_timeout) if addons is not None: @@ -8626,7 +9362,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Optional[Sequence[str]] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if sans is not None: _setter("sans", sans) if strategy is not None: @@ -8668,7 +9406,9 @@ def _configure( _setter: Callable[[Any, Any], None], mode: Optional[str] = None, options: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if mode is not None: _setter("mode", mode) if options is not None: @@ -8747,7 +9487,15 @@ def _configure( ssh_agent_auth: Optional[bool] = None, ssh_key: Optional[str] = None, ssh_key_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("user", user) if port is not None: @@ -8868,7 +9616,19 @@ def _configure( name: Optional[str] = None, openstack_cloud_provider: Optional['outputs.ClusterRkeConfigCloudProviderOpenstackCloudProvider'] = None, vsphere_cloud_provider: Optional['outputs.ClusterRkeConfigCloudProviderVsphereCloudProvider'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) if azure_cloud_provider is not None: @@ -8969,7 +9729,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: Optional['outputs.ClusterRkeConfigCloudProviderAwsCloudProviderGlobal'] = None, service_overrides: Optional[Sequence['outputs.ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + if global_ is not None: _setter("global_", global_) if service_overrides is not None: @@ -9074,7 +9840,25 @@ def _configure( subnet_id: Optional[str] = None, vpc: Optional[str] = None, zone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if disable_security_group_ingress is not None: _setter("disable_security_group_ingress", disable_security_group_ingress) if disable_strict_zone_check is not None: @@ -9233,7 +10017,15 @@ def _configure( signing_name: Optional[str] = None, signing_region: Optional[str] = None, url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("service", service) if region is not None: _setter("region", region) @@ -9491,7 +10283,63 @@ def _configure( vm_type: Optional[str] = None, vnet_name: Optional[str] = None, vnet_resource_group: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + _setter("aad_client_id", aad_client_id) _setter("aad_client_secret", aad_client_secret) _setter("subscription_id", subscription_id) @@ -9832,7 +10680,15 @@ def _configure( load_balancer: Optional['outputs.ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer'] = None, metadata: Optional['outputs.ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata'] = None, route: Optional['outputs.ClusterRkeConfigCloudProviderOpenstackCloudProviderRoute'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("global_", global_) if block_storage is not None: _setter("block_storage", block_storage) @@ -9928,7 +10784,15 @@ def _configure( bs_version: Optional[str] = None, ignore_volume_az: Optional[bool] = None, trust_device_path: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + if bs_version is not None: _setter("bs_version", bs_version) if ignore_volume_az is not None: @@ -10041,7 +10905,23 @@ def _configure( tenant_id: Optional[str] = None, tenant_name: Optional[str] = None, trust_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("password", password) _setter("username", username) @@ -10233,7 +11113,31 @@ def _configure( monitor_timeout: Optional[str] = None, subnet_id: Optional[str] = None, use_octavia: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if create_monitor is not None: _setter("create_monitor", create_monitor) if floating_network_id is not None: @@ -10384,7 +11288,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: Optional[int] = None, search_order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + if request_timeout is not None: _setter("request_timeout", request_timeout) if search_order is not None: @@ -10439,7 +11349,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + if router_id is not None: _setter("router_id", router_id) @@ -10502,7 +11416,13 @@ def _configure( disk: Optional['outputs.ClusterRkeConfigCloudProviderVsphereCloudProviderDisk'] = None, global_: Optional['outputs.ClusterRkeConfigCloudProviderVsphereCloudProviderGlobal'] = None, network: Optional['outputs.ClusterRkeConfigCloudProviderVsphereCloudProviderNetwork'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + if 'global' in kwargs: + global_ = kwargs['global'] + _setter("virtual_centers", virtual_centers) _setter("workspace", workspace) if disk is not None: @@ -10585,7 +11505,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + if scsi_controller_type is not None: _setter("scsi_controller_type", scsi_controller_type) @@ -10652,7 +11576,13 @@ def _configure( port: Optional[str] = None, soap_roundtrip_count: Optional[int] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + if datacenters is not None: _setter("datacenters", datacenters) if insecure_flag is not None: @@ -10747,7 +11677,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + if public_network is not None: _setter("public_network", public_network) @@ -10812,7 +11746,11 @@ def _configure( user: str, port: Optional[str] = None, soap_roundtrip_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -10921,7 +11859,13 @@ def _configure( server: str, default_datastore: Optional[str] = None, resourcepool_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("folder", folder) _setter("server", server) @@ -11043,7 +11987,19 @@ def _configure( tolerations: Optional[Sequence['outputs.ClusterRkeConfigDnsToleration']] = None, update_strategy: Optional['outputs.ClusterRkeConfigDnsUpdateStrategy'] = None, upstream_nameservers: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if linear_autoscaler_params is not None: _setter("linear_autoscaler_params", linear_autoscaler_params) if node_selector is not None: @@ -11188,7 +12144,15 @@ def _configure( min: Optional[int] = None, nodes_per_replica: Optional[float] = None, prevent_single_point_failure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -11279,7 +12243,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[str] = None, node_selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -11333,7 +12303,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -11421,7 +12393,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterRkeConfigDnsUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -11482,7 +12458,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -11591,7 +12573,25 @@ def _configure( provider: Optional[str] = None, tolerations: Optional[Sequence['outputs.ClusterRkeConfigIngressToleration']] = None, update_strategy: Optional['outputs.ClusterRkeConfigIngressUpdateStrategy'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if default_backend is not None: _setter("default_backend", default_backend) if dns_policy is not None: @@ -11735,7 +12735,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -11823,7 +12825,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterRkeConfigIngressUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -11878,7 +12884,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -11945,7 +12955,13 @@ def _configure( replicas: Optional[int] = None, tolerations: Optional[Sequence['outputs.ClusterRkeConfigMonitoringToleration']] = None, update_strategy: Optional['outputs.ClusterRkeConfigMonitoringUpdateStrategy'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if node_selector is not None: _setter("node_selector", node_selector) if options is not None: @@ -12039,7 +13055,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -12127,7 +13145,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterRkeConfigMonitoringUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -12188,7 +13210,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -12283,7 +13311,19 @@ def _configure( plugin: Optional[str] = None, tolerations: Optional[Sequence['outputs.ClusterRkeConfigNetworkToleration']] = None, weave_network_provider: Optional['outputs.ClusterRkeConfigNetworkWeaveNetworkProvider'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + if aci_network_provider is not None: _setter("aci_network_provider", aci_network_provider) if calico_network_provider is not None: @@ -12836,7 +13876,147 @@ def _configure( use_privileged_container: Optional[str] = None, vmm_controller: Optional[str] = None, vmm_domain: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -13591,7 +14771,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if cloud_provider is not None: _setter("cloud_provider", cloud_provider) @@ -13619,7 +14803,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -13647,7 +14833,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -13691,7 +14879,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -13758,7 +14948,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -13858,7 +15050,23 @@ def _configure( ssh_agent_auth: Optional[bool] = None, ssh_key: Optional[str] = None, ssh_key_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("roles", roles) _setter("user", user) @@ -14028,7 +15236,13 @@ def _configure( is_default: Optional[bool] = None, password: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -14124,7 +15338,15 @@ def _configure( aws_access_key_id: Optional[str] = None, aws_secret_access_key: Optional[str] = None, aws_session_token: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -14211,7 +15433,13 @@ def _configure( kubelet: Optional['outputs.ClusterRkeConfigServicesKubelet'] = None, kubeproxy: Optional['outputs.ClusterRkeConfigServicesKubeproxy'] = None, scheduler: Optional['outputs.ClusterRkeConfigServicesScheduler'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + if etcd is not None: _setter("etcd", etcd) if kube_api is not None: @@ -14372,7 +15600,21 @@ def _configure( retention: Optional[str] = None, snapshot: Optional[bool] = None, uid: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if backup_config is not None: _setter("backup_config", backup_config) if ca_cert is not None: @@ -14581,7 +15823,15 @@ def _configure( s3_backup_config: Optional['outputs.ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig'] = None, safe_timestamp: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -14706,7 +15956,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -14873,7 +16133,31 @@ def _configure( secrets_encryption_config: Optional['outputs.ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig'] = None, service_cluster_ip_range: Optional[str] = None, service_node_port_range: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if admission_configuration is not None: _setter("admission_configuration", admission_configuration) if always_pull_images is not None: @@ -15036,7 +16320,11 @@ def _configure( api_version: Optional[str] = None, kind: Optional[str] = None, plugins: Optional[Sequence['outputs.ClusterRkeConfigServicesKubeApiAdmissionConfigurationPlugin']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + if api_version is not None: _setter("api_version", api_version) if kind is not None: @@ -15092,7 +16380,9 @@ def _configure( configuration: Optional[str] = None, name: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if name is not None: @@ -15144,7 +16434,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional['outputs.ClusterRkeConfigServicesKubeApiAuditLogConfiguration'] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -15223,7 +16515,15 @@ def _configure( max_size: Optional[int] = None, path: Optional[str] = None, policy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if format is not None: _setter("format", format) if max_age is not None: @@ -15305,7 +16605,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[str] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -15368,7 +16670,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[str] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) if enabled is not None: @@ -15455,7 +16761,19 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, service_cluster_ip_range: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if cluster_cidr is not None: _setter("cluster_cidr", cluster_cidr) if extra_args is not None: @@ -15596,7 +16914,25 @@ def _configure( generate_serving_certificate: Optional[bool] = None, image: Optional[str] = None, infra_container_image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if cluster_dns_server is not None: _setter("cluster_dns_server", cluster_dns_server) if cluster_domain is not None: @@ -15737,7 +17073,15 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -15828,7 +17172,15 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -15919,7 +17271,15 @@ def _configure( drain_input: Optional['outputs.ClusterRkeConfigUpgradeStrategyDrainInput'] = None, max_unavailable_controlplane: Optional[str] = None, max_unavailable_worker: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + if drain is not None: _setter("drain", drain) if drain_input is not None: @@ -16014,7 +17374,15 @@ def _configure( grace_period: Optional[int] = None, ignore_daemon_sets: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -16175,7 +17543,27 @@ def _configure( roles: Optional[Sequence[str]] = None, ssh_user: Optional[str] = None, system_info: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'externalIpAddress' in kwargs: + external_ip_address = kwargs['externalIpAddress'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodePoolId' in kwargs: + node_pool_id = kwargs['nodePoolId'] + if 'nodeTemplateId' in kwargs: + node_template_id = kwargs['nodeTemplateId'] + if 'providerId' in kwargs: + provider_id = kwargs['providerId'] + if 'requestedHostname' in kwargs: + requested_hostname = kwargs['requestedHostname'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'systemInfo' in kwargs: + system_info = kwargs['systemInfo'] + if annotations is not None: _setter("annotations", annotations) if capacity is not None: @@ -16382,7 +17770,15 @@ def _configure( access_type: Optional[str] = None, group_principal_id: Optional[str] = None, user_principal_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -16481,7 +17877,13 @@ def _configure( id: Optional[str] = None, labels: Optional[Mapping[str, Any]] = None, questions: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionQuestion']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterConfig' in kwargs: + cluster_config = kwargs['clusterConfig'] + if 'clusterTemplateId' in kwargs: + cluster_template_id = kwargs['clusterTemplateId'] + _setter("cluster_config", cluster_config) _setter("name", name) if annotations is not None: @@ -16669,7 +18071,33 @@ def _configure( enable_cluster_monitoring: Optional[bool] = None, enable_network_policy: Optional[bool] = None, windows_prefered_cluster: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if 'clusterAuthEndpoint' in kwargs: + cluster_auth_endpoint = kwargs['clusterAuthEndpoint'] + if 'defaultClusterRoleForProjectMembers' in kwargs: + default_cluster_role_for_project_members = kwargs['defaultClusterRoleForProjectMembers'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateId' in kwargs: + default_pod_security_policy_template_id = kwargs['defaultPodSecurityPolicyTemplateId'] + if 'desiredAgentImage' in kwargs: + desired_agent_image = kwargs['desiredAgentImage'] + if 'desiredAuthImage' in kwargs: + desired_auth_image = kwargs['desiredAuthImage'] + if 'dockerRootDir' in kwargs: + docker_root_dir = kwargs['dockerRootDir'] + if 'enableClusterAlerting' in kwargs: + enable_cluster_alerting = kwargs['enableClusterAlerting'] + if 'enableClusterMonitoring' in kwargs: + enable_cluster_monitoring = kwargs['enableClusterMonitoring'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'windowsPreferedCluster' in kwargs: + windows_prefered_cluster = kwargs['windowsPreferedCluster'] + _setter("rke_config", rke_config) if cluster_auth_endpoint is not None: _setter("cluster_auth_endpoint", cluster_auth_endpoint) @@ -16826,7 +18254,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -16974,7 +18406,37 @@ def _configure( ssh_key_path: Optional[str] = None, upgrade_strategy: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy'] = None, win_prefix_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if addon_job_timeout is not None: _setter("addon_job_timeout", addon_job_timeout) if addons is not None: @@ -17153,7 +18615,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Optional[Sequence[str]] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if sans is not None: _setter("sans", sans) if strategy is not None: @@ -17185,7 +18649,9 @@ def _configure( _setter: Callable[[Any, Any], None], mode: Optional[str] = None, options: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if mode is not None: _setter("mode", mode) if options is not None: @@ -17250,7 +18716,15 @@ def _configure( ssh_agent_auth: Optional[bool] = None, ssh_key: Optional[str] = None, ssh_key_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("user", user) if port is not None: @@ -17348,7 +18822,19 @@ def _configure( name: Optional[str] = None, openstack_cloud_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider'] = None, vsphere_cloud_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) if azure_cloud_provider is not None: @@ -17430,7 +18916,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal'] = None, service_overrides: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + if global_ is not None: _setter("global_", global_) if service_overrides is not None: @@ -17517,7 +19009,25 @@ def _configure( subnet_id: Optional[str] = None, vpc: Optional[str] = None, zone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if disable_security_group_ingress is not None: _setter("disable_security_group_ingress", disable_security_group_ingress) if disable_strict_zone_check is not None: @@ -17638,7 +19148,15 @@ def _configure( signing_name: Optional[str] = None, signing_region: Optional[str] = None, url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("service", service) if region is not None: _setter("region", region) @@ -17847,7 +19365,63 @@ def _configure( vm_type: Optional[str] = None, vnet_name: Optional[str] = None, vnet_resource_group: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + _setter("aad_client_id", aad_client_id) _setter("aad_client_secret", aad_client_secret) _setter("subscription_id", subscription_id) @@ -18094,7 +19668,15 @@ def _configure( load_balancer: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer'] = None, metadata: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata'] = None, route: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("global_", global_) if block_storage is not None: _setter("block_storage", block_storage) @@ -18170,7 +19752,15 @@ def _configure( bs_version: Optional[str] = None, ignore_volume_az: Optional[bool] = None, trust_device_path: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + if bs_version is not None: _setter("bs_version", bs_version) if ignore_volume_az is not None: @@ -18262,7 +19852,23 @@ def _configure( tenant_id: Optional[str] = None, tenant_name: Optional[str] = None, trust_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("password", password) _setter("username", username) @@ -18411,7 +20017,31 @@ def _configure( monitor_timeout: Optional[str] = None, subnet_id: Optional[str] = None, use_octavia: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if create_monitor is not None: _setter("create_monitor", create_monitor) if floating_network_id is not None: @@ -18525,7 +20155,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: Optional[int] = None, search_order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + if request_timeout is not None: _setter("request_timeout", request_timeout) if search_order is not None: @@ -18571,7 +20207,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + if router_id is not None: _setter("router_id", router_id) @@ -18624,7 +20264,13 @@ def _configure( disk: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk'] = None, global_: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal'] = None, network: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + if 'global' in kwargs: + global_ = kwargs['global'] + _setter("virtual_centers", virtual_centers) _setter("workspace", workspace) if disk is not None: @@ -18689,7 +20335,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + if scsi_controller_type is not None: _setter("scsi_controller_type", scsi_controller_type) @@ -18745,7 +20395,13 @@ def _configure( port: Optional[str] = None, soap_roundtrip_count: Optional[int] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + if datacenters is not None: _setter("datacenters", datacenters) if insecure_flag is not None: @@ -18819,7 +20475,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + if public_network is not None: _setter("public_network", public_network) @@ -18876,7 +20536,11 @@ def _configure( user: str, port: Optional[str] = None, soap_roundtrip_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -18963,7 +20627,13 @@ def _configure( server: str, default_datastore: Optional[str] = None, resourcepool_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("folder", folder) _setter("server", server) @@ -19059,7 +20729,19 @@ def _configure( tolerations: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration']] = None, update_strategy: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy'] = None, upstream_nameservers: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if linear_autoscaler_params is not None: _setter("linear_autoscaler_params", linear_autoscaler_params) if node_selector is not None: @@ -19170,7 +20852,15 @@ def _configure( min: Optional[int] = None, nodes_per_replica: Optional[float] = None, prevent_single_point_failure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -19242,7 +20932,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[str] = None, node_selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -19283,7 +20979,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -19352,7 +21050,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -19403,7 +21105,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -19493,7 +21201,25 @@ def _configure( provider: Optional[str] = None, tolerations: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration']] = None, update_strategy: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if default_backend is not None: _setter("default_backend", default_backend) if dns_policy is not None: @@ -19597,7 +21323,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -19666,7 +21394,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -19712,7 +21444,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -19768,7 +21504,13 @@ def _configure( replicas: Optional[int] = None, tolerations: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration']] = None, update_strategy: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + if node_selector is not None: _setter("node_selector", node_selector) if options is not None: @@ -19837,7 +21579,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -19906,7 +21650,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -19957,7 +21705,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -20035,7 +21789,19 @@ def _configure( plugin: Optional[str] = None, tolerations: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration']] = None, weave_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + if aci_network_provider is not None: _setter("aci_network_provider", aci_network_provider) if calico_network_provider is not None: @@ -20485,7 +22251,147 @@ def _configure( use_privileged_container: Optional[str] = None, vmm_controller: Optional[str] = None, vmm_domain: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -21015,7 +22921,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if cloud_provider is not None: _setter("cloud_provider", cloud_provider) @@ -21037,7 +22947,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -21059,7 +22971,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if iface is not None: _setter("iface", iface) @@ -21093,7 +23007,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -21142,7 +23058,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -21228,7 +23146,23 @@ def _configure( ssh_agent_auth: Optional[bool] = None, ssh_key: Optional[str] = None, ssh_key_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + _setter("address", address) _setter("roles", roles) _setter("user", user) @@ -21358,7 +23292,13 @@ def _configure( is_default: Optional[bool] = None, password: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -21434,7 +23374,15 @@ def _configure( aws_access_key_id: Optional[str] = None, aws_secret_access_key: Optional[str] = None, aws_session_token: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -21504,7 +23452,13 @@ def _configure( kubelet: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet'] = None, kubeproxy: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy'] = None, scheduler: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + if etcd is not None: _setter("etcd", etcd) if kube_api is not None: @@ -21630,7 +23584,21 @@ def _configure( retention: Optional[str] = None, snapshot: Optional[bool] = None, uid: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if backup_config is not None: _setter("backup_config", backup_config) if ca_cert is not None: @@ -21789,7 +23757,15 @@ def _configure( s3_backup_config: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig'] = None, safe_timestamp: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -21890,7 +23866,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -22022,7 +24008,31 @@ def _configure( secrets_encryption_config: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig'] = None, service_cluster_ip_range: Optional[str] = None, service_node_port_range: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if admission_configuration is not None: _setter("admission_configuration", admission_configuration) if always_pull_images is not None: @@ -22144,7 +24154,11 @@ def _configure( api_version: Optional[str] = None, kind: Optional[str] = None, plugins: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAdmissionConfigurationPlugin']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + if api_version is not None: _setter("api_version", api_version) if kind is not None: @@ -22189,7 +24203,9 @@ def _configure( configuration: Optional[str] = None, name: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if name is not None: @@ -22234,7 +24250,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration'] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -22302,7 +24320,15 @@ def _configure( max_size: Optional[int] = None, path: Optional[str] = None, policy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if format is not None: _setter("format", format) if max_age is not None: @@ -22365,7 +24391,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: Optional[str] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configuration is not None: _setter("configuration", configuration) if enabled is not None: @@ -22420,7 +24448,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[str] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) if enabled is not None: @@ -22492,7 +24524,19 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, service_cluster_ip_range: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if cluster_cidr is not None: _setter("cluster_cidr", cluster_cidr) if extra_args is not None: @@ -22604,7 +24648,25 @@ def _configure( generate_serving_certificate: Optional[bool] = None, image: Optional[str] = None, infra_container_image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if cluster_dns_server is not None: _setter("cluster_dns_server", cluster_dns_server) if cluster_domain is not None: @@ -22712,7 +24774,15 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -22785,7 +24855,15 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, image: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if extra_args is not None: _setter("extra_args", extra_args) if extra_binds is not None: @@ -22858,7 +24936,15 @@ def _configure( drain_input: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput'] = None, max_unavailable_controlplane: Optional[str] = None, max_unavailable_worker: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + if drain is not None: _setter("drain", drain) if drain_input is not None: @@ -22934,7 +25020,15 @@ def _configure( grace_period: Optional[int] = None, ignore_daemon_sets: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -22999,7 +25093,9 @@ def _configure( variable: str, required: Optional[bool] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -23059,7 +25155,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) _setter("value", value) @@ -23124,7 +25222,15 @@ def _configure( append_tolerations: Optional[Sequence['outputs.ClusterV2ClusterAgentDeploymentCustomizationAppendToleration']] = None, override_affinity: Optional[str] = None, override_resource_requirements: Optional[Sequence['outputs.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -23188,7 +25294,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -23290,7 +25398,17 @@ def _configure( cpu_request: Optional[str] = None, memory_limit: Optional[str] = None, memory_request: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -23425,7 +25543,23 @@ def _configure( node_command: Optional[str] = None, token: Optional[str] = None, windows_node_command: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: @@ -23602,7 +25736,15 @@ def _configure( append_tolerations: Optional[Sequence['outputs.ClusterV2FleetAgentDeploymentCustomizationAppendToleration']] = None, override_affinity: Optional[str] = None, override_resource_requirements: Optional[Sequence['outputs.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appendTolerations' in kwargs: + append_tolerations = kwargs['appendTolerations'] + if 'overrideAffinity' in kwargs: + override_affinity = kwargs['overrideAffinity'] + if 'overrideResourceRequirements' in kwargs: + override_resource_requirements = kwargs['overrideResourceRequirements'] + if append_tolerations is not None: _setter("append_tolerations", append_tolerations) if override_affinity is not None: @@ -23666,7 +25808,9 @@ def _configure( operator: Optional[str] = None, seconds: Optional[int] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if effect is not None: _setter("effect", effect) @@ -23768,7 +25912,17 @@ def _configure( cpu_request: Optional[str] = None, memory_limit: Optional[str] = None, memory_request: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuLimit' in kwargs: + cpu_limit = kwargs['cpuLimit'] + if 'cpuRequest' in kwargs: + cpu_request = kwargs['cpuRequest'] + if 'memoryLimit' in kwargs: + memory_limit = kwargs['memoryLimit'] + if 'memoryRequest' in kwargs: + memory_request = kwargs['memoryRequest'] + if cpu_limit is not None: _setter("cpu_limit", cpu_limit) if cpu_request is not None: @@ -23851,7 +26005,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -23983,7 +26141,31 @@ def _configure( registries: Optional['outputs.ClusterV2RkeConfigRegistries'] = None, rotate_certificates: Optional['outputs.ClusterV2RkeConfigRotateCertificates'] = None, upgrade_strategy: Optional['outputs.ClusterV2RkeConfigUpgradeStrategy'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalManifest' in kwargs: + additional_manifest = kwargs['additionalManifest'] + if 'chartValues' in kwargs: + chart_values = kwargs['chartValues'] + if 'etcdSnapshotCreate' in kwargs: + etcd_snapshot_create = kwargs['etcdSnapshotCreate'] + if 'etcdSnapshotRestore' in kwargs: + etcd_snapshot_restore = kwargs['etcdSnapshotRestore'] + if 'localAuthEndpoint' in kwargs: + local_auth_endpoint = kwargs['localAuthEndpoint'] + if 'machineGlobalConfig' in kwargs: + machine_global_config = kwargs['machineGlobalConfig'] + if 'machinePoolDefaults' in kwargs: + machine_pool_defaults = kwargs['machinePoolDefaults'] + if 'machinePools' in kwargs: + machine_pools = kwargs['machinePools'] + if 'machineSelectorConfigs' in kwargs: + machine_selector_configs = kwargs['machineSelectorConfigs'] + if 'rotateCertificates' in kwargs: + rotate_certificates = kwargs['rotateCertificates'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if additional_manifest is not None: _setter("additional_manifest", additional_manifest) if chart_values is not None: @@ -24166,7 +26348,17 @@ def _configure( s3_config: Optional['outputs.ClusterV2RkeConfigEtcdS3Config'] = None, snapshot_retention: Optional[int] = None, snapshot_schedule_cron: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSnapshots' in kwargs: + disable_snapshots = kwargs['disableSnapshots'] + if 's3Config' in kwargs: + s3_config = kwargs['s3Config'] + if 'snapshotRetention' in kwargs: + snapshot_retention = kwargs['snapshotRetention'] + if 'snapshotScheduleCron' in kwargs: + snapshot_schedule_cron = kwargs['snapshotScheduleCron'] + if disable_snapshots is not None: _setter("disable_snapshots", disable_snapshots) if s3_config is not None: @@ -24269,7 +26461,15 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, skip_ssl_verify: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialName' in kwargs: + cloud_credential_name = kwargs['cloudCredentialName'] + if 'endpointCa' in kwargs: + endpoint_ca = kwargs['endpointCa'] + if 'skipSslVerify' in kwargs: + skip_ssl_verify = kwargs['skipSslVerify'] + _setter("bucket", bucket) _setter("endpoint", endpoint) if cloud_credential_name is not None: @@ -24355,7 +26555,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], generation: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) @property @@ -24407,7 +26609,11 @@ def _configure( generation: int, name: str, restore_rke_config: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'restoreRkeConfig' in kwargs: + restore_rke_config = kwargs['restoreRkeConfig'] + _setter("generation", generation) _setter("name", name) if restore_rke_config is not None: @@ -24478,7 +26684,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -24644,7 +26854,37 @@ def _configure( unhealthy_node_timeout_seconds: Optional[int] = None, unhealthy_range: Optional[str] = None, worker_role: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineConfig' in kwargs: + machine_config = kwargs['machineConfig'] + if 'cloudCredentialSecretName' in kwargs: + cloud_credential_secret_name = kwargs['cloudCredentialSecretName'] + if 'controlPlaneRole' in kwargs: + control_plane_role = kwargs['controlPlaneRole'] + if 'drainBeforeDelete' in kwargs: + drain_before_delete = kwargs['drainBeforeDelete'] + if 'etcdRole' in kwargs: + etcd_role = kwargs['etcdRole'] + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if 'machineLabels' in kwargs: + machine_labels = kwargs['machineLabels'] + if 'maxUnhealthy' in kwargs: + max_unhealthy = kwargs['maxUnhealthy'] + if 'nodeDrainTimeout' in kwargs: + node_drain_timeout = kwargs['nodeDrainTimeout'] + if 'nodeStartupTimeoutSeconds' in kwargs: + node_startup_timeout_seconds = kwargs['nodeStartupTimeoutSeconds'] + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if 'unhealthyNodeTimeoutSeconds' in kwargs: + unhealthy_node_timeout_seconds = kwargs['unhealthyNodeTimeoutSeconds'] + if 'unhealthyRange' in kwargs: + unhealthy_range = kwargs['unhealthyRange'] + if 'workerRole' in kwargs: + worker_role = kwargs['workerRole'] + _setter("machine_config", machine_config) _setter("name", name) if annotations is not None: @@ -24871,7 +27111,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], hostname_length_limit: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if hostname_length_limit is not None: _setter("hostname_length_limit", hostname_length_limit) @@ -24900,7 +27144,9 @@ def _configure( _setter: Callable[[Any, Any], None], kind: str, name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("kind", kind) _setter("name", name) @@ -24959,7 +27205,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[str] = None, max_unavailable: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -25005,7 +27257,9 @@ def _configure( key: str, value: str, effect: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) if effect is not None: @@ -25056,10 +27310,10 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - config: Optional[Mapping[str, Any]] = None, + config: Optional[str] = None, machine_label_selector: Optional['outputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector'] = None): """ - :param Mapping[str, Any] config: Machine selector config (map) + :param str config: Machine selector config. Must be in YAML format (string) :param 'ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs' machine_label_selector: Machine selector label (list maxitems:1) """ ClusterV2RkeConfigMachineSelectorConfig._configure( @@ -25070,9 +27324,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - config: Optional[Mapping[str, Any]] = None, + config: Optional[str] = None, machine_label_selector: Optional['outputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineLabelSelector' in kwargs: + machine_label_selector = kwargs['machineLabelSelector'] + if config is not None: _setter("config", config) if machine_label_selector is not None: @@ -25080,9 +27338,9 @@ def _configure( @property @pulumi.getter - def config(self) -> Optional[Mapping[str, Any]]: + def config(self) -> Optional[str]: """ - Machine selector config (map) + Machine selector config. Must be in YAML format (string) """ return pulumi.get(self, "config") @@ -25133,7 +27391,13 @@ def _configure( _setter: Callable[[Any, Any], None], match_expressions: Optional[Sequence['outputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression']] = None, match_labels: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchExpressions' in kwargs: + match_expressions = kwargs['matchExpressions'] + if 'matchLabels' in kwargs: + match_labels = kwargs['matchLabels'] + if match_expressions is not None: _setter("match_expressions", match_expressions) if match_labels is not None: @@ -25179,7 +27443,9 @@ def _configure( key: Optional[str] = None, operator: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: _setter("key", key) if operator is not None: @@ -25231,7 +27497,9 @@ def _configure( _setter: Callable[[Any, Any], None], configs: Optional[Sequence['outputs.ClusterV2RkeConfigRegistriesConfig']] = None, mirrors: Optional[Sequence['outputs.ClusterV2RkeConfigRegistriesMirror']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configs is not None: _setter("configs", configs) if mirrors is not None: @@ -25306,7 +27574,15 @@ def _configure( ca_bundle: Optional[str] = None, insecure: Optional[bool] = None, tls_secret_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authConfigSecretName' in kwargs: + auth_config_secret_name = kwargs['authConfigSecretName'] + if 'caBundle' in kwargs: + ca_bundle = kwargs['caBundle'] + if 'tlsSecretName' in kwargs: + tls_secret_name = kwargs['tlsSecretName'] + _setter("hostname", hostname) if auth_config_secret_name is not None: _setter("auth_config_secret_name", auth_config_secret_name) @@ -25381,7 +27657,9 @@ def _configure( hostname: str, endpoints: Optional[Sequence[str]] = None, rewrites: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("hostname", hostname) if endpoints is not None: _setter("endpoints", endpoints) @@ -25432,7 +27710,9 @@ def _configure( _setter: Callable[[Any, Any], None], generation: int, services: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) if services is not None: _setter("services", services) @@ -25504,7 +27784,17 @@ def _configure( control_plane_drain_options: Optional['outputs.ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions'] = None, worker_concurrency: Optional[str] = None, worker_drain_options: Optional['outputs.ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'controlPlaneConcurrency' in kwargs: + control_plane_concurrency = kwargs['controlPlaneConcurrency'] + if 'controlPlaneDrainOptions' in kwargs: + control_plane_drain_options = kwargs['controlPlaneDrainOptions'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if 'workerDrainOptions' in kwargs: + worker_drain_options = kwargs['workerDrainOptions'] + if control_plane_concurrency is not None: _setter("control_plane_concurrency", control_plane_concurrency) if control_plane_drain_options is not None: @@ -25621,7 +27911,21 @@ def _configure( ignore_errors: Optional[bool] = None, skip_wait_for_delete_timeout_seconds: Optional[int] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if delete_empty_dir_data is not None: _setter("delete_empty_dir_data", delete_empty_dir_data) if disable_eviction is not None: @@ -25788,7 +28092,21 @@ def _configure( ignore_errors: Optional[bool] = None, skip_wait_for_delete_timeout_seconds: Optional[int] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if delete_empty_dir_data is not None: _setter("delete_empty_dir_data", delete_empty_dir_data) if disable_eviction is not None: @@ -25935,7 +28253,15 @@ def _configure( s3_backup_config: Optional['outputs.EtcdBackupBackupConfigS3BackupConfig'] = None, safe_timestamp: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + if enabled is not None: _setter("enabled", enabled) if interval_hours is not None: @@ -26054,7 +28380,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -26163,7 +28499,13 @@ def _configure( _setter: Callable[[Any, Any], None], access_key: str, secret_key: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("access_key", access_key) _setter("secret_key", secret_key) @@ -26228,7 +28570,15 @@ def _configure( api_email: str, api_key: str, proxy_setting: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiEmail' in kwargs: + api_email = kwargs['apiEmail'] + if 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if 'proxySetting' in kwargs: + proxy_setting = kwargs['proxySetting'] + _setter("api_email", api_email) _setter("api_key", api_key) if proxy_setting is not None: @@ -26319,7 +28669,19 @@ def _configure( region: Optional[str] = None, role_arn: Optional[str] = None, zone_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'credentialsPath' in kwargs: + credentials_path = kwargs['credentialsPath'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'zoneType' in kwargs: + zone_type = kwargs['zoneType'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if credentials_path is not None: @@ -26432,7 +28794,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -26514,8 +28884,6 @@ def __key_warning(key: str): suggest = "insecure_transport" elif key == "instanceType": suggest = "instance_type" - elif key == "keypairName": - suggest = "keypair_name" elif key == "kmsKey": suggest = "kms_key" elif key == "openPorts": @@ -26573,7 +28941,6 @@ def __init__(__self__, *, iam_instance_profile: Optional[str] = None, insecure_transport: Optional[bool] = None, instance_type: Optional[str] = None, - keypair_name: Optional[str] = None, kms_key: Optional[str] = None, monitoring: Optional[bool] = None, open_ports: Optional[Sequence[str]] = None, @@ -26608,7 +28975,6 @@ def __init__(__self__, *, :param str iam_instance_profile: AWS IAM Instance Profile (string) :param bool insecure_transport: Disable SSL when sending requests (bool) :param str instance_type: Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - :param str keypair_name: OpenStack keypair to use to SSH to the instance (string) :param str kms_key: Custom KMS key ID using the AWS Managed CMK (string) :param bool monitoring: Enable monitoring for droplet. Default `false` (bool) :param Sequence[str] open_ports: Make the specified port number accessible from the Internet. (list) @@ -26645,7 +29011,6 @@ def __init__(__self__, *, iam_instance_profile=iam_instance_profile, insecure_transport=insecure_transport, instance_type=instance_type, - keypair_name=keypair_name, kms_key=kms_key, monitoring=monitoring, open_ports=open_ports, @@ -26684,7 +29049,6 @@ def _configure( iam_instance_profile: Optional[str] = None, insecure_transport: Optional[bool] = None, instance_type: Optional[str] = None, - keypair_name: Optional[str] = None, kms_key: Optional[str] = None, monitoring: Optional[bool] = None, open_ports: Optional[Sequence[str]] = None, @@ -26703,7 +29067,61 @@ def _configure( use_private_address: Optional[bool] = None, userdata: Optional[str] = None, volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'blockDurationMinutes' in kwargs: + block_duration_minutes = kwargs['blockDurationMinutes'] + if 'deviceName' in kwargs: + device_name = kwargs['deviceName'] + if 'encryptEbsVolume' in kwargs: + encrypt_ebs_volume = kwargs['encryptEbsVolume'] + if 'httpEndpoint' in kwargs: + http_endpoint = kwargs['httpEndpoint'] + if 'httpTokens' in kwargs: + http_tokens = kwargs['httpTokens'] + if 'iamInstanceProfile' in kwargs: + iam_instance_profile = kwargs['iamInstanceProfile'] + if 'insecureTransport' in kwargs: + insecure_transport = kwargs['insecureTransport'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'requestSpotInstance' in kwargs: + request_spot_instance = kwargs['requestSpotInstance'] + if 'rootSize' in kwargs: + root_size = kwargs['rootSize'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'securityGroupReadonly' in kwargs: + security_group_readonly = kwargs['securityGroupReadonly'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'spotPrice' in kwargs: + spot_price = kwargs['spotPrice'] + if 'sshKeyContents' in kwargs: + ssh_key_contents = kwargs['sshKeyContents'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'useEbsOptimizedInstance' in kwargs: + use_ebs_optimized_instance = kwargs['useEbsOptimizedInstance'] + if 'usePrivateAddress' in kwargs: + use_private_address = kwargs['usePrivateAddress'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("ami", ami) _setter("region", region) _setter("security_groups", security_groups) @@ -26730,8 +29148,6 @@ def _configure( _setter("insecure_transport", insecure_transport) if instance_type is not None: _setter("instance_type", instance_type) - if keypair_name is not None: - _setter("keypair_name", keypair_name) if kms_key is not None: _setter("kms_key", kms_key) if monitoring is not None: @@ -26894,14 +29310,6 @@ def instance_type(self) -> Optional[str]: """ return pulumi.get(self, "instance_type") - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[str]: - """ - OpenStack keypair to use to SSH to the instance (string) - """ - return pulumi.get(self, "keypair_name") - @property @pulumi.getter(name="kmsKey") def kms_key(self) -> Optional[str]: @@ -27248,7 +29656,57 @@ def _configure( use_private_ip: Optional[bool] = None, use_public_ip_standard_sku: Optional[bool] = None, vnet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'acceleratedNetworking' in kwargs: + accelerated_networking = kwargs['acceleratedNetworking'] + if 'availabilitySet' in kwargs: + availability_set = kwargs['availabilitySet'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'faultDomainCount' in kwargs: + fault_domain_count = kwargs['faultDomainCount'] + if 'managedDisks' in kwargs: + managed_disks = kwargs['managedDisks'] + if 'noPublicIp' in kwargs: + no_public_ip = kwargs['noPublicIp'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'privateIpAddress' in kwargs: + private_ip_address = kwargs['privateIpAddress'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'staticPublicIp' in kwargs: + static_public_ip = kwargs['staticPublicIp'] + if 'storageType' in kwargs: + storage_type = kwargs['storageType'] + if 'subnetPrefix' in kwargs: + subnet_prefix = kwargs['subnetPrefix'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'updateDomainCount' in kwargs: + update_domain_count = kwargs['updateDomainCount'] + if 'usePrivateIp' in kwargs: + use_private_ip = kwargs['usePrivateIp'] + if 'usePublicIpStandardSku' in kwargs: + use_public_ip_standard_sku = kwargs['usePublicIpStandardSku'] + if accelerated_networking is not None: _setter("accelerated_networking", accelerated_networking) if availability_set is not None: @@ -27669,7 +30127,21 @@ def _configure( ssh_user: Optional[str] = None, tags: Optional[str] = None, userdata: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'privateNetworking' in kwargs: + private_networking = kwargs['privateNetworking'] + if 'sshKeyContents' in kwargs: + ssh_key_contents = kwargs['sshKeyContents'] + if 'sshKeyFingerprint' in kwargs: + ssh_key_fingerprint = kwargs['sshKeyFingerprint'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if access_token is not None: _setter("access_token", access_token) if backups is not None: @@ -27928,7 +30400,39 @@ def _configure( ssh_password: Optional[str] = None, user_data: Optional[str] = None, vm_affinity: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'vmNamespace' in kwargs: + vm_namespace = kwargs['vmNamespace'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'diskBus' in kwargs: + disk_bus = kwargs['diskBus'] + if 'diskInfo' in kwargs: + disk_info = kwargs['diskInfo'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'networkData' in kwargs: + network_data = kwargs['networkData'] + if 'networkInfo' in kwargs: + network_info = kwargs['networkInfo'] + if 'networkModel' in kwargs: + network_model = kwargs['networkModel'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'vmAffinity' in kwargs: + vm_affinity = kwargs['vmAffinity'] + _setter("ssh_user", ssh_user) _setter("vm_namespace", vm_namespace) if cpu_count is not None: @@ -28204,7 +30708,29 @@ def _configure( tags: Optional[str] = None, token: Optional[str] = None, ua_prefix: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizedUsers' in kwargs: + authorized_users = kwargs['authorizedUsers'] + if 'createPrivateIp' in kwargs: + create_private_ip = kwargs['createPrivateIp'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootPass' in kwargs: + root_pass = kwargs['rootPass'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'stackscriptData' in kwargs: + stackscript_data = kwargs['stackscriptData'] + if 'swapSize' in kwargs: + swap_size = kwargs['swapSize'] + if 'uaPrefix' in kwargs: + ua_prefix = kwargs['uaPrefix'] + if authorized_users is not None: _setter("authorized_users", authorized_users) if create_private_ip is not None: @@ -28542,6 +31068,7 @@ def __init__(__self__, *, :param str volume_device_path: OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself :param str volume_id: OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param str volume_name: OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param str volume_size: OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string) @@ -28637,7 +31164,83 @@ def _configure( volume_name: Optional[str] = None, volume_size: Optional[str] = None, volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'activeTimeout' in kwargs: + active_timeout = kwargs['activeTimeout'] + if 'applicationCredentialId' in kwargs: + application_credential_id = kwargs['applicationCredentialId'] + if 'applicationCredentialName' in kwargs: + application_credential_name = kwargs['applicationCredentialName'] + if 'applicationCredentialSecret' in kwargs: + application_credential_secret = kwargs['applicationCredentialSecret'] + if 'bootFromVolume' in kwargs: + boot_from_volume = kwargs['bootFromVolume'] + if 'configDrive' in kwargs: + config_drive = kwargs['configDrive'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'endpointType' in kwargs: + endpoint_type = kwargs['endpointType'] + if 'flavorId' in kwargs: + flavor_id = kwargs['flavorId'] + if 'flavorName' in kwargs: + flavor_name = kwargs['flavorName'] + if 'floatingIpPool' in kwargs: + floating_ip_pool = kwargs['floatingIpPool'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'ipVersion' in kwargs: + ip_version = kwargs['ipVersion'] + if 'keypairName' in kwargs: + keypair_name = kwargs['keypairName'] + if 'netId' in kwargs: + net_id = kwargs['netId'] + if 'netName' in kwargs: + net_name = kwargs['netName'] + if 'novaNetwork' in kwargs: + nova_network = kwargs['novaNetwork'] + if 'privateKeyFile' in kwargs: + private_key_file = kwargs['privateKeyFile'] + if 'secGroups' in kwargs: + sec_groups = kwargs['secGroups'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'tenantDomainId' in kwargs: + tenant_domain_id = kwargs['tenantDomainId'] + if 'tenantDomainName' in kwargs: + tenant_domain_name = kwargs['tenantDomainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'userDataFile' in kwargs: + user_data_file = kwargs['userDataFile'] + if 'userDomainId' in kwargs: + user_domain_id = kwargs['userDomainId'] + if 'userDomainName' in kwargs: + user_domain_name = kwargs['userDomainName'] + if 'volumeDevicePath' in kwargs: + volume_device_path = kwargs['volumeDevicePath'] + if 'volumeId' in kwargs: + volume_id = kwargs['volumeId'] + if 'volumeName' in kwargs: + volume_name = kwargs['volumeName'] + if 'volumeSize' in kwargs: + volume_size = kwargs['volumeSize'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("auth_url", auth_url) _setter("availability_zone", availability_zone) _setter("region", region) @@ -29023,6 +31626,7 @@ def volume_device_path(self) -> Optional[str]: OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string) > **Note:**: `Required+` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required++` denotes that either the _name or _id is required unless `application_credential_id` is defined. + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself """ return pulumi.get(self, "volume_device_path") @@ -29247,7 +31851,47 @@ def _configure( vapp_transport: Optional[str] = None, vcenter: Optional[str] = None, vcenter_port: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'boot2dockerUrl' in kwargs: + boot2docker_url = kwargs['boot2dockerUrl'] + if 'cloneFrom' in kwargs: + clone_from = kwargs['cloneFrom'] + if 'cloudConfig' in kwargs: + cloud_config = kwargs['cloudConfig'] + if 'contentLibrary' in kwargs: + content_library = kwargs['contentLibrary'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'creationType' in kwargs: + creation_type = kwargs['creationType'] + if 'customAttributes' in kwargs: + custom_attributes = kwargs['customAttributes'] + if 'datastoreCluster' in kwargs: + datastore_cluster = kwargs['datastoreCluster'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'sshUserGroup' in kwargs: + ssh_user_group = kwargs['sshUserGroup'] + if 'vappIpAllocationPolicy' in kwargs: + vapp_ip_allocation_policy = kwargs['vappIpAllocationPolicy'] + if 'vappIpProtocol' in kwargs: + vapp_ip_protocol = kwargs['vappIpProtocol'] + if 'vappProperties' in kwargs: + vapp_properties = kwargs['vappProperties'] + if 'vappTransport' in kwargs: + vapp_transport = kwargs['vappTransport'] + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + if boot2docker_url is not None: _setter("boot2docker_url", boot2docker_url) if cfgparams is not None: @@ -29602,7 +32246,13 @@ def _configure( cluster_id: Optional[str] = None, project_id: Optional[str] = None, values: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if project_id is not None: @@ -29679,7 +32329,15 @@ def _configure( access_type: Optional[str] = None, group_principal_id: Optional[str] = None, user_principal_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -29760,7 +32418,15 @@ def _configure( app_id: Optional[str] = None, health_state: Optional[str] = None, state: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'appId' in kwargs: + app_id = kwargs['appId'] + if 'healthState' in kwargs: + health_state = kwargs['healthState'] + _setter("project_id", project_id) if app_id is not None: _setter("app_id", app_id) @@ -29834,7 +32500,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.MultiClusterAppUpgradeStrategyRollingUpdate'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) @@ -29883,7 +32553,11 @@ def _configure( _setter: Callable[[Any, Any], None], batch_size: Optional[int] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'batchSize' in kwargs: + batch_size = kwargs['batchSize'] + if batch_size is not None: _setter("batch_size", batch_size) if interval is not None: @@ -29956,7 +32630,17 @@ def _configure( limits_memory: Optional[str] = None, requests_cpu: Optional[str] = None, requests_memory: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -30014,7 +32698,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], limit: 'outputs.NamespaceResourceQuotaLimit', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("limit", limit) @property @@ -30125,7 +32811,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -30301,7 +33009,11 @@ def _configure( value: str, effect: Optional[str] = None, time_added: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("value", value) if effect is not None: @@ -30371,8 +33083,6 @@ def __key_warning(key: str): suggest = "insecure_transport" elif key == "instanceType": suggest = "instance_type" - elif key == "keypairName": - suggest = "keypair_name" elif key == "kmsKey": suggest = "kms_key" elif key == "openPorts": @@ -30430,7 +33140,6 @@ def __init__(__self__, *, iam_instance_profile: Optional[str] = None, insecure_transport: Optional[bool] = None, instance_type: Optional[str] = None, - keypair_name: Optional[str] = None, kms_key: Optional[str] = None, monitoring: Optional[bool] = None, open_ports: Optional[Sequence[str]] = None, @@ -30466,7 +33175,6 @@ def __init__(__self__, *, :param str iam_instance_profile: AWS IAM Instance Profile (string) :param bool insecure_transport: Disable SSL when sending requests (bool) :param str instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) - :param str keypair_name: OpenStack keypair to use to SSH to the instance (string) :param str kms_key: Custom KMS key ID using the AWS Managed CMK (string) :param bool monitoring: Enable monitoring for droplet. Default `false` (bool) :param Sequence[str] open_ports: Make the specified port number accessible from the Internet. (list) @@ -30505,7 +33213,6 @@ def __init__(__self__, *, iam_instance_profile=iam_instance_profile, insecure_transport=insecure_transport, instance_type=instance_type, - keypair_name=keypair_name, kms_key=kms_key, monitoring=monitoring, open_ports=open_ports, @@ -30544,7 +33251,6 @@ def _configure( iam_instance_profile: Optional[str] = None, insecure_transport: Optional[bool] = None, instance_type: Optional[str] = None, - keypair_name: Optional[str] = None, kms_key: Optional[str] = None, monitoring: Optional[bool] = None, open_ports: Optional[Sequence[str]] = None, @@ -30563,7 +33269,61 @@ def _configure( use_private_address: Optional[bool] = None, userdata: Optional[str] = None, volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'blockDurationMinutes' in kwargs: + block_duration_minutes = kwargs['blockDurationMinutes'] + if 'deviceName' in kwargs: + device_name = kwargs['deviceName'] + if 'encryptEbsVolume' in kwargs: + encrypt_ebs_volume = kwargs['encryptEbsVolume'] + if 'httpEndpoint' in kwargs: + http_endpoint = kwargs['httpEndpoint'] + if 'httpTokens' in kwargs: + http_tokens = kwargs['httpTokens'] + if 'iamInstanceProfile' in kwargs: + iam_instance_profile = kwargs['iamInstanceProfile'] + if 'insecureTransport' in kwargs: + insecure_transport = kwargs['insecureTransport'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateAddressOnly' in kwargs: + private_address_only = kwargs['privateAddressOnly'] + if 'requestSpotInstance' in kwargs: + request_spot_instance = kwargs['requestSpotInstance'] + if 'rootSize' in kwargs: + root_size = kwargs['rootSize'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'securityGroupReadonly' in kwargs: + security_group_readonly = kwargs['securityGroupReadonly'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'spotPrice' in kwargs: + spot_price = kwargs['spotPrice'] + if 'sshKeypath' in kwargs: + ssh_keypath = kwargs['sshKeypath'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'useEbsOptimizedInstance' in kwargs: + use_ebs_optimized_instance = kwargs['useEbsOptimizedInstance'] + if 'usePrivateAddress' in kwargs: + use_private_address = kwargs['usePrivateAddress'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("ami", ami) _setter("region", region) _setter("security_groups", security_groups) @@ -30590,8 +33350,6 @@ def _configure( _setter("insecure_transport", insecure_transport) if instance_type is not None: _setter("instance_type", instance_type) - if keypair_name is not None: - _setter("keypair_name", keypair_name) if kms_key is not None: _setter("kms_key", kms_key) if monitoring is not None: @@ -30757,14 +33515,6 @@ def instance_type(self) -> Optional[str]: """ return pulumi.get(self, "instance_type") - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[str]: - """ - OpenStack keypair to use to SSH to the instance (string) - """ - return pulumi.get(self, "keypair_name") - @property @pulumi.getter(name="kmsKey") def kms_key(self) -> Optional[str]: @@ -31105,7 +33855,53 @@ def _configure( use_private_ip: Optional[bool] = None, use_public_ip_standard_sku: Optional[bool] = None, vnet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'acceleratedNetworking' in kwargs: + accelerated_networking = kwargs['acceleratedNetworking'] + if 'availabilitySet' in kwargs: + availability_set = kwargs['availabilitySet'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'faultDomainCount' in kwargs: + fault_domain_count = kwargs['faultDomainCount'] + if 'managedDisks' in kwargs: + managed_disks = kwargs['managedDisks'] + if 'noPublicIp' in kwargs: + no_public_ip = kwargs['noPublicIp'] + if 'openPorts' in kwargs: + open_ports = kwargs['openPorts'] + if 'privateIpAddress' in kwargs: + private_ip_address = kwargs['privateIpAddress'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'staticPublicIp' in kwargs: + static_public_ip = kwargs['staticPublicIp'] + if 'storageType' in kwargs: + storage_type = kwargs['storageType'] + if 'subnetPrefix' in kwargs: + subnet_prefix = kwargs['subnetPrefix'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'updateDomainCount' in kwargs: + update_domain_count = kwargs['updateDomainCount'] + if 'usePrivateIp' in kwargs: + use_private_ip = kwargs['usePrivateIp'] + if 'usePublicIpStandardSku' in kwargs: + use_public_ip_standard_sku = kwargs['usePublicIpStandardSku'] + if accelerated_networking is not None: _setter("accelerated_networking", accelerated_networking) if availability_set is not None: @@ -31518,7 +34314,21 @@ def _configure( ssh_user: Optional[str] = None, tags: Optional[str] = None, userdata: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'privateNetworking' in kwargs: + private_networking = kwargs['privateNetworking'] + if 'sshKeyFingerprint' in kwargs: + ssh_key_fingerprint = kwargs['sshKeyFingerprint'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if access_token is not None: _setter("access_token", access_token) if backups is not None: @@ -31779,7 +34589,39 @@ def _configure( ssh_password: Optional[str] = None, user_data: Optional[str] = None, vm_affinity: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'vmNamespace' in kwargs: + vm_namespace = kwargs['vmNamespace'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'diskBus' in kwargs: + disk_bus = kwargs['diskBus'] + if 'diskInfo' in kwargs: + disk_info = kwargs['diskInfo'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'networkData' in kwargs: + network_data = kwargs['networkData'] + if 'networkInfo' in kwargs: + network_info = kwargs['networkInfo'] + if 'networkModel' in kwargs: + network_model = kwargs['networkModel'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'vmAffinity' in kwargs: + vm_affinity = kwargs['vmAffinity'] + _setter("ssh_user", ssh_user) _setter("vm_namespace", vm_namespace) if cpu_count is not None: @@ -32019,7 +34861,19 @@ def _configure( use_private_network: Optional[bool] = None, userdata: Optional[str] = None, volumes: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiToken' in kwargs: + api_token = kwargs['apiToken'] + if 'serverLabels' in kwargs: + server_labels = kwargs['serverLabels'] + if 'serverLocation' in kwargs: + server_location = kwargs['serverLocation'] + if 'serverType' in kwargs: + server_type = kwargs['serverType'] + if 'usePrivateNetwork' in kwargs: + use_private_network = kwargs['usePrivateNetwork'] + _setter("api_token", api_token) if image is not None: _setter("image", image) @@ -32223,7 +35077,29 @@ def _configure( tags: Optional[str] = None, token: Optional[str] = None, ua_prefix: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizedUsers' in kwargs: + authorized_users = kwargs['authorizedUsers'] + if 'createPrivateIp' in kwargs: + create_private_ip = kwargs['createPrivateIp'] + if 'dockerPort' in kwargs: + docker_port = kwargs['dockerPort'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootPass' in kwargs: + root_pass = kwargs['rootPass'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'stackscriptData' in kwargs: + stackscript_data = kwargs['stackscriptData'] + if 'swapSize' in kwargs: + swap_size = kwargs['swapSize'] + if 'uaPrefix' in kwargs: + ua_prefix = kwargs['uaPrefix'] + if authorized_users is not None: _setter("authorized_users", authorized_users) if create_private_ip is not None: @@ -32430,7 +35306,11 @@ def _configure( value: str, effect: Optional[str] = None, time_added: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("value", value) if effect is not None: @@ -32603,7 +35483,37 @@ def _configure( template_id: Optional[str] = None, template_name: Optional[str] = None, vcpu: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'xmlRpcUrl' in kwargs: + xml_rpc_url = kwargs['xmlRpcUrl'] + if 'b2dSize' in kwargs: + b2d_size = kwargs['b2dSize'] + if 'devPrefix' in kwargs: + dev_prefix = kwargs['devPrefix'] + if 'disableVnc' in kwargs: + disable_vnc = kwargs['disableVnc'] + if 'diskResize' in kwargs: + disk_resize = kwargs['diskResize'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'imageOwner' in kwargs: + image_owner = kwargs['imageOwner'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'networkOwner' in kwargs: + network_owner = kwargs['networkOwner'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'templateId' in kwargs: + template_id = kwargs['templateId'] + if 'templateName' in kwargs: + template_name = kwargs['templateName'] + _setter("password", password) _setter("user", user) _setter("xml_rpc_url", xml_rpc_url) @@ -32956,6 +35866,8 @@ def __init__(__self__, *, > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself :param str volume_id: OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param str volume_name: OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string) :param str volume_size: OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string) @@ -33043,7 +35955,75 @@ def _configure( volume_name: Optional[str] = None, volume_size: Optional[str] = None, volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'activeTimeout' in kwargs: + active_timeout = kwargs['activeTimeout'] + if 'applicationCredentialId' in kwargs: + application_credential_id = kwargs['applicationCredentialId'] + if 'applicationCredentialName' in kwargs: + application_credential_name = kwargs['applicationCredentialName'] + if 'applicationCredentialSecret' in kwargs: + application_credential_secret = kwargs['applicationCredentialSecret'] + if 'bootFromVolume' in kwargs: + boot_from_volume = kwargs['bootFromVolume'] + if 'configDrive' in kwargs: + config_drive = kwargs['configDrive'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'endpointType' in kwargs: + endpoint_type = kwargs['endpointType'] + if 'flavorId' in kwargs: + flavor_id = kwargs['flavorId'] + if 'flavorName' in kwargs: + flavor_name = kwargs['flavorName'] + if 'floatingIpPool' in kwargs: + floating_ip_pool = kwargs['floatingIpPool'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'imageName' in kwargs: + image_name = kwargs['imageName'] + if 'ipVersion' in kwargs: + ip_version = kwargs['ipVersion'] + if 'keypairName' in kwargs: + keypair_name = kwargs['keypairName'] + if 'netId' in kwargs: + net_id = kwargs['netId'] + if 'netName' in kwargs: + net_name = kwargs['netName'] + if 'novaNetwork' in kwargs: + nova_network = kwargs['novaNetwork'] + if 'privateKeyFile' in kwargs: + private_key_file = kwargs['privateKeyFile'] + if 'secGroups' in kwargs: + sec_groups = kwargs['secGroups'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'userDataFile' in kwargs: + user_data_file = kwargs['userDataFile'] + if 'volumeDevicePath' in kwargs: + volume_device_path = kwargs['volumeDevicePath'] + if 'volumeId' in kwargs: + volume_id = kwargs['volumeId'] + if 'volumeName' in kwargs: + volume_name = kwargs['volumeName'] + if 'volumeSize' in kwargs: + volume_size = kwargs['volumeSize'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + _setter("auth_url", auth_url) _setter("availability_zone", availability_zone) _setter("region", region) @@ -33391,6 +36371,8 @@ def volume_device_path(self) -> Optional[str]: > **Note:**: `Required*` denotes that either the _name or _id is required but you cannot use both. > **Note:**: `Required**` denotes that either the _name or _id is required unless `application_credential_id` is defined. + + > **Note for OpenStack users:**: `keypair_name` is required to be in the schema even if there are no references in rancher itself """ return pulumi.get(self, "volume_device_path") @@ -33517,7 +36499,29 @@ def _configure( root_disk_type: Optional[str] = None, security_group_ids: Optional[Sequence[str]] = None, source_omi: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'extraTagsAlls' in kwargs: + extra_tags_alls = kwargs['extraTagsAlls'] + if 'extraTagsInstances' in kwargs: + extra_tags_instances = kwargs['extraTagsInstances'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'rootDiskIops' in kwargs: + root_disk_iops = kwargs['rootDiskIops'] + if 'rootDiskSize' in kwargs: + root_disk_size = kwargs['rootDiskSize'] + if 'rootDiskType' in kwargs: + root_disk_type = kwargs['rootDiskType'] + if 'securityGroupIds' in kwargs: + security_group_ids = kwargs['securityGroupIds'] + if 'sourceOmi' in kwargs: + source_omi = kwargs['sourceOmi'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if extra_tags_alls is not None: @@ -33816,7 +36820,47 @@ def _configure( vapp_transport: Optional[str] = None, vcenter: Optional[str] = None, vcenter_port: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'boot2dockerUrl' in kwargs: + boot2docker_url = kwargs['boot2dockerUrl'] + if 'cloneFrom' in kwargs: + clone_from = kwargs['cloneFrom'] + if 'cloudConfig' in kwargs: + cloud_config = kwargs['cloudConfig'] + if 'contentLibrary' in kwargs: + content_library = kwargs['contentLibrary'] + if 'cpuCount' in kwargs: + cpu_count = kwargs['cpuCount'] + if 'creationType' in kwargs: + creation_type = kwargs['creationType'] + if 'customAttributes' in kwargs: + custom_attributes = kwargs['customAttributes'] + if 'datastoreCluster' in kwargs: + datastore_cluster = kwargs['datastoreCluster'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'memorySize' in kwargs: + memory_size = kwargs['memorySize'] + if 'sshPassword' in kwargs: + ssh_password = kwargs['sshPassword'] + if 'sshPort' in kwargs: + ssh_port = kwargs['sshPort'] + if 'sshUser' in kwargs: + ssh_user = kwargs['sshUser'] + if 'sshUserGroup' in kwargs: + ssh_user_group = kwargs['sshUserGroup'] + if 'vappIpAllocationPolicy' in kwargs: + vapp_ip_allocation_policy = kwargs['vappIpAllocationPolicy'] + if 'vappIpProtocol' in kwargs: + vapp_ip_protocol = kwargs['vappIpProtocol'] + if 'vappProperties' in kwargs: + vapp_properties = kwargs['vappProperties'] + if 'vappTransport' in kwargs: + vapp_transport = kwargs['vappTransport'] + if 'vcenterPort' in kwargs: + vcenter_port = kwargs['vcenterPort'] + if boot2docker_url is not None: _setter("boot2docker_url", boot2docker_url) if cfgparams is not None: @@ -34169,7 +37213,11 @@ def _configure( url: str, proxy_url: Optional[str] = None, secret: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -34237,7 +37285,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -34297,7 +37349,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_key: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceKey' in kwargs: + service_key = kwargs['serviceKey'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("service_key", service_key) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -34361,7 +37419,13 @@ def _configure( default_recipient: str, url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("default_recipient", default_recipient) _setter("url", url) if proxy_url is not None: @@ -34448,7 +37512,11 @@ def _configure( password: Optional[str] = None, tls: Optional[bool] = None, username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + _setter("default_recipient", default_recipient) _setter("host", host) _setter("port", port) @@ -34553,7 +37621,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -34631,7 +37703,15 @@ def _configure( secret: str, proxy_url: Optional[str] = None, recipient_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + if 'recipientType' in kwargs: + recipient_type = kwargs['recipientType'] + _setter("agent", agent) _setter("corp", corp) _setter("default_recipient", default_recipient) @@ -34705,7 +37785,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) @property @@ -34729,7 +37811,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], driver: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("driver", driver) @property @@ -34776,7 +37860,13 @@ def _configure( _setter: Callable[[Any, Any], None], path_prefix: str, read_only: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pathPrefix' in kwargs: + path_prefix = kwargs['pathPrefix'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("path_prefix", path_prefix) if read_only is not None: _setter("read_only", read_only) @@ -34817,7 +37907,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Optional[Sequence['outputs.PodSecurityPolicyTemplateFsGroupRange']] = None, rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if ranges is not None: _setter("ranges", ranges) if rule is not None: @@ -34859,7 +37951,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -34899,7 +37993,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -34939,7 +38035,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['outputs.PodSecurityPolicyTemplateRunAsGroupRange']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -34980,7 +38078,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -35020,7 +38120,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['outputs.PodSecurityPolicyTemplateRunAsUserRange']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -35061,7 +38163,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -35120,7 +38224,13 @@ def _configure( _setter: Callable[[Any, Any], None], allowed_runtime_class_names: Sequence[str], default_runtime_class_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedRuntimeClassNames' in kwargs: + allowed_runtime_class_names = kwargs['allowedRuntimeClassNames'] + if 'defaultRuntimeClassName' in kwargs: + default_runtime_class_name = kwargs['defaultRuntimeClassName'] + _setter("allowed_runtime_class_names", allowed_runtime_class_names) if default_runtime_class_name is not None: _setter("default_runtime_class_name", default_runtime_class_name) @@ -35178,7 +38288,11 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, se_linux_option: Optional['outputs.PodSecurityPolicyTemplateSeLinuxSeLinuxOption'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'seLinuxOption' in kwargs: + se_linux_option = kwargs['seLinuxOption'] + _setter("rule", rule) if se_linux_option is not None: _setter("se_linux_option", se_linux_option) @@ -35227,7 +38341,9 @@ def _configure( role: Optional[str] = None, type: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if level is not None: _setter("level", level) if role is not None: @@ -35289,7 +38405,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Optional[Sequence['outputs.PodSecurityPolicyTemplateSupplementalGroupRange']] = None, rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if ranges is not None: _setter("ranges", ranges) if rule is not None: @@ -35331,7 +38449,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -35399,7 +38519,15 @@ def _configure( default_recipient: Optional[bool] = None, notifier_type: Optional[str] = None, recipient: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + _setter("notifier_id", notifier_id) if default_recipient is not None: _setter("default_recipient", default_recipient) @@ -35486,7 +38614,11 @@ def _configure( threshold_value: float, comparison: Optional[str] = None, description: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -35584,7 +38716,15 @@ def _configure( condition: Optional[str] = None, restart_interval_seconds: Optional[int] = None, restart_times: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'podId' in kwargs: + pod_id = kwargs['podId'] + if 'restartIntervalSeconds' in kwargs: + restart_interval_seconds = kwargs['restartIntervalSeconds'] + if 'restartTimes' in kwargs: + restart_times = kwargs['restartTimes'] + _setter("pod_id", pod_id) if condition is not None: _setter("condition", condition) @@ -35668,7 +38808,13 @@ def _configure( available_percentage: Optional[int] = None, selector: Optional[Mapping[str, Any]] = None, workload_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availablePercentage' in kwargs: + available_percentage = kwargs['availablePercentage'] + if 'workloadId' in kwargs: + workload_id = kwargs['workloadId'] + if available_percentage is not None: _setter("available_percentage", available_percentage) if selector is not None: @@ -35751,7 +38897,17 @@ def _configure( limits_memory: Optional[str] = None, requests_cpu: Optional[str] = None, requests_memory: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -35813,7 +38969,9 @@ def _configure( _setter: Callable[[Any, Any], None], answers: Optional[Mapping[str, Any]] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if answers is not None: _setter("answers", answers) if version is not None: @@ -35874,7 +39032,13 @@ def _configure( _setter: Callable[[Any, Any], None], namespace_default_limit: 'outputs.ProjectResourceQuotaNamespaceDefaultLimit', project_limit: 'outputs.ProjectResourceQuotaProjectLimit', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceDefaultLimit' in kwargs: + namespace_default_limit = kwargs['namespaceDefaultLimit'] + if 'projectLimit' in kwargs: + project_limit = kwargs['projectLimit'] + _setter("namespace_default_limit", namespace_default_limit) _setter("project_limit", project_limit) @@ -35994,7 +39158,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -36225,7 +39411,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -36380,7 +39588,9 @@ def _configure( address: str, password: Optional[str] = None, username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("address", address) if password is not None: _setter("password", password) @@ -36464,7 +39674,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -36569,7 +39787,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -36748,7 +39974,77 @@ def _configure( network_policy: Optional[str] = None, pod_cidr: Optional[str] = None, service_cidr: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'agentDnsPrefix' in kwargs: + agent_dns_prefix = kwargs['agentDnsPrefix'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'masterDnsPrefix' in kwargs: + master_dns_prefix = kwargs['masterDnsPrefix'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'sshPublicKeyContents' in kwargs: + ssh_public_key_contents = kwargs['sshPublicKeyContents'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + if 'aadServerAppSecret' in kwargs: + aad_server_app_secret = kwargs['aadServerAppSecret'] + if 'aadTenantId' in kwargs: + aad_tenant_id = kwargs['aadTenantId'] + if 'addClientAppId' in kwargs: + add_client_app_id = kwargs['addClientAppId'] + if 'addServerAppId' in kwargs: + add_server_app_id = kwargs['addServerAppId'] + if 'adminUsername' in kwargs: + admin_username = kwargs['adminUsername'] + if 'agentOsDiskSize' in kwargs: + agent_os_disk_size = kwargs['agentOsDiskSize'] + if 'agentPoolName' in kwargs: + agent_pool_name = kwargs['agentPoolName'] + if 'agentStorageProfile' in kwargs: + agent_storage_profile = kwargs['agentStorageProfile'] + if 'agentVmSize' in kwargs: + agent_vm_size = kwargs['agentVmSize'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsServiceIp' in kwargs: + dns_service_ip = kwargs['dnsServiceIp'] + if 'dockerBridgeCidr' in kwargs: + docker_bridge_cidr = kwargs['dockerBridgeCidr'] + if 'enableHttpApplicationRouting' in kwargs: + enable_http_application_routing = kwargs['enableHttpApplicationRouting'] + if 'enableMonitoring' in kwargs: + enable_monitoring = kwargs['enableMonitoring'] + if 'logAnalyticsWorkspace' in kwargs: + log_analytics_workspace = kwargs['logAnalyticsWorkspace'] + if 'logAnalyticsWorkspaceResourceGroup' in kwargs: + log_analytics_workspace_resource_group = kwargs['logAnalyticsWorkspaceResourceGroup'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + _setter("agent_dns_prefix", agent_dns_prefix) _setter("client_id", client_id) _setter("client_secret", client_secret) @@ -37111,7 +40407,57 @@ def _configure( kubernetes_version: Optional[str] = None, network_plugin: Optional[str] = None, node_pools: Optional[Sequence['outputs.GetClusterAksConfigV2NodePoolResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'httpApplicationRouting' in kwargs: + http_application_routing = kwargs['httpApplicationRouting'] + if 'linuxAdminUsername' in kwargs: + linux_admin_username = kwargs['linuxAdminUsername'] + if 'linuxSshPublicKey' in kwargs: + linux_ssh_public_key = kwargs['linuxSshPublicKey'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + if 'logAnalyticsWorkspaceGroup' in kwargs: + log_analytics_workspace_group = kwargs['logAnalyticsWorkspaceGroup'] + if 'logAnalyticsWorkspaceName' in kwargs: + log_analytics_workspace_name = kwargs['logAnalyticsWorkspaceName'] + if 'networkDnsServiceIp' in kwargs: + network_dns_service_ip = kwargs['networkDnsServiceIp'] + if 'networkDockerBridgeCidr' in kwargs: + network_docker_bridge_cidr = kwargs['networkDockerBridgeCidr'] + if 'networkPodCidr' in kwargs: + network_pod_cidr = kwargs['networkPodCidr'] + if 'networkPolicy' in kwargs: + network_policy = kwargs['networkPolicy'] + if 'networkServiceCidr' in kwargs: + network_service_cidr = kwargs['networkServiceCidr'] + if 'privateCluster' in kwargs: + private_cluster = kwargs['privateCluster'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'resourceLocation' in kwargs: + resource_location = kwargs['resourceLocation'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + if 'virtualNetworkResourceGroup' in kwargs: + virtual_network_resource_group = kwargs['virtualNetworkResourceGroup'] + if 'authBaseUrl' in kwargs: + auth_base_url = kwargs['authBaseUrl'] + if 'authorizedIpRanges' in kwargs: + authorized_ip_ranges = kwargs['authorizedIpRanges'] + if 'baseUrl' in kwargs: + base_url = kwargs['baseUrl'] + if 'dnsPrefix' in kwargs: + dns_prefix = kwargs['dnsPrefix'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'networkPlugin' in kwargs: + network_plugin = kwargs['networkPlugin'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + _setter("cloud_credential_id", cloud_credential_id) _setter("http_application_routing", http_application_routing) _setter("linux_admin_username", linux_admin_username) @@ -37360,7 +40706,31 @@ def _configure( os_disk_size_gb: Optional[int] = None, os_disk_type: Optional[str] = None, os_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vmSize' in kwargs: + vm_size = kwargs['vmSize'] + if 'availabilityZones' in kwargs: + availability_zones = kwargs['availabilityZones'] + if 'enableAutoScaling' in kwargs: + enable_auto_scaling = kwargs['enableAutoScaling'] + if 'maxCount' in kwargs: + max_count = kwargs['maxCount'] + if 'maxPods' in kwargs: + max_pods = kwargs['maxPods'] + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'minCount' in kwargs: + min_count = kwargs['minCount'] + if 'orchestratorVersion' in kwargs: + orchestrator_version = kwargs['orchestratorVersion'] + if 'osDiskSizeGb' in kwargs: + os_disk_size_gb = kwargs['osDiskSizeGb'] + if 'osDiskType' in kwargs: + os_disk_type = kwargs['osDiskType'] + if 'osType' in kwargs: + os_type = kwargs['osType'] + _setter("labels", labels) _setter("name", name) _setter("taints", taints) @@ -37498,7 +40868,15 @@ def _configure( notifier_type: str, recipient: str, default_recipient: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + _setter("notifier_id", notifier_id) _setter("notifier_type", notifier_type) _setter("recipient", recipient) @@ -37541,7 +40919,13 @@ def _configure( _setter: Callable[[Any, Any], None], resource_kind: str, event_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'resourceKind' in kwargs: + resource_kind = kwargs['resourceKind'] + if 'eventType' in kwargs: + event_type = kwargs['eventType'] + _setter("resource_kind", resource_kind) if event_type is not None: _setter("event_type", event_type) @@ -37581,7 +40965,11 @@ def _configure( threshold_value: float, comparison: Optional[str] = None, description: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -37640,7 +41028,15 @@ def _configure( mem_threshold: Optional[int] = None, node_id: Optional[str] = None, selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cpuThreshold' in kwargs: + cpu_threshold = kwargs['cpuThreshold'] + if 'memThreshold' in kwargs: + mem_threshold = kwargs['memThreshold'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if condition is not None: _setter("condition", condition) if cpu_threshold is not None: @@ -37690,7 +41086,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], condition: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if condition is not None: _setter("condition", condition) @@ -37718,7 +41116,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -37757,7 +41159,9 @@ def _configure( _setter: Callable[[Any, Any], None], answers: Optional[Mapping[str, Any]] = None, version: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if answers is not None: _setter("answers", answers) if version is not None: @@ -37828,7 +41232,23 @@ def _configure( node_command: str, token: str, windows_node_command: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + _setter("annotations", annotations) _setter("cluster_id", cluster_id) _setter("command", command) @@ -37939,7 +41359,13 @@ def _configure( cluster_id: str, project_id: str, values: Mapping[str, Any], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("cluster_id", cluster_id) _setter("project_id", project_id) _setter("values", values) @@ -37981,7 +41407,9 @@ def _configure( variable: str, required: Optional[bool] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -38076,7 +41504,41 @@ def _configure( session_token: Optional[str] = None, subnets: Optional[Sequence[str]] = None, virtual_network: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'associateWorkerNodePublicIp' in kwargs: + associate_worker_node_public_ip = kwargs['associateWorkerNodePublicIp'] + if 'desiredNodes' in kwargs: + desired_nodes = kwargs['desiredNodes'] + if 'ebsEncryption' in kwargs: + ebs_encryption = kwargs['ebsEncryption'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'keyPairName' in kwargs: + key_pair_name = kwargs['keyPairName'] + if 'maximumNodes' in kwargs: + maximum_nodes = kwargs['maximumNodes'] + if 'minimumNodes' in kwargs: + minimum_nodes = kwargs['minimumNodes'] + if 'nodeVolumeSize' in kwargs: + node_volume_size = kwargs['nodeVolumeSize'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + if 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if 'virtualNetwork' in kwargs: + virtual_network = kwargs['virtualNetwork'] + _setter("access_key", access_key) _setter("kubernetes_version", kubernetes_version) _setter("secret_key", secret_key) @@ -38268,7 +41730,31 @@ def _configure( service_role: Optional[str] = None, subnets: Optional[Sequence[str]] = None, tags: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialId' in kwargs: + cloud_credential_id = kwargs['cloudCredentialId'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'nodeGroups' in kwargs: + node_groups = kwargs['nodeGroups'] + if 'privateAccess' in kwargs: + private_access = kwargs['privateAccess'] + if 'publicAccess' in kwargs: + public_access = kwargs['publicAccess'] + if 'publicAccessSources' in kwargs: + public_access_sources = kwargs['publicAccessSources'] + if 'secretsEncryption' in kwargs: + secrets_encryption = kwargs['secretsEncryption'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + if 'loggingTypes' in kwargs: + logging_types = kwargs['loggingTypes'] + if 'securityGroups' in kwargs: + security_groups = kwargs['securityGroups'] + if 'serviceRole' in kwargs: + service_role = kwargs['serviceRole'] + _setter("cloud_credential_id", cloud_credential_id) _setter("kubernetes_version", kubernetes_version) _setter("name", name) @@ -38448,7 +41934,35 @@ def _configure( resource_tags: Optional[Mapping[str, Any]] = None, spot_instance_types: Optional[Sequence[str]] = None, tags: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'desiredSize' in kwargs: + desired_size = kwargs['desiredSize'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'ec2SshKey' in kwargs: + ec2_ssh_key = kwargs['ec2SshKey'] + if 'imageId' in kwargs: + image_id = kwargs['imageId'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + if 'launchTemplates' in kwargs: + launch_templates = kwargs['launchTemplates'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + if 'minSize' in kwargs: + min_size = kwargs['minSize'] + if 'nodeRole' in kwargs: + node_role = kwargs['nodeRole'] + if 'requestSpotInstances' in kwargs: + request_spot_instances = kwargs['requestSpotInstances'] + if 'resourceTags' in kwargs: + resource_tags = kwargs['resourceTags'] + if 'spotInstanceTypes' in kwargs: + spot_instance_types = kwargs['spotInstanceTypes'] + _setter("name", name) _setter("subnets", subnets) _setter("user_data", user_data) @@ -38608,7 +42122,9 @@ def _configure( id: str, name: str, version: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) _setter("name", name) if version is not None: @@ -38808,7 +42324,97 @@ def _configure( taints: Optional[Sequence[str]] = None, use_ip_aliases: Optional[bool] = None, zone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4Cidr' in kwargs: + cluster_ipv4_cidr = kwargs['clusterIpv4Cidr'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'ipPolicyClusterIpv4CidrBlock' in kwargs: + ip_policy_cluster_ipv4_cidr_block = kwargs['ipPolicyClusterIpv4CidrBlock'] + if 'ipPolicyClusterSecondaryRangeName' in kwargs: + ip_policy_cluster_secondary_range_name = kwargs['ipPolicyClusterSecondaryRangeName'] + if 'ipPolicyNodeIpv4CidrBlock' in kwargs: + ip_policy_node_ipv4_cidr_block = kwargs['ipPolicyNodeIpv4CidrBlock'] + if 'ipPolicyServicesIpv4CidrBlock' in kwargs: + ip_policy_services_ipv4_cidr_block = kwargs['ipPolicyServicesIpv4CidrBlock'] + if 'ipPolicyServicesSecondaryRangeName' in kwargs: + ip_policy_services_secondary_range_name = kwargs['ipPolicyServicesSecondaryRangeName'] + if 'ipPolicySubnetworkName' in kwargs: + ip_policy_subnetwork_name = kwargs['ipPolicySubnetworkName'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'masterVersion' in kwargs: + master_version = kwargs['masterVersion'] + if 'nodePool' in kwargs: + node_pool = kwargs['nodePool'] + if 'nodeVersion' in kwargs: + node_version = kwargs['nodeVersion'] + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'resourceLabels' in kwargs: + resource_labels = kwargs['resourceLabels'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + if 'subNetwork' in kwargs: + sub_network = kwargs['subNetwork'] + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'enableAlphaFeature' in kwargs: + enable_alpha_feature = kwargs['enableAlphaFeature'] + if 'enableAutoRepair' in kwargs: + enable_auto_repair = kwargs['enableAutoRepair'] + if 'enableAutoUpgrade' in kwargs: + enable_auto_upgrade = kwargs['enableAutoUpgrade'] + if 'enableHorizontalPodAutoscaling' in kwargs: + enable_horizontal_pod_autoscaling = kwargs['enableHorizontalPodAutoscaling'] + if 'enableHttpLoadBalancing' in kwargs: + enable_http_load_balancing = kwargs['enableHttpLoadBalancing'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enableLegacyAbac' in kwargs: + enable_legacy_abac = kwargs['enableLegacyAbac'] + if 'enableMasterAuthorizedNetwork' in kwargs: + enable_master_authorized_network = kwargs['enableMasterAuthorizedNetwork'] + if 'enableNetworkPolicyConfig' in kwargs: + enable_network_policy_config = kwargs['enableNetworkPolicyConfig'] + if 'enableNodepoolAutoscaling' in kwargs: + enable_nodepool_autoscaling = kwargs['enableNodepoolAutoscaling'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'enableStackdriverLogging' in kwargs: + enable_stackdriver_logging = kwargs['enableStackdriverLogging'] + if 'enableStackdriverMonitoring' in kwargs: + enable_stackdriver_monitoring = kwargs['enableStackdriverMonitoring'] + if 'ipPolicyCreateSubnetwork' in kwargs: + ip_policy_create_subnetwork = kwargs['ipPolicyCreateSubnetwork'] + if 'issueClientCertificate' in kwargs: + issue_client_certificate = kwargs['issueClientCertificate'] + if 'kubernetesDashboard' in kwargs: + kubernetes_dashboard = kwargs['kubernetesDashboard'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'masterAuthorizedNetworkCidrBlocks' in kwargs: + master_authorized_network_cidr_blocks = kwargs['masterAuthorizedNetworkCidrBlocks'] + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + if 'nodeCount' in kwargs: + node_count = kwargs['nodeCount'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + _setter("cluster_ipv4_cidr", cluster_ipv4_cidr) _setter("credential", credential) _setter("disk_type", disk_type) @@ -39247,7 +42853,37 @@ def _configure( subnetwork: str, zone: str, imported: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterAddons' in kwargs: + cluster_addons = kwargs['clusterAddons'] + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'enableKubernetesAlpha' in kwargs: + enable_kubernetes_alpha = kwargs['enableKubernetesAlpha'] + if 'googleCredentialSecret' in kwargs: + google_credential_secret = kwargs['googleCredentialSecret'] + if 'ipAllocationPolicy' in kwargs: + ip_allocation_policy = kwargs['ipAllocationPolicy'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'loggingService' in kwargs: + logging_service = kwargs['loggingService'] + if 'maintenanceWindow' in kwargs: + maintenance_window = kwargs['maintenanceWindow'] + if 'masterAuthorizedNetworksConfig' in kwargs: + master_authorized_networks_config = kwargs['masterAuthorizedNetworksConfig'] + if 'monitoringService' in kwargs: + monitoring_service = kwargs['monitoringService'] + if 'networkPolicyEnabled' in kwargs: + network_policy_enabled = kwargs['networkPolicyEnabled'] + if 'nodePools' in kwargs: + node_pools = kwargs['nodePools'] + if 'privateClusterConfig' in kwargs: + private_cluster_config = kwargs['privateClusterConfig'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("cluster_addons", cluster_addons) _setter("cluster_ipv4_cidr_block", cluster_ipv4_cidr_block) _setter("description", description) @@ -39416,7 +43052,15 @@ def _configure( horizontal_pod_autoscaling: bool, http_load_balancing: bool, network_policy_config: bool, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'horizontalPodAutoscaling' in kwargs: + horizontal_pod_autoscaling = kwargs['horizontalPodAutoscaling'] + if 'httpLoadBalancing' in kwargs: + http_load_balancing = kwargs['httpLoadBalancing'] + if 'networkPolicyConfig' in kwargs: + network_policy_config = kwargs['networkPolicyConfig'] + _setter("horizontal_pod_autoscaling", horizontal_pod_autoscaling) _setter("http_load_balancing", http_load_balancing) _setter("network_policy_config", network_policy_config) @@ -39470,7 +43114,25 @@ def _configure( services_secondary_range_name: str, subnetwork_name: str, use_ip_aliases: bool, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterIpv4CidrBlock' in kwargs: + cluster_ipv4_cidr_block = kwargs['clusterIpv4CidrBlock'] + if 'clusterSecondaryRangeName' in kwargs: + cluster_secondary_range_name = kwargs['clusterSecondaryRangeName'] + if 'createSubnetwork' in kwargs: + create_subnetwork = kwargs['createSubnetwork'] + if 'nodeIpv4CidrBlock' in kwargs: + node_ipv4_cidr_block = kwargs['nodeIpv4CidrBlock'] + if 'servicesIpv4CidrBlock' in kwargs: + services_ipv4_cidr_block = kwargs['servicesIpv4CidrBlock'] + if 'servicesSecondaryRangeName' in kwargs: + services_secondary_range_name = kwargs['servicesSecondaryRangeName'] + if 'subnetworkName' in kwargs: + subnetwork_name = kwargs['subnetworkName'] + if 'useIpAliases' in kwargs: + use_ip_aliases = kwargs['useIpAliases'] + _setter("cluster_ipv4_cidr_block", cluster_ipv4_cidr_block) _setter("cluster_secondary_range_name", cluster_secondary_range_name) _setter("create_subnetwork", create_subnetwork) @@ -39536,7 +43198,11 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_blocks: Sequence['outputs.GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockResult'], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlocks' in kwargs: + cidr_blocks = kwargs['cidrBlocks'] + _setter("cidr_blocks", cidr_blocks) if enabled is not None: _setter("enabled", enabled) @@ -39567,7 +43233,13 @@ def _configure( _setter: Callable[[Any, Any], None], cidr_block: str, display_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrBlock' in kwargs: + cidr_block = kwargs['cidrBlock'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + _setter("cidr_block", cidr_block) if display_name is not None: _setter("display_name", display_name) @@ -39616,7 +43288,13 @@ def _configure( max_pods_constraint: int, name: str, version: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'initialNodeCount' in kwargs: + initial_node_count = kwargs['initialNodeCount'] + if 'maxPodsConstraint' in kwargs: + max_pods_constraint = kwargs['maxPodsConstraint'] + _setter("autoscaling", autoscaling) _setter("config", config) _setter("initial_node_count", initial_node_count) @@ -39682,7 +43360,13 @@ def _configure( max_node_count: int, min_node_count: int, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxNodeCount' in kwargs: + max_node_count = kwargs['maxNodeCount'] + if 'minNodeCount' in kwargs: + min_node_count = kwargs['minNodeCount'] + _setter("max_node_count", max_node_count) _setter("min_node_count", min_node_count) if enabled is not None: @@ -39746,7 +43430,21 @@ def _configure( machine_type: Optional[str] = None, preemptible: Optional[bool] = None, taints: Optional[Sequence['outputs.GetClusterGkeConfigV2NodePoolConfigTaintResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'oauthScopes' in kwargs: + oauth_scopes = kwargs['oauthScopes'] + if 'diskSizeGb' in kwargs: + disk_size_gb = kwargs['diskSizeGb'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if 'imageType' in kwargs: + image_type = kwargs['imageType'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'machineType' in kwargs: + machine_type = kwargs['machineType'] + _setter("labels", labels) _setter("oauth_scopes", oauth_scopes) _setter("tags", tags) @@ -39837,7 +43535,9 @@ def _configure( effect: str, key: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("effect", effect) _setter("key", key) _setter("value", value) @@ -39873,7 +43573,13 @@ def _configure( _setter: Callable[[Any, Any], None], auto_repair: bool, auto_upgrade: bool, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoRepair' in kwargs: + auto_repair = kwargs['autoRepair'] + if 'autoUpgrade' in kwargs: + auto_upgrade = kwargs['autoUpgrade'] + _setter("auto_repair", auto_repair) _setter("auto_upgrade", auto_upgrade) @@ -39906,7 +43612,15 @@ def _configure( master_ipv4_cidr_block: str, enable_private_endpoint: Optional[bool] = None, enable_private_nodes: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'masterIpv4CidrBlock' in kwargs: + master_ipv4_cidr_block = kwargs['masterIpv4CidrBlock'] + if 'enablePrivateEndpoint' in kwargs: + enable_private_endpoint = kwargs['enablePrivateEndpoint'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + _setter("master_ipv4_cidr_block", master_ipv4_cidr_block) if enable_private_endpoint is not None: _setter("enable_private_endpoint", enable_private_endpoint) @@ -39944,7 +43658,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: 'outputs.GetClusterK3sConfigUpgradeStrategyResult', version: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + _setter("upgrade_strategy", upgrade_strategy) _setter("version", version) @@ -39980,7 +43698,17 @@ def _configure( drain_worker_nodes: Optional[bool] = None, server_concurrency: Optional[int] = None, worker_concurrency: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -40119,7 +43847,67 @@ def _configure( vcn_compartment_id: Optional[str] = None, vcn_name: Optional[str] = None, worker_node_ingress_cidr: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'compartmentId' in kwargs: + compartment_id = kwargs['compartmentId'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'nodeImage' in kwargs: + node_image = kwargs['nodeImage'] + if 'nodeShape' in kwargs: + node_shape = kwargs['nodeShape'] + if 'privateKeyContents' in kwargs: + private_key_contents = kwargs['privateKeyContents'] + if 'tenancyId' in kwargs: + tenancy_id = kwargs['tenancyId'] + if 'userOcid' in kwargs: + user_ocid = kwargs['userOcid'] + if 'customBootVolumeSize' in kwargs: + custom_boot_volume_size = kwargs['customBootVolumeSize'] + if 'enableKubernetesDashboard' in kwargs: + enable_kubernetes_dashboard = kwargs['enableKubernetesDashboard'] + if 'enablePrivateControlPlane' in kwargs: + enable_private_control_plane = kwargs['enablePrivateControlPlane'] + if 'enablePrivateNodes' in kwargs: + enable_private_nodes = kwargs['enablePrivateNodes'] + if 'flexOcpus' in kwargs: + flex_ocpus = kwargs['flexOcpus'] + if 'kmsKeyId' in kwargs: + kms_key_id = kwargs['kmsKeyId'] + if 'limitNodeCount' in kwargs: + limit_node_count = kwargs['limitNodeCount'] + if 'loadBalancerSubnetName1' in kwargs: + load_balancer_subnet_name1 = kwargs['loadBalancerSubnetName1'] + if 'loadBalancerSubnetName2' in kwargs: + load_balancer_subnet_name2 = kwargs['loadBalancerSubnetName2'] + if 'nodePoolDnsDomainName' in kwargs: + node_pool_dns_domain_name = kwargs['nodePoolDnsDomainName'] + if 'nodePoolSubnetName' in kwargs: + node_pool_subnet_name = kwargs['nodePoolSubnetName'] + if 'nodePublicKeyContents' in kwargs: + node_public_key_contents = kwargs['nodePublicKeyContents'] + if 'podCidr' in kwargs: + pod_cidr = kwargs['podCidr'] + if 'privateKeyPassphrase' in kwargs: + private_key_passphrase = kwargs['privateKeyPassphrase'] + if 'quantityOfNodeSubnets' in kwargs: + quantity_of_node_subnets = kwargs['quantityOfNodeSubnets'] + if 'quantityPerSubnet' in kwargs: + quantity_per_subnet = kwargs['quantityPerSubnet'] + if 'serviceCidr' in kwargs: + service_cidr = kwargs['serviceCidr'] + if 'serviceDnsDomainName' in kwargs: + service_dns_domain_name = kwargs['serviceDnsDomainName'] + if 'skipVcnDelete' in kwargs: + skip_vcn_delete = kwargs['skipVcnDelete'] + if 'vcnCompartmentId' in kwargs: + vcn_compartment_id = kwargs['vcnCompartmentId'] + if 'vcnName' in kwargs: + vcn_name = kwargs['vcnName'] + if 'workerNodeIngressCidr' in kwargs: + worker_node_ingress_cidr = kwargs['workerNodeIngressCidr'] + _setter("compartment_id", compartment_id) _setter("fingerprint", fingerprint) _setter("kubernetes_version", kubernetes_version) @@ -40355,7 +44143,11 @@ def _configure( _setter: Callable[[Any, Any], None], upgrade_strategy: 'outputs.GetClusterRke2ConfigUpgradeStrategyResult', version: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + _setter("upgrade_strategy", upgrade_strategy) _setter("version", version) @@ -40391,7 +44183,17 @@ def _configure( drain_worker_nodes: Optional[bool] = None, server_concurrency: Optional[int] = None, worker_concurrency: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainServerNodes' in kwargs: + drain_server_nodes = kwargs['drainServerNodes'] + if 'drainWorkerNodes' in kwargs: + drain_worker_nodes = kwargs['drainWorkerNodes'] + if 'serverConcurrency' in kwargs: + server_concurrency = kwargs['serverConcurrency'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if drain_server_nodes is not None: _setter("drain_server_nodes", drain_server_nodes) if drain_worker_nodes is not None: @@ -40500,7 +44302,37 @@ def _configure( nodes: Optional[Sequence['outputs.GetClusterRkeConfigNodeResult']] = None, private_registries: Optional[Sequence['outputs.GetClusterRkeConfigPrivateRegistryResult']] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("addon_job_timeout", addon_job_timeout) _setter("authentication", authentication) _setter("authorization", authorization) @@ -40663,7 +44495,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Sequence[str], strategy: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("sans", sans) _setter("strategy", strategy) @@ -40693,7 +44527,9 @@ def _configure( _setter: Callable[[Any, Any], None], options: Mapping[str, Any], mode: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("options", options) if mode is not None: _setter("mode", mode) @@ -40736,7 +44572,15 @@ def _configure( user: str, port: Optional[str] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("address", address) _setter("ssh_key", ssh_key) _setter("ssh_key_path", ssh_key_path) @@ -40807,7 +44651,19 @@ def _configure( name: Optional[str] = None, openstack_cloud_provider: Optional['outputs.GetClusterRkeConfigCloudProviderOpenstackCloudProviderResult'] = None, vsphere_cloud_provider: Optional['outputs.GetClusterRkeConfigCloudProviderVsphereCloudProviderResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + _setter("custom_cloud_provider", custom_cloud_provider) if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) @@ -40869,7 +44725,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: 'outputs.GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalResult', service_overrides: Optional[Sequence['outputs.GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + _setter("global_", global_) if service_overrides is not None: _setter("service_overrides", service_overrides) @@ -40924,7 +44786,25 @@ def _configure( zone: str, disable_security_group_ingress: Optional[bool] = None, disable_strict_zone_check: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + _setter("elb_security_group", elb_security_group) _setter("kubernetes_cluster_id", kubernetes_cluster_id) _setter("kubernetes_cluster_tag", kubernetes_cluster_tag) @@ -41016,7 +44896,15 @@ def _configure( signing_name: str, signing_region: str, url: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("region", region) _setter("service", service) _setter("signing_method", signing_method) @@ -41151,7 +45039,63 @@ def _configure( vnet_name: str, vnet_resource_group: str, load_balancer_sku: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + _setter("aad_client_cert_password", aad_client_cert_password) _setter("aad_client_cert_path", aad_client_cert_path) _setter("aad_client_id", aad_client_id) @@ -41353,7 +45297,15 @@ def _configure( load_balancer: 'outputs.GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerResult', metadata: 'outputs.GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataResult', route: 'outputs.GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'global' in kwargs: + global_ = kwargs['global'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("block_storage", block_storage) _setter("global_", global_) _setter("load_balancer", load_balancer) @@ -41404,7 +45356,15 @@ def _configure( bs_version: str, ignore_volume_az: bool, trust_device_path: bool, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + _setter("bs_version", bs_version) _setter("ignore_volume_az", ignore_volume_az) _setter("trust_device_path", trust_device_path) @@ -41464,7 +45424,23 @@ def _configure( tenant_name: str, trust_id: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("ca_file", ca_file) _setter("domain_id", domain_id) @@ -41569,7 +45545,31 @@ def _configure( monitor_delay: Optional[str] = None, monitor_max_retries: Optional[int] = None, monitor_timeout: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + _setter("create_monitor", create_monitor) _setter("floating_network_id", floating_network_id) _setter("lb_method", lb_method) @@ -41656,7 +45656,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: int, search_order: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + _setter("request_timeout", request_timeout) _setter("search_order", search_order) @@ -41683,7 +45689,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + _setter("router_id", router_id) @property @@ -41716,7 +45726,13 @@ def _configure( network: 'outputs.GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkResult', virtual_centers: Sequence['outputs.GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterResult'], workspace: 'outputs.GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + _setter("disk", disk) _setter("global_", global_) _setter("network", network) @@ -41761,7 +45777,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + _setter("scsi_controller_type", scsi_controller_type) @property @@ -41797,7 +45817,13 @@ def _configure( port: str, soap_roundtrip_count: int, user: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("insecure_flag", insecure_flag) _setter("password", password) @@ -41848,7 +45874,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + _setter("public_network", public_network) @property @@ -41887,7 +45917,11 @@ def _configure( port: str, soap_roundtrip_count: int, user: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -41953,7 +45987,13 @@ def _configure( folder: str, resourcepool_path: str, server: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("default_datastore", default_datastore) _setter("folder", folder) @@ -42022,7 +46062,19 @@ def _configure( provider: Optional[str] = None, tolerations: Optional[Sequence['outputs.GetClusterRkeConfigDnsTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterRkeConfigDnsUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("node_selector", node_selector) _setter("options", options) _setter("reverse_cidrs", reverse_cidrs) @@ -42108,7 +46160,15 @@ def _configure( min: Optional[int] = None, nodes_per_replica: Optional[float] = None, prevent_single_point_failure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -42161,7 +46221,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[str] = None, node_selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -42202,7 +46268,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -42253,7 +46321,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterRkeConfigDnsUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -42285,7 +46357,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -42344,7 +46422,25 @@ def _configure( default_backend: Optional[bool] = None, tolerations: Optional[Sequence['outputs.GetClusterRkeConfigIngressTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterRkeConfigIngressUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("dns_policy", dns_policy) _setter("extra_args", extra_args) _setter("http_port", http_port) @@ -42440,7 +46536,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -42491,7 +46589,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterRkeConfigIngressUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -42520,7 +46622,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -42557,7 +46663,13 @@ def _configure( node_selector: Optional[Mapping[str, Any]] = None, tolerations: Optional[Sequence['outputs.GetClusterRkeConfigMonitoringTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterRkeConfigMonitoringUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("options", options) _setter("provider", provider) _setter("replicas", replicas) @@ -42623,7 +46735,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -42674,7 +46788,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -42706,7 +46824,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -42759,7 +46883,19 @@ def _configure( mtu: Optional[int] = None, tolerations: Optional[Sequence['outputs.GetClusterRkeConfigNetworkTolerationResult']] = None, weave_network_provider: Optional['outputs.GetClusterRkeConfigNetworkWeaveNetworkProviderResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + _setter("options", options) _setter("plugin", plugin) if aci_network_provider is not None: @@ -43054,7 +47190,147 @@ def _configure( use_privileged_container: Optional[str] = None, vmm_controller: Optional[str] = None, vmm_domain: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -43567,7 +47843,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + _setter("cloud_provider", cloud_provider) @property @@ -43588,7 +47868,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("iface", iface) @property @@ -43609,7 +47891,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("iface", iface) @property @@ -43642,7 +47926,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -43690,7 +47976,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -43747,7 +48035,23 @@ def _configure( node_id: Optional[str] = None, port: Optional[str] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("address", address) _setter("docker_socket", docker_socket) _setter("roles", roles) @@ -43855,7 +48159,13 @@ def _configure( is_default: Optional[bool] = None, password: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -43910,7 +48220,15 @@ def _configure( aws_access_key_id: Optional[str] = None, aws_secret_access_key: Optional[str] = None, aws_session_token: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -43961,7 +48279,13 @@ def _configure( kubelet: 'outputs.GetClusterRkeConfigServicesKubeletResult', kubeproxy: 'outputs.GetClusterRkeConfigServicesKubeproxyResult', scheduler: 'outputs.GetClusterRkeConfigServicesSchedulerResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + _setter("etcd", etcd) _setter("kube_api", kube_api) _setter("kube_controller", kube_controller) @@ -44057,7 +48381,21 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, gid: Optional[int] = None, uid: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("backup_config", backup_config) _setter("ca_cert", ca_cert) _setter("cert", cert) @@ -44185,7 +48523,15 @@ def _configure( retention: Optional[int] = None, s3_backup_config: Optional['outputs.GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigResult'] = None, safe_timestamp: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + _setter("timeout", timeout) if enabled is not None: _setter("enabled", enabled) @@ -44259,7 +48605,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -44354,7 +48710,31 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, pod_security_policy: Optional[bool] = None, secrets_encryption_config: Optional['outputs.GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + _setter("extra_args", extra_args) _setter("image", image) _setter("service_cluster_ip_range", service_cluster_ip_range) @@ -44455,7 +48835,11 @@ def _configure( plugins: Sequence['outputs.GetClusterRkeConfigServicesKubeApiAdmissionConfigurationPluginResult'], api_version: Optional[str] = None, kind: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + _setter("plugins", plugins) if api_version is not None: _setter("api_version", api_version) @@ -44499,7 +48883,9 @@ def _configure( configuration: str, name: str, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) _setter("name", name) if path is not None: @@ -44539,7 +48925,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: 'outputs.GetClusterRkeConfigServicesKubeApiAuditLogConfigurationResult', enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) if enabled is not None: _setter("enabled", enabled) @@ -44582,7 +48970,15 @@ def _configure( max_backup: Optional[int] = None, max_size: Optional[int] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + _setter("policy", policy) if format is not None: _setter("format", format) @@ -44641,7 +49037,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: str, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) if enabled is not None: _setter("enabled", enabled) @@ -44672,7 +49070,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: str, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + _setter("custom_config", custom_config) if enabled is not None: _setter("enabled", enabled) @@ -44715,7 +49117,19 @@ def _configure( service_cluster_ip_range: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("cluster_cidr", cluster_cidr) _setter("extra_args", extra_args) _setter("image", image) @@ -44792,7 +49206,25 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, generate_serving_certificate: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + _setter("cluster_dns_server", cluster_dns_server) _setter("cluster_domain", cluster_domain) _setter("extra_args", extra_args) @@ -44873,7 +49305,15 @@ def _configure( image: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("extra_args", extra_args) _setter("image", image) if extra_binds is not None: @@ -44923,7 +49363,15 @@ def _configure( image: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("extra_args", extra_args) _setter("image", image) if extra_binds is not None: @@ -44973,7 +49421,15 @@ def _configure( drain: Optional[bool] = None, max_unavailable_controlplane: Optional[str] = None, max_unavailable_worker: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + _setter("drain_input", drain_input) if drain is not None: _setter("drain", drain) @@ -45027,7 +49483,15 @@ def _configure( grace_period: Optional[int] = None, ignore_daemon_sets: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -45083,7 +49547,15 @@ def _configure( access_type: Optional[str] = None, group_principal_id: Optional[str] = None, user_principal_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -45149,7 +49621,13 @@ def _configure( default: Optional[bool] = None, enabled: Optional[bool] = None, questions: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionQuestionResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterConfig' in kwargs: + cluster_config = kwargs['clusterConfig'] + if 'clusterTemplateId' in kwargs: + cluster_template_id = kwargs['clusterTemplateId'] + _setter("annotations", annotations) _setter("cluster_config", cluster_config) _setter("cluster_template_id", cluster_template_id) @@ -45266,7 +49744,33 @@ def _configure( enable_cluster_monitoring: Optional[bool] = None, enable_network_policy: Optional[bool] = None, windows_prefered_cluster: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterAuthEndpoint' in kwargs: + cluster_auth_endpoint = kwargs['clusterAuthEndpoint'] + if 'defaultClusterRoleForProjectMembers' in kwargs: + default_cluster_role_for_project_members = kwargs['defaultClusterRoleForProjectMembers'] + if 'defaultPodSecurityAdmissionConfigurationTemplateName' in kwargs: + default_pod_security_admission_configuration_template_name = kwargs['defaultPodSecurityAdmissionConfigurationTemplateName'] + if 'defaultPodSecurityPolicyTemplateId' in kwargs: + default_pod_security_policy_template_id = kwargs['defaultPodSecurityPolicyTemplateId'] + if 'desiredAgentImage' in kwargs: + desired_agent_image = kwargs['desiredAgentImage'] + if 'desiredAuthImage' in kwargs: + desired_auth_image = kwargs['desiredAuthImage'] + if 'dockerRootDir' in kwargs: + docker_root_dir = kwargs['dockerRootDir'] + if 'rkeConfig' in kwargs: + rke_config = kwargs['rkeConfig'] + if 'enableClusterAlerting' in kwargs: + enable_cluster_alerting = kwargs['enableClusterAlerting'] + if 'enableClusterMonitoring' in kwargs: + enable_cluster_monitoring = kwargs['enableClusterMonitoring'] + if 'enableNetworkPolicy' in kwargs: + enable_network_policy = kwargs['enableNetworkPolicy'] + if 'windowsPreferedCluster' in kwargs: + windows_prefered_cluster = kwargs['windowsPreferedCluster'] + _setter("cluster_auth_endpoint", cluster_auth_endpoint) _setter("default_cluster_role_for_project_members", default_cluster_role_for_project_members) _setter("default_pod_security_admission_configuration_template_name", default_pod_security_admission_configuration_template_name) @@ -45363,7 +49867,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -45465,7 +49973,37 @@ def _configure( nodes: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeResult']] = None, private_registries: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryResult']] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addonJobTimeout' in kwargs: + addon_job_timeout = kwargs['addonJobTimeout'] + if 'bastionHost' in kwargs: + bastion_host = kwargs['bastionHost'] + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + if 'kubernetesVersion' in kwargs: + kubernetes_version = kwargs['kubernetesVersion'] + if 'prefixPath' in kwargs: + prefix_path = kwargs['prefixPath'] + if 'sshCertPath' in kwargs: + ssh_cert_path = kwargs['sshCertPath'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + if 'winPrefixPath' in kwargs: + win_prefix_path = kwargs['winPrefixPath'] + if 'addonsIncludes' in kwargs: + addons_includes = kwargs['addonsIncludes'] + if 'enableCriDockerd' in kwargs: + enable_cri_dockerd = kwargs['enableCriDockerd'] + if 'ignoreDockerVersion' in kwargs: + ignore_docker_version = kwargs['ignoreDockerVersion'] + if 'privateRegistries' in kwargs: + private_registries = kwargs['privateRegistries'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("addon_job_timeout", addon_job_timeout) _setter("authentication", authentication) _setter("authorization", authorization) @@ -45628,7 +50166,9 @@ def _configure( _setter: Callable[[Any, Any], None], sans: Sequence[str], strategy: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("sans", sans) _setter("strategy", strategy) @@ -45658,7 +50198,9 @@ def _configure( _setter: Callable[[Any, Any], None], options: Mapping[str, Any], mode: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("options", options) if mode is not None: _setter("mode", mode) @@ -45701,7 +50243,15 @@ def _configure( user: str, port: Optional[str] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("address", address) _setter("ssh_key", ssh_key) _setter("ssh_key_path", ssh_key_path) @@ -45772,7 +50322,19 @@ def _configure( name: Optional[str] = None, openstack_cloud_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderResult'] = None, vsphere_cloud_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customCloudProvider' in kwargs: + custom_cloud_provider = kwargs['customCloudProvider'] + if 'awsCloudProvider' in kwargs: + aws_cloud_provider = kwargs['awsCloudProvider'] + if 'azureCloudProvider' in kwargs: + azure_cloud_provider = kwargs['azureCloudProvider'] + if 'openstackCloudProvider' in kwargs: + openstack_cloud_provider = kwargs['openstackCloudProvider'] + if 'vsphereCloudProvider' in kwargs: + vsphere_cloud_provider = kwargs['vsphereCloudProvider'] + _setter("custom_cloud_provider", custom_cloud_provider) if aws_cloud_provider is not None: _setter("aws_cloud_provider", aws_cloud_provider) @@ -45834,7 +50396,13 @@ def _configure( _setter: Callable[[Any, Any], None], global_: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalResult', service_overrides: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'serviceOverrides' in kwargs: + service_overrides = kwargs['serviceOverrides'] + _setter("global_", global_) if service_overrides is not None: _setter("service_overrides", service_overrides) @@ -45889,7 +50457,25 @@ def _configure( zone: str, disable_security_group_ingress: Optional[bool] = None, disable_strict_zone_check: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'elbSecurityGroup' in kwargs: + elb_security_group = kwargs['elbSecurityGroup'] + if 'kubernetesClusterId' in kwargs: + kubernetes_cluster_id = kwargs['kubernetesClusterId'] + if 'kubernetesClusterTag' in kwargs: + kubernetes_cluster_tag = kwargs['kubernetesClusterTag'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'routeTableId' in kwargs: + route_table_id = kwargs['routeTableId'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'disableSecurityGroupIngress' in kwargs: + disable_security_group_ingress = kwargs['disableSecurityGroupIngress'] + if 'disableStrictZoneCheck' in kwargs: + disable_strict_zone_check = kwargs['disableStrictZoneCheck'] + _setter("elb_security_group", elb_security_group) _setter("kubernetes_cluster_id", kubernetes_cluster_id) _setter("kubernetes_cluster_tag", kubernetes_cluster_tag) @@ -45981,7 +50567,15 @@ def _configure( signing_name: str, signing_region: str, url: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'signingMethod' in kwargs: + signing_method = kwargs['signingMethod'] + if 'signingName' in kwargs: + signing_name = kwargs['signingName'] + if 'signingRegion' in kwargs: + signing_region = kwargs['signingRegion'] + _setter("region", region) _setter("service", service) _setter("signing_method", signing_method) @@ -46116,7 +50710,63 @@ def _configure( vnet_name: str, vnet_resource_group: str, load_balancer_sku: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aadClientCertPassword' in kwargs: + aad_client_cert_password = kwargs['aadClientCertPassword'] + if 'aadClientCertPath' in kwargs: + aad_client_cert_path = kwargs['aadClientCertPath'] + if 'aadClientId' in kwargs: + aad_client_id = kwargs['aadClientId'] + if 'aadClientSecret' in kwargs: + aad_client_secret = kwargs['aadClientSecret'] + if 'cloudProviderBackoff' in kwargs: + cloud_provider_backoff = kwargs['cloudProviderBackoff'] + if 'cloudProviderBackoffDuration' in kwargs: + cloud_provider_backoff_duration = kwargs['cloudProviderBackoffDuration'] + if 'cloudProviderBackoffExponent' in kwargs: + cloud_provider_backoff_exponent = kwargs['cloudProviderBackoffExponent'] + if 'cloudProviderBackoffJitter' in kwargs: + cloud_provider_backoff_jitter = kwargs['cloudProviderBackoffJitter'] + if 'cloudProviderBackoffRetries' in kwargs: + cloud_provider_backoff_retries = kwargs['cloudProviderBackoffRetries'] + if 'cloudProviderRateLimit' in kwargs: + cloud_provider_rate_limit = kwargs['cloudProviderRateLimit'] + if 'cloudProviderRateLimitBucket' in kwargs: + cloud_provider_rate_limit_bucket = kwargs['cloudProviderRateLimitBucket'] + if 'cloudProviderRateLimitQps' in kwargs: + cloud_provider_rate_limit_qps = kwargs['cloudProviderRateLimitQps'] + if 'maximumLoadBalancerRuleCount' in kwargs: + maximum_load_balancer_rule_count = kwargs['maximumLoadBalancerRuleCount'] + if 'primaryAvailabilitySetName' in kwargs: + primary_availability_set_name = kwargs['primaryAvailabilitySetName'] + if 'primaryScaleSetName' in kwargs: + primary_scale_set_name = kwargs['primaryScaleSetName'] + if 'resourceGroup' in kwargs: + resource_group = kwargs['resourceGroup'] + if 'routeTableName' in kwargs: + route_table_name = kwargs['routeTableName'] + if 'securityGroupName' in kwargs: + security_group_name = kwargs['securityGroupName'] + if 'subnetName' in kwargs: + subnet_name = kwargs['subnetName'] + if 'subscriptionId' in kwargs: + subscription_id = kwargs['subscriptionId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'useInstanceMetadata' in kwargs: + use_instance_metadata = kwargs['useInstanceMetadata'] + if 'useManagedIdentityExtension' in kwargs: + use_managed_identity_extension = kwargs['useManagedIdentityExtension'] + if 'vmType' in kwargs: + vm_type = kwargs['vmType'] + if 'vnetName' in kwargs: + vnet_name = kwargs['vnetName'] + if 'vnetResourceGroup' in kwargs: + vnet_resource_group = kwargs['vnetResourceGroup'] + if 'loadBalancerSku' in kwargs: + load_balancer_sku = kwargs['loadBalancerSku'] + _setter("aad_client_cert_password", aad_client_cert_password) _setter("aad_client_cert_path", aad_client_cert_path) _setter("aad_client_id", aad_client_id) @@ -46318,7 +50968,15 @@ def _configure( load_balancer: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerResult', metadata: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataResult', route: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'blockStorage' in kwargs: + block_storage = kwargs['blockStorage'] + if 'global' in kwargs: + global_ = kwargs['global'] + if 'loadBalancer' in kwargs: + load_balancer = kwargs['loadBalancer'] + _setter("block_storage", block_storage) _setter("global_", global_) _setter("load_balancer", load_balancer) @@ -46369,7 +51027,15 @@ def _configure( bs_version: str, ignore_volume_az: bool, trust_device_path: bool, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bsVersion' in kwargs: + bs_version = kwargs['bsVersion'] + if 'ignoreVolumeAz' in kwargs: + ignore_volume_az = kwargs['ignoreVolumeAz'] + if 'trustDevicePath' in kwargs: + trust_device_path = kwargs['trustDevicePath'] + _setter("bs_version", bs_version) _setter("ignore_volume_az", ignore_volume_az) _setter("trust_device_path", trust_device_path) @@ -46429,7 +51095,23 @@ def _configure( tenant_name: str, trust_id: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authUrl' in kwargs: + auth_url = kwargs['authUrl'] + if 'caFile' in kwargs: + ca_file = kwargs['caFile'] + if 'domainId' in kwargs: + domain_id = kwargs['domainId'] + if 'domainName' in kwargs: + domain_name = kwargs['domainName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if 'trustId' in kwargs: + trust_id = kwargs['trustId'] + _setter("auth_url", auth_url) _setter("ca_file", ca_file) _setter("domain_id", domain_id) @@ -46534,7 +51216,31 @@ def _configure( monitor_delay: Optional[str] = None, monitor_max_retries: Optional[int] = None, monitor_timeout: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createMonitor' in kwargs: + create_monitor = kwargs['createMonitor'] + if 'floatingNetworkId' in kwargs: + floating_network_id = kwargs['floatingNetworkId'] + if 'lbMethod' in kwargs: + lb_method = kwargs['lbMethod'] + if 'lbProvider' in kwargs: + lb_provider = kwargs['lbProvider'] + if 'lbVersion' in kwargs: + lb_version = kwargs['lbVersion'] + if 'manageSecurityGroups' in kwargs: + manage_security_groups = kwargs['manageSecurityGroups'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'useOctavia' in kwargs: + use_octavia = kwargs['useOctavia'] + if 'monitorDelay' in kwargs: + monitor_delay = kwargs['monitorDelay'] + if 'monitorMaxRetries' in kwargs: + monitor_max_retries = kwargs['monitorMaxRetries'] + if 'monitorTimeout' in kwargs: + monitor_timeout = kwargs['monitorTimeout'] + _setter("create_monitor", create_monitor) _setter("floating_network_id", floating_network_id) _setter("lb_method", lb_method) @@ -46621,7 +51327,13 @@ def _configure( _setter: Callable[[Any, Any], None], request_timeout: int, search_order: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'searchOrder' in kwargs: + search_order = kwargs['searchOrder'] + _setter("request_timeout", request_timeout) _setter("search_order", search_order) @@ -46648,7 +51360,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], router_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'routerId' in kwargs: + router_id = kwargs['routerId'] + _setter("router_id", router_id) @property @@ -46681,7 +51397,13 @@ def _configure( network: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkResult', virtual_centers: Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterResult'], workspace: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'global' in kwargs: + global_ = kwargs['global'] + if 'virtualCenters' in kwargs: + virtual_centers = kwargs['virtualCenters'] + _setter("disk", disk) _setter("global_", global_) _setter("network", network) @@ -46726,7 +51448,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], scsi_controller_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'scsiControllerType' in kwargs: + scsi_controller_type = kwargs['scsiControllerType'] + _setter("scsi_controller_type", scsi_controller_type) @property @@ -46762,7 +51488,13 @@ def _configure( port: str, soap_roundtrip_count: int, user: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'insecureFlag' in kwargs: + insecure_flag = kwargs['insecureFlag'] + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("insecure_flag", insecure_flag) _setter("password", password) @@ -46813,7 +51545,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], public_network: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicNetwork' in kwargs: + public_network = kwargs['publicNetwork'] + _setter("public_network", public_network) @property @@ -46852,7 +51588,11 @@ def _configure( port: str, soap_roundtrip_count: int, user: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'soapRoundtripCount' in kwargs: + soap_roundtrip_count = kwargs['soapRoundtripCount'] + _setter("datacenters", datacenters) _setter("name", name) _setter("password", password) @@ -46918,7 +51658,13 @@ def _configure( folder: str, resourcepool_path: str, server: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultDatastore' in kwargs: + default_datastore = kwargs['defaultDatastore'] + if 'resourcepoolPath' in kwargs: + resourcepool_path = kwargs['resourcepoolPath'] + _setter("datacenter", datacenter) _setter("default_datastore", default_datastore) _setter("folder", folder) @@ -46987,7 +51733,19 @@ def _configure( provider: Optional[str] = None, tolerations: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'reverseCidrs' in kwargs: + reverse_cidrs = kwargs['reverseCidrs'] + if 'upstreamNameservers' in kwargs: + upstream_nameservers = kwargs['upstreamNameservers'] + if 'linearAutoscalerParams' in kwargs: + linear_autoscaler_params = kwargs['linearAutoscalerParams'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("node_selector", node_selector) _setter("options", options) _setter("reverse_cidrs", reverse_cidrs) @@ -47073,7 +51831,15 @@ def _configure( min: Optional[int] = None, nodes_per_replica: Optional[float] = None, prevent_single_point_failure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'coresPerReplica' in kwargs: + cores_per_replica = kwargs['coresPerReplica'] + if 'nodesPerReplica' in kwargs: + nodes_per_replica = kwargs['nodesPerReplica'] + if 'preventSinglePointFailure' in kwargs: + prevent_single_point_failure = kwargs['preventSinglePointFailure'] + if cores_per_replica is not None: _setter("cores_per_replica", cores_per_replica) if max is not None: @@ -47126,7 +51892,13 @@ def _configure( _setter: Callable[[Any, Any], None], ip_address: Optional[str] = None, node_selector: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if ip_address is not None: _setter("ip_address", ip_address) if node_selector is not None: @@ -47167,7 +51939,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -47218,7 +51992,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -47250,7 +52028,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -47309,7 +52093,25 @@ def _configure( default_backend: Optional[bool] = None, tolerations: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dnsPolicy' in kwargs: + dns_policy = kwargs['dnsPolicy'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'httpPort' in kwargs: + http_port = kwargs['httpPort'] + if 'httpsPort' in kwargs: + https_port = kwargs['httpsPort'] + if 'networkMode' in kwargs: + network_mode = kwargs['networkMode'] + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'defaultBackend' in kwargs: + default_backend = kwargs['defaultBackend'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("dns_policy", dns_policy) _setter("extra_args", extra_args) _setter("http_port", http_port) @@ -47405,7 +52207,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -47456,7 +52260,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -47485,7 +52293,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_unavailable is not None: _setter("max_unavailable", max_unavailable) @@ -47522,7 +52334,13 @@ def _configure( node_selector: Optional[Mapping[str, Any]] = None, tolerations: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationResult']] = None, update_strategy: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'nodeSelector' in kwargs: + node_selector = kwargs['nodeSelector'] + if 'updateStrategy' in kwargs: + update_strategy = kwargs['updateStrategy'] + _setter("options", options) _setter("provider", provider) _setter("replicas", replicas) @@ -47588,7 +52406,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -47639,7 +52459,11 @@ def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateResult'] = None, strategy: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) if strategy is not None: @@ -47671,7 +52495,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[int] = None, max_unavailable: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -47724,7 +52554,19 @@ def _configure( mtu: Optional[int] = None, tolerations: Optional[Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationResult']] = None, weave_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aciNetworkProvider' in kwargs: + aci_network_provider = kwargs['aciNetworkProvider'] + if 'calicoNetworkProvider' in kwargs: + calico_network_provider = kwargs['calicoNetworkProvider'] + if 'canalNetworkProvider' in kwargs: + canal_network_provider = kwargs['canalNetworkProvider'] + if 'flannelNetworkProvider' in kwargs: + flannel_network_provider = kwargs['flannelNetworkProvider'] + if 'weaveNetworkProvider' in kwargs: + weave_network_provider = kwargs['weaveNetworkProvider'] + _setter("options", options) _setter("plugin", plugin) if aci_network_provider is not None: @@ -48019,7 +52861,147 @@ def _configure( use_privileged_container: Optional[str] = None, vmm_controller: Optional[str] = None, vmm_domain: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apicHosts' in kwargs: + apic_hosts = kwargs['apicHosts'] + if 'apicUserCrt' in kwargs: + apic_user_crt = kwargs['apicUserCrt'] + if 'apicUserKey' in kwargs: + apic_user_key = kwargs['apicUserKey'] + if 'apicUserName' in kwargs: + apic_user_name = kwargs['apicUserName'] + if 'encapType' in kwargs: + encap_type = kwargs['encapType'] + if 'externDynamic' in kwargs: + extern_dynamic = kwargs['externDynamic'] + if 'externStatic' in kwargs: + extern_static = kwargs['externStatic'] + if 'kubeApiVlan' in kwargs: + kube_api_vlan = kwargs['kubeApiVlan'] + if 'l3outExternalNetworks' in kwargs: + l3out_external_networks = kwargs['l3outExternalNetworks'] + if 'mcastRangeEnd' in kwargs: + mcast_range_end = kwargs['mcastRangeEnd'] + if 'mcastRangeStart' in kwargs: + mcast_range_start = kwargs['mcastRangeStart'] + if 'nodeSubnet' in kwargs: + node_subnet = kwargs['nodeSubnet'] + if 'nodeSvcSubnet' in kwargs: + node_svc_subnet = kwargs['nodeSvcSubnet'] + if 'serviceVlan' in kwargs: + service_vlan = kwargs['serviceVlan'] + if 'systemId' in kwargs: + system_id = kwargs['systemId'] + if 'vrfName' in kwargs: + vrf_name = kwargs['vrfName'] + if 'vrfTenant' in kwargs: + vrf_tenant = kwargs['vrfTenant'] + if 'apicRefreshTickerAdjust' in kwargs: + apic_refresh_ticker_adjust = kwargs['apicRefreshTickerAdjust'] + if 'apicRefreshTime' in kwargs: + apic_refresh_time = kwargs['apicRefreshTime'] + if 'apicSubscriptionDelay' in kwargs: + apic_subscription_delay = kwargs['apicSubscriptionDelay'] + if 'controllerLogLevel' in kwargs: + controller_log_level = kwargs['controllerLogLevel'] + if 'disablePeriodicSnatGlobalInfoSync' in kwargs: + disable_periodic_snat_global_info_sync = kwargs['disablePeriodicSnatGlobalInfoSync'] + if 'disableWaitForNetwork' in kwargs: + disable_wait_for_network = kwargs['disableWaitForNetwork'] + if 'dropLogEnable' in kwargs: + drop_log_enable = kwargs['dropLogEnable'] + if 'durationWaitForNetwork' in kwargs: + duration_wait_for_network = kwargs['durationWaitForNetwork'] + if 'enableEndpointSlice' in kwargs: + enable_endpoint_slice = kwargs['enableEndpointSlice'] + if 'epRegistry' in kwargs: + ep_registry = kwargs['epRegistry'] + if 'gbpPodSubnet' in kwargs: + gbp_pod_subnet = kwargs['gbpPodSubnet'] + if 'hostAgentLogLevel' in kwargs: + host_agent_log_level = kwargs['hostAgentLogLevel'] + if 'imagePullPolicy' in kwargs: + image_pull_policy = kwargs['imagePullPolicy'] + if 'imagePullSecret' in kwargs: + image_pull_secret = kwargs['imagePullSecret'] + if 'infraVlan' in kwargs: + infra_vlan = kwargs['infraVlan'] + if 'installIstio' in kwargs: + install_istio = kwargs['installIstio'] + if 'istioProfile' in kwargs: + istio_profile = kwargs['istioProfile'] + if 'kafkaBrokers' in kwargs: + kafka_brokers = kwargs['kafkaBrokers'] + if 'kafkaClientCrt' in kwargs: + kafka_client_crt = kwargs['kafkaClientCrt'] + if 'kafkaClientKey' in kwargs: + kafka_client_key = kwargs['kafkaClientKey'] + if 'maxNodesSvcGraph' in kwargs: + max_nodes_svc_graph = kwargs['maxNodesSvcGraph'] + if 'mtuHeadRoom' in kwargs: + mtu_head_room = kwargs['mtuHeadRoom'] + if 'multusDisable' in kwargs: + multus_disable = kwargs['multusDisable'] + if 'noPriorityClass' in kwargs: + no_priority_class = kwargs['noPriorityClass'] + if 'nodePodIfEnable' in kwargs: + node_pod_if_enable = kwargs['nodePodIfEnable'] + if 'opflexClientSsl' in kwargs: + opflex_client_ssl = kwargs['opflexClientSsl'] + if 'opflexDeviceDeleteTimeout' in kwargs: + opflex_device_delete_timeout = kwargs['opflexDeviceDeleteTimeout'] + if 'opflexLogLevel' in kwargs: + opflex_log_level = kwargs['opflexLogLevel'] + if 'opflexMode' in kwargs: + opflex_mode = kwargs['opflexMode'] + if 'opflexServerPort' in kwargs: + opflex_server_port = kwargs['opflexServerPort'] + if 'overlayVrfName' in kwargs: + overlay_vrf_name = kwargs['overlayVrfName'] + if 'ovsMemoryLimit' in kwargs: + ovs_memory_limit = kwargs['ovsMemoryLimit'] + if 'pbrTrackingNonSnat' in kwargs: + pbr_tracking_non_snat = kwargs['pbrTrackingNonSnat'] + if 'podSubnetChunkSize' in kwargs: + pod_subnet_chunk_size = kwargs['podSubnetChunkSize'] + if 'runGbpContainer' in kwargs: + run_gbp_container = kwargs['runGbpContainer'] + if 'runOpflexServerContainer' in kwargs: + run_opflex_server_container = kwargs['runOpflexServerContainer'] + if 'serviceMonitorInterval' in kwargs: + service_monitor_interval = kwargs['serviceMonitorInterval'] + if 'snatContractScope' in kwargs: + snat_contract_scope = kwargs['snatContractScope'] + if 'snatNamespace' in kwargs: + snat_namespace = kwargs['snatNamespace'] + if 'snatPortRangeEnd' in kwargs: + snat_port_range_end = kwargs['snatPortRangeEnd'] + if 'snatPortRangeStart' in kwargs: + snat_port_range_start = kwargs['snatPortRangeStart'] + if 'snatPortsPerNode' in kwargs: + snat_ports_per_node = kwargs['snatPortsPerNode'] + if 'sriovEnable' in kwargs: + sriov_enable = kwargs['sriovEnable'] + if 'subnetDomainName' in kwargs: + subnet_domain_name = kwargs['subnetDomainName'] + if 'useAciAnywhereCrd' in kwargs: + use_aci_anywhere_crd = kwargs['useAciAnywhereCrd'] + if 'useAciCniPriorityClass' in kwargs: + use_aci_cni_priority_class = kwargs['useAciCniPriorityClass'] + if 'useClusterRole' in kwargs: + use_cluster_role = kwargs['useClusterRole'] + if 'useHostNetnsVolume' in kwargs: + use_host_netns_volume = kwargs['useHostNetnsVolume'] + if 'useOpflexServerVolume' in kwargs: + use_opflex_server_volume = kwargs['useOpflexServerVolume'] + if 'usePrivilegedContainer' in kwargs: + use_privileged_container = kwargs['usePrivilegedContainer'] + if 'vmmController' in kwargs: + vmm_controller = kwargs['vmmController'] + if 'vmmDomain' in kwargs: + vmm_domain = kwargs['vmmDomain'] + _setter("aep", aep) _setter("apic_hosts", apic_hosts) _setter("apic_user_crt", apic_user_crt) @@ -48532,7 +53514,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], cloud_provider: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudProvider' in kwargs: + cloud_provider = kwargs['cloudProvider'] + _setter("cloud_provider", cloud_provider) @property @@ -48553,7 +53539,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("iface", iface) @property @@ -48574,7 +53562,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], iface: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("iface", iface) @property @@ -48607,7 +53597,9 @@ def _configure( effect: Optional[str] = None, operator: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("seconds", seconds) if effect is not None: @@ -48655,7 +53647,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], password: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) @property @@ -48712,7 +53706,23 @@ def _configure( node_id: Optional[str] = None, port: Optional[str] = None, ssh_agent_auth: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dockerSocket' in kwargs: + docker_socket = kwargs['dockerSocket'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'sshKeyPath' in kwargs: + ssh_key_path = kwargs['sshKeyPath'] + if 'hostnameOverride' in kwargs: + hostname_override = kwargs['hostnameOverride'] + if 'internalAddress' in kwargs: + internal_address = kwargs['internalAddress'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'sshAgentAuth' in kwargs: + ssh_agent_auth = kwargs['sshAgentAuth'] + _setter("address", address) _setter("docker_socket", docker_socket) _setter("roles", roles) @@ -48820,7 +53830,13 @@ def _configure( is_default: Optional[bool] = None, password: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ecrCredentialPlugin' in kwargs: + ecr_credential_plugin = kwargs['ecrCredentialPlugin'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + _setter("url", url) if ecr_credential_plugin is not None: _setter("ecr_credential_plugin", ecr_credential_plugin) @@ -48875,7 +53891,15 @@ def _configure( aws_access_key_id: Optional[str] = None, aws_secret_access_key: Optional[str] = None, aws_session_token: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAccessKeyId' in kwargs: + aws_access_key_id = kwargs['awsAccessKeyId'] + if 'awsSecretAccessKey' in kwargs: + aws_secret_access_key = kwargs['awsSecretAccessKey'] + if 'awsSessionToken' in kwargs: + aws_session_token = kwargs['awsSessionToken'] + if aws_access_key_id is not None: _setter("aws_access_key_id", aws_access_key_id) if aws_secret_access_key is not None: @@ -48926,7 +53950,13 @@ def _configure( kubelet: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletResult', kubeproxy: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyResult', scheduler: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kubeApi' in kwargs: + kube_api = kwargs['kubeApi'] + if 'kubeController' in kwargs: + kube_controller = kwargs['kubeController'] + _setter("etcd", etcd) _setter("kube_api", kube_api) _setter("kube_controller", kube_controller) @@ -49019,7 +54049,21 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, gid: Optional[int] = None, uid: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backupConfig' in kwargs: + backup_config = kwargs['backupConfig'] + if 'caCert' in kwargs: + ca_cert = kwargs['caCert'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'externalUrls' in kwargs: + external_urls = kwargs['externalUrls'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("backup_config", backup_config) _setter("ca_cert", ca_cert) _setter("cert", cert) @@ -49144,7 +54188,15 @@ def _configure( retention: Optional[int] = None, s3_backup_config: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigResult'] = None, safe_timestamp: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + _setter("timeout", timeout) if enabled is not None: _setter("enabled", enabled) @@ -49218,7 +54270,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -49313,7 +54375,31 @@ def _configure( extra_envs: Optional[Sequence[str]] = None, pod_security_policy: Optional[bool] = None, secrets_encryption_config: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'serviceNodePortRange' in kwargs: + service_node_port_range = kwargs['serviceNodePortRange'] + if 'admissionConfiguration' in kwargs: + admission_configuration = kwargs['admissionConfiguration'] + if 'alwaysPullImages' in kwargs: + always_pull_images = kwargs['alwaysPullImages'] + if 'auditLog' in kwargs: + audit_log = kwargs['auditLog'] + if 'eventRateLimit' in kwargs: + event_rate_limit = kwargs['eventRateLimit'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'podSecurityPolicy' in kwargs: + pod_security_policy = kwargs['podSecurityPolicy'] + if 'secretsEncryptionConfig' in kwargs: + secrets_encryption_config = kwargs['secretsEncryptionConfig'] + _setter("extra_args", extra_args) _setter("image", image) _setter("service_cluster_ip_range", service_cluster_ip_range) @@ -49414,7 +54500,11 @@ def _configure( plugins: Sequence['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAdmissionConfigurationPluginResult'], api_version: Optional[str] = None, kind: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiVersion' in kwargs: + api_version = kwargs['apiVersion'] + _setter("plugins", plugins) if api_version is not None: _setter("api_version", api_version) @@ -49458,7 +54548,9 @@ def _configure( configuration: str, name: str, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) _setter("name", name) if path is not None: @@ -49498,7 +54590,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: 'outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationResult', enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) if enabled is not None: _setter("enabled", enabled) @@ -49541,7 +54635,15 @@ def _configure( max_backup: Optional[int] = None, max_size: Optional[int] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxAge' in kwargs: + max_age = kwargs['maxAge'] + if 'maxBackup' in kwargs: + max_backup = kwargs['maxBackup'] + if 'maxSize' in kwargs: + max_size = kwargs['maxSize'] + _setter("policy", policy) if format is not None: _setter("format", format) @@ -49600,7 +54702,9 @@ def _configure( _setter: Callable[[Any, Any], None], configuration: str, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("configuration", configuration) if enabled is not None: _setter("enabled", enabled) @@ -49631,7 +54735,11 @@ def _configure( _setter: Callable[[Any, Any], None], custom_config: str, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + _setter("custom_config", custom_config) if enabled is not None: _setter("enabled", enabled) @@ -49674,7 +54782,19 @@ def _configure( service_cluster_ip_range: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterCidr' in kwargs: + cluster_cidr = kwargs['clusterCidr'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'serviceClusterIpRange' in kwargs: + service_cluster_ip_range = kwargs['serviceClusterIpRange'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("cluster_cidr", cluster_cidr) _setter("extra_args", extra_args) _setter("image", image) @@ -49751,7 +54871,25 @@ def _configure( extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, generate_serving_certificate: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterDnsServer' in kwargs: + cluster_dns_server = kwargs['clusterDnsServer'] + if 'clusterDomain' in kwargs: + cluster_domain = kwargs['clusterDomain'] + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'failSwapOn' in kwargs: + fail_swap_on = kwargs['failSwapOn'] + if 'infraContainerImage' in kwargs: + infra_container_image = kwargs['infraContainerImage'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + if 'generateServingCertificate' in kwargs: + generate_serving_certificate = kwargs['generateServingCertificate'] + _setter("cluster_dns_server", cluster_dns_server) _setter("cluster_domain", cluster_domain) _setter("extra_args", extra_args) @@ -49832,7 +54970,15 @@ def _configure( image: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("extra_args", extra_args) _setter("image", image) if extra_binds is not None: @@ -49882,7 +55028,15 @@ def _configure( image: str, extra_binds: Optional[Sequence[str]] = None, extra_envs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'extraArgs' in kwargs: + extra_args = kwargs['extraArgs'] + if 'extraBinds' in kwargs: + extra_binds = kwargs['extraBinds'] + if 'extraEnvs' in kwargs: + extra_envs = kwargs['extraEnvs'] + _setter("extra_args", extra_args) _setter("image", image) if extra_binds is not None: @@ -49932,7 +55086,15 @@ def _configure( drain: Optional[bool] = None, max_unavailable_controlplane: Optional[str] = None, max_unavailable_worker: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'drainInput' in kwargs: + drain_input = kwargs['drainInput'] + if 'maxUnavailableControlplane' in kwargs: + max_unavailable_controlplane = kwargs['maxUnavailableControlplane'] + if 'maxUnavailableWorker' in kwargs: + max_unavailable_worker = kwargs['maxUnavailableWorker'] + _setter("drain_input", drain_input) if drain is not None: _setter("drain", drain) @@ -49986,7 +55148,15 @@ def _configure( grace_period: Optional[int] = None, ignore_daemon_sets: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteLocalData' in kwargs: + delete_local_data = kwargs['deleteLocalData'] + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if delete_local_data is not None: _setter("delete_local_data", delete_local_data) if force is not None: @@ -50045,7 +55215,9 @@ def _configure( variable: str, required: Optional[bool] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("default", default) _setter("variable", variable) if required is not None: @@ -50092,7 +55264,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) _setter("value", value) @@ -50162,7 +55336,23 @@ def _configure( node_command: str, token: str, windows_node_command: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'insecureCommand' in kwargs: + insecure_command = kwargs['insecureCommand'] + if 'insecureNodeCommand' in kwargs: + insecure_node_command = kwargs['insecureNodeCommand'] + if 'insecureWindowsNodeCommand' in kwargs: + insecure_windows_node_command = kwargs['insecureWindowsNodeCommand'] + if 'manifestUrl' in kwargs: + manifest_url = kwargs['manifestUrl'] + if 'nodeCommand' in kwargs: + node_command = kwargs['nodeCommand'] + if 'windowsNodeCommand' in kwargs: + windows_node_command = kwargs['windowsNodeCommand'] + _setter("annotations", annotations) _setter("cluster_id", cluster_id) _setter("command", command) @@ -50297,7 +55487,31 @@ def _configure( registries: Optional['outputs.GetClusterV2RkeConfigRegistriesResult'] = None, rotate_certificates: Optional['outputs.GetClusterV2RkeConfigRotateCertificatesResult'] = None, upgrade_strategy: Optional['outputs.GetClusterV2RkeConfigUpgradeStrategyResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machinePoolDefaults' in kwargs: + machine_pool_defaults = kwargs['machinePoolDefaults'] + if 'machinePools' in kwargs: + machine_pools = kwargs['machinePools'] + if 'machineSelectorConfigs' in kwargs: + machine_selector_configs = kwargs['machineSelectorConfigs'] + if 'additionalManifest' in kwargs: + additional_manifest = kwargs['additionalManifest'] + if 'chartValues' in kwargs: + chart_values = kwargs['chartValues'] + if 'etcdSnapshotCreate' in kwargs: + etcd_snapshot_create = kwargs['etcdSnapshotCreate'] + if 'etcdSnapshotRestore' in kwargs: + etcd_snapshot_restore = kwargs['etcdSnapshotRestore'] + if 'localAuthEndpoint' in kwargs: + local_auth_endpoint = kwargs['localAuthEndpoint'] + if 'machineGlobalConfig' in kwargs: + machine_global_config = kwargs['machineGlobalConfig'] + if 'rotateCertificates' in kwargs: + rotate_certificates = kwargs['rotateCertificates'] + if 'upgradeStrategy' in kwargs: + upgrade_strategy = kwargs['upgradeStrategy'] + _setter("etcd", etcd) _setter("machine_pool_defaults", machine_pool_defaults) _setter("machine_pools", machine_pools) @@ -50411,7 +55625,17 @@ def _configure( s3_config: Optional['outputs.GetClusterV2RkeConfigEtcdS3ConfigResult'] = None, snapshot_retention: Optional[int] = None, snapshot_schedule_cron: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'disableSnapshots' in kwargs: + disable_snapshots = kwargs['disableSnapshots'] + if 's3Config' in kwargs: + s3_config = kwargs['s3Config'] + if 'snapshotRetention' in kwargs: + snapshot_retention = kwargs['snapshotRetention'] + if 'snapshotScheduleCron' in kwargs: + snapshot_schedule_cron = kwargs['snapshotScheduleCron'] + if disable_snapshots is not None: _setter("disable_snapshots", disable_snapshots) if s3_config is not None: @@ -50472,7 +55696,15 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, skip_ssl_verify: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cloudCredentialName' in kwargs: + cloud_credential_name = kwargs['cloudCredentialName'] + if 'endpointCa' in kwargs: + endpoint_ca = kwargs['endpointCa'] + if 'skipSslVerify' in kwargs: + skip_ssl_verify = kwargs['skipSslVerify'] + _setter("bucket", bucket) _setter("endpoint", endpoint) if cloud_credential_name is not None: @@ -50534,7 +55766,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], generation: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) @property @@ -50564,7 +55798,11 @@ def _configure( generation: int, name: str, restore_rke_config: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'restoreRkeConfig' in kwargs: + restore_rke_config = kwargs['restoreRkeConfig'] + _setter("generation", generation) _setter("name", name) if restore_rke_config is not None: @@ -50607,7 +55845,11 @@ def _configure( ca_certs: Optional[str] = None, enabled: Optional[bool] = None, fqdn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if ca_certs is not None: _setter("ca_certs", ca_certs) if enabled is not None: @@ -50704,7 +55946,37 @@ def _configure( unhealthy_node_timeout_seconds: Optional[int] = None, unhealthy_range: Optional[str] = None, worker_role: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineConfig' in kwargs: + machine_config = kwargs['machineConfig'] + if 'machineLabels' in kwargs: + machine_labels = kwargs['machineLabels'] + if 'cloudCredentialSecretName' in kwargs: + cloud_credential_secret_name = kwargs['cloudCredentialSecretName'] + if 'controlPlaneRole' in kwargs: + control_plane_role = kwargs['controlPlaneRole'] + if 'drainBeforeDelete' in kwargs: + drain_before_delete = kwargs['drainBeforeDelete'] + if 'etcdRole' in kwargs: + etcd_role = kwargs['etcdRole'] + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if 'maxUnhealthy' in kwargs: + max_unhealthy = kwargs['maxUnhealthy'] + if 'nodeDrainTimeout' in kwargs: + node_drain_timeout = kwargs['nodeDrainTimeout'] + if 'nodeStartupTimeoutSeconds' in kwargs: + node_startup_timeout_seconds = kwargs['nodeStartupTimeoutSeconds'] + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if 'unhealthyNodeTimeoutSeconds' in kwargs: + unhealthy_node_timeout_seconds = kwargs['unhealthyNodeTimeoutSeconds'] + if 'unhealthyRange' in kwargs: + unhealthy_range = kwargs['unhealthyRange'] + if 'workerRole' in kwargs: + worker_role = kwargs['workerRole'] + _setter("annotations", annotations) _setter("labels", labels) _setter("machine_config", machine_config) @@ -50860,7 +56132,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], hostname_length_limit: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostnameLengthLimit' in kwargs: + hostname_length_limit = kwargs['hostnameLengthLimit'] + if hostname_length_limit is not None: _setter("hostname_length_limit", hostname_length_limit) @@ -50888,7 +56164,9 @@ def _configure( _setter: Callable[[Any, Any], None], kind: str, name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("kind", kind) _setter("name", name) @@ -50921,7 +56199,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_surge: Optional[str] = None, max_unavailable: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxSurge' in kwargs: + max_surge = kwargs['maxSurge'] + if 'maxUnavailable' in kwargs: + max_unavailable = kwargs['maxUnavailable'] + if max_surge is not None: _setter("max_surge", max_surge) if max_unavailable is not None: @@ -50956,7 +56240,9 @@ def _configure( key: str, value: str, effect: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) if effect is not None: @@ -50981,7 +56267,7 @@ def effect(self) -> Optional[str]: @pulumi.output_type class GetClusterV2RkeConfigMachineSelectorConfigResult(dict): def __init__(__self__, *, - config: Optional[Mapping[str, Any]] = None, + config: Optional[str] = None, machine_label_selector: Optional['outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorResult'] = None): GetClusterV2RkeConfigMachineSelectorConfigResult._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -50991,9 +56277,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - config: Optional[Mapping[str, Any]] = None, + config: Optional[str] = None, machine_label_selector: Optional['outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'machineLabelSelector' in kwargs: + machine_label_selector = kwargs['machineLabelSelector'] + if config is not None: _setter("config", config) if machine_label_selector is not None: @@ -51001,7 +56291,7 @@ def _configure( @property @pulumi.getter - def config(self) -> Optional[Mapping[str, Any]]: + def config(self) -> Optional[str]: return pulumi.get(self, "config") @property @@ -51025,7 +56315,13 @@ def _configure( _setter: Callable[[Any, Any], None], match_expressions: Optional[Sequence['outputs.GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionResult']] = None, match_labels: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchExpressions' in kwargs: + match_expressions = kwargs['matchExpressions'] + if 'matchLabels' in kwargs: + match_labels = kwargs['matchLabels'] + if match_expressions is not None: _setter("match_expressions", match_expressions) if match_labels is not None: @@ -51060,7 +56356,9 @@ def _configure( key: Optional[str] = None, operator: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: _setter("key", key) if operator is not None: @@ -51099,7 +56397,9 @@ def _configure( _setter: Callable[[Any, Any], None], configs: Optional[Sequence['outputs.GetClusterV2RkeConfigRegistriesConfigResult']] = None, mirrors: Optional[Sequence['outputs.GetClusterV2RkeConfigRegistriesMirrorResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if configs is not None: _setter("configs", configs) if mirrors is not None: @@ -51140,7 +56440,15 @@ def _configure( ca_bundle: Optional[str] = None, insecure: Optional[bool] = None, tls_secret_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authConfigSecretName' in kwargs: + auth_config_secret_name = kwargs['authConfigSecretName'] + if 'caBundle' in kwargs: + ca_bundle = kwargs['caBundle'] + if 'tlsSecretName' in kwargs: + tls_secret_name = kwargs['tlsSecretName'] + _setter("hostname", hostname) if auth_config_secret_name is not None: _setter("auth_config_secret_name", auth_config_secret_name) @@ -51195,7 +56503,9 @@ def _configure( hostname: str, endpoints: Optional[Sequence[str]] = None, rewrites: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("hostname", hostname) if endpoints is not None: _setter("endpoints", endpoints) @@ -51233,7 +56543,9 @@ def _configure( _setter: Callable[[Any, Any], None], generation: int, services: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("generation", generation) if services is not None: _setter("services", services) @@ -51270,7 +56582,17 @@ def _configure( control_plane_drain_options: Optional['outputs.GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsResult'] = None, worker_concurrency: Optional[str] = None, worker_drain_options: Optional['outputs.GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'controlPlaneConcurrency' in kwargs: + control_plane_concurrency = kwargs['controlPlaneConcurrency'] + if 'controlPlaneDrainOptions' in kwargs: + control_plane_drain_options = kwargs['controlPlaneDrainOptions'] + if 'workerConcurrency' in kwargs: + worker_concurrency = kwargs['workerConcurrency'] + if 'workerDrainOptions' in kwargs: + worker_drain_options = kwargs['workerDrainOptions'] + if control_plane_concurrency is not None: _setter("control_plane_concurrency", control_plane_concurrency) if control_plane_drain_options is not None: @@ -51337,7 +56659,21 @@ def _configure( force: Optional[bool] = None, ignore_daemon_sets: Optional[bool] = None, ignore_errors: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + _setter("grace_period", grace_period) _setter("skip_wait_for_delete_timeout_seconds", skip_wait_for_delete_timeout_seconds) _setter("timeout", timeout) @@ -51436,7 +56772,21 @@ def _configure( force: Optional[bool] = None, ignore_daemon_sets: Optional[bool] = None, ignore_errors: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gracePeriod' in kwargs: + grace_period = kwargs['gracePeriod'] + if 'skipWaitForDeleteTimeoutSeconds' in kwargs: + skip_wait_for_delete_timeout_seconds = kwargs['skipWaitForDeleteTimeoutSeconds'] + if 'deleteEmptyDirData' in kwargs: + delete_empty_dir_data = kwargs['deleteEmptyDirData'] + if 'disableEviction' in kwargs: + disable_eviction = kwargs['disableEviction'] + if 'ignoreDaemonSets' in kwargs: + ignore_daemon_sets = kwargs['ignoreDaemonSets'] + if 'ignoreErrors' in kwargs: + ignore_errors = kwargs['ignoreErrors'] + _setter("grace_period", grace_period) _setter("skip_wait_for_delete_timeout_seconds", skip_wait_for_delete_timeout_seconds) _setter("timeout", timeout) @@ -51526,7 +56876,15 @@ def _configure( retention: Optional[int] = None, s3_backup_config: Optional['outputs.GetEtcdBackupBackupConfigS3BackupConfigResult'] = None, safe_timestamp: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalHours' in kwargs: + interval_hours = kwargs['intervalHours'] + if 's3BackupConfig' in kwargs: + s3_backup_config = kwargs['s3BackupConfig'] + if 'safeTimestamp' in kwargs: + safe_timestamp = kwargs['safeTimestamp'] + _setter("timeout", timeout) if enabled is not None: _setter("enabled", enabled) @@ -51600,7 +56958,17 @@ def _configure( folder: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'customCa' in kwargs: + custom_ca = kwargs['customCa'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("bucket_name", bucket_name) _setter("endpoint", endpoint) if access_key is not None: @@ -51665,7 +57033,13 @@ def _configure( _setter: Callable[[Any, Any], None], access_key: str, secret_key: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + _setter("access_key", access_key) _setter("secret_key", secret_key) @@ -51698,7 +57072,15 @@ def _configure( api_email: str, api_key: str, proxy_setting: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiEmail' in kwargs: + api_email = kwargs['apiEmail'] + if 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if 'proxySetting' in kwargs: + proxy_setting = kwargs['proxySetting'] + _setter("api_email", api_email) _setter("api_key", api_key) if proxy_setting is not None: @@ -51747,7 +57129,19 @@ def _configure( region: Optional[str] = None, role_arn: Optional[str] = None, zone_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'credentialsPath' in kwargs: + credentials_path = kwargs['credentialsPath'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if 'zoneType' in kwargs: + zone_type = kwargs['zoneType'] + _setter("access_key", access_key) _setter("secret_key", secret_key) if credentials_path is not None: @@ -51814,7 +57208,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -51870,7 +57272,13 @@ def _configure( cluster_id: str, project_id: str, values: Mapping[str, Any], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("cluster_id", cluster_id) _setter("project_id", project_id) _setter("values", values) @@ -51909,7 +57317,15 @@ def _configure( access_type: Optional[str] = None, group_principal_id: Optional[str] = None, user_principal_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessType' in kwargs: + access_type = kwargs['accessType'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if access_type is not None: _setter("access_type", access_type) if group_principal_id is not None: @@ -51954,7 +57370,15 @@ def _configure( health_state: str, project_id: str, state: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appId' in kwargs: + app_id = kwargs['appId'] + if 'healthState' in kwargs: + health_state = kwargs['healthState'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("app_id", app_id) _setter("health_state", health_state) _setter("project_id", project_id) @@ -51993,7 +57417,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rolling_update: Optional['outputs.GetMultiClusterAppUpgradeStrategyRollingUpdateResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'rollingUpdate' in kwargs: + rolling_update = kwargs['rollingUpdate'] + if rolling_update is not None: _setter("rolling_update", rolling_update) @@ -52018,7 +57446,11 @@ def _configure( _setter: Callable[[Any, Any], None], batch_size: Optional[int] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'batchSize' in kwargs: + batch_size = kwargs['batchSize'] + if batch_size is not None: _setter("batch_size", batch_size) if interval is not None: @@ -52056,7 +57488,17 @@ def _configure( limits_memory: Optional[str] = None, requests_cpu: Optional[str] = None, requests_memory: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -52099,7 +57541,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], limit: 'outputs.GetNamespaceResourceQuotaLimitResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("limit", limit) @property @@ -52156,7 +57600,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -52271,7 +57737,11 @@ def _configure( time_added: str, value: str, effect: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("time_added", time_added) _setter("value", value) @@ -52320,7 +57790,11 @@ def _configure( time_added: str, value: str, effect: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'timeAdded' in kwargs: + time_added = kwargs['timeAdded'] + _setter("key", key) _setter("time_added", time_added) _setter("value", value) @@ -52366,7 +57840,11 @@ def _configure( url: str, proxy_url: Optional[str] = None, secret: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -52404,7 +57882,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -52435,7 +57917,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_key: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serviceKey' in kwargs: + service_key = kwargs['serviceKey'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("service_key", service_key) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -52469,7 +57957,13 @@ def _configure( default_recipient: str, url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("default_recipient", default_recipient) _setter("url", url) if proxy_url is not None: @@ -52521,7 +58015,11 @@ def _configure( password: Optional[str] = None, tls: Optional[bool] = None, username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + _setter("default_recipient", default_recipient) _setter("host", host) _setter("port", port) @@ -52584,7 +58082,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, proxy_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + _setter("url", url) if proxy_url is not None: _setter("proxy_url", proxy_url) @@ -52627,7 +58129,15 @@ def _configure( secret: str, proxy_url: Optional[str] = None, recipient_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + if 'proxyUrl' in kwargs: + proxy_url = kwargs['proxyUrl'] + if 'recipientType' in kwargs: + recipient_type = kwargs['recipientType'] + _setter("agent", agent) _setter("corp", corp) _setter("default_recipient", default_recipient) @@ -52683,7 +58193,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) @property @@ -52707,7 +58219,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], driver: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("driver", driver) @property @@ -52731,7 +58245,13 @@ def _configure( _setter: Callable[[Any, Any], None], path_prefix: str, read_only: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pathPrefix' in kwargs: + path_prefix = kwargs['pathPrefix'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("path_prefix", path_prefix) if read_only is not None: _setter("read_only", read_only) @@ -52762,7 +58282,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Sequence['outputs.GetPodSecurityPolicyTemplateFsGroupRangeResult'], rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("ranges", ranges) if rule is not None: _setter("rule", rule) @@ -52793,7 +58315,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -52823,7 +58347,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -52853,7 +58379,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['outputs.GetPodSecurityPolicyTemplateRunAsGroupRangeResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -52884,7 +58412,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -52914,7 +58444,9 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, ranges: Optional[Sequence['outputs.GetPodSecurityPolicyTemplateRunAsUserRangeResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rule", rule) if ranges is not None: _setter("ranges", ranges) @@ -52945,7 +58477,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -52975,7 +58509,13 @@ def _configure( _setter: Callable[[Any, Any], None], allowed_runtime_class_names: Sequence[str], default_runtime_class_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedRuntimeClassNames' in kwargs: + allowed_runtime_class_names = kwargs['allowedRuntimeClassNames'] + if 'defaultRuntimeClassName' in kwargs: + default_runtime_class_name = kwargs['defaultRuntimeClassName'] + _setter("allowed_runtime_class_names", allowed_runtime_class_names) if default_runtime_class_name is not None: _setter("default_runtime_class_name", default_runtime_class_name) @@ -53006,7 +58546,11 @@ def _configure( _setter: Callable[[Any, Any], None], rule: str, se_linux_option: Optional['outputs.GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'seLinuxOption' in kwargs: + se_linux_option = kwargs['seLinuxOption'] + _setter("rule", rule) if se_linux_option is not None: _setter("se_linux_option", se_linux_option) @@ -53043,7 +58587,9 @@ def _configure( role: Optional[str] = None, type: Optional[str] = None, user: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if level is not None: _setter("level", level) if role is not None: @@ -53089,7 +58635,9 @@ def _configure( _setter: Callable[[Any, Any], None], ranges: Sequence['outputs.GetPodSecurityPolicyTemplateSupplementalGroupRangeResult'], rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("ranges", ranges) if rule is not None: _setter("rule", rule) @@ -53120,7 +58668,9 @@ def _configure( _setter: Callable[[Any, Any], None], max: int, min: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("max", max) _setter("min", min) @@ -53156,7 +58706,15 @@ def _configure( notifier_type: str, recipient: str, default_recipient: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notifierId' in kwargs: + notifier_id = kwargs['notifierId'] + if 'notifierType' in kwargs: + notifier_type = kwargs['notifierType'] + if 'defaultRecipient' in kwargs: + default_recipient = kwargs['defaultRecipient'] + _setter("notifier_id", notifier_id) _setter("notifier_type", notifier_type) _setter("recipient", recipient) @@ -53208,7 +58766,11 @@ def _configure( threshold_value: float, comparison: Optional[str] = None, description: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'thresholdValue' in kwargs: + threshold_value = kwargs['thresholdValue'] + _setter("duration", duration) _setter("expression", expression) _setter("threshold_value", threshold_value) @@ -53264,7 +58826,15 @@ def _configure( condition: Optional[str] = None, restart_interval_seconds: Optional[int] = None, restart_times: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'podId' in kwargs: + pod_id = kwargs['podId'] + if 'restartIntervalSeconds' in kwargs: + restart_interval_seconds = kwargs['restartIntervalSeconds'] + if 'restartTimes' in kwargs: + restart_times = kwargs['restartTimes'] + _setter("pod_id", pod_id) if condition is not None: _setter("condition", condition) @@ -53312,7 +58882,13 @@ def _configure( available_percentage: Optional[int] = None, selector: Optional[Mapping[str, Any]] = None, workload_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availablePercentage' in kwargs: + available_percentage = kwargs['availablePercentage'] + if 'workloadId' in kwargs: + workload_id = kwargs['workloadId'] + if available_percentage is not None: _setter("available_percentage", available_percentage) if selector is not None: @@ -53357,7 +58933,17 @@ def _configure( limits_memory: Optional[str] = None, requests_cpu: Optional[str] = None, requests_memory: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if limits_cpu is not None: _setter("limits_cpu", limits_cpu) if limits_memory is not None: @@ -53403,7 +58989,13 @@ def _configure( _setter: Callable[[Any, Any], None], namespace_default_limit: 'outputs.GetProjectResourceQuotaNamespaceDefaultLimitResult', project_limit: 'outputs.GetProjectResourceQuotaProjectLimitResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceDefaultLimit' in kwargs: + namespace_default_limit = kwargs['namespaceDefaultLimit'] + if 'projectLimit' in kwargs: + project_limit = kwargs['projectLimit'] + _setter("namespace_default_limit", namespace_default_limit) _setter("project_limit", project_limit) @@ -53466,7 +59058,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -53608,7 +59222,29 @@ def _configure( services: Optional[str] = None, services_load_balancers: Optional[str] = None, services_node_ports: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configMaps' in kwargs: + config_maps = kwargs['configMaps'] + if 'limitsCpu' in kwargs: + limits_cpu = kwargs['limitsCpu'] + if 'limitsMemory' in kwargs: + limits_memory = kwargs['limitsMemory'] + if 'persistentVolumeClaims' in kwargs: + persistent_volume_claims = kwargs['persistentVolumeClaims'] + if 'replicationControllers' in kwargs: + replication_controllers = kwargs['replicationControllers'] + if 'requestsCpu' in kwargs: + requests_cpu = kwargs['requestsCpu'] + if 'requestsMemory' in kwargs: + requests_memory = kwargs['requestsMemory'] + if 'requestsStorage' in kwargs: + requests_storage = kwargs['requestsStorage'] + if 'servicesLoadBalancers' in kwargs: + services_load_balancers = kwargs['servicesLoadBalancers'] + if 'servicesNodePorts' in kwargs: + services_node_ports = kwargs['servicesNodePorts'] + if config_maps is not None: _setter("config_maps", config_maps) if limits_cpu is not None: @@ -53720,7 +59356,9 @@ def _configure( address: str, password: Optional[str] = None, username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("address", address) if password is not None: _setter("password", password) @@ -53767,7 +59405,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: @@ -53829,7 +59475,15 @@ def _configure( resource_names: Optional[Sequence[str]] = None, resources: Optional[Sequence[str]] = None, verbs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiGroups' in kwargs: + api_groups = kwargs['apiGroups'] + if 'nonResourceUrls' in kwargs: + non_resource_urls = kwargs['nonResourceUrls'] + if 'resourceNames' in kwargs: + resource_names = kwargs['resourceNames'] + if api_groups is not None: _setter("api_groups", api_groups) if non_resource_urls is not None: diff --git a/sdk/python/pulumi_rancher2/pod_security_policy_template.py b/sdk/python/pulumi_rancher2/pod_security_policy_template.py index 6b2132904..122b82a40 100644 --- a/sdk/python/pulumi_rancher2/pod_security_policy_template.py +++ b/sdk/python/pulumi_rancher2/pod_security_policy_template.py @@ -137,7 +137,53 @@ def _configure( se_linux: Optional[pulumi.Input['PodSecurityPolicyTemplateSeLinuxArgs']] = None, supplemental_group: Optional[pulumi.Input['PodSecurityPolicyTemplateSupplementalGroupArgs']] = None, volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowPrivilegeEscalation' in kwargs: + allow_privilege_escalation = kwargs['allowPrivilegeEscalation'] + if 'allowedCapabilities' in kwargs: + allowed_capabilities = kwargs['allowedCapabilities'] + if 'allowedCsiDrivers' in kwargs: + allowed_csi_drivers = kwargs['allowedCsiDrivers'] + if 'allowedFlexVolumes' in kwargs: + allowed_flex_volumes = kwargs['allowedFlexVolumes'] + if 'allowedHostPaths' in kwargs: + allowed_host_paths = kwargs['allowedHostPaths'] + if 'allowedProcMountTypes' in kwargs: + allowed_proc_mount_types = kwargs['allowedProcMountTypes'] + if 'allowedUnsafeSysctls' in kwargs: + allowed_unsafe_sysctls = kwargs['allowedUnsafeSysctls'] + if 'defaultAddCapabilities' in kwargs: + default_add_capabilities = kwargs['defaultAddCapabilities'] + if 'defaultAllowPrivilegeEscalation' in kwargs: + default_allow_privilege_escalation = kwargs['defaultAllowPrivilegeEscalation'] + if 'forbiddenSysctls' in kwargs: + forbidden_sysctls = kwargs['forbiddenSysctls'] + if 'fsGroup' in kwargs: + fs_group = kwargs['fsGroup'] + if 'hostIpc' in kwargs: + host_ipc = kwargs['hostIpc'] + if 'hostNetwork' in kwargs: + host_network = kwargs['hostNetwork'] + if 'hostPid' in kwargs: + host_pid = kwargs['hostPid'] + if 'hostPorts' in kwargs: + host_ports = kwargs['hostPorts'] + if 'readOnlyRootFilesystem' in kwargs: + read_only_root_filesystem = kwargs['readOnlyRootFilesystem'] + if 'requiredDropCapabilities' in kwargs: + required_drop_capabilities = kwargs['requiredDropCapabilities'] + if 'runAsGroup' in kwargs: + run_as_group = kwargs['runAsGroup'] + if 'runAsUser' in kwargs: + run_as_user = kwargs['runAsUser'] + if 'runtimeClass' in kwargs: + runtime_class = kwargs['runtimeClass'] + if 'seLinux' in kwargs: + se_linux = kwargs['seLinux'] + if 'supplementalGroup' in kwargs: + supplemental_group = kwargs['supplementalGroup'] + if allow_privilege_escalation is not None: _setter("allow_privilege_escalation", allow_privilege_escalation) if allowed_capabilities is not None: @@ -656,7 +702,53 @@ def _configure( se_linux: Optional[pulumi.Input['PodSecurityPolicyTemplateSeLinuxArgs']] = None, supplemental_group: Optional[pulumi.Input['PodSecurityPolicyTemplateSupplementalGroupArgs']] = None, volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowPrivilegeEscalation' in kwargs: + allow_privilege_escalation = kwargs['allowPrivilegeEscalation'] + if 'allowedCapabilities' in kwargs: + allowed_capabilities = kwargs['allowedCapabilities'] + if 'allowedCsiDrivers' in kwargs: + allowed_csi_drivers = kwargs['allowedCsiDrivers'] + if 'allowedFlexVolumes' in kwargs: + allowed_flex_volumes = kwargs['allowedFlexVolumes'] + if 'allowedHostPaths' in kwargs: + allowed_host_paths = kwargs['allowedHostPaths'] + if 'allowedProcMountTypes' in kwargs: + allowed_proc_mount_types = kwargs['allowedProcMountTypes'] + if 'allowedUnsafeSysctls' in kwargs: + allowed_unsafe_sysctls = kwargs['allowedUnsafeSysctls'] + if 'defaultAddCapabilities' in kwargs: + default_add_capabilities = kwargs['defaultAddCapabilities'] + if 'defaultAllowPrivilegeEscalation' in kwargs: + default_allow_privilege_escalation = kwargs['defaultAllowPrivilegeEscalation'] + if 'forbiddenSysctls' in kwargs: + forbidden_sysctls = kwargs['forbiddenSysctls'] + if 'fsGroup' in kwargs: + fs_group = kwargs['fsGroup'] + if 'hostIpc' in kwargs: + host_ipc = kwargs['hostIpc'] + if 'hostNetwork' in kwargs: + host_network = kwargs['hostNetwork'] + if 'hostPid' in kwargs: + host_pid = kwargs['hostPid'] + if 'hostPorts' in kwargs: + host_ports = kwargs['hostPorts'] + if 'readOnlyRootFilesystem' in kwargs: + read_only_root_filesystem = kwargs['readOnlyRootFilesystem'] + if 'requiredDropCapabilities' in kwargs: + required_drop_capabilities = kwargs['requiredDropCapabilities'] + if 'runAsGroup' in kwargs: + run_as_group = kwargs['runAsGroup'] + if 'runAsUser' in kwargs: + run_as_user = kwargs['runAsUser'] + if 'runtimeClass' in kwargs: + runtime_class = kwargs['runtimeClass'] + if 'seLinux' in kwargs: + se_linux = kwargs['seLinux'] + if 'supplementalGroup' in kwargs: + supplemental_group = kwargs['supplementalGroup'] + if allow_privilege_escalation is not None: _setter("allow_privilege_escalation", allow_privilege_escalation) if allowed_capabilities is not None: diff --git a/sdk/python/pulumi_rancher2/project.py b/sdk/python/pulumi_rancher2/project.py index d3dd1fc97..705a660d8 100644 --- a/sdk/python/pulumi_rancher2/project.py +++ b/sdk/python/pulumi_rancher2/project.py @@ -69,7 +69,23 @@ def _configure( project_monitoring_input: Optional[pulumi.Input['ProjectProjectMonitoringInputArgs']] = None, resource_quota: Optional[pulumi.Input['ProjectResourceQuotaArgs']] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'containerResourceLimit' in kwargs: + container_resource_limit = kwargs['containerResourceLimit'] + if 'enableProjectMonitoring' in kwargs: + enable_project_monitoring = kwargs['enableProjectMonitoring'] + if 'podSecurityPolicyTemplateId' in kwargs: + pod_security_policy_template_id = kwargs['podSecurityPolicyTemplateId'] + if 'projectMonitoringInput' in kwargs: + project_monitoring_input = kwargs['projectMonitoringInput'] + if 'resourceQuota' in kwargs: + resource_quota = kwargs['resourceQuota'] + if 'waitForCluster' in kwargs: + wait_for_cluster = kwargs['waitForCluster'] + _setter("cluster_id", cluster_id) if annotations is not None: _setter("annotations", annotations) @@ -281,7 +297,23 @@ def _configure( project_monitoring_input: Optional[pulumi.Input['ProjectProjectMonitoringInputArgs']] = None, resource_quota: Optional[pulumi.Input['ProjectResourceQuotaArgs']] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'containerResourceLimit' in kwargs: + container_resource_limit = kwargs['containerResourceLimit'] + if 'enableProjectMonitoring' in kwargs: + enable_project_monitoring = kwargs['enableProjectMonitoring'] + if 'podSecurityPolicyTemplateId' in kwargs: + pod_security_policy_template_id = kwargs['podSecurityPolicyTemplateId'] + if 'projectMonitoringInput' in kwargs: + project_monitoring_input = kwargs['projectMonitoringInput'] + if 'resourceQuota' in kwargs: + resource_quota = kwargs['resourceQuota'] + if 'waitForCluster' in kwargs: + wait_for_cluster = kwargs['waitForCluster'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/project_alert_group.py b/sdk/python/pulumi_rancher2/project_alert_group.py index 30e7c173b..a2e3aea84 100644 --- a/sdk/python/pulumi_rancher2/project_alert_group.py +++ b/sdk/python/pulumi_rancher2/project_alert_group.py @@ -61,7 +61,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectAlertGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + _setter("project_id", project_id) if annotations is not None: _setter("annotations", annotations) @@ -237,7 +247,17 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, recipients: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectAlertGroupRecipientArgs']]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if annotations is not None: _setter("annotations", annotations) if description is not None: diff --git a/sdk/python/pulumi_rancher2/project_alert_rule.py b/sdk/python/pulumi_rancher2/project_alert_rule.py index 432ead7fe..f358de45b 100644 --- a/sdk/python/pulumi_rancher2/project_alert_rule.py +++ b/sdk/python/pulumi_rancher2/project_alert_rule.py @@ -77,7 +77,25 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, workload_rule: Optional[pulumi.Input['ProjectAlertRuleWorkloadRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'podRule' in kwargs: + pod_rule = kwargs['podRule'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'workloadRule' in kwargs: + workload_rule = kwargs['workloadRule'] + _setter("group_id", group_id) _setter("project_id", project_id) if annotations is not None: @@ -324,7 +342,25 @@ def _configure( repeat_interval_seconds: Optional[pulumi.Input[int]] = None, severity: Optional[pulumi.Input[str]] = None, workload_rule: Optional[pulumi.Input['ProjectAlertRuleWorkloadRuleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupIntervalSeconds' in kwargs: + group_interval_seconds = kwargs['groupIntervalSeconds'] + if 'groupWaitSeconds' in kwargs: + group_wait_seconds = kwargs['groupWaitSeconds'] + if 'metricRule' in kwargs: + metric_rule = kwargs['metricRule'] + if 'podRule' in kwargs: + pod_rule = kwargs['podRule'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'repeatIntervalSeconds' in kwargs: + repeat_interval_seconds = kwargs['repeatIntervalSeconds'] + if 'workloadRule' in kwargs: + workload_rule = kwargs['workloadRule'] + if annotations is not None: _setter("annotations", annotations) if group_id is not None: diff --git a/sdk/python/pulumi_rancher2/project_role_template_binding.py b/sdk/python/pulumi_rancher2/project_role_template_binding.py index c346bfbaa..281faf9a8 100644 --- a/sdk/python/pulumi_rancher2/project_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/project_role_template_binding.py @@ -61,7 +61,21 @@ def _configure( name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleTemplateId' in kwargs: + role_template_id = kwargs['roleTemplateId'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + _setter("project_id", project_id) _setter("role_template_id", role_template_id) if annotations is not None: @@ -240,7 +254,21 @@ def _configure( role_template_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'groupPrincipalId' in kwargs: + group_principal_id = kwargs['groupPrincipalId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleTemplateId' in kwargs: + role_template_id = kwargs['roleTemplateId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'userPrincipalId' in kwargs: + user_principal_id = kwargs['userPrincipalId'] + if annotations is not None: _setter("annotations", annotations) if group_id is not None: diff --git a/sdk/python/pulumi_rancher2/provider.py b/sdk/python/pulumi_rancher2/provider.py index f65762cda..72054e58d 100644 --- a/sdk/python/pulumi_rancher2/provider.py +++ b/sdk/python/pulumi_rancher2/provider.py @@ -59,7 +59,19 @@ def _configure( secret_key: Optional[pulumi.Input[str]] = None, timeout: Optional[pulumi.Input[str]] = None, token_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'apiUrl' in kwargs: + api_url = kwargs['apiUrl'] + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'caCerts' in kwargs: + ca_certs = kwargs['caCerts'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'tokenKey' in kwargs: + token_key = kwargs['tokenKey'] + _setter("api_url", api_url) if access_key is not None: _setter("access_key", access_key) diff --git a/sdk/python/pulumi_rancher2/registry.py b/sdk/python/pulumi_rancher2/registry.py index b7fe45aa7..e0412c0c3 100644 --- a/sdk/python/pulumi_rancher2/registry.py +++ b/sdk/python/pulumi_rancher2/registry.py @@ -53,7 +53,13 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + _setter("project_id", project_id) _setter("registries", registries) if annotations is not None: @@ -192,7 +198,13 @@ def _configure( namespace_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, registries: Optional[pulumi.Input[Sequence[pulumi.Input['RegistryRegistryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if annotations is not None: _setter("annotations", annotations) if description is not None: diff --git a/sdk/python/pulumi_rancher2/role_tempalte.py b/sdk/python/pulumi_rancher2/role_tempalte.py index 8781e5ef8..31bef4961 100644 --- a/sdk/python/pulumi_rancher2/role_tempalte.py +++ b/sdk/python/pulumi_rancher2/role_tempalte.py @@ -73,7 +73,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, role_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['RoleTempalteRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRole' in kwargs: + default_role = kwargs['defaultRole'] + if 'roleTemplateIds' in kwargs: + role_template_ids = kwargs['roleTemplateIds'] + if administrative is not None: _setter("administrative", administrative) if annotations is not None: @@ -308,7 +314,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, role_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['RoleTempalteRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRole' in kwargs: + default_role = kwargs['defaultRole'] + if 'roleTemplateIds' in kwargs: + role_template_ids = kwargs['roleTemplateIds'] + if administrative is not None: _setter("administrative", administrative) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/role_template.py b/sdk/python/pulumi_rancher2/role_template.py index 29cba0198..e54aad01d 100644 --- a/sdk/python/pulumi_rancher2/role_template.py +++ b/sdk/python/pulumi_rancher2/role_template.py @@ -73,7 +73,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, role_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['RoleTemplateRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRole' in kwargs: + default_role = kwargs['defaultRole'] + if 'roleTemplateIds' in kwargs: + role_template_ids = kwargs['roleTemplateIds'] + if administrative is not None: _setter("administrative", administrative) if annotations is not None: @@ -308,7 +314,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, role_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['RoleTemplateRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultRole' in kwargs: + default_role = kwargs['defaultRole'] + if 'roleTemplateIds' in kwargs: + role_template_ids = kwargs['roleTemplateIds'] + if administrative is not None: _setter("administrative", administrative) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/secret.py b/sdk/python/pulumi_rancher2/secret.py index 6cc41ea37..ba292de31 100644 --- a/sdk/python/pulumi_rancher2/secret.py +++ b/sdk/python/pulumi_rancher2/secret.py @@ -51,7 +51,13 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + _setter("data", data) _setter("project_id", project_id) if annotations is not None: @@ -190,7 +196,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'namespaceId' in kwargs: + namespace_id = kwargs['namespaceId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if annotations is not None: _setter("annotations", annotations) if data is not None: diff --git a/sdk/python/pulumi_rancher2/secret_v2.py b/sdk/python/pulumi_rancher2/secret_v2.py index 9fc282eca..fb9cbfdc7 100644 --- a/sdk/python/pulumi_rancher2/secret_v2.py +++ b/sdk/python/pulumi_rancher2/secret_v2.py @@ -55,7 +55,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, namespace: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("cluster_id", cluster_id) _setter("data", data) if annotations is not None: @@ -216,7 +220,13 @@ def _configure( namespace: Optional[pulumi.Input[str]] = None, resource_version: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: diff --git a/sdk/python/pulumi_rancher2/setting.py b/sdk/python/pulumi_rancher2/setting.py index c3ea02e69..88c89df71 100644 --- a/sdk/python/pulumi_rancher2/setting.py +++ b/sdk/python/pulumi_rancher2/setting.py @@ -39,7 +39,9 @@ def _configure( annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) if annotations is not None: _setter("annotations", annotations) @@ -125,7 +127,9 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if annotations is not None: _setter("annotations", annotations) if labels is not None: diff --git a/sdk/python/pulumi_rancher2/storage_class_v2.py b/sdk/python/pulumi_rancher2/storage_class_v2.py index b049ce855..ccae04eba 100644 --- a/sdk/python/pulumi_rancher2/storage_class_v2.py +++ b/sdk/python/pulumi_rancher2/storage_class_v2.py @@ -63,7 +63,21 @@ def _configure( parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, reclaim_policy: Optional[pulumi.Input[str]] = None, volume_binding_mode: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'k8sProvisioner' in kwargs: + k8s_provisioner = kwargs['k8sProvisioner'] + if 'allowVolumeExpansion' in kwargs: + allow_volume_expansion = kwargs['allowVolumeExpansion'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + if 'reclaimPolicy' in kwargs: + reclaim_policy = kwargs['reclaimPolicy'] + if 'volumeBindingMode' in kwargs: + volume_binding_mode = kwargs['volumeBindingMode'] + _setter("cluster_id", cluster_id) _setter("k8s_provisioner", k8s_provisioner) if allow_volume_expansion is not None: @@ -260,7 +274,23 @@ def _configure( reclaim_policy: Optional[pulumi.Input[str]] = None, resource_version: Optional[pulumi.Input[str]] = None, volume_binding_mode: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowVolumeExpansion' in kwargs: + allow_volume_expansion = kwargs['allowVolumeExpansion'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'k8sProvisioner' in kwargs: + k8s_provisioner = kwargs['k8sProvisioner'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + if 'reclaimPolicy' in kwargs: + reclaim_policy = kwargs['reclaimPolicy'] + if 'resourceVersion' in kwargs: + resource_version = kwargs['resourceVersion'] + if 'volumeBindingMode' in kwargs: + volume_binding_mode = kwargs['volumeBindingMode'] + if allow_volume_expansion is not None: _setter("allow_volume_expansion", allow_volume_expansion) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/token.py b/sdk/python/pulumi_rancher2/token.py index 3138a2214..1d497248b 100644 --- a/sdk/python/pulumi_rancher2/token.py +++ b/sdk/python/pulumi_rancher2/token.py @@ -49,7 +49,11 @@ def _configure( labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, renew: Optional[pulumi.Input[bool]] = None, ttl: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if annotations is not None: _setter("annotations", annotations) if cluster_id is not None: @@ -204,7 +208,17 @@ def _configure( token: Optional[pulumi.Input[str]] = None, ttl: Optional[pulumi.Input[int]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if access_key is not None: _setter("access_key", access_key) if annotations is not None: diff --git a/sdk/python/pulumi_rancher2/user.py b/sdk/python/pulumi_rancher2/user.py index bcfdfb9ae..0cb139e65 100644 --- a/sdk/python/pulumi_rancher2/user.py +++ b/sdk/python/pulumi_rancher2/user.py @@ -46,7 +46,9 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) if annotations is not None: @@ -167,7 +169,11 @@ def _configure( password: Optional[pulumi.Input[str]] = None, principal_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'principalIds' in kwargs: + principal_ids = kwargs['principalIds'] + if annotations is not None: _setter("annotations", annotations) if enabled is not None: